Set the GNU Emacs font as needed.

Source: Internet
Author: User
In the afternoon, I found some information and tried to modify the GNU Emacs font display. Haha, this job is only empty. It doesn't make much sense.

The method is as follows. Add the following sentence to. xdefaults. Of course, you must configure the original GNU Emacs! Drop.

Emacs. Font: fontset-small
Emacs. Fontset-0:-*-Medium-r-normal -- 15-*-fontset-small ,\
ASCII:-MISC-fixed-Medium-r-normal -- 15-*-iso8859-1 ,\
Chinese-gb2312:-MISC-simsun-Medium-r-normal -- 15-*-gb2312.1980 -*

In this way, the Chinese and non-Chinese fonts are displayed.

Simsun can be changed as needed. Small can be changed to big. Of course, the following should also be changed. However, you can add a separate set of definitions about big:

Emacs. Fontset-1:-*-Medium-r-normal -- 15-*-fontset-small ,\
............
............
(You can write it as needed. Just change it as shown above)

Change
Emacs. Font: fontset-big

You can.

After modification, xrdb-load. xdefaults will take effect immediately. Of course, you can restart X (this is not necessary unless you want)

When this is not good for xemacs

Happy emacsing

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.