GNU bug report logs - #10221
load-library doesn't add filenames to history

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Mon, 5 Dec 2011 12:17:02 UTC

Severity: minor

Tags: notabug

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10221 in the body.
You can then email your comments to 10221 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10221; Package emacs. (Mon, 05 Dec 2011 12:17:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 05 Dec 2011 12:17:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: load-library doesn't add filenames to history
Date: Mon, 05 Dec 2011 14:15:34 +0800
I do M-x load-library /some/file/name .
Then later I do another command that asks for a file name.
I find /some/file/name has not been added to the history list so I have
to type it all in again instead of being able to use the arrows, etc.
emacs-version "24.0.91.1"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10221; Package emacs. (Tue, 06 Dec 2011 04:22:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#10221: load-library doesn't add filenames to history
Date: Mon, 05 Dec 2011 21:20:25 -0700
On 12/4/11 11:15 PM, jidanni <at> jidanni.org wrote:
> I do M-x load-library /some/file/name .
> Then later I do another command that asks for a file name.
> I find /some/file/name has not been added to the history list so I have
> to type it all in again instead of being able to use the arrows, etc.
> emacs-version "24.0.91.1"

If you provide an absolute path to the library, why not use load-file instead
of load-library?

-- 
Kevin Rodgers
Denver, Colorado, USA





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10221; Package emacs. (Tue, 06 Dec 2011 08:23:01 GMT) Full text and rfc822 format available.

Message #11 received at 10221 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: jidanni <at> jidanni.org
Cc: 10221 <at> debbugs.gnu.org
Subject: Re: bug#10221: load-library doesn't add filenames to history
Date: Tue, 06 Dec 2011 16:21:56 +0800
jidanni <at> jidanni.org writes:

> I do M-x load-library /some/file/name .
> Then later I do another command that asks for a file name.
> I find /some/file/name has not been added to the history list so I have
> to type it all in again instead of being able to use the arrows, etc.
> emacs-version "24.0.91.1"

load-library uses the default history list, `minibuffer-history'.  It's
generally used to read Lisp symbols (package names), not file names.
The find-file command uses a different history list.




Added tag(s) notabug. Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 06 Dec 2011 08:24:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 10221 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 06 Dec 2011 08:24:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Jan 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.