 |
 |
How do I remove apple's version of emacs?
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status:
Offline
|
|
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?
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
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
|
|
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.
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|