GNU bug report logs - #27229
eldoc wrong highlighting for "when"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: "Charles A. Roelli" <charles@HIDDEN>; Keywords: confirmed; dated Sun, 4 Jun 2017 10:21:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.
bug Marked as found in versions 25.2. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at 27229 <at> debbugs.gnu.org:


Received: (at 27229) by debbugs.gnu.org; 4 Jun 2017 15:58:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 04 11:58:24 2017
Received: from localhost ([127.0.0.1]:55980 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dHXv6-00059w-BB
	for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 11:58:24 -0400
Received: from gateway-a.fh-trier.de ([143.93.54.181]:54911)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <politza@HIDDEN>) id 1dHXv4-00059f-Kk
 for 27229 <at> debbugs.gnu.org; Sun, 04 Jun 2017 11:58:23 -0400
X-Virus-Scanned: by Amavisd-new + Sophos + ClamAV [Rechenzentrum Hochschule
 Trier (RZ/HT)]
Received: from localhost (ip4d15f86e.dynamic.kabel-deutschland.de
 [77.21.248.110]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested) (Authenticated sender: politza)
 by gateway-a.fh-trier.de (Postfix) with ESMTPSA id A148F179E9D5;
 Sun,  4 Jun 2017 17:58:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de;
 s=default; t=1496591896; bh=P5KsnHOx6hz8yA09gHdvhmJrFag=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:
 MIME-Version:Content-Type;
 b=JPQR/BNO245xNzW39D8UoQluN8p4FXrlzSpquqgkBvZIzajr3Ruj64VxzNHbBGc+v
 UspVW9sBN6xbdb1xHHQfh7nTEZxGKIilOFQE2hauCfcGEMu6VW8w6BKVIoghOEMmFa
 T8aRmluVbdwTiVIH7y4jShE/9G1wXipPtSC/gyyc=
From: Andreas Politz <politza@HIDDEN>
To: "Charles A. Roelli" <charles@HIDDEN>
Subject: Re: bug#27229: eldoc wrong highlighting for "when"
References: <oh0mq8$gio$1@HIDDEN>
Date: Sun, 04 Jun 2017 17:58:16 +0200
In-Reply-To: <oh0mq8$gio$1@HIDDEN> (Charles A. Roelli's message of
 "Sun, 4 Jun 2017 12:18:54 +0200")
Message-ID: <878tl77njb.fsf@luca>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 27229
Cc: 27229 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


In Emacs 24.5 this highlighting was done in the function
eldoc-highlight-function-argument, which since then has been moved to
elisp--highlight-function-argument and was also heavily extended.

From reading the new code, it seems to interpret doc-strings of the kind
"(FN ARG0 ARG1...)", as being a macro with alternating forms, e.g. like
setq.  While previously, I think, they were constantly treated as a "(FN
ARG BODY..)" type.

-ap









Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27229; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jun 2017 10:20:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 04 06:20:27 2017
Received: from localhost ([127.0.0.1]:54622 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dHSe3-0006Y2-Ms
	for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 06:20:27 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36546)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1dHSe0-0006Xo-GI
 for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 06:20:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1dHSdu-0006fS-G3
 for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 06:20:19 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58203)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1dHSdu-0006fH-D3
 for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 06:20:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55745)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1dHSdt-0007Wf-Es
 for bug-gnu-emacs@HIDDEN; Sun, 04 Jun 2017 06:20:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1dHSdq-0006b8-CO
 for bug-gnu-emacs@HIDDEN; Sun, 04 Jun 2017 06:20:17 -0400
Received: from [195.159.176.226] (port=34949 helo=blaine.gmane.org)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1dHSdq-0006aa-6O
 for bug-gnu-emacs@HIDDEN; Sun, 04 Jun 2017 06:20:14 -0400
Received: from list by blaine.gmane.org with local (Exim 4.84_2)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1dHSdh-00009H-ER
 for bug-gnu-emacs@HIDDEN; Sun, 04 Jun 2017 12:20:05 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: "Charles A. Roelli" <charles@HIDDEN>
Subject: eldoc wrong highlighting for "when"
Date: Sun, 4 Jun 2017 12:18:54 +0200
Lines: 3
Message-ID: <oh0mq8$gio$1@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@HIDDEN
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0)
 Gecko/20100101 Thunderbird/45.8.0
X-Mozilla-News-Host: news://news.gmane.org:119
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

 From emacs -q, type "(when x y z": COND is highlighted
instead of BODY.  This is a regression from the behavior
of 24.5 (with eldoc-mode on).





Acknowledgement sent to "Charles A. Roelli" <charles@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#27229; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 7 Jun 2017 04:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.