From unknown Wed Jun 18 00:00:57 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#7712 <7712@debbugs.gnu.org> To: bug#7712 <7712@debbugs.gnu.org> Subject: Status: lisp/textmodes/conf-mode.el - Unused macro expansion in conf-font-lock-keywords Reply-To: bug#7712 <7712@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:00:57 +0000 retitle 7712 lisp/textmodes/conf-mode.el - Unused macro expansion in conf-f= ont-lock-keywords reassign 7712 emacs submitter 7712 Jari Aalto severity 7712 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 13:55:08 2010 Received: (at submit) by debbugs.gnu.org; 22 Dec 2010 18:55:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVTq7-0000FG-Lz for submit@debbugs.gnu.org; Wed, 22 Dec 2010 13:55:08 -0500 Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVTq3-0000ES-T9 for submit@debbugs.gnu.org; Wed, 22 Dec 2010 13:55:05 -0500 Received: from saunalahti-vams (vs3-11.mail.saunalahti.fi [62.142.5.95]) by emh04-2.mail.saunalahti.fi (Postfix) with SMTP id 5EF6513BA53 for ; Wed, 22 Dec 2010 21:01:38 +0200 (EET) Received: from emh03.mail.saunalahti.fi ([62.142.5.109]) by vs3-11.mail.saunalahti.fi ([62.142.5.95]) with SMTP (gateway) id A0418158832; Wed, 22 Dec 2010 21:01:38 +0200 Received: from picasso.cante.net (a91-155-187-216.elisa-laajakaista.fi [91.155.187.216]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 3D6D9158A63 for ; Wed, 22 Dec 2010 21:01:36 +0200 (EET) From: Jari Aalto To: submit@debbugs.gnu.org Subject: lisp/textmodes/conf-mode.el - Unused macro expansion in conf-font-lock-keywords Mail-Copies-To: poster Date: Wed, 22 Dec 2010 21:01:36 +0200 Message-ID: <87vd2lvdgv.fsf@picasso.cante.net> MIME-Version: 1.0 Content-Type: text/plain X-Antivirus: VAMS X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.6 (--) Package: emacs Version: 23.2+1-5.1 Severity: minor lisp/textmodes/conf-mode.el uses macro expansion backtick (`) in here: (defvar conf-font-lock-keywords => `(;; [section] (do this first because it may look like a parameter) ("^[ \t]*\\[\\(.+\\)\\]" 1 'font-lock-type-face) ;; var=val or var[index]=val ("^[ \t]*\\(.+?\\)\\(?:\\[\\(.*?\\)\\]\\)?[ \t]*=" (1 'font-lock-variable-name-face) (2 'font-lock-constant-face nil t)) ;; section { ... } (do this last because some assign ...{...) ("^[ \t]*\\([^=:\n]+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face prepend)) "Keywords to hilight in Conf mode.") Everywhere else it uses single quote: (defvar conf-javaprop-font-lock-keywords => '(;; var=val ("^[ \t]*\\(.+?\\)\\(?:\\.\\([0-9]+\\)\\(?:\\.\\(.+?\\)\\(?:\\.\\([0-9]+\\)\\(?:\\.\\(.+?\\)\\(?:\\.\\([0-9]+\\)\\(\\..+?\\)?\\)?\\)?\\)?\\)?\\)?\\([:= \t]\\|$\\)" (1 'font-lock-variable-name-face) (2 'font-lock-constant-face nil t) (3 'font-lock-variable-name-face nil t) (4 'font-lock-constant-face nil t) (5 'font-lock-variable-name-face nil t) (6 'font-lock-constant-face nil t) (7 'font-lock-variable-name-face nil t))) "Keywords to hilight in Conf Java Properties mode.") ... Perhaps the conf-font-lock-keywords should also use single quote? -- System Information Debian Release: squeeze/sid APT Prefers testing APT policy: (990, testing) (500, unstable) (1, experimental) Architecture: amd64 Kernel: Linux picasso 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux Locale: LANG=en_DK.UTF-8 -- Versions of packages `emacs depends on'. Depends: emacs23 23.2+1-5.1 GNU Emacs is the extensible self-documenting emacs23-lucid 23.2+1-5.1 GNU Emacs is the extensible self-documenting emacs23-nox 23.2+1-5.1 GNU Emacs is the extensible self-documenting From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 29 05:55:59 2010 Received: (at 7712) by debbugs.gnu.org; 29 Dec 2010 10:56:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXthH-0005bL-KJ for submit@debbugs.gnu.org; Wed, 29 Dec 2010 05:55:59 -0500 Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXthG-0005bA-6D for 7712@debbugs.gnu.org; Wed, 29 Dec 2010 05:55:58 -0500 Received: from furball (bb220-255-229-62.singnet.com.sg [220.255.229.62]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id oBTB2l3m031123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 29 Dec 2010 06:02:50 -0500 Received: by furball (Postfix, from userid 1000) id A7365160D03; Wed, 29 Dec 2010 19:02:46 +0800 (SGT) From: Chong Yidong To: Jari Aalto Subject: Re: bug#7712: lisp/textmodes/conf-mode.el - Unused macro expansion in conf-font-lock-keywords References: <87vd2lvdgv.fsf@picasso.cante.net> Date: Wed, 29 Dec 2010 19:02:46 +0800 In-Reply-To: <87vd2lvdgv.fsf@picasso.cante.net> (Jari Aalto's message of "Wed, 22 Dec 2010 21:01:36 +0200") Message-ID: <87d3okj0yx.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7712 Cc: 7712@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.6 (--) Jari Aalto writes: > lisp/textmodes/conf-mode.el uses macro expansion backtick (`) in here: > Perhaps the conf-font-lock-keywords should also use single quote? Sure. Committed. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 29 05:56:10 2010 Received: (at control) by debbugs.gnu.org; 29 Dec 2010 10:56:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXthR-0005bz-Rh for submit@debbugs.gnu.org; Wed, 29 Dec 2010 05:56:10 -0500 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXthQ-0005bo-9P for control@debbugs.gnu.org; Wed, 29 Dec 2010 05:56:08 -0500 Received: from furball (bb220-255-229-62.singnet.com.sg [220.255.229.62]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id oBTB2wpP026709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 29 Dec 2010 06:03:00 -0500 Received: by furball (Postfix, from userid 1000) id 6212F160D03; Wed, 29 Dec 2010 19:02:57 +0800 (SGT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 7712 Date: Wed, 29 Dec 2010 19:02:57 +0800 Message-ID: <878vz8j0ym.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.6 (--) close 7712 thanks From unknown Wed Jun 18 00:00:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 26 Jan 2011 12:24:04 +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