From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#8432: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302080870 2085 80.91.229.12 (6 Apr 2011 09:07:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2011 09:07:50 +0000 (UTC) To: 8432@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 06 11:07:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7OiH-00019h-5t for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Apr 2011 11:07:45 +0200 Original-Received: from localhost ([127.0.0.1]:36315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7OiE-0003pV-Gg for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Apr 2011 05:07:43 -0400 Original-Received: from [140.186.70.92] (port=32924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7Oi0-0003lM-DN for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 05:07:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7Ohv-0007Km-5q for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 05:07:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7Ohv-0007Ki-4M for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 05:07:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q7OT4-00020D-DA; Wed, 06 Apr 2011 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Apr 2011 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13020798977657 (code B ref -1); Wed, 06 Apr 2011 08:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Apr 2011 08:51:37 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-Received: (qmail invoked by alias); 06 Apr 2011 08:51:15 -0000 Original-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 Original-Received: by escher.home (Postfix, from userid 1000) id CB11362965; Wed, 6 Apr 2011 10:51:13 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 06 Apr 2011 04:52:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45662 Archived-At: 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