Well configured Emacs

Everything you need to know in order to quickly and correctly configure Emacs.


/ > Emacs ["Editor MACroS", /ˈeditər ˈmakrōs//ˈemaks/, then — "emaks"] was established a long time ago in the artificial intelligence Lab at mit MIT AI Lab. Emaks is a text editor behaviour and which change directly at the time of writing in this text programming language which itself was written emaks. Moreover, at the time of writing in emacsa text programming language which itself was written emaks changes the behavior and capabilities of the programming language in which the written emaks. All this makes emaks most flexible and versatile text editor compared to any other.

Emaks has been developing for several decades. Every year hundreds of people add new features. Usually it is small pieces of encapsulated functionality for the needs of a specific user. However, the total amount and extent of these improvements over time have transformed a powerful text editor into a comprehensive cross-platform software environment in which you can do absolutely anything if it relates to working with text.

Versatility Emacs you play the hand if you understand how it works: you can do a thousand different things through a single interface in which all consists of text in all its manifestations. It may seem archaic from the point of view of modern ideas about the user interface, but it is not; not least because contemporary interfaces do not reveal the power of plain text to the full. To become a competent user amaxa, you have to understand its concept and internal structure, and it means to join the hacker culture of the 70-ies of the last century. Beginners this situation is scary, but it's not so bad: emaks complex only complex tasks but for simple tasks it is easy, it all depends on your needs. To start getting to know him better overview of “A Guided Tour of Emacs” on free the GNU operating system.

Richard Stallman describes the history amaxa in the article "My experience with Lisp and the development of GNU Emacs" this history is closely connected with the not less interesting history of the GNU project from which you can discover that GNU Emacs was the first project in the GNU project. The essence of what is emaks is described in detail in the document “EMACS: The Extensible, Customizable Display Editor” was written in 1981 and over the years, the essence hasn't changed.

Extensibility Emacs this is his blessing and curse. Of course, the standard delivery emaks is good, but not as good as it could be. You are not limited to solutions, and if you need functionality which imaxe no, you can add it yourself: just open emaks and in detail describe it. In the end all the possibilities Emacs text edit is the only text describing what to do with the text and you can change this text at any time in the same way as any other, thereby changing opportunities Emacs. Potentially its possibilities are endless, but to use them you will have to take the setup, and this involves the ability to program and close communication with the community.

Setting amaxa it is a kind of decorative art; for each user it is the compilation of Lisp programs from fragments of Lisp code taken from many disparate sources. No other way, in principle, no, so before diving into this topic to get comfortable with programming in General and programming in Lisp in particular. Lisp is the oldest of the used programming languages of very high level, as well as the simplest known to mankind ways of organizing the computation of characters, data structures and functions (open mathematicians in 1936).
In the study of programming will help the book "the Structure and interpretation of computer programs" is an introductory course in computer science at MIT. In writing programs for Emacs useful the tutorial "Introduction to programming in Emacs Lisp", reference "the GNU Emacs Lisp Reference Manual" and the brochure "Common Lisp Quick Reference".

Emaks definitely not the program for the study of which should be taken only in order to edit the text in it. It should be seen more as a human artifact and the cultural monument of a more civilized age. The study amaxa will be a waste of time if you don't program and don't want to have anything to do with this activity, but if not, anything better Emacs you will find.

Normally, the creation of a convenient configuration and its subsequent refinement is stretched for a long time. You can make your life easier and to establish a framework in which all basic settings are made in accordance with the author's vision of the framework, and you don't even have to edit the source code to just use amakom in pleasure. The most popular frameworks of today: Spacemacs, Emacs Prelude, Eschulte's Emacs Starter Kit Literate, Emacs Live Overtone, Purcell emacs.d, Oh My Emacs.

Everything will be fine as long as you do not want to embed in emaks some incredible functionality in the framework which selected no, and then you have to manually integrate a code not only in emaks, but in the framework, and this will need to deal with a market structure that brings all its advantages to nothing. To such conclusion the author Emacs Starter Kit (see Meet Emacs), when I closed the project after six years of development
Old versions of Emacs Starter Kit were one-for-all code base replaces the contents of the directory ~/.emacs.d. It was a very popular decision, but a large bunch of disjointed functionality led to the fact that the user just got used to her not understanding. When some things broke or did not behave as you wanted, and you had no idea where to fix them.

I realized that users are better a little packages giving the desired functionality. Is the dump of code, Emacs Starter Kit became a little guidance. As a user of Emacs, you have to look for new pieces of emaks-Lisp code, integrate, configure and even write your own. Emacs Starter Kit will help you with advice on where to start and what to look for, but the Assembly of suitable configuration is a personal matter.

System packages Emacs is a built-in Lisp-program [see source on github; open the graphical interface of the system packages in amaxaM-x list-packages] which automatically integrates in emaks other Lisp programs from the Internet. The bundle system works regardless of the operating system under which the editor is launched, it automatically tracks dependencies between Lisp programs and ensures their update. The development of this system started Tom Tromey in 2007, in 2012 it was included in the Emacs 24.1; the peak of popularity of Emacs Starter Kit came exactly to the years, that is by and large the community used it to develop system packages.

Whatever it was, personal configuration Emacs in nature has been and will be just a big pile besswaznaya code, and the best way to handle this is to leave things as they are; or turn the pile in the guide which will explain (especially not to forget myself) in which one or another fragment is in this pile, and then make sure that the guide itself has turned itself into a Lisp program and execute the configuration Emacs at startup. And peresource itself when you change and downloads new versions of itself from remote sources. Why not. This is the guide to configure Emacs mouse in the best traditions of Stanford and MIT.
Continued.

Full article posted here is impossible due to the fact that it uses the internal links in a format that is not supported habrahabr.

The source code for the article: Networks, Github.
Article based on information from habrahabr.ru

Comments

Popular posts from this blog

Powershell and Cyrillic in the console (updated)

Active/Passive PostgreSQL Cluster, using Pacemaker, Corosync

Automatic deployment ElasticBeanstalk using Bitbucket Pipelines