Code

Emacs: An Editor for Real Programmers

Emacs: An Editor for Real Programmers

Free Course: "Quick Start with Python"

Learn More

In November 2021, EmacsConf, known as the "joy of Emacs and Emacs Lisp" conference, took place. Participants discussed not only the technical aspects of this legendary editor but also identified the reasons for its longevity. They also shared their views on how Emacs helps teach users the principles of freedom and autonomy.

Why GNU Emacs is Great

At EmacsConf, Protesilaus Stavrou's talk was particularly noteworthy. Although he is not a professional programmer, his contributions to the Emacs community make him one of the most well-known contributors. His unique perspective on Emacs and his active participation in its development inspire many users and developers.

Protesilai Stavrou Photo: Brown University

Protesilaos, or simply Prot, was born in Greece. In his youth, he played semi-professional football and repaired motorcycles. While at university, he worked part-time as a bartender, a construction worker, and a waiter in restaurants. After completing his studies, he became an assistant to a Member of the European Parliament and an independent researcher, focusing on the Economic and Monetary Union of the European Union. His experience in these areas allows him to gain a deeper understanding of the political and economic processes shaping modern Europe.

In 2016, Protesilaos decided to leave parliament and move to the mountainous region of Cyprus. Since then, he has been farming and, in his spare time, writing philosophical essays and programming. This decision allowed him to find harmony between farming and intellectual creativity.

Prot has been using Emacs since 2019. In this editor, he developed the modus-themes package, which includes the Modus Operandi and Modus Vivendi visual themes. These themes meet accessibility standards and are ideal for users with red-green color blindness, ensuring a comfortable perception of information.

Modus Operandi ThemeScreenshot: Skillbox Media
Modus Vivendi Theme Screenshot: Skillbox Media

At EmacsConf 2021, Protesilaus presented a talk titled "How Emacs Made Me "to value software freedom." In this talk, he raises an important question about the meaning of freedom in the software world. The talk explores the connection between using Emacs and appreciating the value of open source, and highlights how experience with this editor can change the perception of freedom and independence in programming. Protesilaus shares personal reflections on how Emacs became for him not just a tool, but a symbol of the free software philosophy.

Many claim that Emacs is difficult to learn. But how did someone with little technical knowledge, no familiarity with ELisp, and only a basic understanding of programming become a package maintainer and contributor to the emacs.git project? This demonstrates that even with minimal skill and desire, significant progress can be made using Emacs. Mastering this editor takes time, but thanks to accessible resources and a vibrant community, anyone can become part of its ecosystem.

The speaker argues that the key to understanding Emacs lies in its nature as "self-documenting" open-source software. By exploring the documentation and studying the source code, even a beginner can master Emacs through trial and error. This accessibility of information and the ability to modify and adapt the code make Emacs a unique tool for developers and users seeking deep understanding and personalization of their workflows.

A programmer shares his experience using Emacs, emphasizing that before him, he used a separate application for each task. Mutt handled email, Newsboat handled RSS reading, Music Player Daemon curated the music library, and Vim was used for text editing. Each of these programs has its advantages, but the skills acquired in one do not apply to the others. Emacs, on the other hand, offers a universal solution, allowing you to integrate various functions in a single editor.

Knowing the keyboard shortcuts for working with code can significantly simplify plain text editing and file management. For example, if you have a command set to scroll down half the screen, it will function the same way in different applications, be it an email client, a text editor, or a music playlist. This makes work more efficient and saves time on routine tasks.

Protesilai Stavrou is an amateur programmer and active Emacs contributor who makes significant contributions to the development of this powerful text editor. His passion for programming and open source has allowed him not only to improve Emacs's functionality but also to attract the attention of the developer community. Protesilaus actively participates in discussions, shares his knowledge, and helps newcomers master Emacs. His work and projects promote the editor and expand its capabilities, making him a valuable member of the community.

The Emacs community's documentation culture is reflected in its distinctive approach to package design. The most popular and high-quality packages offer detailed manuals that significantly exceed standard README files. These manuals are designed like full-fledged books, including tables of contents, cross-references, and indices, making it easy for users to navigate and find information. This careful approach to documentation fosters a deeper understanding of package capabilities and improves the user experience.

Creating clear documentation plays a key role in communicating software developers' ideas and improving their communication skills. Protesilaus emphasizes that it is a documentation culture and respectful treatment of users as equals that help transform a novice into a true professional. Properly formatted documentation not only facilitates understanding of a product's functionality but also fosters the development of a community around it, which in turn strengthens user trust and loyalty.

