From unknown Thu Aug 14 18:40:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13917 <13917@debbugs.gnu.org> To: bug#13917 <13917@debbugs.gnu.org> Subject: Status: 24.3.50; Elisp manual: Font Lock Mode Reply-To: bug#13917 <13917@debbugs.gnu.org> Date: Fri, 15 Aug 2025 01:40:04 +0000 retitle 13917 24.3.50; Elisp manual: Font Lock Mode reassign 13917 emacs submitter 13917 Joost Kremers severity 13917 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 10 14:25:10 2013 Received: (at submit) by debbugs.gnu.org; 10 Mar 2013 18:25:10 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.2 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 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 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 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 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 From: Joost Kremers To: bug-gnu-emacs@gnu.org Subject: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 12:48:18 2019 Received: (at 13917) by debbugs.gnu.org; 1 Nov 2019 16:48:18 +0000 Received: from localhost ([127.0.0.1]:56981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQa5x-00089a-QH for submit@debbugs.gnu.org; Fri, 01 Nov 2019 12:48:18 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQa5v-00089R-TZ for 13917@debbugs.gnu.org; Fri, 01 Nov 2019 12:48:16 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQa5r-00080R-FC; Fri, 01 Nov 2019 17:48:13 +0100 From: Lars Ingebrigtsen To: Joost Kremers Subject: Re: 24.3.50; Elisp manual: Font Lock Mode References: <87txojjjkq.fsf@phil.uni-goettingen.de> Date: Fri, 01 Nov 2019 17:48:11 +0100 In-Reply-To: <87txojjjkq.fsf@phil.uni-goettingen.de> (Joost Kremers's message of "Sun, 10 Mar 2013 17:39:01 +0100") Message-ID: <877e4jy244.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Joost Kremers writes: > 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 > | s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13917 Cc: 13917@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Joost Kremers writes: > 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. > | > | ;; Highlight occurrences of `fubar', > | ;; using the face which is the value of `fubar-face'. > | ("fubar" . fubar-face) > | > | However, FACESPEC can also evaluate to a list of this form: > | > | (face FACE PROP1 VAL1 PROP2 VAL2...) > | > | 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). Hm... is this a bug in the documentation or the code, though? It seems like it would be logical for the described syntax to work, doesn't it? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 02:40:54 2021 Received: (at 13917) by debbugs.gnu.org; 31 May 2021 06:40:54 +0000 Received: from localhost ([127.0.0.1]:60844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnbbZ-0005wu-Sc for submit@debbugs.gnu.org; Mon, 31 May 2021 02:40:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnbbY-0005we-3s for 13917@debbugs.gnu.org; Mon, 31 May 2021 02:40:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mr4INd3ruCAm3nlCZgN8N539FkYqmSCTuaPeVx+opUk=; b=Ita3uBEebkHgrhj9lmEISq92c9 0ltVomUV80NQbdOmXpSEjQiyZ5El9vrptWotGNOuXls7DbhwoEsAxpTCQauUnQ4Rop9fAuRqLWoci eMu03lEx572HliXpLrG9cisGDxC5Ce1bLfGLUfHLpkgel4/40ZT3VWqIGPIVzn+wsOUY=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnbbO-0006Sh-U9; Mon, 31 May 2021 08:40:45 +0200 From: Lars Ingebrigtsen To: Joost Kremers Subject: Re: bug#13917: 24.3.50; Elisp manual: Font Lock Mode References: <87txojjjkq.fsf@phil.uni-goettingen.de> <877e4jy244.fsf@gnus.org> X-Now-Playing: d'Eon's _LP_: "Gabriel Pt. I" Date: Mon, 31 May 2021 08:40:42 +0200 In-Reply-To: <877e4jy244.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 01 Nov 2019 17:48:11 +0100") Message-ID: <875yyzjthx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: >> 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: >> >> ,---- >> | (MATCHE [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13917 Cc: Stefan Monnier , 13917@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: >> 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). > > Hm... is this a bug in the documentation or the code, though? It seems > like it would be logical for the described syntax to work, doesn't it? Perhaps Stefan as an opinion; added to the CCs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 08:53:06 2021 Received: (at 13917) by debbugs.gnu.org; 31 May 2021 12:53:06 +0000 Received: from localhost ([127.0.0.1]:32959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnhPm-0007cM-55 for submit@debbugs.gnu.org; Mon, 31 May 2021 08:53:06 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:13982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnhPh-0007bp-PG for 13917@debbugs.gnu.org; Mon, 31 May 2021 08:53:04 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1AB33100201; Mon, 31 May 2021 08:52:56 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id AC97D100006; Mon, 31 May 2021 08:52:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1622465574; bh=k8nGBhk5bWZnkYMlyI9HlPcCd7hucJNYxifEkQpiE8M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fjqVNYlIuI3WNkJrePA+HWlrtKxu0vzcLxi0fabV+TTUoMFhmYYanvTb1FJf4IcQx nI1RoFPph3MPZp69H2rPunPxNfyrW7c9jjNPNOr0cEYMPOvqnA3QYE7gytPWW53zHZ gYUcRWrWeVLuZ/KbmrHx3VSfX6FKb83+hhrAPefaHQcDn/x2aNyiAITPaMf2wTtCdg x/lREp4OXFiOIn9ZXloDjhzIdJby5gOqcmkOfdH/hV6G78sWODbRaeGkbE/cH57b5Z 3Kpq+ZcFOMUG3gWT9KRhJZ6a42IlJo4j4jr+ChF82/2mk6K3wOyQIu/AAl/Rj2CSCQ XzRiQIUBFRX7g== Received: from alfajor (69-196-163-239.dsl.teksavvy.com [69.196.163.239]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7855D120E84; Mon, 31 May 2021 08:52:54 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#13917: 24.3.50; Elisp manual: Font Lock Mode Message-ID: References: <87txojjjkq.fsf@phil.uni-goettingen.de> <877e4jy244.fsf@gnus.org> <875yyzjthx.fsf@gnus.org> Date: Mon, 31 May 2021 08:52:53 -0400 In-Reply-To: <875yyzjthx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 31 May 2021 08:40:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.081 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 13917 Cc: 13917@debbugs.gnu.org, Joost Kremers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen [2021-05-31 08:40:42] wrote: > Lars Ingebrigtsen writes: >>> 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). >> >> Hm... is this a bug in the documentation or the code, though? It seems >> like it would be logical for the described syntax to work, doesn't it? > > Perhaps Stefan as an opinion; added to the CCs. I don't know if there might be some conflict with existing syntax. Personally I dislike this support for those different syntaxes, it just makes the doc and the code more complex without any clear benefit. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 01:57:55 2021 Received: (at 13917) by debbugs.gnu.org; 1 Jun 2021 05:57:55 +0000 Received: from localhost ([127.0.0.1]:35471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnxPX-0006Aj-IL for submit@debbugs.gnu.org; Tue, 01 Jun 2021 01:57:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnxPV-0006AT-5P for 13917@debbugs.gnu.org; Tue, 01 Jun 2021 01:57:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8mIdoPa6hybHUAwbBHCYojEcWRj4V6kre39UHaANUkU=; b=jdvGe339385BoUe20yek3/Ho+O 4ayWVJZOoe2UVOnwlK2r9sk+kJNiolzicxFrrmPQhn3K/2GeZlWm2gilTA95gL3PAzQCIZX3Egi0W e0TP8aENJLP1E64Mdg18zYc46PshaOlF3cW7gKBHtB1DXsj69Zqj+hNXrpRgP6qwHQt8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnxPL-0004S0-Fx; Tue, 01 Jun 2021 07:57:45 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#13917: 24.3.50; Elisp manual: Font Lock Mode References: <87txojjjkq.fsf@phil.uni-goettingen.de> <877e4jy244.fsf@gnus.org> <875yyzjthx.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUNDBIlIyqIdIi5 uLZKTFj///8mLXjpAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UGAQU0ItUgwqwAAAGxSURBVDjLbZPt gcMgCIahlwEgZYEYB+g1GSAm7j/TgaK17fkr4ZGvFwQAmHfgfgj64SkBpAlI4MADgAgQ1Y6yKGBA YiBMQEyonsAZJC6kweySBtLPGmjBHBdMnNRvQkIDaDiEkNOQsqdGzLd8vNksNQhAvsYiQcgp8okD mGI1qwfHF9BbC2G5r3/0CnWTQFQ8ppykCyFJ5gP9W8uNDpCTtpVqVXMIZ27g2rOqge4RG0BYN+2V uYXSLApwPWR9NuG5gOJxhszXzoCtT7UnU/oMe7z/qpmLxCAaKKn6LNdz23ZPpmTK52JjQb42PTuy i4ixAHVZC7BLdbxRIxVB103R04ehgMUlubabZqnAPDiri4H7LrBtVQM6dEmS9mE/Pw/h9f4oicm2 I/vMkTLOt0fpQldJcgwh+ZR0RLYm1GRvoK0C9Z1w2f0u2So6a8pBTTYux7BSg3lwMCP1/34HHWi5 mN6cy2WyBuEdDKHJQWusAy5G5K8CHdB3rLElHJ7tZ/zepsnyCboftqfaj4FUMnyXNe3hqO97yGHx JTzpu3OqJfyjv8Wi4jucGgHz4qBNky3QH/NWM66b/Ib3AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIx LTA2LTAxVDA1OjUyOjM0KzAwOjAwOk10LAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNi0wMVQw NTo1MjozNCswMDowMEsQzJAAAAAASUVORK5CYII= X-Now-Playing: Grimes's _Miss Anthropocene_: "Darkseid" Date: Tue, 01 Jun 2021 07:57:42 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 31 May 2021 08:52:53 -0400") Message-ID: <87v96yf7op.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > I don't know if there might be some conflict with existing syntax. > Personally I dislike this support for those different syntaxes, it just > makes the doc and the code more complex without any cle [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13917 Cc: 13917@debbugs.gnu.org, Joost Kremers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Stefan Monnier writes: > I don't know if there might be some conflict with existing syntax. > Personally I dislike this support for those different syntaxes, it just > makes the doc and the code more complex without any clear benefit. Right. So I've just changed the documentation here to reflect what's actually accepted. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 01:58:02 2021 Received: (at control) by debbugs.gnu.org; 1 Jun 2021 05:58:02 +0000 Received: from localhost ([127.0.0.1]:35475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnxPe-0006BT-OW for submit@debbugs.gnu.org; Tue, 01 Jun 2021 01:58:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnxPc-0006Ak-U3 for control@debbugs.gnu.org; Tue, 01 Jun 2021 01:58:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aFAG4zDZz3yGoRCKb7urLOxk4PzlZOjpyiyLwUARM6k=; b=glwtlcd0Z/k407x04EZtF+aMcd HdorTJqydfAtYf+ETz7AgkmQYbJenKETOmgGBbOZhpOgXD4t1FhppaiF/3qWa1J19VowAn1OQg8nL I3VhW8grU+0s7su0/VNbZxhBoevI5HFQ6Rx2hfm7OUyFNWjciRZ9g9yikXRD8MyrnJ2U=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnxPV-0004SB-8g for control@debbugs.gnu.org; Tue, 01 Jun 2021 07:57:55 +0200 Date: Tue, 01 Jun 2021 07:57:52 +0200 Message-Id: <87tumif7of.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13917 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 13917 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 13917 28.1 quit From unknown Thu Aug 14 18:40:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Jun 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator