unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Alex <agrambot@gmail.com>
Cc: 8432@debbugs.gnu.org, Stephen Berman <stephen.berman@gmx.net>
Subject: bug#8432: 24.0.50; Eldoc highlighting is confused by dolist and dotimes
Date: Sun, 16 Aug 2020 03:26:29 -0700	[thread overview]
Message-ID: <CADwFkm=Z26Dx2erdr-nxvDU9z-W=i4qX9Sbyq=wxqqquiHHa1w@mail.gmail.com> (raw)
In-Reply-To: <87vay653nt.fsf@gmail.com> (Alex's message of "Thu, 08 Sep 2016 18:15:50 -0600")

found 8432 28.0.50
thanks

Alex <agrambot@gmail.com> writes:

> found 8432 25.1
> quit
>
> Stephen Berman <stephen.berman@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.

Still reproducible on current master.

Best regards,
Stefan Kangas





  reply	other threads:[~2020-08-16 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-06  8:51 bug#8432: 24.0.50; Eldoc highlighting is confused by dolist and dotimes Stephen Berman
2016-09-09  0:15 ` Alex
2020-08-16 10:26   ` Stefan Kangas [this message]
2020-10-03 23:52     ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=Z26Dx2erdr-nxvDU9z-W=i4qX9Sbyq=wxqqquiHHa1w@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=8432@debbugs.gnu.org \
    --cc=agrambot@gmail.com \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).