all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Malformed interactive spec in replace.el
Date: 06 Jul 2004 16:39:20 +0200	[thread overview]
Message-ID: <x5acydnqsn.fsf@lola.goethe.zz> (raw)
In-Reply-To: <x5isd1nrzt.fsf@lola.goethe.zz>

David Kastrup <dak@gnu.org> writes:

> Stefan <monnier@iro.umontreal.ca> writes:
> 
> > > Which would definitely count as "getting into releasable state".  So
> > > it appears that I owe you an apology and/or a beverage of your choice.
> > 
> > There were some bug fixes in the changes I installed, but the "default to
> > foo -> bar" is definitely a "new feature" rather than a "bug fix".
> 
> Well, there was discussion over it over the weekend while I was away.
> Anyway, I don't think I want the query-replace prompt to take up four
> staggered lines in case that my last replacement happened to be a
> multi-line one.  Putting the stuff in some history where it will
> appear on-demand is fine, but cluttering the prompt into 5 lines
> because of some replacement I did hours ago does not feel like a good
> idea to me.  And there is little point in displaying long things I
> can't change, anyhow.  So either we should have a rather short
> "(default to last)", or we should just rely on the user taking the
> history to task.

P.S.: taking a look at the code I noticed that you quote control
characters.  I still don't want large replacements from hours ago
appearing in my prompt.  Prompted defaults are for reasonable
guesses, like the current buffer, function, thing-at-point.  The last
replacement is not a reasonable guess.  If I wanted to continue the
last replacement unchanged, I would have used C-r in between and not
have exited the search.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2004-07-06 14:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06  8:15 Malformed interactive spec in replace.el Juanma Barranquero
2004-07-06  8:35 ` David Kastrup
2004-07-06  8:45   ` Juanma Barranquero
2004-07-06  9:26     ` David Kastrup
2004-07-06  9:46       ` Juanma Barranquero
2004-07-06 10:31         ` David Kastrup
2004-07-06 11:05           ` Juanma Barranquero
2004-07-06 11:42             ` David Kastrup
2004-07-06 12:33               ` Juanma Barranquero
2004-07-06 12:17   ` Stefan
2004-07-06 12:50     ` David Kastrup
2004-07-06 13:08       ` Stefan
2004-07-06 14:13         ` David Kastrup
2004-07-06 14:39           ` David Kastrup [this message]
2004-07-06 15:26             ` Stefan
2004-07-06 17:18               ` David Kastrup
2004-07-07 13:28                 ` Stefan
2004-07-07 13:45                   ` David Kastrup
2004-07-07 14:22                     ` Stefan
2004-07-07 14:28                       ` David Kastrup

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=x5acydnqsn.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
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.