all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacsclient minibuffer
Date: Sun, 8 Mar 2015 18:56:45 -0600	[thread overview]
Message-ID: <20150308184120919758545@bob.proulx.com> (raw)
In-Reply-To: <87pp8jt2ze.fsf@debian.uxu>

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: /usr/share/icons/hicolor/scalable/mimetypes/emacs23-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.

  https://lists.debian.org/debian-user/2002/08/msg02808.html

Bob



  reply	other threads:[~2015-03-09  0:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-08 13:55 emacsclient minibuffer Stephen Chadfield
2015-03-08 18:15 ` Emanuel Berg
2015-03-08 21:33   ` Stephen Chadfield
2015-03-09  0:24     ` Emanuel Berg
2015-03-09  0:43       ` Emanuel Berg
2015-03-09  0:56         ` Bob Proulx [this message]
2015-03-09  2:09     ` Stephen Chadfield
2015-03-09  2:50       ` Emanuel Berg
2015-03-09  2:55         ` Robert Thorpe

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=20150308184120919758545@bob.proulx.com \
    --to=bob@proulx.com \
    --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.