From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Patch that adds help to isearch
Date: Wed, 30 Nov 2005 09:24:52 +0100 [thread overview]
Message-ID: <438D61D4.1040002@student.lu.se> (raw)
In-Reply-To: <87r78yswf4.fsf@jurta.org>
Juri Linkov wrote:
>>Thanks for the explanation about why C-h is needed for an
>>experienced user. I think however that enabling the help only for
>>the state when the search string is empty would be confusing.
>>I would prefer a defcustom to enable/disable isearch-mode-help on
>>C-h instead. Could that satisfy experienced users?
>>
>>
>
>A key definition is as simple as defcustom. Instead of:
>
>(setq isearch-bind-C-h-to-isearch-mode-help t)
>
>you can put in .emacs:
>
>(define-key map "\C-h" 'isearch-mode-help)
>
>The main question is what should be the default. For novices, who
>don't know how to configure Emacs, the default binding of C-h to
>`isearch-mode-help' is very helpful. More experienced users can
>put in .emacs:
>
>(define-key isearch-mode-map "\C-h" nil)
>
>if C-h is bound to `isearch-mode-help' in isearch.el by default.
>
>
Unfortunately you need a bit more to make it useful. In the patch I sent
before I also added scrolling of the help buffer. Scrolling of the help
buffer is done by the keys the user has bound to `scroll-other-window'
and 'scroll-other-window-down'. It is only active when the other window
is the help buffer.
However the scrolling could of course be dependent on if C-h and f1 is
bound to isearch-mode-help.A defcustom seems more easy to understand though.
next prev parent reply other threads:[~2005-11-30 8:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-29 10:23 Patch that adds help to isearch LENNART BORGMAN
2005-11-30 2:47 ` Juri Linkov
2005-11-30 8:24 ` Lennart Borgman [this message]
2005-11-30 15:34 ` Juri Linkov
2005-11-30 22:27 ` Lennart Borgman
-- strict thread matches above, loose matches on Subject: below --
2005-11-24 23:02 Lennart Borgman
2005-11-26 4:22 ` Richard M. Stallman
2005-11-27 22:53 ` Lennart Borgman
2005-11-28 7:21 ` Lennart Borgman
2005-11-29 9:04 ` Juri Linkov
2005-11-29 21:47 ` Richard M. Stallman
2005-11-29 22:12 ` Lennart Borgman
2005-11-30 2:48 ` 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=438D61D4.1040002@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@gnu.org \
--cc=rms@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).