From unknown Tue Jun 24 22:36:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20620 <20620@debbugs.gnu.org> To: bug#20620 <20620@debbugs.gnu.org> Subject: Status: Mouse highlighting not removed at end of mode-line Reply-To: bug#20620 <20620@debbugs.gnu.org> Date: Wed, 25 Jun 2025 05:36:54 +0000 retitle 20620 Mouse highlighting not removed at end of mode-line reassign 20620 emacs submitter 20620 Stefan Monnier severity 20620 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 20 18:03:16 2015 Received: (at submit) by debbugs.gnu.org; 20 May 2015 22:03:16 +0000 Received: from localhost ([127.0.0.1]:51538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvC54-0007aE-HB for submit@debbugs.gnu.org; Wed, 20 May 2015 18:03:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46842) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvC51-0007Zw-3A for submit@debbugs.gnu.org; Wed, 20 May 2015 18:03:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvC4u-00019o-F4 for submit@debbugs.gnu.org; Wed, 20 May 2015 18:03:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvC4u-00019i-CK for submit@debbugs.gnu.org; Wed, 20 May 2015 18:03:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvC4s-0003LG-KY for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 18:03:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvC4p-00017g-CJ for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 18:03:02 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:32013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvC4p-000174-6K for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 18:02:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CQEAA731xV/xaz+M5cgxABU16CULJTAZAMB4V5BAKBPjwRAQEBAQEBAYEKQQWEORMBSw8EIQEcDVWIDpsvtCCPbQEBBUYkhBUFi0SHBaB2gUUjgWYhAwEbgW4iMYEMgTsBAQE X-IPAS-Result: A0CQEAA731xV/xaz+M5cgxABU16CULJTAZAMB4V5BAKBPjwRAQEBAQEBAYEKQQWEORMBSw8EIQEcDVWIDpsvtCCPbQEBBUYkhBUFi0SHBaB2gUUjgWYhAwEbgW4iMYEMgTsBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="121316329" Received: from 206-248-179-22.dsl.teksavvy.com (HELO pastel.home) ([206.248.179.22]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 May 2015 18:02:58 -0400 Received: by pastel.home (Postfix, from userid 20848) id 456E32608; Wed, 20 May 2015 18:02:56 -0400 (EDT) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: Mouse highlighting not removed at end of mode-line Date: Wed, 20 May 2015 18:02:56 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Package: Emacs Version: 25.0.50 Do the following: src/emacs -Q --eval "(setcdr (memq 'mode-line-buffer-identification mode-line-format) nil)" and then move mouse from left to right over the mode-line When I try it, I see that as the mouse passes over "*scratch*" the buffer name is highlighted as it should, but once the mouse gets to the rest of the mode-line (which is empty) the highlighting lingers until the mouse actually leaves the mode-line. I originally noticed it in the up volume button of the mpc.el player (which is similarly highlighted and placed at the end of the header-line) but the above recipe is simpler. Stefan In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2015-04-28 on pastel Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.0 (jessie) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type 'CFLAGS=-Wall -g3 -Og -Wno-pointer-sign' PKG_CONFIG_PATH=/home/monnier/lib/pkgconfig' Configured features: XAW3D XPM JPEG TIFF GIF PNG SOUND GPM DBUS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: c-electric-flag: t shell-dirtrack-mode: t diff-auto-refine-mode: t electric-pair-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: Type C-c C-c to toggle between editing or viewing the document. When done with a buffer, type C-x # New window # for buf ex5-1.pdf New window # for buf ex3.pdf Marking diary entries...done New window t for buf Calendrier-scolaire.pdf Type C-c C-c to toggle between editing or viewing the document. When done with a buffer, type C-x # New window # for buf Calendrier-scolaire.pdf Appended 5 songs Load-path shadows: /home/monnier/src/emacs/elpa/packages/ada-mode/ada-ref-man hides /home/monnier/src/emacs/elpa/packages/ada-ref-man/ada-ref-man /home/monnier/src/emacs/elpa/packages/ada-mode/ada-prj hides /home/monnier/src/emacs/work/lisp/progmodes/ada-prj /home/monnier/src/emacs/elpa/packages/ada-mode/ada-stmt hides /home/monnier/src/emacs/work/lisp/progmodes/ada-stmt /home/monnier/src/emacs/elpa/packages/ada-mode/ada-mode hides /home/monnier/src/emacs/work/lisp/progmodes/ada-mode /home/monnier/src/emacs/elpa/packages/ada-mode/ada-xref hides /home/monnier/src/emacs/work/lisp/progmodes/ada-xref /home/monnier/src/emacs/elpa/packages/crisp/crisp hides /home/monnier/src/emacs/work/lisp/obsolete/crisp Features: (mail-extr emacsbug quail skeleton vc-annotate subr-x thai-util thai-word lao-util view disass haskell-indentation gud make-mode haskell-doc inf-haskell haskell-cabal haskell-utils haskell-decl-scan imenu haskell-font-lock haskell-indent haskell-mode haskell-string haskell-sort-imports haskell-align-imports flymake ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff sgml-mode reftex-dcr reftex reftex-vars tex-mode latexenc etags bbdb-com bbdb timezone reposition semantic/bovine/c semantic/db-mode semantic/decorate/include semantic/decorate/mode semantic/decorate pulse semantic/bovine/c-by semantic/lex-spp semantic/idle semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/ctxt semantic/format semantic/tag-ls semantic/find semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw cedet hideif cpp cmacexp cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-langs cc-vars cc-defs epa-file epa derived epg dabbrev mode-local ffap rect autorevert filenotify log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils mailheader log-view pcvs-util bug-reference add-log cal-french diary-lib diary-loaddefs cal-move smerge-mode shell grep compile xref whitespace vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-dir xscheme unsafep trace testcover shadow scheme re-builder inf-lisp gmm-utils ert ewoc elp edebug cl-indent vc eieio-opt speedbar sb-image ezimage dframe profiler ielm pp executable copyright ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-protocol org-mouse org-mobile org-agenda org-indent org-feed org-crypt org-capture org-attach vc-git diff-mode org-id cus-edit cus-start cus-load wid-edit vc-dispatcher vc-bzr filecache org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs debug misearch multi-isearch sort network-stream nsm starttls tls mpc server noutline outline easy-mmode flyspell ispell checkdoc thingatpt help-mode load-dir elec-pair url-handlers url-parse auth-source eieio warnings eieio-core cl-generic byte-opt bytecomp byte-compile cl-extra seq cconv gnus-util time-date mm-util mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl-macs cl gv pg-vars savehist minibuf-eldef disp-table edmacro kmacro cl-loaddefs pcase cl-lib advice help-fns info easymenu finder-inf package epg-config bbdb-autoloads agda2 vm-autoloads mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 1088122 266684) (symbols 24 138914 0) (miscs 20 21171 6748) (strings 16 246935 36502) (string-bytes 1 6537713) (vectors 8 99546) (vector-slots 4 3064121 360600) (floats 8 919 1197) (intervals 28 103647 7729) (buffers 520 138) (heap 1024 1188935 46678)) From debbugs-submit-bounces@debbugs.gnu.org Thu May 21 12:40:20 2015 Received: (at 20620-done) by debbugs.gnu.org; 21 May 2015 16:40:20 +0000 Received: from localhost ([127.0.0.1]:52324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvTW4-0002Db-Ah for submit@debbugs.gnu.org; Thu, 21 May 2015 12:40:20 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:42950) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvTVy-0002DG-5w for 20620-done@debbugs.gnu.org; Thu, 21 May 2015 12:40:14 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NOP00100KC5UN00@mtaout24.012.net.il> for 20620-done@debbugs.gnu.org; Thu, 21 May 2015 19:31:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NOP00K0DKK74N70@mtaout24.012.net.il>; Thu, 21 May 2015 19:31:19 +0300 (IDT) Date: Thu, 21 May 2015 19:39:55 +0300 From: Eli Zaretskii Subject: Re: bug#20620: Mouse highlighting not removed at end of mode-line In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83oald6g10.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20620-done Cc: 20620-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Date: Wed, 20 May 2015 18:02:56 -0400 > > src/emacs -Q --eval "(setcdr (memq 'mode-line-buffer-identification mode-line-format) nil)" > > and then > > move mouse from left to right over the mode-line > > When I try it, I see that as the mouse passes over "*scratch*" the > buffer name is highlighted as it should, but once the mouse gets to the > rest of the mode-line (which is empty) the highlighting lingers until > the mouse actually leaves the mode-line. Fixed in commit fc071bf. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu May 21 16:50:48 2015 Received: (at 20620-done) by debbugs.gnu.org; 21 May 2015 20:50:48 +0000 Received: from localhost ([127.0.0.1]:52401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvXQV-0008QW-MG for submit@debbugs.gnu.org; Thu, 21 May 2015 16:50:48 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:40338) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvXQS-0008QI-GT for 20620-done@debbugs.gnu.org; Thu, 21 May 2015 16:50:45 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t4LKoeGr010048; Thu, 21 May 2015 16:50:41 -0400 Received: by ceviche.home (Postfix, from userid 20848) id A8A6A660FA; Thu, 21 May 2015 16:50:41 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#20620: Mouse highlighting not removed at end of mode-line Message-ID: References: <83oald6g10.fsf@gnu.org> Date: Thu, 21 May 2015 16:50:41 -0400 In-Reply-To: <83oald6g10.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 May 2015 19:39:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5313=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5313> : inlines <3057> : streams <1442478> : uri <1936493> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 20620-done Cc: 20620-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > Fixed in commit fc071bf. You rock! Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri May 22 03:12:43 2015 Received: (at 20620) by debbugs.gnu.org; 22 May 2015 07:12:43 +0000 Received: from localhost ([127.0.0.1]:52538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yvh8M-0005aS-QP for submit@debbugs.gnu.org; Fri, 22 May 2015 03:12:43 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:33168) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yvh8K-0005aE-Bx for 20620@debbugs.gnu.org; Fri, 22 May 2015 03:12:41 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NOQ00800P0J6O00@a-mtaout23.012.net.il> for 20620@debbugs.gnu.org; Fri, 22 May 2015 10:12:33 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NOQ0078TPCWZRA0@a-mtaout23.012.net.il>; Fri, 22 May 2015 10:12:33 +0300 (IDT) Date: Fri, 22 May 2015 10:12:31 +0300 From: Eli Zaretskii Subject: Re: bug#20620: Mouse highlighting not removed at end of mode-line In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83d21t5bmo.fsf@gnu.org> References: <83oald6g10.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20620 Cc: 20620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: 20620-done@debbugs.gnu.org > Date: Thu, 21 May 2015 16:50:41 -0400 > > > Fixed in commit fc071bf. > > You rock! Thanks. I actually find it amazing that this simple bug survived undetected for so long. From unknown Tue Jun 24 22:36:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 19 Jun 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator