# Mac OS X 下安装 Emacs 24及配置preclude

Author posted @ 2013年3月26日 06:55 in Emacs , 11751 阅读

Last month I’ve blogged about the exciting things are coming up in Emacs 24. What I failed to mention originally is that altough Emacs 24 is slated for a Spring 2012 (tentatively) release there is no real reason not to start using it now. You should also keep in mind that it’s feature complete since it officially entered the feature freeze of its development cycle in July 2011.

I’ve been using Emacs 24 for several months now and it has been nothing but rock solid. I guess the only real obstacle currently is that the way to obtain Emacs 24 is not particularly straightfoward/clear, hence this post.

I’ll discuss here the installation and initial configuration of Emacs 24 on OSX, GNU/Linux and Windows.

## Installing Emacs 24

#### OS X

Obtaining Emacs 24 on OS X is really simple. There are two popular ways to do it. The first is to simply download a pretest (or a nightly build) from Emacs for OSX. My personal recommendation would be to get the latest pretest (which is ironically the first pretest as well) from here.

That was really easy, right?

The second easy way to obtain Emacs 24 is via homebrew. Just type the following incantation in your shell and you’re done:

$brew install emacs --cocoa --use-git-head --HEAD$ cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/


The second step is optional, but it’s recommended if you like to start Emacs from the launchpad or from Spotlight. Personally I prefer to start Emacs in daemon mode (emacs --daemon), so that I could share a single Emacs instance between several Emacs clients.

That’s all folk! You may now proceed to the configuration section.

#### Linux

Given that Linux is more or less the home os of Emacs it presents us with the most installation options. Of course, we can build Emacs from source on every distribution out there, but I rarely bother to do so. Using the distribution’s package manager is a better idea for many reasons - you don’t need to install a build chain and lots of dev libraries, you get updated versions when they are released and you get automated dependency manager, just to name a few.

That said, few distributions include in their primary repositories builds of Emacs 24. Luckily there are some unofficial repos that come to the rescue.

Debian/Ubuntu users should look no further than the amazing emacs-snapshot APT repo. You’ll find installation instructions there for all the relevant Debian and Ubuntu versions out there. High quality, highly recommended builds!

Gentoo users have even less to do, since Emacs 24 can be obtained via the emacs-vcs package in portage, as noted in the official Emacs on Gentoo page.

#### Windows

There are several ways to obtain precompiled Emacs 24 binaries if you’re a Windows users. The most popular are EmacsW32,Emacs for Windows and of course the official Emacs Windows builds. I’ve ,personally, never used any builds other than the official ones. The unofficial builds usually include installers and various patches that might be of use to some users.

Since I rarely use Windows I cannot give you any more advice on the choice of a binary vendor.

## Initial configuration

Installing Emacs has always been the easy part, configuring it properly - not that much. That’s why I’ve created the Emacs Prelude - an advanced Emacs setup specifically for Emacs 24 that has been tested to properly work on OSX, Linux and Windows.

$git clone git://github.com/bbatsov/prelude.git path/to/local/repo$ ln -s path/to/local/repo ~/.emacs.d

For Windows Vista/7 the ~(home) folder is

C:\Users\<USER>\AppData\Roaming\

The configuration in the Prelude is commented extensively and will be improved more along the way. Reading it will be an enlightening experience for all new Emacs users.

The Prelude itself is a moving target. I’ve created it recently and I plan to add a lot more cool things very soon, so stay tuned. If you have any problems with it or have feature suggestions - do not hesitate to open tickets and send pull requests.

## Epilogue

Now that I’ve shown you how easy it is to get a hold of Emacs 24 and I’ve provided you with a starting configuration there is really no excuse not to switch to Emacs 24. Install it, use it, love it!

seo 说:
2021年12月23日 09:20

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Canadian statutory holidays

seo 说:
2021年12月28日 07:57

It proved to be Very helpful to me and I am sure to all the commentators here! 안전놀이터

seo 说:
2021年12月31日 02:19

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and https://radio-chalette.com/%ef%bb%bf%ec%95%bc%ea%b0%84-%ec%8b%9d%ec%82%ac/

lol boost 说:
2022年1月01日 20:56

Thanks for this great post, I find it very interesting and very well thought out and put together. I look forward to reading your work in the future.

Baumaschinen Gutacht 说:
2022年1月08日 03:39

Wir erstellen Unfall Gutachten für KFZ, Motorräder, Reisemobile, Wohnwagen, Nutzfahrzeuge und Baumaschinen.Als unabhängiger Kfz-Gutachter erstellen wir Kfz-Gutachten, Kfz-Haftpflichtschaden-Gutachten, Kfz-Kaskoschaden-Gutachten, Motorrad Unfall-Gutachten, Nutzfahrzeug-Gutachten, Fahrzeug- und Baumaschinenbewertungen, Baumaschinen-Gutachten und Kfz-Gutachten-Technik
Wir vertreten als Sachverständige Ihre Interessen und erstellen unter Berücksichtigung aller Faktoren ein Gutachten, bei dem Ihre berechtigten Ansprüche gewahrt werden.