There is an important difference between sharing knowledge and providing information in a ready-made form. The latter approach can negatively impact users in the long run, as it creates a dependence on external sources. The Emacs community strives for novices to take an active role in their own learning. An effective documentation culture and high standards enable even less experienced users to use Emacs effectively and get the most out of its capabilities.

Why You Shouldn't Be a "Tourist" in the World of GNU Emacs

Most users prefer simple and intuitive applications. They look for tools that "just work" without the need for in-depth study. However, Emacs offers a completely different approach. According to Proth, mastering this powerful code editor is impossible in a short period of time, such as a weekend. Emacs requires time and effort to learn, but ultimately provides users with unique opportunities for customization and extension of functionality, making it an indispensable tool for programming and development professionals.

Emacs is a powerful tool designed for professional work. Over the decades, it has accumulated the knowledge and experience of many users. Even if you plan to use Emacs exclusively for working with Org mode, you will still need to read the manual and master the configuration process. Users who are eager to quickly understand the editor will face serious difficulties. In the world of Emacs, it is impossible to remain a mere "tourist."

The main idea of ​​the talk is that freedom is inextricably linked with responsibility. In the context of free software, Emacs occupies a leading position. This editor not only gives users the opportunity to modify and adapt their experience, but also requires them to understand and accept responsibility for their actions. Emacs exemplifies how freedom in programming can be combined with a high degree of responsibility, making it a unique tool for developers.

Emacs represents the ideal of the GNU philosophy, offering the very best of what one would expect from free software. With Emacs, I realized that software freedom is not only about access to source code, but also about the ability to share software. The best way to achieve this freedom is not simply by providing people with tools, but by sharing knowledge and experience with them. Emacs not only serves as a powerful tool for developers but also promotes the exchange of ideas and practices within the community.

Protesilai Stavrou is an amateur programmer and an active contributor to the Emacs project. His passion for programming and contributions to the development of Emacs make him a significant figure in the developer community. Stavrou actively participates in discussions and improvements to Emacs, which contributes to the popularity of this code editor. His experience and passion for learning help him make useful changes and improvements that are appreciated by both novice and experienced users.

Protesilaus shares a personal experience where Emacs clearly demonstrated the benefits of free software. This incident was especially memorable and important for him in the context of using GNU/Linux. Emacs is not just a program, but a powerful tool that offers users extensive customization and adaptation options. It has become a symbol of freedom in programming and highlighted how free software can improve productivity and usability.

I needed a Markdown editor that could center text, customize color, font type, and font size, and spellcheck in Greek and English. I researched many free programs, but none of them could match the functionality of Emacs. Emacs has helped me effectively solve most of my everyday tasks and use the computer according to my preferences.

What is the future of GNU Emacs?

Many believe that Emacs is losing its audience and becoming less popular. The community regularly discusses how to restore Emacs to its former popularity. However, David Wilson, founder of the System Crafters community of computer enthusiasts and the YouTube channel of the same name, is confident that Emacs has every chance of a successful future. He emphasizes that Emacs' unique features and flexibility continue to attract new users, and it is important to focus on development and training.

Wilson considered the definition of text editor popularity and how it can be measured. He believes that relying solely on analytics services for this assessment is not appropriate. Text editor popularity can be measured by several criteria, including downloads, user activity, reviews, and forum discussions. It is important to consider how text editors impact productivity and user experience, as well as their functionality and adaptability to different tasks. Thus, a holistic approach to assessing editor popularity will provide a more complete picture of their real market demand.

Analyzing data from Google Trends and Stack Overflow discussions may lead one to believe that Emacs has lost its popularity and is no longer used. However, this opinion does not reflect the reality. Emacs remains a powerful text editor that is actively used by developers and enthusiasts. Despite the emergence of new tools, Emacs retains its uniqueness thanks to its flexibility and extensive capabilities. This makes it popular among those who value an individual approach to software development.

The popularity of the query "Emacs" from 2004 to the present. Screenshot: Skillbox

Wilson suggests paying attention to community activity on platforms such as Reddit, Discord, Slack, IRC channels, mailing lists, and blogs. He notes that when a text editor begins to lose popularity, it manifests itself through a decrease in discussions and user participation on these resources. This indicates that the community is no longer interested in the tool, and its use is gradually declining. It is important to monitor such changes in order to adapt your approaches and strategies when working with text editors.

  • Maintainers leave the project, and no one replaces them;
  • New features do not appear for a long time;
  • Critical bugs are not fixed;
  • The community loses motivation to create new packages.

Wilson is confident that Emacs does not face such a fate. First, Emacs offers significantly easier extension and modification than most other text editors. This makes it an attractive choice for developers who value flexibility and customizability in their tools.

