Re: [gentoo-user] Emacs and info dir -- SOLVED?

2008-02-28 Thread felix
On Tue, Feb 26, 2008 at 10:46:59PM +, Graham Murray wrote:
 [EMAIL PROTECTED] writes:
 
  Two things wrong with that.  First, I have eselect'ed emacs-23, yet I
  still see what I believe to be emacs-21 info (I have been looking at
  the macro help in particular; maybe there is a better way of finding
  the info version).  Second, eselect only shows the emacs-22 and
  emacs-23 options, which presumably correspond to the two subdirs of
  the same name, but I still have the three year old .gz info files
  which are probably the emacs-21 files, and which is what info finds.
 
 I know that this is not much help to you, but it works for me. I am
 currently running emacs-23. If, in a normal user bash session I type
 'info emacs' it tells me it is for version 23.0.50. I then changed to
 emacs-22 using eslect in a root session. Back in the original user
 session I then typed 'source /etc/profile' (to pick up the changes made
 by eslect) then ran 'info emacs' and it indicated it was for version
 22.1. This is, I believe, the expected behaviour.

I had not thought that env vars were at work, so that might have been
a problem if I ever got that far, but I was always getting emacs-21
info regardless.  So I moved all the old emacs-21 info files into a
subdir where they can't be found by mistake, rebooted for other
reasons, and now get emacs-23 info.  I think those old stale files
were the visible problem hiding what would have been a new problem.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Emacs and info dir

2008-02-26 Thread felix
On Tue, Feb 26, 2008 at 03:22:15AM +, Graham Murray wrote:
 [EMAIL PROTECTED] writes:
 
  So the question is, why do I have old emacs in the main info dir and
  newer emacs info in subdirs which are not easily accessible from the
  info system, and what do I do to correct this? 
 
 'eselect emacs' allows you to select which version of emacs to use, and
 as part of that sets the correct info directory for the selected
 version.

Two things wrong with that.  First, I have eselect'ed emacs-23, yet I
still see what I believe to be emacs-21 info (I have been looking at
the macro help in particular; maybe there is a better way of finding
the info version).  Second, eselect only shows the emacs-22 and
emacs-23 options, which presumably correspond to the two subdirs of
the same name, but I still have the three year old .gz info files
which are probably the emacs-21 files, and which is what info finds.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Emacs and info dir

2008-02-26 Thread Graham Murray
[EMAIL PROTECTED] writes:

 Two things wrong with that.  First, I have eselect'ed emacs-23, yet I
 still see what I believe to be emacs-21 info (I have been looking at
 the macro help in particular; maybe there is a better way of finding
 the info version).  Second, eselect only shows the emacs-22 and
 emacs-23 options, which presumably correspond to the two subdirs of
 the same name, but I still have the three year old .gz info files
 which are probably the emacs-21 files, and which is what info finds.

I know that this is not much help to you, but it works for me. I am
currently running emacs-23. If, in a normal user bash session I type
'info emacs' it tells me it is for version 23.0.50. I then changed to
emacs-22 using eslect in a root session. Back in the original user
session I then typed 'source /etc/profile' (to pick up the changes made
by eslect) then ran 'info emacs' and it indicated it was for version
22.1. This is, I believe, the expected behaviour.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Emacs and info dir

2008-02-25 Thread Graham Murray
[EMAIL PROTECTED] writes:

 So the question is, why do I have old emacs in the main info dir and
 newer emacs info in subdirs which are not easily accessible from the
 info system, and what do I do to correct this? 

'eselect emacs' allows you to select which version of emacs to use, and
as part of that sets the correct info directory for the selected
version.
-- 
gentoo-user@lists.gentoo.org mailing list