all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs22, Emacs23, and symlinks
Date: Sun, 21 Sep 2008 19:05:48 +1000	[thread overview]
Message-ID: <873ajtrhqr.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.19625.1221947130.18990.help-gnu-emacs@gnu.org

ross@rosslaird.info (Ross A. Laird) writes:

> I am using Ubuntu Gutsy, and I have (somewhat unintentionally) installed
> both emacs22 and emacs23 (as emacs-snapshot-gtk) on my system. The
> command 'emacs' (usr/bin/emacs) points to:
>
> /etc/alternatives/emacs22
>
> In turn, the above points back (to /usr/bin) to:
>
> /usr/bin/emacs22
>
> So, when I run 'emacs' from the command prompt or alt-f2, I get emacs22
> instead of emacs-snapshot-gtk. (And, 22 complains about fonts in
> .Xresources.)
>
> I know that I can change these symlinks (to point to emacs-snapshot);
> but before doing so, I wanted to check that I wouldn't be doing any
> unintended harm by way of this change. I suppose I could uninstall
> emacs22 as well (since I use 23), and I only ended up with 22 because of
> an associated lisp install from apt; but again, before doing so, I
> thought I would check.
>
> Any cautions or suggestions?

Note that I'm running debian rather than ubuntu, but I expect they are
similar enough for the following to hold true.
>
Have a look at man update-alternatives and try to use that command
to update the links for emacs etc. 

Also, keep emacs 22 installed. I *think* emacs-snapshot is not an
official ubuntu package. If you install emacs 22, its likely that apt
won't recognise/realise than emacs-snapshot is providing emacs/emacsen,
which are prerequisites for amny emacs packages. Having it installed
will ensure you can use all the deb elisp packages without any
problems. 

Note that one of the nice things about the way debian and its offspring
manage emacs is that you can run multiple versions at the same time. As
emacs-snapshot is a CVS snapshot, it is possible for some releases to be
less stable or even disfunctional in some ways from time to time. having
emacs 22 installed means that if there should be an issue with
emacs-snapshot, you can at least run emacs 22. 

Tim



-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2008-09-21  9:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.19625.1221947130.18990.help-gnu-emacs@gnu.org>
2008-09-20 22:16 ` Emacs22, Emacs23, and symlinks rustom
2008-09-21  1:21   ` Ross A. Laird
     [not found]   ` <mailman.19630.1221960144.18990.help-gnu-emacs@gnu.org>
2008-09-21  4:11     ` rustom
2008-09-21  4:58       ` Ross A. Laird
2008-09-21  5:02       ` Ross A. Laird
2008-09-21  5:00     ` Michael Ekstrand
2008-09-21  6:05       ` Ross A. Laird
2008-09-21  9:05 ` Tim X [this message]
2008-09-20 21:45 Ross A. Laird

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873ajtrhqr.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.