Air purifiers 说:
2022年1月14日 04:12

Like many modern parents, I care about the health of my child and my own. I drink purified water, read the composition of the products that I buy. And I am seriously concerned about the ecological situation where I live.

SEO Betreuung 说:
2022年1月16日 07:13

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.

ularnaga 说:
2022年2月13日 23:15

SEO 说:
2022年3月19日 02:07

Please continue this great work and I look forward to more of your awesome blog posts. https://www.posterprintcenter.com/quote?title=quote/

노원출장마사지 说:
2022年4月04日 18:10

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info.

https://www.5g999.co 说:
2022年4月28日 04:46

Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon!

air queen breeze mas 说:
2022年5月08日 07:29

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers!

İzmir Bayan Escort 说:
2022年5月11日 02:45

Thanks so much for sharing this awesome info! I am looking forward to see more postsby you!

voyance gratuite tel 说:
2022年5月12日 23:59

If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content.

aa 说:
2022年5月14日 02:28

Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. https://www.supratraderonline.com/author/rosendahlserrano5/

12a 说:
2022年5月16日 01:56

You have a real ability for writing unique content. I like how you think and the way you represent your views in this article. I agree with your way of thinking. Thank you for sharing.

เว็บพนันบาคาร่า 说:
2022年5月19日 06:01

This is a good post. This post gives truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. Thank you so much. Keep up the good works. <a href="https://lucaclub88.net/">เว็บพนันบาคาร่า</a>

aa 说:
2022年5月22日 05:36

Great content material and great layout. Your website deserves all of the positive feedback it’s been getting. https://www.victoriaeducation.co.uk/activity/p/1179098/

먹튀검증업체 说:
2022年5月25日 04:31

Super-Duper site! I am Loving it!! Will come back again, Im taking your feed also, Thanks.

sdsd 说:
2022年5月27日 21:03

Groom Deals Salon is now proud to offer complete range of hair styling, facial skincare treatments and body hair removal services for men and women.Barbershop Near Me karachi

sdsd 说:
2022年5月27日 21:13

ny car service NYcarservice company is the best black car service that is secure, reliable and comfortable for all your transport needs in New York City.limo service new york

sdsd 说:
2022年5月27日 21:21

Medical Imaging Supplies Simplibuy is your online one-stop resource for buying medical supplies, diagnostic equipment and accessories.Diagnostic Imaging Supplies

one on one cam  说:
2022年5月29日 06:55

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.

cam with strangers  说:
2022年5月29日 06:56

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.

AREE 说:
2022年6月02日 21:40

Hi there! Nice material, do keep me posted when you post something like this again! I will visit this blog leaps and bounds for more quality posts like it. Thanks... 다이아티켓

aa 说:
2022年6月09日 03:54

I am constantly surprised by the amount of information accessible on this subject. What you presented was well researched and well written to get your stand on this over to all your readers. Thanks a lot my dear.https://maps.google.ca/url?q=https://vulkan-bet.online/

aa 说:
2022年6月15日 23:16

If more people that write articles involved themselves with writing great content like you, more readers would be interested in their writings. I have learned too many things from your article. premium company names for sale

918kiss 说:
2022年6月19日 04:37

You understand your projects stand out of the crowd. There is something unique about them. It seems to me all of them are brilliant.

sagame66 说:
2022年6月19日 23:35

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info.

เว็บสล็อต ฝาก 20 รับ 说:
2022年6月25日 23:11

Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know.

https://wargapokerqq 说:
2022年6月26日 05:18

What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge!

İzmir Escort 说:
2022年7月02日 01:06

I was looking at some of your posts on this website and I conceive this web site is really instructive! Keep putting up..

aa 说:
2022年7月12日 02:15

This blog website is pretty cool! How was it made ! Satta result

Specialist in stucwe 说:
2022年7月12日 06:18

Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards.

auto onderdelen 说:
2022年7月12日 06:35

Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it.

Beppy cup 说:
2022年7月13日 22:59

i was just browsing along and came upon your blog. just wanted to say good blog and this article really helped me.

AREE 说:
2022年7月14日 06:10

Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. 소액결제현금화

harga u ditch beton 说:
2022年7月14日 06:55

harga u ditch saluran air drainase jakarta, bogor, bekasi, depok dan tangerang

contracts 说:
2022年7月16日 09:18

This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post.!

aa 说:
2022年7月18日 21:21

Everything has its value. Thanks for sharing this informative information with us. GOOD works! numero voyante gratuit

aa 说:
2022年7月20日 02:34

