all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Roche <Tom_Roche@pobox.com>
To: help-gnu-emacs@gnu.org,
Subject: isearch semantics, 23 vs 24
Date: Sun, 27 Nov 2011 12:05:31 -0500	[thread overview]
Message-ID: <87zkfh1oo4.fsf@pobox.com> (raw)


I recently moved from GNU Emacs 23.3.1 to GNU Emacs 24.0.91.1 (both on
debian). Mostly I'm happy, but a change in behavior of isearch is
annoying me, and I'd appreciate help fixing it in my configuration.

Consider the following (cited) fragment of a log buffer:

> ----------------------------------------------------------------------
> M 10 Oct 11:
>
> build 08:35-12:07
> run 13:45-16:15
> debug 17:00-17:39
> doc, commit 18:50-19:39
>
> ----------------------------------------------------------------------
> T 11 Oct 11:

Put point at the beginning of the (uncited) fragment (i.e., remove the
citing, and put cursor atop the first '-'). In emacs 23 (and for as
long as I can remember before that), if I then did

C-s C-y C-s

I would get a search for the entire first line (of '-'): point would be
at the end of the second separator, which would be found/highlighted--
this I expect, know (certainly my fingers know this :-), and prefer.
But in emacs 24,

C-s C-y C-s

causes a (usually failing) search for whatever was last killed; instead,
to get the desired behavior, I must do

C-s M-s C-e C-s

Is there an easy way to make my init.el (aka .emacs) tell emacs 24
that I want the old semantics for this usecase? Alternatively, how
best/easiest to restore the old behavior?

TIA, Tom Roche <Tom_Roche@pobox.com>



             reply	other threads:[~2011-11-27 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27 17:05 Tom Roche [this message]
2011-11-27 17:35 ` isearch semantics, 23 vs 24 Drew Adams
2011-11-27 18:52 ` Tom Roche
2011-12-01  4:21 ` Kevin Rodgers
2011-12-02 12:37   ` Harry Putnam

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=87zkfh1oo4.fsf@pobox.com \
    --to=tom_roche@pobox.com \
    --cc=help-gnu-emacs@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.