[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient minibuffer

From: Bob Proulx
Subject: Re: emacsclient minibuffer
Date: Sun, 8 Mar 2015 18:56:45 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

Emanuel Berg wrote:
> By the way, you can find out what Emacs executable you
> use with
>     readlink -e `type emacs`

Small typo.  You wanted `type -p emacs` there.  :-)

> which will track down the last symlink.

Or you can run update-alternatives to query it for what is active.
This is a Debian specific feature.  On a server:

  rwp@despair:~$ update-alternatives --display emacs
  emacs - auto mode
    link currently points to /usr/bin/emacs23-nox
  /usr/bin/emacs22-nox - priority 25
    slave emacs.1.gz: /usr/share/man/man1/emacs.1emacs22.gz
  /usr/bin/emacs23-nox - priority 26
    slave emacs-128x128.png: /usr/share/icons/hicolor/128x128/apps/emacs23.png
    slave emacs-16x16.png: /usr/share/icons/hicolor/16x16/apps/emacs23.png
    slave emacs-24x24.png: /usr/share/icons/hicolor/24x24/apps/emacs23.png
    slave emacs-32x32.png: /usr/share/icons/hicolor/32x32/apps/emacs23.png
    slave emacs-48x48.png: /usr/share/icons/hicolor/48x48/apps/emacs23.png
    slave emacs-document.svg: 
    slave emacs.1.gz: /usr/share/man/man1/emacs.emacs23.1.gz
    slave emacs.svg: /usr/share/icons/hicolor/scalable/apps/emacs23.svg
  Current 'best' version is '/usr/bin/emacs23-nox'.

The idea is that documentation and man pages are also linked to the
alternative.  As alternatives are selected the documentation follows.

Some time ago I wrote up a mailing list message describing the Debian
alternative system.  If you are interested in the rationale behind
things I think this is a good explanation of it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]