Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Changes After Ubuntu Upgrade
Date: Mon, 26 Jun 2006 09:58:43 +0200	[thread overview]
Message-ID: <v9lkrkmjpo.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87lkrkkff6.fsf@be.cs.appstate.edu>

On Mon, Jun 26 2006, Kenneth Jacker wrote:

>   rs> Probably the latter is not used because you have a separate Gnus
>   rs> package installed, cf. `M-x list-load-path-shadows RET'.
>
> OK, I had time to look into this more ...
>
> It is a "load path" issue.  Here is the value of my default
> 'load-path' (sorry for the length!):
>
>        ("/usr/share/emacs21/site-lisp/oneliner-el"
[...]
>        "/usr/share/emacs21/site-lisp/yacas"
>        "/etc/emacs21" "/etc/emacs"
>        "/usr/local/share/emacs/21.4/site-lisp"
>        "/usr/local/share/emacs/site-lisp"
>        "/usr/share/emacs/21.4/site-lisp"
[...]
>        "/usr/share/emacs/21.4/site-lisp/gnus"

Is this "No Gnus v0.4"?

[...]
>        "/usr/share/emacs/21.4/lisp/international"
>  ==>   "/usr/share/emacs/21.4/lisp/gnus"
>        "/usr/share/emacs/21.4/lisp/eshell"
>        "/usr/share/emacs/21.4/lisp/emulation"
>        "/usr/share/emacs/21.4/lisp/emacs-lisp"
>        "/usr/share/emacs/21.4/lisp/calendar")
>
> Once I added "/usr/share/emacs/21.4/lisp/gnus" to the front, I was
> able to use the 5.9.0 version of 'gnus'.  (Note a copy of that path
> *is* in the fifth-to-the-last entry above).

Note that 5.9 is quite old.  I'd recommend to use 5.10.8 ("No Gnus" is
the development version).

> Some questions:
>
>   o Where is 'load-path' initialized?  

IIRC the initial value is already set at compile time on GNU/Linux.
Then, on startup, subdirectories of load-path directories are added if
the directory contains `subdirs.el' (see the function
`normal-top-level-add-subdirs-to-load-path' for details).

In Emacs 22, this results in the following `load-path':

 "$PREFIX/share/emacs/$VERSION/site-lisp"
 "$PREFIX/share/emacs/site-lisp"
 "$PREFIX/share/emacs/site-lisp/..." (-> subdirs.el)
 [...]
 "$PREFIX/share/emacs/$VERSION/leim"
 "$PREFIX/share/emacs/$VERSION/lisp"
 "$PREFIX/share/emacs/$VERSION/lisp/..." (-> subdirs.el)
 [...]

>   o Should the "/usr/share/emacs21/*" entries precede the
>     "/usr/share/emacs/21.4/*" ones?
>
>   o Both "/etc/emacs" and "/etc/emacs21" exist ... is that correct?
>
>   o Might the problem have something to do with the contents of
>     /etc/{emacs,emacs21}/* ?

All this is specific to Ubuntu (or probably Debian).  It should be
documented in distribution's Emacs policy document (I seem to recall
that several Emacs developers don't like the directory layout of
Debian).

>   o Am I using older versions of *other* things, too (e.g., 'eshell')?

Lookup "eshell" in the output of `M-x list-load-path-shadows RET'.

> Finally, here are all relevant installed Dapper packages:
>
>        emacs-goodies-el/dapper uptodate 26.4-1
>        emacs21/dapper uptodate 21.4a-3ubuntu2
>        emacs21-bin-common/dapper uptodate 21.4a-3ubuntu2
>        emacs21-common/dapper uptodate 21.4a-3ubuntu2
>        emacs21-el/dapper uptodate 21.4a-3ubuntu2
>        emacsen-common/dapper uptodate 1.4.17

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2006-06-26  7:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-20 15:02 Kenneth Jacker
2006-06-20 16:22 ` Glyn Millington
2006-06-20 16:41 ` Reiner Steib
2006-06-25 23:02   ` Kenneth Jacker
2006-06-26  7:58     ` Reiner Steib [this message]
2006-07-01 16:54       ` Kenneth Jacker
2006-07-15 19:57         ` Reiner Steib

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=v9lkrkmjpo.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).