all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#10221: load-library doesn't add filenames to history
@ 2011-12-05  6:15 jidanni
  2011-12-06  4:20 ` Kevin Rodgers
  2011-12-06  8:21 ` Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: jidanni @ 2011-12-05  6:15 UTC (permalink / raw
  To: 10221

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"





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

* bug#10221: load-library doesn't add filenames to history
  2011-12-05  6:15 bug#10221: load-library doesn't add filenames to history jidanni
@ 2011-12-06  4:20 ` Kevin Rodgers
  2011-12-06  8:21 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2011-12-06  4:20 UTC (permalink / raw
  To: 10221

On 12/4/11 11:15 PM, jidanni@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






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

* bug#10221: load-library doesn't add filenames to history
  2011-12-05  6:15 bug#10221: load-library doesn't add filenames to history jidanni
  2011-12-06  4:20 ` Kevin Rodgers
@ 2011-12-06  8:21 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2011-12-06  8:21 UTC (permalink / raw
  To: jidanni; +Cc: 10221

jidanni@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.





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

end of thread, other threads:[~2011-12-06  8:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05  6:15 bug#10221: load-library doesn't add filenames to history jidanni
2011-12-06  4:20 ` Kevin Rodgers
2011-12-06  8:21 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.