all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: [comp.emacs] Re: Search highlighted region
Date: Wed, 19 Jan 2005 01:48:12 +0200	[thread overview]
Message-ID: <87wtuajo3n.fsf@jurta.org> (raw)
In-Reply-To: <x5brbnkmkn.fsf@lola.goethe.zz> (David Kastrup's message of "Tue, 18 Jan 2005 12:23:36 +0100")

David Kastrup <dak@gnu.org> writes:
> bojohan+news@dd.chalmers.se (Johan Bockgård) writes:
>> isearch.el contains this comment though:
>>
>>    ;; 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)
>
> Well, I disagree with Richard's assessment here.  In all other cases,
> typing something "partially" gives us a good C-h behavior, like when
> typing C-x v C-h or something.  I don't think it is too hard to type
> <RET> to exit an isearch if you really want the top-level help.

I agree that it's better to bind C-h to isearch-mode-help by default.

But is it possible to unbind it in .emacs for those users who want
to get the top-level help with C-h?  In older versions of isearch.el
there was such a comment:

      ;; You can reenable global keys by binding them locally to nil.
      ;; For the help char this doesnt work quite as expected because
      ;; isearch-mode is not a major mode.  Also the echo area is not
      ;; restored after the help command while isearch-mode is
      ;; still active.  Furthermore, we should not assume that the
      ;; help-command is on C-h.  But here is how it would be done:
      ;; (define-key map "\C-h" nil)

Perhaps this comment should be restored in isearch.el after uncommenting
the line with C-h binding.

And then what about [f1] and [help] keys?

-- 
Juri Linkov
http://www.jurta.org/emacs/

  parent reply	other threads:[~2005-01-18 23:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-18  9:34 [comp.emacs] Re: Search highlighted region David Kastrup
2005-01-18 10:40 ` Johan Bockgård
2005-01-18 11:23   ` David Kastrup
2005-01-18 13:10     ` Kim F. Storm
2005-01-18 15:26     ` Drew Adams
2005-01-18 15:53     ` Stefan Monnier
2005-01-18 23:48     ` Juri Linkov [this message]
2005-01-19  0:49 ` Richard Stallman

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=87wtuajo3n.fsf@jurta.org \
    --to=juri@jurta.org \
    --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 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.