unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: font-locking and inhibit-field-text-motion
Date: Tue, 27 Feb 2007 22:05:44 -0500	[thread overview]
Message-ID: <jwv8xejj856.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <45E480AD.5080800@gmx.at> (martin rudalics's message of "Tue\, 27 Feb 2007 20\:04\:13 +0100")

> I noticed that neither font-lock's `save-buffer-state' nor jit-lock's
> `with-buffer-prepared-for-jit-lock' bind `inhibit-field-text-motion'.
> Yet both, font-lock and jit-lock, use `line-beginning-position'.

> Just a casual, probably paranoid observation.  I don't use fields.

I don't think it's a problem.  The use of line-beginning-position in that
code is only a heuristic.  It may lead to surprising results in some cases,
but nothing terrible (and it may also be a feature sometimes).
Maybe we should rethink it after Emacs-22, but for now it's OK.


        Stefan

      reply	other threads:[~2007-02-28  3:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 19:04 font-locking and inhibit-field-text-motion martin rudalics
2007-02-28  3:05 ` Stefan Monnier [this message]

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=jwv8xejj856.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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).