From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#27159: 25+; eldoc with curly quote Date: Sun, 4 Jun 2017 09:17:35 -0700 Organization: UCLA Computer Science Department Message-ID: References: <87efv54og6.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------49045B8B66B6FD40A054E558" X-Trace: blaine.gmane.org 1496593095 19847 195.159.176.226 (4 Jun 2017 16:18:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Jun 2017 16:18:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: 27159-done@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 04 18:18:12 2017 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 1dHYEF-0004v2-2H for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jun 2017 18:18:11 +0200 Original-Received: from localhost ([::1]:57600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHYEK-00008i-CJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jun 2017 12:18:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHYEB-000078-EM for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 12:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHYE6-0000jz-A4 for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 12:18:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHYE6-0000jW-6d for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 12:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHYE5-0007RI-Sk for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 12:18:01 -0400 In-Reply-To: <87efv54og6.fsf@gmail.com> Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2017 16:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 27159@debbugs.gnu.org, eggert@cs.ucla.edu, thierry.volpiatto@gmail.com Original-Received: via spool by 27159-done@debbugs.gnu.org id=D27159.149659306728572 (code D ref 27159); Sun, 04 Jun 2017 16:18:01 +0000 Original-Received: (at 27159-done) by debbugs.gnu.org; 4 Jun 2017 16:17:47 +0000 Original-Received: from localhost ([127.0.0.1]:55990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHYDr-0007Ql-73 for submit@debbugs.gnu.org; Sun, 04 Jun 2017 12:17:47 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHYDn-0007QW-0F for 27159-done@debbugs.gnu.org; Sun, 04 Jun 2017 12:17:43 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1D9521600E3; Sun, 4 Jun 2017 09:17:37 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HHfaB6EIDZvo; Sun, 4 Jun 2017 09:17:36 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4F7F21600E4; Sun, 4 Jun 2017 09:17:36 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nkCUkp9lWE2R; Sun, 4 Jun 2017 09:17:36 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 281F81600E3; Sun, 4 Jun 2017 09:17:36 -0700 (PDT) Content-Language: en-US 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:133261 Archived-At: This is a multi-part message in MIME format. --------------49045B8B66B6FD40A054E558 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks for reporting that. I installed the attached, which should fix it. --------------49045B8B66B6FD40A054E558 Content-Type: text/x-patch; name="0001-Fix-eldoc-bug-with-curved-quote.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Fix-eldoc-bug-with-curved-quote.patch" >From 7dd9e7e95c1e4502b7a9fd6a18211208bd2914a5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 4 Jun 2017 09:13:15 -0700 Subject: [PATCH] Fix eldoc bug with curved quote * lisp/progmodes/elisp-mode.el (elisp-get-fnsym-args-string): Substitute quotes in documentation before returning it (Bug#27159). --- lisp/progmodes/elisp-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 6c6fb92..b3f452c 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -1372,7 +1372,7 @@ elisp-get-fnsym-args-string (condition-case nil (documentation sym t) (invalid-function nil)) sym)) - (car doc)) + (substitute-command-keys (car doc))) (t (help-function-arglist sym))))) ;; Stringify, and store before highlighting, downcasing, etc. (elisp--last-data-store sym (elisp-function-argstring args) -- 2.7.4 --------------49045B8B66B6FD40A054E558--