tags 433541 moreinfo thanks Rogério Brito writes: > I had a small experience today with emacs22, but, unfortunately, I had > to remove it and put back emacs-snapshot, because emacs22 doesn't > provide the name "emacs" if installed only with emacs22-gtk and the > other necessary packages (please, note that I didn't install the package > named emacs; I tried to keep my installation minimal).
This is probably a bug in update-alternatives (there are many bugs filed against update-alternatives in the BTS), since I cannot reproduce that: ,---- | $ /usr/sbin/update-alternatives --display emacs | emacs - status is manual. | link currently points to /usr/bin/emacs-snapshot | /usr/bin/emacs21 - priority 24 | slave emacs.1.gz: /usr/share/man/man1/emacs.1emacs21.gz | /usr/bin/emacs21-x - priority 24 | slave emacs.1.gz: /usr/share/man/man1/emacs.1emacs21.gz | /usr/bin/emacs-snapshot - priority 23 | slave emacs.1.gz: /usr/share/man/man1/emacs.1emacs-snapshot.gz | /usr/bin/emacs22-gtk - priority 25 | slave emacs.1.gz: /usr/share/man/man1/emacs.1emacs22.gz | Current `best' version is /usr/bin/emacs22-gtk. `---- This seems to be correct, and the emacs-22 postinst sets up the emacs alternative. What does `update-alternatives --display emacs' give on your system? And, just in case, what gives `ls -L /etc/alternatives/emacs*'? By the way, you do not need to remove emacs22 to install emacs-snaphot, they happily co-exist on my system, as you can see. Cheers, Sven