Start learning to use emacs

Source: Internet
Author: User
Start to learn how to use emacs-general Linux technology-Linux programming and kernel information. The following is a detailed description. GNU Emacs is a famous text editor in Linux. In fact, it has a long history than Linux. It was born in 1975 and is almost the same age as Microsoft. The author is Richard Stallman, the GNU subject. I have tried to learn how to use this tool several times before, but I feel that it is difficult to get started every time. vi is a little better (in fact, I am not familiar with the powerful functions of vi, it is a little too far away, haha ). These two editors differ greatly from other Windows and Linux editors, making it difficult to get started.

However, many of those who have used Emacs on the Internet are satisfied with its functions, except those that are difficult to return. There is also a teacher in the school who will use Emacs. He also said that Emacs is very useful, and I have always been jealous of them. It's not long before I start school, so I'm not busy. So I 'd like to take this opportunity to learn.

However, as an old program, Emacs's UI font configuration is a headache. I am a person who pays great attention to fonts. No matter what programs, webpages, or even books in my life, fonts are very important to me. Of course, the beauty of the font is very important for long-lasting applications. Currently, in Linux, as the font of code and terminal, the only thing I'm satisfied with is the Courier 10-Pitch and Consolas fonts. The former is included in Magic Linux, the latter is downloaded from the Internet, and other fonts are very difficult to see. However, these two fonts only look good in the Qt program. In the GTK + program, these two fonts are always poorly displayed.

I checked a lot of information from the Internet. Maybe the Emacs graphic interface program is based on GTK +. It shows that Courier 10-Pitch and Consolas are also very ugly. No way. The only thing I can see now is the font of wenquanyi. the font of wenquanyi is very nice, but the English is relatively poor, but now I cannot find a better choice.

In addition to the font, there is also a color, I still like that deep tone. Similar to the category style, I found a link from FreeMind, which tells an Emacs color extension named color-theme. There are many themes in it, but my favorite one is the arjen color, currently, this is the dominant color scheme.

FreeMind's pluskid also made an extension on Google: yasnippet, which can be used to add code snippets for various programming languages. It is easy to install and use. So I added it to my. emacs file. When I study deeply ,. the emacs file will become longer and longer. If I have time, I can also write the mode: scons-mode, which can be compiled using scons as a project management tool.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.