From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fu Yuan Newsgroups: gmane.emacs.bugs Subject: bug#33160: 26.1; force-mode-line-update interferes button highlight Date: Fri, 26 Oct 2018 03:29:40 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008b0dc705791caf3d" X-Trace: blaine.gmane.org 1540538947 22562 195.159.176.226 (26 Oct 2018 07:29:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2018 07:29:07 +0000 (UTC) To: 33160@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 26 09:29:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFwYH-0005kV-VK for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2018 09:29:02 +0200 Original-Received: from localhost ([::1]:58648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFwaN-0003sk-QK for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2018 03:31:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFwaG-0003se-BB for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:31:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFwaF-0005rO-6Y for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:31:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38873) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFwaF-0005rA-2h for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFwaE-0008Sz-Lq for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fu Yuan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Oct 2018 07:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33160 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.154053900932426 (code B ref -1); Fri, 26 Oct 2018 07:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Oct 2018 07:30:09 +0000 Original-Received: from localhost ([127.0.0.1]:43131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFwZM-0008Qs-Jz for submit@debbugs.gnu.org; Fri, 26 Oct 2018 03:30:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFwZK-0008Pq-BZ for submit@debbugs.gnu.org; Fri, 26 Oct 2018 03:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFwZD-0005Cx-Rk for submit@debbugs.gnu.org; Fri, 26 Oct 2018 03:30:01 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFwZD-0005Cl-MV for submit@debbugs.gnu.org; Fri, 26 Oct 2018 03:29:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFwZC-0003l6-Gl for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:29:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFwZB-0005Av-Av for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:29:58 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:45350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFwZA-00059H-VV for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:29:57 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id j4-v6so174752ljc.12 for ; Fri, 26 Oct 2018 00:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=y0HrvTXcZgNLFfFa3o6sgPlDIu5hfcflPXJGnMfjtuI=; b=ZLl0n4dOvnriQSlK/uLOsuKfuFr/3acZSx80Vei4HOAdYvhSNiBsUd0QAe/ngg82GI 0xn30b54LEUW9QwzCf6GpTsazwnMucheZhtu9RNkiRkYV3Bu7jveTY3h6cEtqzO4OuY2 yy4tA9HEXfq0gKDMgUBpbNzZsAK0B+Rb52jdEGxJl+ihHZG6JX3TbiizMznifnIE51QU txtXWvK+mEoUfaYEhLQEDcNE9hHUZto2cjkhHPFuFbTdcgAY8soFtj37ncOAchdCvA/g IJXrRpXPGrS8sFebdswU6nnENuWCL+GBEOtZihq34L8NC1Cyep0UHOcYuWsCrExq9bFi HBYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=y0HrvTXcZgNLFfFa3o6sgPlDIu5hfcflPXJGnMfjtuI=; b=WNtUEcXLsweGWw5dygQASCQNN0K8bykTcjTRn8B1bz+qKpLcXx6HXfvxbUHMmWfqT8 vuNenKalDpjwlW7V3FyNPSWXknoHAOH89YpPBDji6BQ3loZEQWErDPCmIyniNGK5EGkX yLe/l9KV7RqvUhaSdMlLc73iXM3+AIsqQbPOwOEu5o/c7Esv6vmbGWlEKedMk6JJqCjp TvhY9ZH1+oPQH71cM5ryJSB1D5d4W3kHPo3uTLfoScXWSOKqSZXmB/EGASRC+tc1hEMW BwQz1jhEqb0vObi9WJWEHg6AqfauzV3aZVscQXVinusEYNYPEOZXGCQLo+4ewRquG2gA JBVQ== X-Gm-Message-State: AGRZ1gJvqfRZJcb2MLHE+YWaf14fbPedzMFKIX1bKmH0Mb5ar7swiziZ Vc8M27gYbYUGBRMySqvixrvVmeteAMI6eUqFZCXWniP/ X-Google-Smtp-Source: AJdET5fwOzUHhI+qQEB84EHpgclTC71CwrgJaL/xi8uGgyiUx5GsvvLRrDiQ84oySt2IKHw/oe+4pYd6U+8lCSXqPoA= X-Received: by 2002:a2e:9783:: with SMTP id y3-v6mr1595721lji.34.1540538994722; Fri, 26 Oct 2018 00:29:54 -0700 (PDT) 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.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151634 Archived-At: --0000000000008b0dc705791caf3d Content-Type: text/plain; charset="UTF-8" Symptom: Highlight on buttons disappears when `force-mode-line-update` runs Reproduce: - emacs -q - (run-at-time 0 0.3 'force-mode-line-update) - M-x customize (for it has a bunch of buttons) - Move cursor to a button, the highlight disappears in a blink Sincerely, Yuan In GNU Emacs 26.1 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.13.6 (Build 17G65)) of 2018-08-21 built on missSilver Windowing system distributor 'Apple', version 10.3.1671 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus/26.1/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus/26.1 --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 204151 9641) (symbols 48 20185 1) (miscs 40 70 162) (strings 32 28905 1351) (string-bytes 1 764039) (vectors 16 34995) (vector-slots 8 713652 9800) (floats 8 48 68) (intervals 56 220 0) (buffers 992 12)) --0000000000008b0dc705791caf3d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Symptom: Highlight o= n buttons disappears when `force-mode-line-update` runs

