GNU bug report logs - #15119
24.3.50; (elisp) `Search-based Fontification' - not necessarily `font-lock-keyword-face'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 17 Aug 2013 17:16:01 UTC

Severity: normal

Found in version 24.3.50

Done: Drew Adams <drew.adams <at> oracle.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15119 in the body.
You can then email your comments to 15119 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15119; Package emacs. (Sat, 17 Aug 2013 17:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 17 Aug 2013 17:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; (elisp) `Search-based Fontification' - not necessarily
 `font-lock-keyword-face'
Date: Sat, 17 Aug 2013 10:14:38 -0700 (PDT)
Perhaps I'm missing something, because this has been the case since at
least as far back as Emacs 20.  But it seems wrong to me.

The info in this node says, in more than one place, that highlighting is
done using face `font-lock-keyword-face'.  That is AFAIK, completely
wrong.

It is fine to refer to that face when talking about the examples that
use it.  But is wrong to suggest that that face is always used.

For example:

  `REGEXP'
     Highlight all matches for REGEXP using `font-lock-keyword-face'.
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
and:

  `FUNCTION'
     Find text by calling FUNCTION, and highlight the matches it finds
     using `font-lock-keyword-face'.
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Wrong - quite misleading.  Unless I'm missing something.

The doc seems to be confusing (a) saying what the thing means and its
effect in general and (b) giving an example of using the thing and
saying what the effect of that is.


In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-08-07 on ODIEONE
Bzr revision: 113750 lekktu <at> gmail.com-20130808011911-0jzpc9xuncegg6x9
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 CFLAGS=-O0 -g3 LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15119; Package emacs. (Sat, 17 Aug 2013 17:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 15119 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: 15119 <at> debbugs.gnu.org
Subject: RE: bug#15119: 24.3.50; (elisp) `Search-based Fontification' - not
 necessarily `font-lock-keyword-face'
Date: Sat, 17 Aug 2013 10:22:05 -0700 (PDT)
My bad.  I did not read well.  These occurrences are not for (MATCHER...).

I'll close the bug.




bug closed, send any further explanations to 15119 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Drew Adams <drew.adams <at> oracle.com> to control <at> debbugs.gnu.org. (Sat, 17 Aug 2013 17:25:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 15 Sep 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.