From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#8432: 24.0.50; Eldoc highlighting is confused by dolist and dotimes Date: Thu, 08 Sep 2016 18:15:50 -0600 Message-ID: <87vay653nt.fsf@gmail.com> References: <87zko3vk3i.fsf@escher.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473380191 3647 195.159.176.226 (9 Sep 2016 00:16:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2016 00:16:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 8432@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 02:16:27 2016 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 1bi9UM-0007es-VL for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Sep 2016 02:16:15 +0200 Original-Received: from localhost ([::1]:54789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi9UL-0001pq-0M for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 20:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi9UE-0001of-VJ for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi9U9-000564-Vd for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:16:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi9U9-00055z-RG for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bi9U9-0004ZM-Ml for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 20:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2016 00:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8432-submit@debbugs.gnu.org id=B8432.147338016017555 (code B ref 8432); Fri, 09 Sep 2016 00:16:01 +0000 Original-Received: (at 8432) by debbugs.gnu.org; 9 Sep 2016 00:16:00 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <87zko3vk3i.fsf@escher.fritz.box> (Stephen Berman's message of "Wed, 06 Apr 2011 10:51:13 +0200") 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:123097 Archived-At: 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.