unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Gregor Schmid <Gregor.Schmid@qfs.de>
Cc: emacs-devel@gnu.org
Subject: Re: Isearch setting of inhibit-point-motion-hooks too inflexible
Date: 31 Oct 2002 09:23:49 +0100	[thread overview]
Message-ID: <5f1y67yq22.fsf@gs.qfs.de> (raw)
In-Reply-To: <E186wSa-0002pk-00@fencepost.gnu.org>


Dear Richard, dear Stefan,

Richard Stallman <rms@gnu.org> writes:
>     Correct me if I'm wrong, but wouldn't 
>     (make-local-variable 'isearch-inhibit-point-motion-hooks)
>     solve this if some mode needs a non-default behavior?
> 
> If a particular major mode wants a non-default behavior, this would
> do it.  But these features are not always major modes.  Can we use
> an overlay property to make the decision?

Possibly. But consider Stefan's comment:

"Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes:
> Since this thing is used by isearch in order to look inside
> intangible text, I think it should simply be removed:
> isearch should *not* look inside intangible text.
> 
> As we have discussed in this group at length, `intangible' is a very
> strong statement and has far reaching implications.  It should be
> used very sparingly.

My favourite soultion would also be to simply remove any manipulation
of inhibit-point-motion-hooks from isearch-search.

If you decide to leave it in and make it more flexible than with my
suggested patch, e.g. thorugh overlays, please also add a simple
option that just requires setting some variable, so as to keep the
simple case simple. Whatever the solution, anything will be better
than the current totally inflexible scheme.

Thanks for addressing this issue, best regards,
    Greg

-- 
Gregor Schmid                           Gregor.Schmid@qfs.de
Quality First Software GmbH                http://www.qfs.de

  parent reply	other threads:[~2002-10-31  8:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <15803.53742.404653.98167@gs.qfs.de>
2002-10-28 19:20 ` Isearch setting of inhibit-point-motion-hooks too inflexible Richard Stallman
2002-10-29  7:46   ` Gregor Schmid
2002-10-30 17:16     ` Richard Stallman
2002-10-30 18:34       ` Stefan Monnier
2002-10-31 17:27         ` Richard Stallman
2002-10-31  8:23       ` Gregor Schmid [this message]
2002-10-29 14:14   ` Stefan Monnier

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=5f1y67yq22.fsf@gs.qfs.de \
    --to=gregor.schmid@qfs.de \
    --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 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).