public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Emacs and info dir
@ 2008-02-25 23:56 felix
  2008-02-26  3:22 ` Graham Murray
  0 siblings, 1 reply; 5+ messages in thread
From: felix @ 2008-02-25 23:56 UTC (permalink / raw
  To: gentoo-user

My /usr/share/info dir has several different versions of emacs info.
In addition to the usual emacs-*.info.gz (1-36), there are two subdirs.

-rw-r--r-- 1 root root 13269 Feb 10  2005 /usr/share/info/emacs-1.info.gz
-rw-r--r-- 1 root root 14595 Feb 10  2005 /usr/share/info/emacs-36.info.gz

These two subdirs have very nearly the same contents as each other,
but their emacs files only go to 8.

drwxr-xr-x 2 root root  2600 Dec  1 11:49 /usr/share/info/emacs-22
-rw-r--r-- 1 root root 72996 Dec  1 11:12 emacs-1.info.bz2
-rw-r--r-- 1 root root 16261 Dec  1 11:12 emacs-8.info.bz2

drwxr-xr-x 2 root root  2712 Dec  7 22:43 /usr/share/info/emacs-23
-rw-r--r-- 1 root root 73191 Dec  7 22:42 emacs-1.info.bz2
-rw-r--r-- 1 root root 23606 Dec  7 22:42 emacs-8.info.bz2

But the individual subdir files are bigger, are bzipped not gzipped,
and the total byte counts come out roughly the same, so I think it is
a fair bet that each of the three sets is complete.

If I use "info /usr/share/info/emacs-23/dir", I do see the latest
emacs info, not some old -21 stuff.

The dates are also interesting.  The main info dir has three year old
files, teh two subdirs are more recent.

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?  I am tempted to just
manually relocate the files, but it should be unnecessary.

This is a ~amd64 system, if that matters.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Emacs and info dir
  2008-02-25 23:56 [gentoo-user] Emacs and info dir felix
@ 2008-02-26  3:22 ` Graham Murray
  2008-02-26 15:46   ` felix
  0 siblings, 1 reply; 5+ messages in thread
From: Graham Murray @ 2008-02-26  3:22 UTC (permalink / raw
  To: gentoo-user

felix@crowfix.com 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Emacs and info dir
  2008-02-26  3:22 ` Graham Murray
@ 2008-02-26 15:46   ` felix
  2008-02-26 22:46     ` Graham Murray
  0 siblings, 1 reply; 5+ messages in thread
From: felix @ 2008-02-26 15:46 UTC (permalink / raw
  To: gentoo-user

On Tue, Feb 26, 2008 at 03:22:15AM +0000, Graham Murray wrote:
> felix@crowfix.com 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 / felix@crowfix.com
  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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Emacs and info dir
  2008-02-26 15:46   ` felix
@ 2008-02-26 22:46     ` Graham Murray
  2008-02-28 15:32       ` [gentoo-user] Emacs and info dir -- SOLVED? felix
  0 siblings, 1 reply; 5+ messages in thread
From: Graham Murray @ 2008-02-26 22:46 UTC (permalink / raw
  To: gentoo-user

felix@crowfix.com 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Emacs and info dir -- SOLVED?
  2008-02-26 22:46     ` Graham Murray
@ 2008-02-28 15:32       ` felix
  0 siblings, 0 replies; 5+ messages in thread
From: felix @ 2008-02-28 15:32 UTC (permalink / raw
  To: gentoo-user

On Tue, Feb 26, 2008 at 10:46:59PM +0000, Graham Murray wrote:
> felix@crowfix.com 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 / felix@crowfix.com
  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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-28 15:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 23:56 [gentoo-user] Emacs and info dir felix
2008-02-26  3:22 ` Graham Murray
2008-02-26 15:46   ` felix
2008-02-26 22:46     ` Graham Murray
2008-02-28 15:32       ` [gentoo-user] Emacs and info dir -- SOLVED? felix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox