From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 06 04:51:37 2011 Received: (at submit) by debbugs.gnu.org; 6 Apr 2011 08:51:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7OSb-0001zP-0M for submit@debbugs.gnu.org; Wed, 06 Apr 2011 04:51:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7OSY-0001zC-AV for submit@debbugs.gnu.org; Wed, 06 Apr 2011 04:51:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7OSS-0007gd-4r for submit@debbugs.gnu.org; Wed, 06 Apr 2011 04:51:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:59190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7OSR-0007gD-UZ for submit@debbugs.gnu.org; Wed, 06 Apr 2011 04:51:24 -0400 Received: from [140.186.70.92] (port=42209 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7OSP-00018W-Qd for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 04:51:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7OSN-0007dg-PM for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 04:51:20 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:56547) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q7OSN-0007cc-BM for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 04:51:19 -0400 Received: (qmail invoked by alias); 06 Apr 2011 08:51:15 -0000 Received: from i59F57E21.versanet.de (EHLO escher.home) [89.245.126.33] by mail.gmx.net (mp022) with SMTP; 06 Apr 2011 10:51:15 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/gHVNnfrXg+enj2K7WsyozPMpqRjmDnioNCSlxpM ghrrd2RaJKGv/6 Received: by escher.home (Postfix, from userid 1000) id CB11362965; Wed, 6 Apr 2011 10:51:13 +0200 (CEST) From: Stephen Berman To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Eldoc highlighting is confused by dolist and dotimes Date: Wed, 06 Apr 2011 10:51:13 +0200 Message-ID: <87zko3vk3i.fsf@escher.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) 1. emacs -Q 2. In *scratch* insert the following sexp: (dolist (e '(a b c)) (message "Done") (message "Done") (message "Done")) 3. M-x turn-on-eldoc-mode 4. Putting point on (really, right after) the space after "dolist" makes the echo area display this: dolist: ((VAR LIST [RESULT]) BODY...) 5. Move point one character to the right, onto (really, right after) the left parenthesis before "e". => Now "VAR" is highlighted in the echo area. Move point one more character to the right and "VAR" is no longer highlighted (though point is now really on/after the argument VAR of dolist). There is no highlighting as point moves further rightwards, until it is at the end of the line, right after the closing parenthesis of the argument list: now "VAR" is highlighted again. 6. Move point to column 0 of the first "message" sexp. => Now "LIST" is highlighted in the echo area. 7. Move point to column 0 of the second "message" sexp. => Now "[RESULT]" is highlighted in the echo area. 8. Move point to column 0 of the third "message" sexp. => Now "BODY" is highlighted in the echo area. The same (mis)highlighting pattern arises with dotimes. In GNU Emacs 24.0.50.1 (i686-suse-linux-gnu, GTK+ Version 2.20.1) of 2011-04-03 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10800000 configured using `configure '--without-toolkit-scroll-bars' 'CFLAGS=-g -O2 -fno-optimize-sibling-calls'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 08 20:16:00 2016 Received: (at 8432) by debbugs.gnu.org; 9 Sep 2016 00:16:00 +0000 Received: from localhost ([127.0.0.1]:53989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi9U7-0004Z0-Oj for submit@debbugs.gnu.org; Thu, 08 Sep 2016 20:15:59 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:34943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi9U6-0004Ye-0x; Thu, 08 Sep 2016 20:15:58 -0400 Received: by mail-oi0-f52.google.com with SMTP id s131so99539599oie.2; Thu, 08 Sep 2016 17:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=9H5pBcqa0adLgYFabnw2hM3U7qxhbArppVtrzxIp484=; b=Z0rEDqWbm2f44Tz1MG4axDxjvPY4ixjF03rYuCTks8jtnEsnm7TjenLF8HO/jG52h3 NiWgRHztKgZ+rAfyMY9LC7LUaiOEDeEKhIpYU5wGPt3JkdBbO/tkViOoEhkmBnwyc9iG ft9knxXYqaviSb62jll82LjY25CoTcDLcek/iFZsXCnAwv/Hqh2xJSBsYERTLwbzMowu Z2tlPySHx/wXQeg6zYbkISDgI7WbpF6RPTNPzMjvtq1epUbYIBGoorOoVGUZltNFk2oo LL39VUOlvIHyfNB5kTcRXOeMg+ZWYblSLIN0lSPlfu/vx9KhKPFJPTLe1cdRZqY/RG8m UAeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=9H5pBcqa0adLgYFabnw2hM3U7qxhbArppVtrzxIp484=; b=AF+PTzCoxzwjx3+TlgIZg2PR2mKtAqvsyNfNbAODxvdKBGZB4gGiHvo4RK58zAr5UE p9oMFj+DL9VeEEHhwLPzwPP/eCuRt5/vwpu5ooQng/D61uxfRjYqw/NVZX5Jv+yMjiCo QjOhXf6hUsP8xWuxm0btCgr+Dg5FlSfwDKRdVUf1tCAQgR+aC6SpuQXEQmveGOKNybnV 1noq1tGlmnlCbmsXXDrk3l9+DWArQl8LIywLaAmIC8RBtrcyNLYcmVnUzoOqefo1lybl t6oDWVXwrYO/R0KX3pcP3y4kxdvNM8+l/BpnvAVro+AMJzt0zB9RGRzw/hCi9JuO/0rC P6Sw== X-Gm-Message-State: AE9vXwM6TsNyamE3HaHqrpFl0YT7bB/P6fWo2jHFtbpjIiU9xVVngkyviGtmcfueuy625Q== X-Received: by 10.202.223.195 with SMTP id w186mr936635oig.173.1473380152362; Thu, 08 Sep 2016 17:15:52 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id e131sm567847iof.19.2016.09.08.17.15.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Sep 2016 17:15:51 -0700 (PDT) From: Alex To: Stephen Berman Subject: Re: bug#8432: 24.0.50; Eldoc highlighting is confused by dolist and dotimes References: <87zko3vk3i.fsf@escher.fritz.box> Date: Thu, 08 Sep 2016 18:15:50 -0600 In-Reply-To: <87zko3vk3i.fsf@escher.fritz.box> (Stephen Berman's message of "Wed, 06 Apr 2011 10:51:13 +0200") Message-ID: <87vay653nt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: found 8432 25.1 quit Stephen Berman writes: > 1. emacs -Q > 2. In *scratch* insert the following sexp: > (dolist (e '(a b c)) > (message "Done") > (message "Done") > (message "Done")) > 3. M-x turn-on-eldoc-mode > 4. Putting point on (really, right after) the space after "dolist" makes > the echo area display this: > dolist: ((VAR LIST [RESULT]) BODY...) > 5. Move point one character to the right, onto (really, right after) the > left parenthesis before "e". > => Now "VAR" is highlighted in the echo area. Move point one more > character to the right and "VAR" is no longer highlighted (though > point is now really on/after the argument VAR of dolist). There is > no highlighting as point moves further rightwards, until it is at the > end of the line, right after the closing parenthesis of the argument > list: now "VAR" is highlighted again. > 6. Move point to column 0 of the first "message" sexp. > => Now "LIST" is highlighted in the echo area. > 7. Move point to column 0 of the second "message" sexp. > => Now "[RESULT]" is highlighted in the echo area. > 8. Move point to column 0 of the third "message" sexp. > => Now "BODY" is highlighted in the echo area. > > The same (mis)highlighting pattern arises with dotimes. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.4 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.218.52 listed in dnsbl.sorbs.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (agrambot[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.218.52 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.52 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 8432 Cc: 8432@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: found 8432 25.1 quit Stephen Berman writes: > 1. emacs -Q > 2. In *scratch* insert the following sexp: > (dolist (e '(a b c)) > (message "Done") > (message "Done") > (message "Done")) > 3. M-x turn-on-eldoc-mode > 4. Putting point on (really, right after) the space after "dolist" makes > the echo area display this: > dolist: ((VAR LIST [RESULT]) BODY...) > 5. Move point one character to the right, onto (really, right after) the > left parenthesis before "e". > => Now "VAR" is highlighted in the echo area. Move point one more > character to the right and "VAR" is no longer highlighted (though > point is now really on/after the argument VAR of dolist). There is > no highlighting as point moves further rightwards, until it is at the > end of the line, right after the closing parenthesis of the argument > list: now "VAR" is highlighted again. > 6. Move point to column 0 of the first "message" sexp. > => Now "LIST" is highlighted in the echo area. > 7. Move point to column 0 of the second "message" sexp. > => Now "[RESULT]" is highlighted in the echo area. > 8. Move point to column 0 of the third "message" sexp. > => Now "BODY" is highlighted in the echo area. > > The same (mis)highlighting pattern arises with dotimes. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.4 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.218.52 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.218.52 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.52 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (agrambot[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid found 8432 25.1 quit Stephen Berman writes: > 1. emacs -Q > 2. In *scratch* insert the following sexp: > (dolist (e '(a b c)) > (message "Done") > (message "Done") > (message "Done")) > 3. M-x turn-on-eldoc-mode > 4. Putting point on (really, right after) the space after "dolist" makes > the echo area display this: > dolist: ((VAR LIST [RESULT]) BODY...) > 5. Move point one character to the right, onto (really, right after) the > left parenthesis before "e". > => Now "VAR" is highlighted in the echo area. Move point one more > character to the right and "VAR" is no longer highlighted (though > point is now really on/after the argument VAR of dolist). There is > no highlighting as point moves further rightwards, until it is at the > end of the line, right after the closing parenthesis of the argument > list: now "VAR" is highlighted again. > 6. Move point to column 0 of the first "message" sexp. > => Now "LIST" is highlighted in the echo area. > 7. Move point to column 0 of the second "message" sexp. > => Now "[RESULT]" is highlighted in the echo area. > 8. Move point to column 0 of the third "message" sexp. > => Now "BODY" is highlighted in the echo area. > > The same (mis)highlighting pattern arises with dotimes. I can reproduce this in Emacs 25.1. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 18:24:06 2016 Received: (at control) by debbugs.gnu.org; 18 Oct 2016 22:24:06 +0000 Received: from localhost ([127.0.0.1]:38483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwcnm-0001Nq-0l for submit@debbugs.gnu.org; Tue, 18 Oct 2016 18:24:06 -0400 Received: from mail-it0-f41.google.com ([209.85.214.41]:38684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwcnk-0001NK-DT for control@debbugs.gnu.org; Tue, 18 Oct 2016 18:24:04 -0400 Received: by mail-it0-f41.google.com with SMTP id 66so12113004itl.1 for ; Tue, 18 Oct 2016 15:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=LQchO/FRb+tec0ixNyrIj+L1duiqBPVvWCn6YFl+/JU=; b=vQGcI6lOJBqBNXZpzFGkE5dhgWprBrnePVkpDIKrvTocNOg6f4FdztkucnyQp1yibJ 5m+Wkg3xobwaUv6qGDrirT/PRnWsvVngUca+w8/+iOhhOViW4bAdVUNeNYXAkZIakkG+ +HffyXT1zW54b1PsqyKyTcopbF95mertXtIcsTpYKQsmuKNv1PNrH3ApbuMC9GWE+9d/ WkHCFlqWG3IESSPXag4O/hHo0G5RrHG5iU9ivktAqTg/4UN5dPBgOhIX5VdvfZsEhoTs V58k5f6zg4Bx24FOkLpSBmlbF5ZDKCA5iLYALBcDmUysZlUfhbXAfA2YLC0W5mP/KCpU 6Jyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=LQchO/FRb+tec0ixNyrIj+L1duiqBPVvWCn6YFl+/JU=; b=Om4hrxVrqUXZqCkJUjom7kXuzpLxKyDWT3pBO7PHtILqXkODqEdf3P5FiTWT6zco0W UPnLSPPIP6P0XnxMIUNptT/ltDvFatbN974pavwYxO6r5NZGiVhdES3Myc/RLGRT31qE K/sYhetv/8g/N0d6iimkhrEUOcoYM71JLfqoItKGaRPsvUSrFivbtx23vht2dqtyeB/E XGnHmyTGsMM09S6nsRSnZFn32A7qmWJ4Z7NjW6cbW1+rRoPJKdAlsN8OvPa5T5199tiR BbrURpUw7lVoKgc4DNMASS916sSfztL0TDV0KjW3M80R7zcraGO2Xj2z7DoCHtg3pybd UuZg== X-Gm-Message-State: AA6/9RlniQLR+rUMq7nN1GPelX79h13idvOOiUh6OIAJ/3gh/kzQfBBua88E+XHwg+ETRw== X-Received: by 10.36.201.198 with SMTP id h189mr17552214itg.75.1476829438662; Tue, 18 Oct 2016 15:23:58 -0700 (PDT) Received: from zony ([45.2.7.130]) by smtp.googlemail.com with ESMTPSA id t141sm2372466ita.0.2016.10.18.15.23.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Oct 2016 15:23:58 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#24732: 26.0.50; Incorrect eldoc for cl-flet (and possibly other CL macros) References: <87inspbb2l.fsf@gmx.net> Date: Tue, 18 Oct 2016 18:24:23 -0400 In-Reply-To: <87inspbb2l.fsf@gmx.net> (Stephen Berman's message of "Tue, 18 Oct 2016 23:29:22 +0200") Message-ID: <87bmyhuwh4.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) forcemerge 8432 24732 quit Stephen Berman writes: > On Tue, 18 Oct 2016 22:32:37 +0200 Philipp Stephani wrote: > >> M-x load-library RET cl-lib RET >> In *scratch*, enter: >> (cl-flet ((f (x) x)) (f 1)) >> Move point to the opening parenthesis of the (f 1) form. >> In the minibuffer you'll see >> cl-flet: (((FUNC ARGLIST BODY...) ...) FORM...) >> with ARGLIST in bold, but FORM should be bold because point is in FORM. > > Probably the same problem as reported in bug#8432. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 16 06:26:39 2020 Received: (at 8432) by debbugs.gnu.org; 16 Aug 2020 10:26:39 +0000 Received: from localhost ([127.0.0.1]:56933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Fs7-00087W-FH for submit@debbugs.gnu.org; Sun, 16 Aug 2020 06:26:39 -0400 Received: from mail-yb1-f173.google.com ([209.85.219.173]:42549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Fs2-000871-Tp for 8432@debbugs.gnu.org; Sun, 16 Aug 2020 06:26:37 -0400 Received: by mail-yb1-f173.google.com with SMTP id a34so7763147ybj.9 for <8432@debbugs.gnu.org>; Sun, 16 Aug 2020 03:26:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=QJbywXE7/uPsi5torQmD0Yxy7Z+r3o1PmaJec2PrU7M=; b=gaWsdq4D3UNhMw87Rxi6AaZ0/XpXwJuI2TXxhr+5eJh1TzNz/buDXsgO2rgOCHXXEQ 4Pfh1/lfVlEViYs4sBszDx8BXf2t7PqMfhY3JQ1ucUliBmevzcoQO8QIHtU8VoSpIlZW k0kk3XuiyazjWl3aJAjx/9KzDd+JwLwlEKAhOa8KdxFgg/UG9Jh8tWdXDzlEOgdvDWTA GDu0oVQ13dTO3DeDdKhKDD/Q5/dhbUPPqLfFdb+uGPyFQoUCmoX+02QA94MnIOr9kpIw mtd3iuA0vq50/WWBJWZ3AwqZ3g5dByMCePPQ69TzNuNQ3GQi3ms13J6U4LuHbVPXiLsh MxTw== X-Gm-Message-State: AOAM533wdeLub/QJmvRcalwAl57PU4JniYpZHRQJge8+RIJUy2EjwkHb GSJ/4Ym80zMkXstz/ImQ/Wsb1233LKYfyGWX098= X-Google-Smtp-Source: ABdhPJwxNP7/SnwXWRB+rTE9E7uAkqDqU6igz7ceLT0cfnlYwwXNkX1zp+BiFE1Jk+lqMTh1AWe0lzntffn95fJA7wo= X-Received: by 2002:a25:b290:: with SMTP id k16mr13741484ybj.389.1597573589356; Sun, 16 Aug 2020 03:26:29 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Aug 2020 03:26:29 -0700 From: Stefan Kangas In-Reply-To: <87vay653nt.fsf@gmail.com> (Alex's message of "Thu, 08 Sep 2016 18:15:50 -0600") References: <87zko3vk3i.fsf@escher.fritz.box> <87vay653nt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Sun, 16 Aug 2020 03:26:29 -0700 Message-ID: Subject: Re: bug#8432: 24.0.50; Eldoc highlighting is confused by dolist and dotimes To: Alex Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 8432 Cc: 8432@debbugs.gnu.org, Stephen Berman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) found 8432 28.0.50 thanks Alex writes: > found 8432 25.1 > quit > > Stephen Berman writes: > >> 1. emacs -Q >> 2. In *scratch* insert the following sexp: >> (dolist (e '(a b c)) >> (message "Done") >> (message "Done") >> (message "Done")) >> 3. M-x turn-on-eldoc-mode >> 4. Putting point on (really, right after) the space after "dolist" makes >> the echo area display this: >> dolist: ((VAR LIST [RESULT]) BODY...) >> 5. Move point one character to the right, onto (really, right after) the >> left parenthesis before "e". >> => Now "VAR" is highlighted in the echo area. Move point one more >> character to the right and "VAR" is no longer highlighted (though >> point is now really on/after the argument VAR of dolist). There is >> no highlighting as point moves further rightwards, until it is at the >> end of the line, right after the closing parenthesis of the argument >> list: now "VAR" is highlighted again. >> 6. Move point to column 0 of the first "message" sexp. >> => Now "LIST" is highlighted in the echo area. >> 7. Move point to column 0 of the second "message" sexp. >> => Now "[RESULT]" is highlighted in the echo area. >> 8. Move point to column 0 of the third "message" sexp. >> => Now "BODY" is highlighted in the echo area. >> >> The same (mis)highlighting pattern arises with dotimes. > > I can reproduce this in Emacs 25.1. Still reproducible on current master. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 03 19:52:27 2020 Received: (at 8432) by debbugs.gnu.org; 3 Oct 2020 23:52:28 +0000 Received: from localhost ([127.0.0.1]:44628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOrKF-0002gy-Nz for submit@debbugs.gnu.org; Sat, 03 Oct 2020 19:52:27 -0400 Received: from mout.web.de ([212.227.17.11]:38693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOrKD-0002gj-CR for 8432@debbugs.gnu.org; Sat, 03 Oct 2020 19:52:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1601769138; bh=+gANE2tMYdKhZxWNGCoe4vzOBMjcGBxlAZGCgG5v+o0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=n1ktgnBOEdV7BTj90q4yzHyhfoBZROgoT7E+WfdZGAZhOftIO6DH26Hamx3Bo5MH6 ZBkmnzPhmKmNqd9qCdmmU5k20ZJ3DwzKhMedrDFb5k5fTuEw29kDd50rvpL12QxoHb 5IF0pQvyuJ6OlZx856WnfzeCtC6GI+U+eHZ0eDgI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.220.78]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N5UkC-1kRr6O1S2M-01781a; Sun, 04 Oct 2020 01:52:18 +0200 From: Michael Heerdegen To: Stefan Kangas Subject: Re: bug#8432: 24.0.50; Eldoc highlighting is confused by dolist and dotimes References: <87zko3vk3i.fsf@escher.fritz.box> <87vay653nt.fsf@gmail.com> Date: Sun, 04 Oct 2020 01:52:17 +0200 In-Reply-To: (Stefan Kangas's message of "Sun, 16 Aug 2020 03:26:29 -0700") Message-ID: <87ft6udg0e.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:zgHrKWQJlJP0o2lUJQgZhqhZb8oLAAHhIsJhQK2rX+4miAaY1oN Zyw8X2zR58YrSz/bn1C4F8v1AGOuvOZWpT6Z3l4Kyn29+4q5uVQC9kfzXWAmoonNUgmmZ87 HCp7gFRM0Y4Yt1h+us9xhZHmHrbgHC2IWA1YAd4ywrCC9u3HwqYJ2azDYOipSQcQC2yhoox W5tKvM5hD2TkRD+EJ6k4Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wz/rfX/8ac4=:81syqnxONqPpw0oyH9BNSb YepZoTXPlJGRWs/SJ4UA7zRp/T8zSZLk8r/DwF9m9cOzh18ShTawUDXZrNXbFr5Z92y97oS0Y dS/D60W594Zih/Rm6nP32g3u6p3KJg+bHLZAitY0yt+kgk2O+tlBjjQwiEWakkANNV8ykJ1Fn yvpAw3dBymGMTHauZ9c9F84wQObUf+Ca2LhtbtEdFMlV1TSCnC1Tp6b4rpSomp8prwlE14Fem DmHi/YwDv870gyGeEza9+r3/lGuP1kJIHxmZ2hSvdwms+76OeOxEiZxFLe3rMyi9ewPbrlRVT MXmQhdx54gfvsxu89KU6c8dRGVrAslzazhlKUKUZNZOALWAPK3LQkwxayWRafWK15/lg4oZik M87KQ1dq0Tp2TJYW/7wt2euteiCYN0TWOAgSw1RNByNUKxwHijo3dBcF50WoFss2TJg4SWXwD LQi+6Wmt7Kp7U9vrR/XJQOrYWinG8/irTsWiDKxOBfk2wZFgcq0zHsPKzOKh1UutBv7TlbESX Nbx8Raq16677sTlQWiGcsv7onlzM8G/LvddylzMe5YoEbJQk1JbpYFu2jkBjYsEJAXI19YbYd hK6Gfj4NF5eYi9DMm1rFusaf8wmHUjUyLNNzxUfWtCXiLFFR7LNnWxADkuODxyJQyrCkeZZMy VOBMhTLbl0jVgoSRS+KfKnV/pGg3Ejh+pIpmWV8PBnSH9AE0TE7cMAxC1BgLsfalWU7Aef2mG bcfop9KcogryHYiqIi94zmZQi+7Gsb9NdZZmDaZHZ3OeVeFRCpDeHFn9DQlIHGHe6R0rL9DmX kI8P3PLPxeSe9YzE/60U/lsCh2clrFHZWSLHxZjWrURMt0OAmJiWlkphXPBHDXLnhPiwjLcfy f99dhN7mavZ6ONMnacEpWXe6RRqXhpxpHoYLPHExlfHH/Pz2cSV9uGsiqk8/DM/90BBGKF8d0 MjLOAxFgOmrZokpTUECA1MWFpa10T+LdMCaPY3BdrxE9aY2Qq5ngOtgEDZM8v3Oihvrtl79og Hw0SgRDTdCRsHj0MtZB/nBRTcn7zO4/V0OTgcZjJUJC7gyzTY/zSe5pjo2ML4PXvfu4wtK4KV /75jYNx9/79BiSR5CMfW650zprJgMkROVlHEXcArhZPgE0j1xBaxmXEmQHM81edVEmqprLeOB u9JRseeOuZlTNsDWGl3LJ2pHnffdFeuODFAN5htlnIeY5/aPk8/HFpb+KKy6r+YXnm/lulS8Z rmfcwAG8eLv3Lz65CrO/xjJ4fCFtVQ6Mg66AmgQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 8432 Cc: 8432@debbugs.gnu.org, Stephen Berman , Alex X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Stefan Kangas writes: > Still reproducible on current master. I guess the culprit is the same piece of code as in 27229 - the handling of "..." args in `elisp--highlight-function-argument'. It always cycles the highlighted arg as it is correct for some cases, e.g. `setq'. Michael.