unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: isearch key bindings [was: Why function behaves differently  when bound to different key combo?]
Date: Sun, 30 Nov 2008 08:22:11 -0700	[thread overview]
Message-ID: <ggub33$d5u$1@ger.gmane.org> (raw)
In-Reply-To: <ea5c58bc-800e-45b9-9e21-10df82980392@d42g2000prb.googlegroups.com>

Xah Lee wrote:
> On Nov 28, 12:54 pm, Alan Mackenzie <a...@muc.de> wrote:
>> If you put that functionality inisearch-mode-hook, you'll rebind these
>> keys EVERY time you start anisearch.  I suppose, with the power of
>> modern PCs, you won't notice too much, but the cells in theisearchkey
>> map might get a little worn out.  :-)
> 
> Thanks. I haven't thought of that. I'll have to make it minor mode
> soon.

I think that's overkill, and that Alan was hinting that you could just
move those define-key forms to the top level.  (Since isearch is dumped
into the emacs executable, isearch-mode-map is defined at startup.)  Or
you could be extra-safe and use eval-after-load.

-- 
Kevin Rodgers
Denver, Colorado, USA





      reply	other threads:[~2008-11-30 15:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-28  4:38 Why function behaves differently when bound to different key combo? seberino
2008-11-28  6:22 ` Phil Carmody
2008-11-28  6:28 ` Andy Stewart
2008-11-28 14:00 ` Xah Lee
2008-11-28 20:54   ` isearch key bindings [was: Why function behaves differently when bound to different key combo?] Alan Mackenzie
     [not found]   ` <mailman.1453.1227904853.26697.help-gnu-emacs@gnu.org>
2008-11-30  2:38     ` Xah Lee
2008-11-30 15:22       ` Kevin Rodgers [this message]

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='ggub33$d5u$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.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.
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).