From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#21619: 25.0.50; Wrong curly quotes in the docstring for font-lock-add-keywords Date: Mon, 5 Oct 2015 15:24:25 +0100 Message-ID: Reply-To: bruce.connor.am@gmail.com 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 1444055180 29266 80.91.229.3 (5 Oct 2015 14:26:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2015 14:26:20 +0000 (UTC) To: 21619@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 05 16:26:11 2015 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 1Zj6iN-00059v-3d for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2015 16:26:07 +0200 Original-Received: from localhost ([::1]:46010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj6iM-0004Yv-Cq for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2015 10:26:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj6iJ-0004YE-39 for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 10:26:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj6iI-0004Lc-Ag for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 10:26:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj6iI-0004LV-78 for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 10:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zj6iI-0000FH-0l for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 10:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Oct 2015 14:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21619 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.1444055118889 (code B ref -1); Mon, 05 Oct 2015 14:26:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Oct 2015 14:25:18 +0000 Original-Received: from localhost ([127.0.0.1]:55325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zj6ha-0000EG-Dx for submit@debbugs.gnu.org; Mon, 05 Oct 2015 10:25:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55297) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zj6hY-0000E9-UO for submit@debbugs.gnu.org; Mon, 05 Oct 2015 10:25:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj6hT-0003Oj-1T for submit@debbugs.gnu.org; Mon, 05 Oct 2015 10:25:16 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj6hS-0003ON-V2 for submit@debbugs.gnu.org; Mon, 05 Oct 2015 10:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj6gq-0004HG-4j for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 10:24:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj6gk-000339-No for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 10:24:32 -0400 Original-Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:35404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj6gk-000330-H1 for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 10:24:26 -0400 Original-Received: by ladcb10 with SMTP id cb10so3231175lad.2 for ; Mon, 05 Oct 2015 07:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=H3TOlGRjFHocHkyZI1Z/XVem5mrWJn2MqnjaZXdoMbw=; b=AbFNXW8JX5yYCi1weyexVFg9PXrIZ9D0ufrjjWQeN0ekTR9ICJ0Z2W29gwNjjKP/Ot dfmcUbTfmhk22bUWuPOFqSaMny4Wv0AMvcL4fLROfxdbCa9o7hEvGTe1QItxHjttllIY XPO7e/JafIYr8VVsv+i56XtnaBls1xPUv21Lxp4ED7Oshug0GNERc28PL3e7+NsCie9n 6RhEwo/eEsmiweYirczwVzL5t9Yom21baXf3zS/87WRcecT2izr09893JK310sh+C5lU XK5573xssQAGxwVD5SIRUBOcSZyeilHHfIvQyrjTjUwS/Pd37BGqa/NWSM96SRe9gPTx ZOsw== X-Received: by 10.25.165.4 with SMTP id o4mr7693121lfe.4.1444055065618; Mon, 05 Oct 2015 07:24:25 -0700 (PDT) Original-Received: by 10.25.27.78 with HTTP; Mon, 5 Oct 2015 07:24:25 -0700 (PDT) X-Google-Sender-Auth: c4xgcIJvHARuvGkLHg7kpQcl9V0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107320 Archived-At: The docstring for this function (when displayed in a help buffer) has the following code-snippet, which clearly has the wrong type of quotes. (font-lock-add-keywords =E2=80=99c-mode =E2=80=99(("\\<\\(FIXME\\):" 1 =E2=80=99font-lock-warning-face prepend) ("\\<\\(and\\|or\\|not\\)\\>" . =E2=80=99font-lock-keyword-face))) Instead of fixing this by manually escaping them, how about we change the algorithm to only convert `...' quotes if the ... is a single symbol?