GNU bug report logs - #8432
24.0.50; Eldoc highlighting is confused by dolist and dotimes

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Wed, 6 Apr 2011 08:52:02 UTC

Severity: minor

Merged with 24732

Found in versions 24.0.50, 28.0.50, 25.1, 26.0.50

Full log


Message #8 received at 8432 <at> debbugs.gnu.org (full text, mbox):

From: Alex <agrambot <at> gmail.com>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 8432 <at> debbugs.gnu.org
Subject: Re: bug#8432: 24.0.50;
 Eldoc highlighting is confused by dolist and dotimes
Date: Thu, 08 Sep 2016 18:15:50 -0600
found 8432 25.1
quit

Stephen Berman <stephen.berman <at> gmx.net> 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.




This bug report was last modified 4 years and 253 days ago.

Previous Next


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