=
Reproduce:=
- emacs -q
- (run-at-time 0 0.3 'force-mode-line-update)
- M-x c= ustomize (for it has a bunch of buttons)
- Move cursor to a button, the h= ighlight disappears in a blink

Sincerely, Yuan

=
In GNU Ema= cs 26.1 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.1= 3.6 (Build 17G65))
=C2=A0of 2018-08-21 built on missSilver
Windowi= ng system distributor 'Apple', version 10.3.1671
Recent messages:=
For information about GNU Emacs and the GNU system, type C-h C-a.=

=
Configured using:
=C2=A0'configure --disable-dependency-tracking -= -disable-silent-rules
=C2=A0--enable-locallisppath=3D/usr/local/share/e= macs/site-lisp
=C2=A0--infodir=3D/usr/local/Cellar/emacs-plus/26.1/share/= info/emacs
=C2=A0--prefix=3D/usr/local/Cellar/emacs-plus/26.1 --with-xml2= --without-dbus
=C2=A0--with-gnutls --with-imagemagick --with-modules --w= ith-rsvg --with-ns
=C2=A0--disable-ns-self-contained'

Config= ured features:
JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLK= IT_SCROLL_BARS
NS MODULES THREADS LCMS2

Important settings:
= =C2=A0 value of $LC_ALL: en_US.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eld= oc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
= =C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow= -mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 a= uto-compression-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-m= ode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:
None f= ound.

Features:
(shadow sort mail-extr emacsbug message rmc puny= seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dir= ed-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa de= rived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies m= m-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2= 047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date<= /font>
mwh= eel term/ns-win ns-win ucs-normalize mule-util term/common-win
=
tool-bar d= nd fontset image regexp-opt fringe tabulated-list replace
newcomment text= -mode elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow= isearch timer select scroll-bar mouse jit-lock
font-lock syntax facemenu= font-core term/tty-colors frame cl-generic
cham georgian utf-8-lang misc= -lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp519= 32 hebrew greek romanian slovak czech
european ethiopic indian cyrillic c= hinese composite charscript charprop
case-table epa-hook jka-cmpr-hook he= lp simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button = faces cus-face macroexp files
text-properties overlay sha1 md5 base64 for= mat env code-pages mule
custom widget hashtable-print-readable backquote = kqueue cocoa ns lcms2
multi-tty make-network-process emacs)

Me= mory information:
((conses 16 204151 9641)
=C2=A0(symbols 48 20185 1)
=C2=A0(miscs 40 70 162)
=C2=A0(strings 32 28905 1351)
=C2=A0(string-by= tes 1 764039)
=C2=A0(vectors 16 34995)
=C2=A0(vector-slots 8 713652 980= 0)
=C2=A0(floats 8 48 68)
=C2=A0(intervals 56 220 0)
=C2=A0(buffers 9= 92 12))

--0000000000008b0dc705791caf3d--