From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.bugs Subject: bug#13917: 24.3.50; Elisp manual: Font Lock Mode Date: Sun, 10 Mar 2013 17:39:01 +0100 Message-ID: <87txojjjkq.fsf@phil.uni-goettingen.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362939924 23139 80.91.229.3 (10 Mar 2013 18:25:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Mar 2013 18:25:24 +0000 (UTC) To: 13917@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 10 19:25:48 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UEkwM-0002yc-Ay for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Mar 2013 19:25:46 +0100 Original-Received: from localhost ([::1]:54748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEkw0-0005cs-75 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Mar 2013 14:25:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEkvt-0005Zw-CO for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 14:25:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEkvp-00016K-Md for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 14:25:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEkvp-00016G-J7 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 14:25:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UEkwc-00030w-Rh for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 14:26:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joost Kremers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Mar 2013 18:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136293991011502 (code B ref -1); Sun, 10 Mar 2013 18:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Mar 2013 18:25:10 +0000 Original-Received: from localhost ([127.0.0.1]:44279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEkvl-0002zR-4s for submit@debbugs.gnu.org; Sun, 10 Mar 2013 14:25:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57565) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEjIC-0000IJ-4h for submit@debbugs.gnu.org; Sun, 10 Mar 2013 12:40:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEjHF-0006FM-QI for submit@debbugs.gnu.org; Sun, 10 Mar 2013 12:39:17 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:35311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEjHF-0006FI-Lw for submit@debbugs.gnu.org; Sun, 10 Mar 2013 12:39:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEjHC-0002Fg-9x for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 12:39:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEjH8-0006E7-Mo for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 12:39:10 -0400 Original-Received: from amailer.gwdg.de ([134.76.10.18]:56933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEjH8-0006Dg-A2 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 12:39:06 -0400 Original-Received: from pdbn-4d081d6a.pool.mediaways.net ([77.8.29.106] helo=eeenterprise.gwdg.de) by mailer.gwdg.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1UEjH4-0006fK-Qm for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 17:39:03 +0100 X-Authenticated: Id:jkremer X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sun, 10 Mar 2013 14:25:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72299 Archived-At: The Elisp manual, info node "(elisp) Search-based Fontification" states the following: ,---- | `(MATCHER . FACESPEC)' | In this kind of element, FACESPEC is an expression whose value | specifies the face to use for highlighting. In the simplest case, | FACESPEC is a Lisp variable (a symbol) whose value is a face name. |=20 | ;; Highlight occurrences of `fubar', | ;; using the face which is the value of `fubar-face'. | ("fubar" . fubar-face) |=20 | However, FACESPEC can also evaluate to a list of this form: |=20 | (face FACE PROP1 VAL1 PROP2 VAL2...) |=20 | to specify the face FACE and various additional text properties to | put on the text that matches. If you do this, be sure to add the | other text property names that you set in this way to the value of | `font-lock-extra-managed-props' so that the properties will also | be cleared out when they are no longer appropriate. Alternatively, | you can set the variable `font-lock-unfontify-region-function' to | a function that clears these properties. *Note Other Font Lock | Variables::. `---- However, a font lock entry of the type ,---- | (MATCHER . (face FACE PROP1 VAL1 PROP1 VAL2)) `---- does not actually work. What works is any of the forms: ,---- | (MATCHER . (0 (face FACE PROP1 VAL1 PROP1 VAL2))) | (MATCHER 0 (face FACE PROP1 VAL1 PROP1 VAL2)) | (MATCHER (0 (face FACE PROP1 VAL1 PROP1 VAL2))) `---- (Where the first two are of course equivalent). In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-04 on charichuelo, modified by Debian (emacs-snapshot package, version 2:20130304-1~ppa1~quantal1) Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Ubuntu 12.10 Configured using: `configure --build i686-linux-gnu --host i686-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs-snapshot:/etc/emacs:/usr/local/share/e= macs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24= .3.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=3D/usr/lib/i386-linux-gnu/ --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-imagemagick=3Dyes CFLAGS=3D'-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g -O2' CPPFLAGS=3D'-D_FORTIFY_SOURCE=3D2' LDFLAGS=3D'-g -Wl,--as-needed -znocombreloc'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: diff-auto-refine-mode: t TeX-PDF-mode: t autopair-global-mode: t autopair-mode: t global-edit-server-edit-mode: t override-global-mode: t show-paren-mode: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: s SPC t h e SPC o n e SPC t h a t SPC C-d r e t u r=20 n s SPC t h e SPC f i e l d SPC t o SPC i n h e r i=20 t SPC f r o m SPC , SPC b a s e d SPC o=20 n SPC a SPC f i e l d M-b M-b M-b M-b M-b M-b M-b M-b=20 t a r g e t SPC M-f M-d M-d M-d M-f M-f M-f =20 t h e SPC o s o u r c e M-f SPC a n d SPC=20 t h e SPC n e t r y SPC e n t r y SPC=20 t y p e SPC o f SPC t e h SPC s o u r c e . M-b C-b=20 C-b C-p C-e C-x C-s C-x # M-x e m a b u =20 r e p o =20 r M a n u a l C-g C-h=20 i u u u m f o n - t SPC l o c k m=20 o 3 b =20 C-t C-t C-t C-t C-t C-t C-t=20 C-t C-t C-t C-t C-t C-t C-t C-t C-t C-t C-t C-SPC C-n=20 C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20 C-n C-n C-n C-n C-n C-n C-n M-w =20 C-y =20 C-h i C-n C-b C-SPC C-e M-w q =20 C-y C-t M-d M-d M-d M-d C-d C-d M-f M-f M-f C-k C-c=20 C-g M-x e r e p a r =20 o r Recent messages: Package `multiple-cursors-20130226.2138' deleted. Package `ebib-20130309.145' deleted. Package `dash-20130225.2203' deleted. Field contents killed. Wrote /home/joost/Dropbox/Work/Bibtex/genbib.bib [mu4e] Retrieving mail... [mu4e] Indexing... processed 4000, updated 0 [mu4e] Indexing completed; processed 4306, updated 0, cleaned-up 0 Making completion list... [2 times] Quit Load-path shadows: /home/joost/.elpa/ess-20130225.1754/.dir-locals hides /home/joost/.elpa/mag= it-20130304.2017/.dir-locals /usr/share/emacs/24.3.50/site-lisp/cmake-data/cmake-mode hides /usr/share/e= macs/site-lisp/cmake-mode ~/.emacs.d/custom hides /usr/share/emacs/24.3.50/lisp/custom ~/src/org-mode/contrib/lisp/org-w3m hides /usr/share/emacs/24.3.50/lisp/org= /org-w3m ~/src/org-mode/contrib/lisp/org-vm hides /usr/share/emacs/24.3.50/lisp/org/= org-vm ~/src/org-mode/contrib/lisp/org-wl hides /usr/share/emacs/24.3.50/lisp/org/= org-wl ~/src/org-mode/contrib/lisp/org-mew hides /usr/share/emacs/24.3.50/lisp/org= /org-mew /home/joost/.elpa/ess-20130225.1754/.dir-locals hides /usr/share/emacs/24.3= .50/lisp/gnus/.dir-locals Features: (shadow emacsbug mc-separate-operations rectangular-region-mode mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core autoload tar-mode url-http url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap finder-inf ace-jump-mode jump-char debug ebib loadhist epa-file gnutls network-stream starttls tls mailalias qp mail-extr sort parse-time boxquote crm view magit-bisect magit-key-mode magit diff-mode log-edit pcvs-util add-log compile re-builder bm expand-region text-mode-expansions org-mode-expansions latex-mode-expansions expand-region-custom expand-region-core vc-git reftex-index rect reftex-sel reftex-ref reftex-toc texmathp writeroom-mode pcmpl-unix cus-edit cus-start cus-load wid-edit misearch multi-isearch mule-util reftex-cite reftex-parse pandoc-mode bibtex preview prv-emacs tex-buf reftex-dcr reftex reftex-vars face-remap adaptive-wrap tex-fold font-latex latex tex-style tex dbus xml latexenc offlineimap diminish epresent org-latex org-export-latex org-beamer footnote autopair quail em-unix em-term term disp-table ehelp electric em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util ielm pp anti-zenburn-theme edit-server uniquify org-mu4e org-exp ob-exp org-exp-blocks org-agenda mu4e mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view epa epg epg-config browse-url mu4e-headers mu4e-compose mu4e-draft mu4e-actions rfc2368 smtpmail auth-source eieio gnus-util password-cache sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr image-mode dired mu4e-lists mu4e-about mu4e-vars message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader hl-line mu4e-meta dictem org-drill org-learn org-id hi-lock org-inlinetask org byte-opt warnings bytecomp byte-compile cconv ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs yasnippet dropdown-list derived help-mode cl cm-mode cl-macs gv cl-lib markdown-mode thingatpt noutline outline windmove swbuff nadvice advice help-fns preview-latex tex-site auto-loads server edmacro kmacro bind-key easy-mmode paren delsel ace-jump-mode-autoloads adaptive-wrap-autoloads anti-zenburn-theme-autoloads autopair-autoloads bm-autoloads boxquote-autoloads dash-autoloads diminish-autoloads ebib-autoloads edit-server-autoloads expand-region-autoloads jump-char-autoloads magit-autoloads multiple-cursors-autoloads offlineimap-autoloads pandoc-mode-autoloads unfill-autoloads wc-mode-autoloads writeroom-mode-autoloads info easymenu package time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 Joost Kremers, PhD University of G=C3=B6ttingen Institute for German Philology K=C3=A4te-Hamburger-Weg 3 37073 G=C3=B6ttingen, Germany