unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* not in history because I didn't personally type it in
@ 2003-04-14  7:46 Dan Jacobson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Jacobson @ 2003-04-14  7:46 UTC (permalink / raw)


Ah, pleasant indeed when M-x man prompts you from context around point:
$ emacs
n i c e <escape> x m a n <return> <return>

But, unpleasant indeed when you want to do it again, and that entry
didn't wind up on the history list because you didn't type it personally in:
SPC n o s e <escape> x m a n <return> <escape> p

I mean isn't it rather picky that the man pages I can reinvoke are
only the ones personally typed in.  Emacs isn't looking at things from
the point of the user.  Yes, "check the buffer list, the page is
already there".  But that crimps my style.

Likewise, it would be nice if M-x compile would put a false "make -k"
into (its?) history list, that way we could use ESC p to get back to
it even if we from the start used other compile commands.
-- 
http://jidanni.org/ Taiwan(04)25854780

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

* Re: not in history because I didn't personally type it in
       [not found] <mailman.4546.1050309090.21513.bug-gnu-emacs@gnu.org>
@ 2003-04-14 16:58 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-04-14 16:58 UTC (permalink / raw)


Dan Jacobson wrote:

> But, unpleasant indeed when you want to do it again, and that entry
> didn't wind up on the history list because you didn't type it personally in:

I agree.  It's been that way for as long as I can remember, but I wish I
could do something like (setq minibuffer-history-defaults t) to get
those values.  I think it would only require a relatively simple change
to this code in minibuf.c:read_minibuf():

   /* Add the value to the appropriate history list unless it is empty.  */
   if (XSTRING (val)->size != 0
       && SYMBOLP (Vminibuffer_history_variable))

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

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

end of thread, other threads:[~2003-04-14 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-14  7:46 not in history because I didn't personally type it in Dan Jacobson
     [not found] <mailman.4546.1050309090.21513.bug-gnu-emacs@gnu.org>
2003-04-14 16:58 ` Kevin Rodgers

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).