From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#8432: 24.0.50; Eldoc highlighting is confused by dolist and dotimes Date: Sun, 16 Aug 2020 03:26:29 -0700 Message-ID: References: <87zko3vk3i.fsf@escher.fritz.box> <87vay653nt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28268"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 8432@debbugs.gnu.org, Stephen Berman To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 16 12:27:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k7Fse-0007E0-DQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 12:27:12 +0200 Original-Received: from localhost ([::1]:57342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7Fsc-0001Pe-M4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 06:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7FsU-0001PE-K8 for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 06:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7FsU-0005Ok-BQ for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7FsU-000889-59 for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8432 X-GNU-PR-Package: emacs Original-Received: via spool by 8432-submit@debbugs.gnu.org id=B8432.159757359931222 (code B ref 8432); Sun, 16 Aug 2020 10:27:02 +0000 Original-Received: (at 8432) by debbugs.gnu.org; 16 Aug 2020 10:26:39 +0000 Original-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 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Aug 2020 03:26:29 -0700 In-Reply-To: <87vay653nt.fsf@gmail.com> (Alex's message of "Thu, 08 Sep 2016 18:15:50 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185269 Archived-At: 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