From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: joakim@verona.se, emacs-devel@gnu.org
Subject: Re: binding c-h in isearch
Date: Thu, 17 Apr 2008 20:42:33 -0400 [thread overview]
Message-ID: <jwvd4oogfmc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87d4oom6fm.fsf@jurta.org> (Juri Linkov's message of "Fri, 18 Apr 2008 02:14:05 +0300")
>> There's the following code in isearch.el:
>>
>> ;; Turned off because I find I expect to get the global definition--rms.
>> ;; ;; Instead bind C-h to special help command for isearch-mode.
>> ;; (define-key map "\C-h" 'isearch-mode-help)
>>
>> So it seems that Richard found it inconvenient. Could someone try and
>> work out some clever way to reconcile the two functionalities?
> I think a good binding for C-h in isearch-mode would be the following:
> (define-key isearch-mode-map "\C-h" help-map)
> I gives what Richard wants since it uses the global definition of C-h,
> and still it is intuitive to use just like its global definition when
> a minor mode is active:
> C-h m describes the isearch mode among other minor modes,
Sounds good, indeed.
Could we tweak this so it gives an info closer to what
isearch-help-mode gives? I.e. move the info from isearch-forward's
docstring to isearch-mode's docstring, and tweka C-h m so that
isearch-mode's info comes first.
Stefan
next prev parent reply other threads:[~2008-04-18 0:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-16 12:10 binding c-h in isearch joakim
2008-04-16 13:30 ` Lennart Borgman (gmail)
2008-04-16 22:35 ` Lennart Borgman (gmail)
2008-04-16 15:28 ` Stefan Monnier
2008-04-16 17:44 ` Paul R
2008-04-17 19:25 ` joakim
2008-04-17 23:14 ` Juri Linkov
2008-04-18 0:42 ` Stefan Monnier [this message]
2008-04-19 20:07 ` Juri Linkov
2008-04-19 20:49 ` Lennart Borgman (gmail)
2008-04-19 22:52 ` Juri Linkov
2008-04-20 0:53 ` Lennart Borgman (gmail)
2008-04-20 23:51 ` Juri Linkov
2008-04-21 0:13 ` Lennart Borgman (gmail)
2008-04-19 20:57 ` Stefan Monnier
2008-04-19 22:49 ` Juri Linkov
2008-04-18 10:59 ` Johan Bockgård
2008-04-19 21:20 ` Drew Adams
2008-04-19 21:49 ` Stefan Monnier
2008-04-19 22:39 ` Drew Adams
2008-04-19 22:59 ` Juri Linkov
2008-04-19 23:39 ` Drew Adams
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=jwvd4oogfmc.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
--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).