unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Devel" <emacs-devel@gnu.org>
Subject: isearch-yank-word-or-char
Date: Sun, 29 Jul 2007 17:23:49 -0700	[thread overview]
Message-ID: <BDEIJAFNGDOAGCJIPKPBAEBECGAA.drew.adams@oracle.com> (raw)

In Emacs 22, C-w in Isearch is "smarter" than I would like it to be - or
else I haven't yet learned how to use it (suggestions welcome). The doc says
only that "The decision, whether to copy a character or a word, is
heuristic." Does that mean that a user has no control over the behavior?

    (or (eq foo '(bar . toto

Previously, with point at bol here, C-s plus 5 C-w's would select everything
through toto. Now, it takes 14 C-w's to do the same thing! That's a real
nuisance. What am I missing? Is there some way to get it to collect multiple
non-word characters such as spaces, parens, and period with a single
keystroke when it is in "word" mode?

So far, I prefer the pre-Emacs 22 behavior of Isearch, but I'm sure that
others tried this out before the release and found it to be an improvement
(TRT). I'm hoping that someone will point out why the new behavior is better
and how to take advantage of it. Thanks in advance; this is driving me nuts.

             reply	other threads:[~2007-07-30  0:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30  0:23 Drew Adams [this message]
2007-07-30  0:33 ` isearch-yank-word-or-char Drew Adams
2007-07-30  5:34 ` isearch-yank-word-or-char Mathias Dahl
2007-08-01 16:47   ` isearch-yank-word-or-char Juri Linkov

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=BDEIJAFNGDOAGCJIPKPBAEBECGAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --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 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).