unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: 3746@emacsbugs.donarmstrong.com, 'Dan Nicolaescu' <dann@ics.uci.edu>
Subject: bug#3746: M-r in comint mode should use isearch
Date: Thu, 9 Jul 2009 15:32:24 -0700	[thread overview]
Message-ID: <0EB1F58839DE4C8EACBEF3867C69B80C@us.oracle.com> (raw)
In-Reply-To: <871voppknf.fsf@mail.jurta.org>

> > And depending on context doesn't necessarily mean fewer keystrokes
> > (even though you never need to hit `C-u'): If the cursor is 
> > not in the right place for the particular behavior you want,
> > then you must first move it there. I'm not sure that anything
> > significant is gained by the approach you propose, except
> > added complexity. `C-r' for history search and `C-u C-r' for
> > normal search seems reasonable, to me.
> 
> Generally, using C-u to modify behavior is a good thing but 
> not for C-r since its C-u argument runs a regular expression
> search instead.

Hm, I wonder why. ;-)

I wonder why they didn't choose to have the search behavior (regexp vs plain)
depend intelligently on the context (where the cursor is, what phase the moon is
in,...).  `C-u' seems so, well, primitive - actually leaving it up to the user
to indicate explicitly what s?he means! Surely there is some smart way to
second-guess the user in that case also. ;-)






  reply	other threads:[~2009-07-09 22:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ocmknicw.fsf@mail.jurta.org>
2009-07-03 13:26 ` bug#3746: M-r in comint mode should use isearch Dan Nicolaescu
2009-07-03 23:36   ` Juri Linkov
2009-07-05 15:03     ` Dan Nicolaescu
2009-07-07  0:09       ` Juri Linkov
2009-07-07  1:21         ` Dan Nicolaescu
2009-07-08  0:45           ` Juri Linkov
2009-07-08  5:53             ` Drew Adams
2009-07-08 23:27               ` Juri Linkov
2009-07-08 23:42                 ` Lennart Borgman
2009-07-09 15:01                 ` Drew Adams
2009-07-09 22:16                   ` Juri Linkov
2009-07-09 22:32                     ` Drew Adams [this message]
2009-07-09 23:05                       ` Juri Linkov
2009-07-09 23:15                         ` Drew Adams
2009-07-08 23:49             ` Dan Nicolaescu
2009-07-09 22:19               ` Juri Linkov
2009-11-19 17:30                 ` Juri Linkov
2009-11-19 21:12                   ` Stefan Monnier
2009-11-20  9:28                     ` Juri Linkov
2009-11-23 20:39                     ` Juri Linkov
2009-11-30 16:30   ` bug#3746: marked as done (M-r in comint mode should use isearch) Emacs bug Tracking System

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=0EB1F58839DE4C8EACBEF3867C69B80C@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=3746@emacsbugs.donarmstrong.com \
    --cc=dann@ics.uci.edu \
    --cc=juri@jurta.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 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).