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: Tue, 6 Oct 2015 10:15:36 +0100 Message-ID: References: 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 1444122986 12265 80.91.229.3 (6 Oct 2015 09:16:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Oct 2015 09:16:26 +0000 (UTC) Cc: 21619@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 06 11:16:12 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 1ZjOLy-0005xa-VL for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 11:16:11 +0200 Original-Received: from localhost ([::1]:49754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjOLy-0001Py-Cg for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 05:16:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjOLt-0001Oz-Kq for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 05:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjOLq-000637-Cl for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 05:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjOLq-000631-9d for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 05:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZjOLp-0005gb-QS for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 05:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Oct 2015 09:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21619 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21619-submit@debbugs.gnu.org id=B21619.144412294121833 (code B ref 21619); Tue, 06 Oct 2015 09:16:01 +0000 Original-Received: (at 21619) by debbugs.gnu.org; 6 Oct 2015 09:15:41 +0000 Original-Received: from localhost ([127.0.0.1]:55940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjOLV-0005g4-5D for submit@debbugs.gnu.org; Tue, 06 Oct 2015 05:15:41 -0400 Original-Received: from mail-lb0-f170.google.com ([209.85.217.170]:35701) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjOLR-0005fu-OP for 21619@debbugs.gnu.org; Tue, 06 Oct 2015 05:15:38 -0400 Original-Received: by lbwr8 with SMTP id r8so72261684lbw.2 for <21619@debbugs.gnu.org>; Tue, 06 Oct 2015 02:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=yNKXtA6P4cJw6ZKcfAKCOQwg47tWMB7fdotUFS5UKX8=; b=xtOEpiLcIRJdg4b9tD5jZi5ICzqZ1J2NFa43dJd3ChzMLbR39BzboP71Dv0Fae73Ey O93c62UBuxa5C1zZrlz5cTuPj9EHS56ZnnnR2fHJsK1p4mWelGj/rsQf4UQWEiHm006V HyoUFaOiiS8ws7c1jzMBhwd+HhhMRei7ecob146HhBb6jouiwg3/0rMq9JDG7N77IVCs rBdv4TgqN5fnX8MELcJS1REQ4vbs4SqKAB2BSG63f34iHwnSmtKWPxDEl1mjVN9TR+ZF CXhRv4obC+tu251HkYNhG6iXAbhnEb7LSk4C00ZbD9UHxHsoAgMOsg/SrkSZFdwDa2ag 3UyQ== X-Received: by 10.112.146.104 with SMTP id tb8mr14285571lbb.35.1444122936751; Tue, 06 Oct 2015 02:15:36 -0700 (PDT) Original-Received: by 10.25.27.78 with HTTP; Tue, 6 Oct 2015 02:15:36 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 0wYtxfwnjQTTOtG4fZ0jdq0R-i0 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:107358 Archived-At: 2015-10-05 17:28 GMT+01:00 Kaushal Modi : > Artur Malabarba gmail.com> writes: > >> >> 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? >> >> > > > Looks like it got fixed in this commit: > > http://git.savannah.gnu.org/cgit/emacs.git/commit/? > id=3D47e9556c70a7009d7c750fd7bf10a0e6cf41cdce > > > - (sql-add-product-keywords 'ms > - '((\"\\\\b\\\\w+_t\\\\b\" . font-lock-type-face))) > + (sql-add-product-keywords \\=3D'ms > + \\=3D'((\"\\\\b\\\\w+_t\\\\b\" . font-lock-type-face))) I'm confused. That link appears to be a merge commit, and the snippet you quote doesn't apply to the snippet I had quotedl.