I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think. lentor modern showflat

Kampus Komputer di J 说:
2022年7月24日 08:19

This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post.

ali 说:
2022年8月07日 21:00

I learn some new stuff from it too, thanks for sharing your information. https://sociallawy.com/story1631002/zak%C5%82ady-bukmacherskie-bonus-bez-depozytu

Intern Contract 说:
2022年8月08日 06:26

An internship in Madrid offers you theopportunity to gain work experience at an academic level. It allows you to put theory into practice and use work experience

check vehicle insura 说:
2022年8月10日 06:26

I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much.

ali 说:
2022年8月10日 19:38

I got too much interesting stuff on your blog. I guess I am not the only one having all the enjoyment here! Keep up the good work. one pearl bank

ทดลองเล่นบาคาร่า 说:
2022年8月13日 06:46

I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information.

Österreichischen füh 说:
2022年8月15日 05:01

Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing.

ali 说:
2022年8月15日 05:56

Lentor Modern is a 99-year leasehold condo developed by Guocoland. The condo will be a luxury mixed-use development in the heart of the new Lentor Hills Estate. lentor modern

AREE 说:
2022年8月17日 05:48

I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. https://www.evernote.com/shard/s649/sh/751818b3-3a72-3472-733f-5277ca2441dd/a917eb679f824a5a9f9f9712c4a56173

AREE 说:
2022年8月18日 02:17

I really impressed after read this because of some quality work and informative thoughts . I just wanna say thanks for the writer and wish you all the best for coming!. Selling Merchant Services

aa 说:
2022年8月23日 00:36

It is included in my habit that I often visit blogs in my free time, so after landing on your blog. I have thoroughly impressed with it and decided to take out some precious time to visit it again and again. Thanks. 토토사이트

TN +2 Model Paper 20 说:
2022年8月24日 20:45

인천노래방 说:
2022年8月25日 07:51

mom porn 说:
2022年9月08日 08:20

2022年9月22日 05:38

I am definitely enjoying your website. You definitely have some great insight and great stories.

Maven Health Guide 说:
2022年10月11日 20:54

We all know any kind of pain is terrible and unbearable for every human being. Of course, people living on the edge do not see the word Pain, as they like to hurt themselves casually. broken bone pain worse at night

the icon system 说:
2022年10月15日 03:57

Whenever I have some free time, I visit blogs to get some useful info. Today, I found your blog with the help of Google. Believe me; I found it one of the most informative blog.

Web Designers 说:
2022年10月18日 03:12

In the world of www, there are countless blogs. But believe me, this blog has all the perfection that makes it unique in all. I will be back again and again.

pragmatic play 说:
2022年10月21日 07:11

Nice to be visiting your blog once more, it has been months for me. Well this article that ive been waited for therefore long. i want this article to finish my assignment within the faculty, and it has same topic together with your article. Thanks, nice share.

jilislot 说:
2022年10月23日 06:28

I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post.

cbd öle 说:
2022年10月27日 07:59

I exactly got what you mean, thanks for posting. And, I am too much happy to find this website on the world of Google.

바카라전략 说:
2022年11月01日 23:39

I’ve been surfing online more than 5 hours today, yet I never found any interesting article like yours without a doubt. It’s pretty worth enough for me. Thanks...

back pain 说:
2022年11月03日 07:11

New web site is looking good. Thanks for the great effort.

ayan 说:
2022年11月04日 05:30

Excellent blog! I found it while surfing around on Google. Content of this page is unique as well as well researched. Appreciate it. 바카라전략

see more 说:
2022年11月06日 06:47

I’ve been surfing online more than 5 hours today, yet I never found any interesting article like yours without a doubt. It’s pretty worth enough for me. Thanks...

see more 说:
2022年11月06日 06:47

I’ve been surfing online more than 5 hours today, yet I never found any interesting article like yours without a doubt. It’s pretty worth enough for me. Thanks...

ali 说:
2022年11月11日 20:35

Welcome to the best online slot site in Korea. ​For you to use with confidence, Slot Moara carefully selects and provides only fully verified companies by reviewing all sites through experts. Don't miss out on various events and bonuses only available at Slot Moara. 카지노슬롯

카지노사이트 说:
2022年11月14日 18:39

It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. 카지노사이트 바카라사이트

Maven Health Guide 说:
2022年11月14日 22:07

Let’s come back to our main question, that is still a question mark for many people around the world. Many partners have to face sleepless nights due to their partner’s heavy snoring all night.how to stop someone from snoring without waking them

Plumber near me 说:
2022年11月29日 04:09

Please let me know if you’re looking for a article writer for your site. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please send me an email if interested. Thank you!

opc 说:
2022年12月20日 04:08

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.

Grundstücke 说:
2023年1月18日 03:31

Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking.

(输入验证码)
or Ctrl+Enter