unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 7700@debbugs.gnu.org
Subject: bug#7700: 24.0.50; C-y binding withing Isearch mode
Date: Mon, 27 Dec 2010 22:15:41 +0000	[thread overview]
Message-ID: <20101227221541.GA5299@muc.de> (raw)
In-Reply-To: <jwvwrmxpra8.fsf-monnier+emacs@gnu.org>

Hi Stefan,

On Sat, Dec 25, 2010 at 02:52:49PM -0500, Stefan Monnier wrote:
> >>>> I suggest instead that any standard forward movement command while in
> >>>> isearch forward mode should select the text to grab WITHOUT any
> >>>> prefix key.
> >> That might be a good choice, but:
> >> - we lack experimental evidence for that.
> >> - it would probably be too big a change to have that as a default behavior.
> > IMHO, that proposal would make text grabbing in Isearch (a) More
> > powerful (you could use every movement command to grab text), and (b)
> > easier/simpler (you already know the movement commands).

> Compared to the use of a prefix, there is an important difference: the
> prefix tells isearch that the next command is a movement command, so it
> can be used with *any* command (and can lead to surprises if the command
> is not a movement command), whereas in the absence of a prefix, isearch
> would need to know which commands are "movement commands", and this
> knowledge would always tend to be partial, so it will fail with
> some commands.

> > The only drawback I can see is to give up the possibility of exit
> > Isearch mode with a movement command, but IMO, this loss is
> > insignificant compared with the benefits.

> Depends significantly on your usage pattern.  I know such a change to
> the default behavior would cause screams and never ending arguments.
> So we'd fist have to see this change in action for a while to
> demonstrate that the benefit is worth the cost of transitioning.

I would like to express my strong opposition to all these wild and
visionary schemes which would radically alter isearch.  We don't need
them; isearch works very well as it currently is.

All this talk about encumbering standard commands with prefix keys
"telling isearch that the next command is a movement command", vi-style,
has drowned out the proper topic of this thread (a minimal change to
`isearch-key-map'), and has become tedious and depressing horribly
quickly (IMAO).

Experience shows that threads like this one go nowhere very slowly,
sometimes with 50 or 100 contributions.  They waste time, and make
participation in the list very tedious.  Can we not develop the
discipline not to allow threads like this one to explode out of control?

I think it would be best if proposed developments like this are
implemented rather than endlessly discussed.  We shouldn't really be
discussing big UI changes unless somebody has implemented them and
enthusiastically recommends them.

In the mean time, I would still not be against moving isearch-yank-line
to some key other than C-y.  How about this idea?

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).





  parent reply	other threads:[~2010-12-27 22:15 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21 19:06 bug#7700: 24.0.50; C-y binding withing Isearch mode Dani Moncayo
2010-12-21 21:26 ` Dani Moncayo
2010-12-23 15:30 ` Stefan Monnier
2010-12-23 16:09   ` Lennart Borgman
2010-12-23 16:46   ` Leo
2010-12-23 17:05     ` Andreas Schwab
2010-12-23 22:39       ` Leo
2010-12-23 17:14   ` Alan Mackenzie
2010-12-24  2:39     ` Stefan Monnier
2010-12-24  3:25       ` Lennart Borgman
2010-12-24 11:39         ` Dani Moncayo
2010-12-24 12:13           ` Lennart Borgman
2010-12-24 13:34             ` Dani Moncayo
2010-12-25  2:38               ` Juri Linkov
2010-12-25  4:06           ` Stefan Monnier
2010-12-25 11:15             ` Dani Moncayo
2010-12-25 19:52               ` Stefan Monnier
2010-12-25 20:09                 ` Lennart Borgman
2010-12-27 22:15                 ` Alan Mackenzie [this message]
2010-12-27 22:36                   ` Drew Adams
2010-12-28  0:14                     ` Lennart Borgman
2010-12-28  0:51                       ` Drew Adams
2010-12-28  1:34                         ` Lennart Borgman
2010-12-28  5:43                           ` Drew Adams
2010-12-26 23:13     ` Andrew W. Nosenko
2010-12-26 23:33       ` Andrew W. Nosenko
2010-12-23 17:28   ` Drew Adams
2010-12-23 19:23     ` Alan Mackenzie
2010-12-23 19:30       ` Dani Moncayo
2010-12-23 20:48         ` Drew Adams
2010-12-23 20:58           ` Lennart Borgman
2010-12-23 21:28         ` Alan Mackenzie
2010-12-23 22:28           ` Drew Adams
2010-12-23 23:08           ` Dani Moncayo
2010-12-25  2:34         ` Juri Linkov
2010-12-25  4:07           ` Stefan Monnier
2010-12-23 20:46       ` Drew Adams
2010-12-23 19:48     ` Juri Linkov
2011-05-16 15:11 ` bug#7700: 24.0.50; C-y binding in " Dani Moncayo
2011-05-16 15:42   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101227221541.GA5299@muc.de \
    --to=acm@muc.de \
    --cc=7700@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 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).