From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#24173: 25.1.50; Surprising highlighting of "\[\]" in emacs-lisp-mode Date: Sun, 7 Aug 2016 05:27:06 -0400 Message-ID: <133f1f27-e7c7-3a59-ad88-414617ba38a4@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="emhuGq9GnhEvw5Hs3v2MDrdLtkpX5Wgs4" X-Trace: blaine.gmane.org 1470562103 18445 195.159.176.226 (7 Aug 2016 09:28:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2016 09:28:23 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 Cc: Andreas Schwab To: 24173@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 07 11:28:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWKNW-00049W-3Y for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Aug 2016 11:28:18 +0200 Original-Received: from localhost ([::1]:51956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWKNS-0007rB-Ry for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Aug 2016 05:28:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWKNK-0007nd-CX for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 05:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWKNG-0000fm-8B for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 05:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWKNG-0000fi-4l for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 05:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWKNF-0005Pw-Vg for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 05:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Aug 2016 09:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24173 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.147056205220787 (code B ref -1); Sun, 07 Aug 2016 09:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Aug 2016 09:27:32 +0000 Original-Received: from localhost ([127.0.0.1]:58337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWKMl-0005PD-Q2 for submit@debbugs.gnu.org; Sun, 07 Aug 2016 05:27:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWKMj-0005Oz-Gv for submit@debbugs.gnu.org; Sun, 07 Aug 2016 05:27:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWKMd-0000eA-9W for submit@debbugs.gnu.org; Sun, 07 Aug 2016 05:27:24 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWKMd-0000e4-67 for submit@debbugs.gnu.org; Sun, 07 Aug 2016 05:27:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWKMb-00074w-1r for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 05:27:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWKMW-0000dt-Sz for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 05:27:20 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.133]:62707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWKMW-0000dp-Is for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 05:27:16 -0400 Original-Received: from [18.189.62.146] ([18.189.62.146]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0LqHAa-1b1NFy0Tbc-00ds27; Sun, 07 Aug 2016 11:27:14 +0200 In-Reply-To: X-Provags-ID: V03:K0:gBMHiD7zeATa3QYHwc87Jt9triLirmNIdVDp4qohA6GIf85GySH S85dzP8gDJrpYCq3n45SrQ28hx0uqq35FtrEBZ8J40wkipUHUz5qFsxcMH/N1zYOTDbVUpd LISaDXGhIuBIqFKfRSbF7warPzKzPqx0zI3P3ErL00QVFQInBO625RshrjH8BkOsWwXkwTd ohbEIvBEPAd6GVRdz5LYA== X-UI-Out-Filterresults: notjunk:1;V01:K0:0RJLejTy9eY=:Fq77UXdRFhDQbDWHtouEch dxPPZf/w7hhllxbqzafE9t4d3TN0TbSMQRQ5LqEjRfl9e1TxRdLRwx18bU4vBLuDn+nd0XxvF Xm6sqAraJy45gVm0QDKgYMmWNjo19CfXTR0i9YZS/CD2LGKfzlxuIFazCzODsR1v687GAlgku 4COTnCREsQjr7ylgHi7CK67r0EmV86lzwyHXd3SgwJ6xgPTpqaprpzSx/E3qTg/eQkbDLW/6I 2ftaBkWW02rBR1KvXdkWKc3tjfi4h3kmplQ0gyYJqfYsDg6FOztSYeBEaoIgQcSxiW8otnBis BRDdQqsoNFa3dof7TNv6z/6H7kWiIAudyKUftEmVmEINaPf5wRUnHBNZSIpOtopEvk4qdqPJC 6XdtzcC88XtqSVVLJ2sDmwOh2sQtflA+0k2edjAUGNzfhyp64zuQXPn9DvhJMmvSpTtBF96bp EQsajICjHRawfYGcQ1KrRNInTOdv4enD+MQAh1kiyh3qbhcwnNbLouVMdVbDccFIF2w+4c4Qh 3f+iYsPHesIO+7YUMJXdwyTxSX987JAr1wi5tcd3K4+vV1PMkS3XEaryMdobH0A7RLMnOyaSe od2VDDkcczO6OM6NhuMY742SS8pqntp+IUDO43uxepUCGrYm1RrJgnUYVvF1J9TML2epiEJSa qXTBiz8EStHwoIEhmQq0NslWDRugHZWeku2y9NWX0OzemWj7Vaw2aX77Vm+XUhPB5V/8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:121935 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --emhuGq9GnhEvw5Hs3v2MDrdLtkpX5Wgs4 Content-Type: multipart/mixed; boundary="uPoPbgv53EhTC8KDMdfHI81GAO9IuFEm5" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Cc: Andreas Schwab Message-ID: <133f1f27-e7c7-3a59-ad88-414617ba38a4@gmail.com> Subject: Re: bug#24173: 25.1.50; Surprising highlighting of "\[\]" in emacs-lisp-mode References: In-Reply-To: --uPoPbgv53EhTC8KDMdfHI81GAO9IuFEm5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-08-07 05:11, Andreas Schwab wrote: > Cl=C3=A9ment Pit--Claudel writes: >=20 >> In Emacs Lisp mode, the last two backslashes in the string "\\[\\]" ar= e highlighted with (font-lock-constant-face font-lock-string-face). Is th= is expected? >=20 > ;; Words inside \\[] tend to be for `substitute-command-keys'.= > (,(concat "\\\\\\\\\\[\\(" lisp-mode-symbol-regexp "\\)\\]") Thanks Andreas! Should this regexp be conditional on being in a docstring? Otherwise plea= se feel free to close as notabug :) Cl=C3=A9ment. --uPoPbgv53EhTC8KDMdfHI81GAO9IuFEm5-- --emhuGq9GnhEvw5Hs3v2MDrdLtkpX5Wgs4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXpv7qAAoJEPqg+cTm90wjpcwP/iF+c5Thl9+MRnMDHAB182tk Jxu7l1DjsGbCxWYyaiyAfW6SGPbTKXpjOuevO7vvTfoDjOvXfgfPDWgcl4yZr5RR zsSuFIEysncGwNOpGCOAFgJ4WDOTKKcVILzoW5xImvDwvdKpptZ4whI65jcjVXeL RC5a/k1zZhndOSTGJoyhZToZcgFmXlVXWPO0Y5gJEFFkeAAHrJaYpf7xhpFK0Sec yxPlWQB9RQ9AlzGZF1HJUX3ovQo2NquoyME5pFwLjRTThj4y+5dkvPq1OBAiOkzl x5SAB9s8EjgLXXx7sVu8ZYnfoVFmhk9IzQNim3YAIBWk1M2YIEdxhiz62o91xtq9 uUT8AoQ5Mg9L+SuBAi/FJb8UuZcK9phx8bth4AESriNcquxe0ppk3mjdoQXmSue5 29qT7eLIKOdSNyfXIsZz5+Dt2yFiCoXO6KpFx/i4fApo5LU5pk9+dgUPJbgBsBPr onLPb7NTSJ3JUpiOrgsOJsiPDx2JtwwtYxEKLGffS7rTrmTfpGLYvIgBsWo9dA3B UjLNF+vOX2VuBuPnMbVjDlYkQPpVD71AmrAWnAiaksbiDC6YogbGtv9jxygqyixw UplKV9J9jpVvob83TmA3KrLvZDEuqoVZPAhP3vGU9J9Zt/mgTayjL3MHS4V2a1au nSCrM280JL85Dy07lubm =2oYn -----END PGP SIGNATURE----- --emhuGq9GnhEvw5Hs3v2MDrdLtkpX5Wgs4--