bug-texinfo
[Top][All Lists]
Advanced

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

Re: Bug#792328: info: can no longer find the Emacs manual


From: Vincent Lefevre
Subject: Re: Bug#792328: info: can no longer find the Emacs manual
Date: Wed, 15 Jul 2015 20:04:27 +0200
User-agent: Mutt/1.5.23-6464-vl-r76280 (2015-07-11)

On 2015-07-15 15:39:37 +0100, Gavin Smith wrote:
> It will be possible to get
> 
> * Emacs24: (emacs-24/emacs).      The extensible self-documenting text editor.
> 
> to work (so run "info Emacs24" or "info emacs24"), but not "info
> emacs-24/emacs".

This is nicer, but note that the emacs-24 directory has several
info manuals in it. If the same thing could be done, this would
be OK, e.g. "info reftex24" for emacs-24/reftex.

> If people have multiple versions of a program installed, how are they
> invoking them?

For Emacs, emacs23 or emacs24. Or "emacs" will typically use one of
them (by default, via the "alternatives" system, but the choice is
fixed for all the users of the machine, so that the user may put a
symlink to the wanted version in his $HOME/bin directory, and
similarly for the man page).

So, it would be great if "info emacs23" and "info emacs24" selected
the manual of Emacs 23 and Emacs 24 respectively, and if possible
"info emacs" the manual corresponding to the right Emacs version
(possibly via some configuration done by maintainer scripts or by
the user if he chose to override the system's default).

> Say "/usr/local/bin" is in PATH and there is a file
> "/usr/local/bin/emacs-24/emacs", then running "emacs-24/emacs" doesn't
> work, so it's not unexpected for "info emacs-24/info" not to work
> either.
> 
> It would be likely that they'd be installing the executables as
> something like "/usr/local/bin/emacs24", which they could invoke with
> "emacs24", in which case it would make sense to be able to get at the
> manual with "info emacs24". Is that a possible solution?

In Debian, one has:

  /usr/bin/emacs23
  /usr/bin/emacs24

and:

  /usr/bin/emacs -> /etc/alternatives/emacs

where /etc/alternatives/emacs is a configurable symlink to the
chosen executable, managed by the update-alternatives utility
(which can update several symlinks at the same time, e.g. to
handle the executable and the corresponding man page).

-- 
Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



reply via email to

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