Changing the font in Carbon Emacs

My current monospaced font of choice is Deja Vu Sans Mono. It is pretty easy to change the default font in Carbon Emacs. It is not so easy to change the default font on Windows- or Linux-based Emacs22, which is the current release version. It will be relatively straightforward in Emacs23 via the xft package. But, for your Mac folks out there…

Installing a Font on Mac OS X

  1. Download the font (Mac will accept almost any format).
  2. Drag the font file into /System/Fonts

Figure out the long name of your font face in Carbon Emacs

  • M-x mac-font-panel-mode. Then pick your font
  • M-x describe-font and copy the long name.

Set the default font

There are a couple of ways to do this.


  • M-x customize-face RET default RET
  • Fill in the fields of the font with the long name.

.emacs.d file

(set-default-font "-apple-inconsolata-medium-r-normal--11-110-72-72-m-110-iso10646-1")

Monospaced fonts for the uninitiated

Programmers tend to use different fonts for code than what we see in books an on the web. Word processors typically use proportional fonts, where the horizontal space allowed for narrow letters like "l" is less than the space allowed for wide letters like "W". In code, we want the columns of each line to be aligned. So, programmers tend to use monospaced fonts, where each letter takes up the same amount of horizontal space. The most commonly known fixed width-font is Courier. Another common fixed-width font for Windows and Microsoft products in Consolas. The Code Project has an exhaustive list of monospaced fonts.

One of the key attributes to look for in a monospaced font is the distinction between the number one and the lowercase letter "l" and the number zero and the uppercase "O". When you are trying to read variable names that have mixtures of numbers and letters, you will be thankful for a font that distinguishes between these.



Blogger Lakshmi said...

Thanks for sharing such a great information..Its really nice and informative.
SEO Training in Chennai

February 26, 2016 at 4:46 AM  
Blogger henris said...

Thank you for proving information about changing the font in carbon sheets. And please keep update like this information with this.

Web Designing Training in Chennai

March 1, 2016 at 6:20 AM  
Blogger kanmani karthick said...

That the provided information was really so nice,thanks for giving that post and the more skills to develop after refer that post.our giving articles really impressed for me,because of all information so nice.
Oracle SQL Training in Chennai

March 2, 2016 at 2:36 AM  
Blogger Dianne Wiest said...

This is really great information found here, I really like your blog. Thanks very much for the share. Keep posting.

Las Vegas Dog Trainers

April 1, 2016 at 12:32 AM  
Blogger Training Coimbatore said...

great post

Hadoop training in coimbatore
Java training in coimbatore
Oracle training in coimbatore
Informatica training in coimbatore
Oracle training in coimbatore
Informatica training in coimbatore

June 22, 2016 at 11:27 AM  
Blogger Aashi siva said...

It's like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but instead of that, this is fantastic blog. A great read. I will definitely be back.

Online Training in Chennai

July 18, 2016 at 2:22 AM  
Blogger Keerthi said...

A nice article here, i think that people who have grown up with the idea of using computers are showing more responsibility towards writing posts that are thoughtful, do not have grammar mistakes and pertinent to the post..

Online Training in Chennai

August 10, 2016 at 8:37 AM  
Blogger Maha Ravi said...

nice blog too informative. looking and reading your points its so impressive. doing more blog like this. i really appreciated doing like this.
Sharepoint Training in Chennai

August 18, 2016 at 3:22 AM  
Blogger Geetha said...

Great information shared in this blog. Helps in gaining concepts about new information and concepts.Awsome information provided.Very useful for the beginners.
SEO training in Chennai

August 22, 2016 at 8:26 AM  
Blogger Harish Raju said...

This blog is having a wonderful talk. The technology are discussed and provide a great knowledge toall. This helps to learn more details about technology. All this details are important for this technology. Thank you for this blog.
Digital Marketing Company in Chennai

August 24, 2016 at 2:53 AM  
Anonymous Anonymous said...

very useful information provided in this blog. concepts were explained in a detailed manner. Keep giving these types of information.
SEO Training in Chennai

August 29, 2016 at 6:28 AM  
Blogger Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India

November 24, 2016 at 11:32 PM  
Blogger Rohi Sharma said...

