Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > How do I remove apple's version of emacs?

How do I remove apple's version of emacs?
Thread Tools
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status: Offline
Reply With Quote
Apr 5, 2003, 09:09 AM
 
I just Installed a newer version of emacs. I like it and I want to uninstall the old one.

What do I have to do?
     
Zim
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Apr 5, 2003, 09:45 AM
 
Do you need to _uninstall_ it, or might you simply be able to put YOUR version of emacs ahead in your path?

In your .cshrc, you could something like

set path=(/path/to/your/emacs/bin $path )

Speaking as a 15-year unix user (but not as a true expert), that is my understanding of the preferred way to handle such a thing.

Also, Apple's installers do not seem particularly tolerant of things being moved/missing.

Mike
     
Mac Elite
Join Date: Jun 2000
Status: Offline
Reply With Quote
Apr 5, 2003, 01:08 PM
 
You could also create an alias in the shell's rc file for the new version of Emacs.
Agent69
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Apr 5, 2003, 01:23 PM
 
Surely the obvious answer is:

sudo rm `which emacs`



That said, the 'Apple' version of emacs lives in /usr/bin
For most users /bin and /sbin appear earlier in their $PATH, so putting a new copy of emacs in either of those locations would override the system version.
Gods don't kill people - people with Gods kill people.
     
poulh  (op)
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status: Offline
Reply With Quote
Apr 5, 2003, 07:27 PM
 
I did the sudo remove and its gone. I posted this because I thought maybe there would be files elsewhere as well.

I'm worried now because I forgot that the osX installer will croak when it can't find the old emacs. Anyone think this is going to be a problem for me?

The new emacs is up and running. Even got the version that launches in an Aqua window!
     
Junior Member
Join Date: Apr 2003
Status: Offline
Reply With Quote
Apr 19, 2003, 03:36 PM
 
Originally posted by poulh:
I did the sudo remove and its gone. I posted this because I thought maybe there would be files elsewhere as well.

I'm worried now because I forgot that the osX installer will croak when it can't find the old emacs. Anyone think this is going to be a problem for me?

The new emacs is up and running. Even got the version that launches in an Aqua window!
What version of emacs is this - and where did you get it? anyway you can post a screenshot of the app runnin?

--
     
Mac Elite
Join Date: Mar 2001
Location: Robinson, IL
Status: Offline
Reply With Quote
Apr 19, 2003, 04:23 PM
 
Originally posted by poulh:
I did the sudo remove and its gone. I posted this because I thought maybe there would be files elsewhere as well.

I'm worried now because I forgot that the osX installer will croak when it can't find the old emacs. Anyone think this is going to be a problem for me?

The new emacs is up and running. Even got the version that launches in an Aqua window!
I doubt that any Apple installers willl croak over a lack of emacs. It's not exactly a mission-critical OS component. (I didn't say it wasn't useful...)

--Josh
     
Zim
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Apr 19, 2003, 05:01 PM
 
Considering this is in the unix forum...

I'd suggest installing the emacs via fink, compiled for X windows (use Apple's X11 distro).

If you have fink, /sw/bin should appear ahead of Apple-supplied directories in your path, so no "removal" is needed, the fink-installed emacs will be selected since it appears earlier in the path. After the fink install of emacs do

rehash; which emacs

will confirm that /sw/bin/emacs

Plenty of reports in the OSX and Software groups of Apple's installers not liking when things in the Application folder are moved. I find that disappointing myself, but this works around any such problems nicely, and again, I think is more "unix" in philosophy.

Either way, welcome to emacs, its a great editor. Learn to customize it (define your own commands, key-sequences, add packages) and it becomes even more powerful

Cheers,
Mike
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2