Emacs is one of the most extensible text editors, designed specifically to adapt to individual user workflows. This provides maximum flexibility and freedom, allowing the user to customize the program's functionality. Instead of following developer guidelines, you have the ability to control the editor as you see fit, making Emacs the ideal tool for those who value a personalized approach to working with text.

David Wilson is the creator of the popular YouTube channel System Crafters, where he shares his knowledge and experience in the field of creating and managing systems. His content covers a wide range of topics related to system development and optimization, making it useful for both beginners and experienced professionals. In each video, David dives into various aspects of system design, provides tips for improving productivity, and shares practical examples. The System Crafters channel has become an essential resource for those seeking to deepen their knowledge in this field and learn how to effectively use modern tools and techniques. Starting with a basic setup, users can gradually build experience and learn to create their own packages, thereby benefiting the Emacs community. The Emacs editor is developed in the language used to configure it. Although the Emacs core is written in C, most functions and packages are implemented in Emacs Lisp. This opens up opportunities for active community members to contribute to the editor's development. This way, everyone can become part of this dynamic process and improve the functionality of Emacs. The Emacs community includes many talented and highly skilled contributors. This community has developed unique packages, such as Org mode, Magit, and Org-roam, which have no equivalent in other text editors. Community members actively share their knowledge by publishing articles and creating tutorial videos, and are also happy to help beginners by answering their questions. This makes Emacs not only a powerful tool, but also a space for learning and sharing experiences.

Have you ever come across engaging blog posts that open new horizons for using Emacs? Such content appears regularly and plays a key role in motivating users to work with Emacs. They not only inspire but also help unlock the full potential of this powerful editor. It's important to share such resources to maintain interest and grow the Emacs community.

David Wilson is the creator of the popular YouTube channel System Crafters, where he shares his experience and knowledge in systems development and programming. His content covers a wide range of topics, including creating and optimizing software solutions, as well as tips for improving your development skills. The channel attracts both beginners and experienced developers looking to expand their horizons in the world of technology. Through his accessible writing style and practical examples, David helps viewers better understand complex concepts and apply them in practice. System Crafters is not only an educational resource but also a community of like-minded people where everyone can find support and inspiration for their learning and creativity in the field of systems programming.

Emacs contributors and maintainers genuinely care about the users of this powerful text editor. Many of them have been involved in the project's development for over 10 years, and some began working with Emacs as early as the 1980s. This long-term involvement demonstrates their dedication and commitment to improving a tool that has become an integral part of the workflow for programmers and writers. Their experience and knowledge help shape the functionality and usability of Emacs, making it one of the most popular code and text editors in the world.

Of course, I am ready to help you with text revisions. Please provide the text itself that you want to change.

Maintaining an editor over many years requires significant effort. Emacs has been around for many years and has stood the test of time, overcoming competition from various editors. This text editor remains popular due to its flexibility and powerful customization options, making it an indispensable tool for developers and writers around the world. Emacs continues to evolve, adapting to new user requirements and technologies, confirming its relevance and viability in modern software.

David Wilson is the creator of the popular YouTube channel System Crafters. On his channel, he shares his knowledge and experience in the field of systems development and management. David offers tutorial videos that cover various aspects of working with systems and programming. His content is suitable for both beginners and experienced professionals looking to improve their skills. The System Crafters channel is a valuable resource for anyone interested in effective methods for creating and optimizing systems.

Wilson concludes that Emacs should not be written off. On the contrary, this text editor has every chance of a successful future. Emacs continues to evolve and attract users thanks to its flexibility and powerful customization options. In the constantly changing technological world, Emacs remains a relevant tool for programmers and developers, demonstrating its viability and potential.

What's Next

Emacs is more than just a feature-rich integrated development environment (IDE)—it's also a unique opportunity to tap into hacker culture. If you're inspired by Prot's ideas and want to start using this legendary editor, follow the guidelines below. Start by installing Emacs, learning basic commands and settings to get the most out of its capabilities. Master features like text editing, file management, and extending functionality through plugins. Emacs offers flexibility and power, making it the ideal tool for programmers and writers. Dive into the world of Emacs and discover its limitless possibilities.

  • Install regular Emacs, Doom Emacs, or Spacemacs;
  • Read the built-in and official manuals - they contain all the information a beginner needs;
  • Watch tutorial videos from System Crafters and Mike Zamansky or read the beginner's guide;
  • Read about Org mode, Emacs for Python, Emacs for JavaScript;
  • Subscribe to news from Sasha Chua.

Read also:

  • Must read. 5 Fresh Articles on Using Emacs in Development
  • Shooting Yourself in the Foot Together: What's Useful in the C++ Developer Chat for Android
  • The Language of the Gods: Why Hackers Love Lisp and How to Achieve Enlightenment with It