emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: locate-library doesn't find new compressed el.gz files


From: Romain Francoise
Subject: Re: locate-library doesn't find new compressed el.gz files
Date: Wed, 02 Nov 2005 19:34:02 +0100

"Andrew M. Scott" <address@hidden> writes:

> 1. My fingers sometimes add the .el extension without my asking. I
>    often load .el's, as they are easier to debug. That's what prompted
>    this original bug-report.

That would be a bug in your fingers, then.

Note that `M-x find-library cc-mode.el RET' will work as intended (the
.el.gz file is the first available completion).

> 2. If someone has legacy ~/.emacs code like the following
>    example, but without the optional 2nd arg of nil, a move from
>    Emacs-21.3 -> Emacs-22 would unexpected not load/execute their code
>    fragment:

>    (when (locate-library "specman-mode" nil)

This is fine, calling `locate-library' without specifying a file
extension always works, as noted in my first message.

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

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