all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 15119@debbugs.gnu.org
Subject: bug#15119: 24.3.50; (elisp) `Search-based Fontification' - not necessarily `font-lock-keyword-face'
Date: Sat, 17 Aug 2013 10:14:38 -0700 (PDT)	[thread overview]
Message-ID: <22a2e120-9a3f-4fe8-9657-9f74efd2c937@default> (raw)

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@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'





             reply	other threads:[~2013-08-17 17:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-17 17:14 Drew Adams [this message]
2013-08-17 17:22 ` bug#15119: 24.3.50; (elisp) `Search-based Fontification' - not necessarily `font-lock-keyword-face' Drew Adams

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22a2e120-9a3f-4fe8-9657-9f74efd2c937@default \
    --to=drew.adams@oracle.com \
    --cc=15119@debbugs.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.