unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: michael_heerdegen@web.de, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 18367@debbugs.gnu.org
Subject: bug#18367: 24.4.50; [PATCH] Text property `font-lock-ignore', to protect from font-lock
Date: Sat, 20 Jun 2015 09:58:20 -0700 (PDT)	[thread overview]
Message-ID: <2a18392d-4a8c-433d-9b93-0e607bcb4299@default> (raw)
In-Reply-To: <ad4971ea-c5ea-44b4-a2f5-0400f3626a93@default>

Let me try refreshing this.

It seems that people are mistaking adding a property to
`font-lock-extra-managed-props', or using `font-lock-face' instead of
`face', as a solution to the problem that the proposed patch fixes.

It is not.  I stated the essential difference in the emacs-devel
thread that is associated with this bug:
http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00583.html

  What I am talking about is the opposite: Not giving font-lock
  control over additional, ad hoc highlighting, but taking font-lock
  control away, for given ad hoc highlighting.  I don't want turning
  font-lock on or off to affect the given highlighting at all.

  That's the point.  It's not that I'm looking for a way to let
  font-lock control some non-`font-lock-keywords' highlighting.
  That we can do already, using property `font-lock-face'.

And we can also do that already by adding a given property to
`font-lock-extra-managed-props'.

The point of the patch I sent is to let you really tell font-lock
"hands-off" anywhere you like, i.e., make it so that font-lock-mode
has no effect on the given text.

Again: "I don't want turning font-lock on or off to affect the given
highlighting at all."

So how about it?  How about applying the simple code change that
fixes this?





  reply	other threads:[~2015-06-20 16:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-30 20:12 bug#18367: 24.4.50; [PATCH] Text property `font-lock-ignore', to protect from font-lock Drew Adams
2014-08-31 12:47 ` Stefan Monnier
2014-08-31 15:30   ` Drew Adams
2014-08-31 20:08     ` Stefan Monnier
2014-08-31 20:56       ` Drew Adams
2014-09-01 18:45     ` Wolfgang Jenkner
2014-09-01 19:08       ` Eli Zaretskii
2014-09-01 19:43         ` Wolfgang Jenkner
2014-09-01 20:04           ` Eli Zaretskii
2014-09-30 16:45   ` Michael Heerdegen
2014-09-30 17:14     ` Drew Adams
2015-06-20 16:58       ` Drew Adams [this message]
2016-04-30 13:44       ` Lars Ingebrigtsen
2016-04-30 16:32         ` Drew Adams
2016-04-30 14:28       ` 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=2a18392d-4a8c-433d-9b93-0e607bcb4299@default \
    --to=drew.adams@oracle.com \
    --cc=18367@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=monnier@iro.umontreal.ca \
    /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).