I have been a regular visitor of this site and I love reading blogs posted here. They are truly very well written, precise and to the point. Thanks. keratoconus treatment in india

February 14, 2017 at 7:13 AM  
Blogger tessa tessa said...

Your thinking toward the respective issue is awesome also the idea behind the blog is very interesting which would bring a new evolution in respective field. Thanks for sharing.

Digital Marketing Company in India

March 14, 2017 at 1:28 AM  
Blogger sri harsha said...

TS DSC 2017
Telangana DSC 2017
TS DSC Notification 2017
TS DSC Model Papers 2017
Sakshi TS DSC Model Papers 2017
Namasthe Telangana TS DSC Model Papers 2017
TS DSC District wise Vacancies list 2017

June 4, 2017 at 10:56 AM  
Blogger sri harsha said...

Telangana DSC Recruitment 2017 Notification is announced in last week of December with District wise Vacancies lists TS DSC 2017 , Telangana DSC 2017, TS DSC Notification 2017, TS DSC Model Papers 2017, Sakshi TS DSC Model Papers 2017, Namasthe Telangana TS DSC Model Papers 2017, TS DSC District wise Vacancies list 2017 Government Primary and Secondary Schools for Secondary Grade Teacher (SGT),Language Pandit (LP),School Assistant(SA)and Physical Education Teacher (PET) Posts with the TS DSC 2017.

June 26, 2017 at 1:43 PM  
Blogger sri harsha said...

All the board students can Download Subject wise new Syllabus for all state and central board schools with model papers 2018 for all board of secondary education boards and students can apply scholarship 2018 for ekalyan epass to online application and status check

July 3, 2017 at 11:33 AM  
Blogger Sowmiya said...

Interesting blog about changing font in carbon emacs which attracted me more.Spend a worthful time.keep updating more.
MSBI Training in Chennai

August 2, 2017 at 1:11 AM  
Blogger Shalini said...

Really Good blog post about changing font in carbon emacs.provided a helpful information.I hope that you will post more updates like this.
Digital marketing company in Chennai

August 7, 2017 at 3:55 AM  
Blogger Anjana Anju said...

This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great.
Latest UP Govt Jobs 2017-18

September 5, 2017 at 7:01 AM  
Blogger Unknown said...

Direct Link to fill the application form of DRDO Recruitment 2017

Apply Online Punjab and Haryana High Court Clerk Recruitment 2017

September 5, 2017 at 8:26 AM  
Blogger kingrani said...

flipkart big billion day cashback offers
Flipkart Bank offers

September 11, 2017 at 8:25 AM  
Blogger Hima Bindu said...

Thanks for sharing.This is very useful and interesting.
Latest Exams unversity Results

September 21, 2017 at 6:10 AM  
Blogger kingrani said...

Click here to Download SDSC SHAR Technical Assistant Syllabus
Apply Online for UP Postal Circle GDS Recruitment

November 3, 2017 at 8:24 AM  
Blogger subash said...

This comment has been removed by the author.

November 7, 2017 at 7:21 AM  
Blogger I Digital Academy said...

Thanks for sharing such a great information..Its really nice and informative.
Best SAP Training in Bangalore
Best Java Training in Bangalore

November 16, 2017 at 2:28 AM  
Blogger joselin mary said...

I got lot of informations from your blog.Please keep us informed like this.And thanks for sharing!!!
Seo Company in Chennai
Digital Marketing Company in Chennai

February 21, 2018 at 2:32 AM  
Blogger Gokul Ravi said...

nice blog
android training in bangalore
ios training in bangalore
machine learning online training

April 21, 2018 at 12:57 AM  
Blogger Gokul Ravi said...

useful blog
python interview questions
cognos interview questions
perl interview questions
vlsi interview questions
web api interview questions
msbi interview questions

April 21, 2018 at 1:09 AM  
Blogger Gokul Ravi said...

laravel interview questions
aem interview questions
salesforce interview questions
oops abab interview questions
itil interview questions
informatica interview questions
extjs interview questions

April 21, 2018 at 1:11 AM  
Blogger Gokul Ravi said...

sap bi interview questions
hive interview questions
seo interview questions
as400 interview questions
wordpress interview questions
accounting interview questions basic accounting and financial interview questions

April 21, 2018 at 1:11 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home