unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@mit.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Possible `point-entered' `point-left' Text Property Bug
Date: Fri, 12 May 2006 14:34:16 -0400	[thread overview]
Message-ID: <87r72zay8n.fsf@mit.edu> (raw)
In-Reply-To: <873bfff7x2.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 12 May 2006 13:51:37 -0400")

> I investigated some more, and found two separate bugs.  The first bug
> is that inhibit-point-motion-hooks was not being set to t during
> Fline_beginning_position.
>
> The second bug is more subtle.
> Here, inhibit-point-motion-hooks is bound to nil to avoid processing
> the intangible property.  But this also has the effect of spuriously
> calling point-left and point-entered hooks if they are defined.

Another possibility is to split inhibit-point-motion-hooks into two
separate variables that suppress point-entered/point-left and use of
the intangible property respectively.  In that case, both
Fline_beginning_position and the relevant part of line-move-1 would
inhibit use of point-entered/point-left while allowing use of the
tangible property.

  reply	other threads:[~2006-05-12 18:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-11 16:27 Possible `point-entered' `point-left' Text Property Bug Chong Yidong
2006-05-12  4:15 ` Richard Stallman
2006-05-12 14:05   ` Chong Yidong
2006-05-13  4:53     ` Richard Stallman
2006-05-12 17:51   ` Chong Yidong
2006-05-12 18:34     ` Chong Yidong [this message]
2006-05-13  4:53       ` Richard Stallman
2006-05-13  4:53     ` Richard Stallman
2006-05-13 15:28       ` Chong Yidong
2006-05-14 15:09         ` Richard Stallman
2006-05-14 15:24           ` Chong Yidong
2006-05-15  5:13             ` Richard Stallman
2006-05-15 16:14               ` Chong Yidong

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=87r72zay8n.fsf@mit.edu \
    --to=cyd@mit.edu \
    --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).