From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jul 2017 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27647@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.149972007515582 (code B ref -1); Mon, 10 Jul 2017 20:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2017 20:54:35 +0000 Received: from localhost ([127.0.0.1]:33058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUfhQ-00043C-8Q for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUfhN-00042r-1E for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUfhB-0007Us-Gn for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dUfhB-0007Ue-Bp for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUfh4-0007ZB-9V for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 16:54:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUfgx-0007PV-IG for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 16:54:10 -0400 Received: from mail-lf0-f50.google.com ([209.85.215.50]:36825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUfgw-0007Ow-TD for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 16:54:03 -0400 Received: by mail-lf0-f50.google.com with SMTP id h22so70791059lfk.3 for ; Mon, 10 Jul 2017 13:54:02 -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=RwbjAlnCvqq+ikin2OTBYsDdjO/vJ5o2yo70l+IvEHU=; b=SY15SbI3j5lE98PAAnJjLwYD/fPqxPbYg558qrKTJ/1P8/1KzYMmw54N77R9VLXu+Z zVFqMIjj3j1Nriws+7SLOnXo8cbubtCGd2Y7ZqVNMvDg/I4+scb0o+MOL5VuSbIiW61m q5SR0/dvG4kdpyLST35Y/M/HyJqBT8UI5Ij4ZATRpcquQYXUxoSWJeQd4rbTx3K/HwoI iJAULSMbzby0rLq3V83vSGT1dqQ1pZW0ldmQvZeTpMnwWG4ILd9Zb6bGTniFWPta1j6E JiDSaHRWSd5ycAacDTpHnRUIl0aIr6gkDlle7eNgg40PkIqzJV/3xNp+wATsPXuh/xrt rTTA== 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=RwbjAlnCvqq+ikin2OTBYsDdjO/vJ5o2yo70l+IvEHU=; b=aRqbWTW/fY4wL55iTSzSPS01FaZLxg+C1B9G7e52ISn4ibFSVLtMQlOY2J3W1PmYbp 3t4pjsk8c5KGQQYgiErf9vxSaGEZJqyBN048Ka6TLwj6pNyLFgGm5P6s8LlZJxgurwlQ sod5DNssb/+HLbes3FJEF/GZwtnEO3snG0VDwAaIIZw7P6la1GNpio3H4/yPkPMRq2Vv Bk75RoSr6v8S+2mt6sgWj0Wg2NNz4BgfQmpZUr8eUMbQh21JJ9qAaDkKXjvxGEWXz5p1 27c2WIzdHYuLQxrYQOFHuK3W13f4z+JDTFt6In0jiZdeqfqpr7CYVLtIKdEDLEl9HB7d rGjw== X-Gm-Message-State: AIVw111rDWRLLFo/tBqpagdVNdLCkC3eodQBv92Z1/gi8AdAxSJP0ekV hInHtYOGOmV36ltmLvm2ojq2VevO4w== X-Received: by 10.25.80.17 with SMTP id e17mr1951248lfb.95.1499719979659; Mon, 10 Jul 2017 13:52:59 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Mon, 10 Jul 2017 20:52:49 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c1cbeb2a677990553fcc4c4" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.5 (---) --94eb2c1cbeb2a677990553fcc4c4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I use the new native line number display feature in this fashion: =3D=3D=3D=3D=3D (defconst modi/linum-mode-hooks '(verilog-mode-hook emacs-lisp-mode-hook cperl-mode-hook c-mode-hook python-mode-hook matlab-mode-hook sh-mode-hook web-mode-hook html-mode-hook css-mode-hook makefile-gmake-mode-hook tcl-mode-hook conf-space-mode-hook d-mode-hook sml-mode-hook nim-mode-hook yaml-mode-hook) "List of hooks of major modes in which a =E2=80=9Clinum=E2=80=9D mode sho= uld be enabled.") ;I know I should switch to using prog-mode-hook at some point (defun modi/native-linum-absolute () "Set buffer-local variable `display-line-numbers' to t." (interactive) (setq display-line-numbers t)) (defun modi/turn-on-native-linum () "Turn on native line numbers in specific modes." (interactive) (if modi/linum-mode-enable-global (progn (dolist (hook modi/linum-mode-hooks) (remove-hook hook #'modi/native-linum-absolute)) (setq-default display-line-numbers t)) (progn (when global-linum-mode (setq-default display-line-numbers nil)) (dolist (hook modi/linum-mode-hooks) (add-hook hook #'modi/native-linum-absolute))))) (modi/turn-on-native-linum) =3D=3D=3D=3D=3D The full linum management code is here[1]; above is just the relevant part from that. It works. But seemingly randomly, the line numbers disappear when the emacs frame is not in focus. I do not know if my setup has to do with this but here are the details: - I build emacs master on RHEL 6.6. - I access the RHEL machine via VNC on Windows 7 Enterprise (work) - Occasionally I would venture into Windows to get work email (Outlook) or to the Chrome browwer in Windows. - With the way my monitors are set up, one monitor would should the VNC window showing the emacs frame and another monitor would should Outlook. Then as I would be working on something in Outlook, I would see from the corner of my eye that the line numbers disappeared from the emacs window with code in verilog-mode. Clicking again on the emacs frame (in VNC, remember) would bring the line numbers back. As I mentioned on emacs-devel, I cannot recreate this behavior and so cannot come up with steps to recreate this on emacs -Q. How can I help debug this otherwise: - Can I add something locally to the C code so that certain hooks get triggered when the line numbers display is turned on/off? [1]: https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-linum= .el In GNU Emacs 26.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2017-07-10 Repository revision: 0440c748aaec9b8b32c8cb268f6e24e874fedc75 Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago) Recent messages: Finished reverting buffers containing unmodified files. Desktop saved in ~/.emacs.d/ Note: file is write protected Mark set Note: file is write protected Configured using: 'configure --with-modules --prefix=3D/home/kmodi/usr_local/apps/6/emacs/master '--program-transform-name=3Ds/^ctags$/ctags_emacs/' 'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0' 'CXXFLAGS=3D-ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Verilog Minor modes in effect: ace-window-display-mode: t global-auto-complete-mode: t auto-complete-mode: t yas-minor-mode: t minibuffer-line-mode: t flyspell-mode: t which-key-mode: t ivy-mode: t projectile-mode: t global-hardcore-mode: t hardcore-mode: t modi/verilog-do-not-read-includes-defines-mode: t desktop-save-mode: t save-place-mode: t minibuffer-depth-indicate-mode: t winner-mode: t smart-mark-mode: t delete-selection-mode: t which-function-mode: t global-undo-tree-mode: t undo-tree-mode: t rainbow-delimiters-mode: t global-page-break-lines-mode: t outline-minor-mode: t keyfreq-autosave-mode: t keyfreq-mode: t global-hungry-delete-mode: t hungry-delete-mode: t volatile-highlights-mode: t global-hi-lock-mode: t hi-lock-mode: t diff-auto-refine-mode: t global-git-commit-mode: t recentf-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t engine-mode: t beacon-mode: t shackle-mode: t mode-line-space-mode: t display-time-mode: t ctags-auto-update-mode: t ggtags-mode: t modi-mode: t override-global-mode: t show-paren-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: (only . t) abbrev-mode: t Load-path shadows: /home/kmodi/.emacs.d/elisp/verilog-mode/verilog-mode hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/progmode= s/verilog-mode /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mac= ro hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= macro /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-texi= nfo hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-t= exinfo /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-publ= ish hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-p= ublish /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-o= rg /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-odt hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-o= dt /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-md hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-m= d /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-man hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-m= an /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-late= x hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-l= atex /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-ical= endar hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-i= calendar /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-html hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-h= tml /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-lis= t hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= list /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-bbd= b hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= bbdb /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-att= ach hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= attach /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-shen hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= hen /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-shel= l hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= hell /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-js hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-j= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-hask= ell hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-h= askell /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-fac= es hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= faces /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-beam= er hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-b= eamer /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-w3m hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= w3m /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-asci= i hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-a= scii /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-tabl= e hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-t= able /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-pyth= on hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= ython /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-tim= er hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= timer /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-tab= le hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= table /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-src hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= src /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-rma= il hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= rmail /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-pro= tocol hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= protocol /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-plo= t hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= plot /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-pco= mplete hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= pcomplete /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mou= se hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= mouse /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mob= ile hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= mobile /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mhe hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= mhe /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mac= s hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= macs /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-lin= t hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= lint /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-irc hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= irc /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-inl= inetask hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= inlinetask /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-inf= o hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= info /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ind= ent hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= indent /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-id hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= id /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-hab= it hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= habit /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-gnu= s hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= gnus /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-foo= tnote hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= footnote /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-fee= d hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= feed /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-eww hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= eww /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-esh= ell hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= eshell /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ent= ities hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= entities /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ele= ment hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= element /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-doc= view hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= docview /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-dat= etree hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= datetree /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cta= gs hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= ctags /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cry= pt hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= crypt /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-com= pat hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= compat /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-col= view hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= colview /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-clo= ck hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= clock /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cap= ture hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= capture /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-bib= tex hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= bibtex /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-arc= hive hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= archive /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-age= nda hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= agenda /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-tang= le hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-t= angle /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-stan hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= tan /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sqli= te hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= qlite /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sql hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= ql /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sed hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= ed /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-scre= en hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= creen /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-fort= ran hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-f= ortran /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sche= me hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= cheme /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-scal= a hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= cala /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sass hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= ass /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ruby hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-r= uby /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-R hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-R /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ref hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-r= ef /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-proc= essing hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= rocessing /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-plan= tuml hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= lantuml /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-pico= lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= icolisp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-perl hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= erl /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-o= rg /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-octa= ve hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-o= ctave /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ocam= l hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-o= caml /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-mscg= en hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= scgen /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-maxi= ma hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= axima /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-matl= ab hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= atlab /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-make= file hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= akefile /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lua hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= ua /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lob hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= ob /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= isp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lily= pond hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= ilypond /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ledg= er hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= edger /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-late= x hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= atex /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-keys hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-k= eys /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-J hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-J /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-java hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-j= ava /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-io hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-i= o /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-groo= vy hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-g= roovy /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-gnup= lot hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-g= nuplot /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-fort= h hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-f= orth /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-exp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= xp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-eval hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= val /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-emac= s-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= macs-lisp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ebnf hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= bnf /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-dot hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-d= ot /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-dita= a hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-d= itaa /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-css hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= ss /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-core hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= ore /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-coq hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= oq /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-comi= nt hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= omint /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-cloj= ure hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= lojure /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-C hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-C /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-asym= ptote hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-a= symptote /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-calc hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= alc /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-awk hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-a= wk /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ver= sion hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= version /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-loa= ddefs hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= loaddefs /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ins= tall hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= install /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-abc hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-a= bc Features: (shadow sort mail-extr emacsbug sendmail expand-region text-mode-expansions cc-mode-expansions the-org-mode-expansions js-mode-expansions web-mode-expansions html-mode-expansions css-mode-expansions er-basic-expansions expand-region-core expand-region-custom mc-mark-more multiple-cursors-core rect web-mode mhtml-mode css-mode js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode ox-hugo ox-blackfriday ox-md ox-minutes ox-twbs ox-reveal ox-html-fancybox ox-latex ox-html table ox-ascii ox-publish ox drag-stuff info-look two-column vc-annotate whitespace eieio-opt speedbar sb-image ezimage dframe ace-window avy smex ido bug-reference warnings log-view magit-submodule magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-branch magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip misearch multi-isearch mm-archive network-stream starttls url-http tls gnutls url-gw nsm url-cache url-auth paradox paradox-menu paradox-commit-list paradox-execute paradox-github paradox-core spinner xsos-fns sos-fns vc-mtn vc-hg org-table markdown-mode eww mm-url gnus nnheader time-stamp vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs copyright cursor-sensor colir color counsel esh-util swiper tabify org-datetree org-eldoc org-indent org-info org-capture auto-complete-config setup-desktop header2 iso-transl jka-compr fill-column-indicator conf-mode csh-mode sh-script smie executable flycheck flymake auto-complete popup yasnippet tramp tramp-compat tramp-loaddefs trampver ucs-normalize parse-time minibuffer-line flyspell ispell which-key ivy-hydra ivy ivy-overlay ffap ibuffer-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs hardcore-mode vc-git verilog-mode desktop frameset setup-pragmata-ligatures setup-font-check smyx-theme diff-hl vc-dir vc vc-dispatcher setup-misc saveplace setup-personal my-patches setup-meme setup-work setup-windows-buffers mb-depth winner setup-unicode setup-toggles setup-spell setup-search setup-registers setup-print setup-pdf setup-navigation setup-mouse setup-launcher setup-image setup-editing smart-mark unfill zop-to-char delsel setup-compile setup-backup setup-yaml-mode setup-web-mode setup-verilog setup-toml setup-hugo setup-tcl setup-sml setup-spice setup-shell setup-python setup-perl setup-nim setup-matlab setup-markdown setup-latex preview-latex tex-site auto-loads setup-elisp easy-escape setup-conf setup-clojure setup-yasnippet setup-xkcd setup-writegood writegood-mode setup-wrap-region wrap-region setup-wordnut setup-wolfram setup-which-key setup-which-func which-func imenu setup-weather setup-undo-tree undo-tree diff setup-tldr setup-tiny setup-term setup-sx setup-smex setup-server setup-rainbow-mode setup-rainbow-delimiters rainbow-delimiters setup-projectile setup-poporg setup-pomodoro setup-pcache pcache eieio-base cl setup-page-break-lines disp-table page-break-lines setup-outshine foldout outshine outshine-org-cmds outorg org-sticky-header org-include-img-from-archive org-include-img-from-pdf org-include-src-lines ob-org ob-latex ob-dot ob-ditaa ob-plantuml ob-awk ob-python ob-shell org-link-ref elfeed-link org-element elfeed-show elfeed-search bookmark pp shr svg dom elfeed-csv elfeed elfeed-curl url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap elfeed-log elfeed-db elfeed-lib url-util avl-tree url-queue browse-url xml-query xml org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs noutline outline setup-orgstruct setup-org setup-news setup-neotree setup-multiple-cursors setup-manage-minor-mode setup-linum nlinum linum setup-kurecolor setup-keyfreq keyfreq setup-info info+ thingatpt setup-indent-guide setup-imenu-list setup-ivy setup-ibuffer setup-hungry-delete hungry-delete setup-htmlize setup-highlight hl-line+ hl-line volatile-highlights hi-lock setup-header2 setup-hardcore setup-magit magit-log magit-diff smerge-mode diff-mode git-commit recentf tree-widget log-edit message subr-x puny dired+ image-dired image-mode image-file help-fns+ wid-edit help-fns radix-tree dired-aux dired-x dired dired-loaddefs rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-process with-editor shell pcomplete server magit-margin magit-mode magit-git magit-section magit-utils crm magit-popup async-bytecomp async format-spec setup-git-timemachine setup-git-link setup-diff setup-gist setup-flycheck setup-fold yafolding fold-this setup-fci setup-expand-region setup-engine-mode engine-mode setup-el2markdown setup-eww setup-emamux setup-elfeed setup-drag-stuff setup-dired setup-deft setup-de-ansify setup-counsel setup-command-log-mode setup-calc setup-buffer-move setup-bookmarks setup-beacon beacon setup-auto-complete setup-artist setup-all setup-ag setup-ace-window setup-abbrev setup-shackle shackle setup-visual generic setup-mode-line smart-mode-line-dark-theme smart-mode-line rich-minority time setup-tags ctags-update ggtags etags xref project compile comint ansi-color ewoc pcase setup-hydra hydra ring lv setup-key-chord setup-region-bindings-mode region-bindings-mode cl-extra help-mode setup-paradox temp-mode modi-mode use-package-chords bind-chord key-chord use-package diminish bind-key easy-mmode benchmark-init advice setup-packages gh-common gh-profile rx s marshal eieio-compat ht json map dash finder-inf info edmacro kmacro package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib general time-date paren cus-start cus-load setup-var-overrides mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1183215 148637) (symbols 48 67796 6) (miscs 40 3522 2777) (strings 32 513032 17874) (string-bytes 1 20726162) (vectors 16 107472) (vector-slots 8 2530595 135460) (floats 8 1157 1484) (intervals 56 11547 29183) (buffers 976 143) (heap 1024 296711 191906)) --=20 Kaushal Modi --94eb2c1cbeb2a677990553fcc4c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I use the new native = line number display feature in this fashion:

=3D= =3D=3D=3D=3D
(defconst modi/linum-mode-hooks '(verilog-m= ode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 emacs-lisp-m= ode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cperl-mode-h= ook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 c-mode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 python-mode-hook
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 matlab-mode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sh-mode-hook
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 web-mode-hook
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 html-mode-hook
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 css-mode-hook
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 makefile-gmake-mode-hook
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tcl-mode-hook
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 conf-space-mode-hook
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 d-mode-hook
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 sml-mode-hook
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 nim-mode-hook
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 yaml-mode-hook)
=C2=A0 "List of hooks o= f major modes in which a =E2=80=9Clinum=E2=80=9D mode should be enabled.&qu= ot;) ;I know I should switch to using prog-mode-hook at some point

(defun modi/native-linum-absolute ()
=C2=A0 &quo= t;Set buffer-local variable `display-line-numbers' to t."
=C2=A0 (interactive)
=C2=A0 (setq display-line-numbers t))

(defun modi/turn-on-native-linum ()
=C2=A0 &= quot;Turn on native line numbers in specific modes."
=C2=A0 = (interactive)
=C2=A0 (if modi/linum-mode-enable-global
= =C2=A0 =C2=A0 =C2=A0 (progn
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (dolist (= hook modi/linum-mode-hooks)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (r= emove-hook hook #'modi/native-linum-absolute))
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 (setq-default display-line-numbers t))
=C2=A0 =C2= =A0 (progn
=C2=A0 =C2=A0 =C2=A0 (when global-linum-mode
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq-default display-line-numbers nil))
=
=C2=A0 =C2=A0 =C2=A0 (dolist (hook modi/linum-mode-hooks)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 (add-hook hook #'modi/native-linum-absolute= )))))

(modi/turn-on-native-linum)
= =3D=3D=3D=3D=3D

The full linum management code is = here[1]; above is just the relevant part from that.

It works.

But seemingly randomly, the line = numbers disappear when the emacs frame is not in focus.

I do not know if my setup has to do with this but here are the detail= s:

- I build emacs master on RHEL 6.6.
-= I access the RHEL machine via VNC on Windows 7 Enterprise (work)
- Occasionally I would venture into Windows to get work email (Outlook) or= to the Chrome browwer in Windows.
- With the way my monitors are= set up, one monitor would should the VNC window showing the emacs frame an= d another monitor would should Outlook.

Then as I = would be working on something in Outlook, I would see from the corner of my= eye that the line numbers disappeared from the emacs window with code in v= erilog-mode. Clicking again on the emacs frame (in VNC, remember) would bri= ng the line numbers back.

As I mentioned on emacs-= devel, I cannot recreate this behavior and so cannot come up with steps to = recreate this on emacs -Q.

How can I help de= bug this otherwise:
- Can I add something locally to the C code s= o that certain hooks get triggered when the line numbers display is turned = on/off?


In GNU Emacs 26.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ V= ersion 2.24.23)
=C2=A0of 2017-07-10
Repository revi= sion: 0440c748aaec9b8b32c8cb268f6e24e874fedc75
Windowing system d= istributor 'The X.Org Foundation', version 11.0.60900000
= System Description: Red Hat Enterpri= se Linux Workstation release 6.6 (Santiago)

Recent= messages:
Finished reverting buffers containing unmodified files= .
Desktop saved in ~/.emacs.d/
Note: file is write prot= ected
Mark set
Note: file is write protected
=
Configured using:
=C2=A0'configure --with-modu= les
=C2=A0--prefix=3D/home/kmodi/usr_local/apps/6/emacs/master
=C2=A0'--program-transform-name=3Ds/^ctags$/ctags_emacs/'
=C2=A0'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/usr/inc= lude/freetype2
=C2=A0-I/usr/include' 'CFLAGS=3D-ggdb3 -O0= ' 'CXXFLAGS=3D-ggdb3 -O0'
=C2=A0'LDFLAGS=3D-L/hom= e/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64
=C2=A0-gg= db3''

Configured features:
XPM J= PEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
= NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOO= LKIT_SCROLL_BARS GTK2 X11 MODULES

Important settin= gs:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of = $XMODIFIERS: @im=3Dnone
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Verilog

Minor = modes in effect:
=C2=A0 ace-window-display-mode: t
=C2= =A0 global-auto-complete-mode: t
=C2=A0 auto-complete-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 minibuffer-line-mode: t
=C2=A0 flyspell-mode: t
=C2=A0 which-key-mode: t
=C2=A0 ivy-mode: t
=C2=A0 projectile-mode: t
=C2=A0 g= lobal-hardcore-mode: t
=C2=A0 hardcore-mode: t
=C2=A0 m= odi/verilog-do-not-read-includes-defines-mode: t
=C2=A0 desktop-s= ave-mode: t
=C2=A0 save-place-mode: t
=C2=A0 minibuffer= -depth-indicate-mode: t
=C2=A0 winner-mode: t
=C2=A0 sm= art-mark-mode: t
=C2=A0 delete-selection-mode: t
=C2=A0= which-function-mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo-tree-mode: t
=C2=A0 rainbow-delimiters-mode: t
=
=C2=A0 global-page-break-lines-mode: t
=C2=A0 outline-minor-= mode: t
=C2=A0 keyfreq-autosave-mode: t
=C2=A0 keyfreq-= mode: t
=C2=A0 global-hungry-delete-mode: t
=C2=A0 hung= ry-delete-mode: t
=C2=A0 volatile-highlights-mode: t
= =C2=A0 global-hi-lock-mode: t
=C2=A0 hi-lock-mode: t
= =C2=A0 diff-auto-refine-mode: t
=C2=A0 global-git-commit-mode: t<= /div>
=C2=A0 recentf-mode: t
=C2=A0 magit-auto-revert-mode: t=
=C2=A0 shell-dirtrack-mode: t
=C2=A0 async-bytecomp-pa= ckage-mode: t
=C2=A0 engine-mode: t
=C2=A0 beacon-mode:= t
=C2=A0 shackle-mode: t
=C2=A0 mode-line-space-mode: = t
=C2=A0 display-time-mode: t
=C2=A0 ctags-auto-update-= mode: t
=C2=A0 ggtags-mode: t
=C2=A0 modi-mode: t
=
=C2=A0 override-global-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
<= div>=C2=A0 prettify-symbols-mode: t
=C2=A0 file-name-shadow-mode:= t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mod= e: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryp= tion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buf= fer-read-only: t
=C2=A0 column-number-mode: t
=C2=A0 li= ne-number-mode: t
=C2=A0 transient-mark-mode: (only . t)
=C2=A0 abbrev-mode: t

Load-path shadows:
/home/kmodi/.emacs.d/elisp/verilog-mode/verilog-mode hides /home/kmodi/u= sr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/progmodes/verilog-mod= e
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp= /org/org-macro hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/= 26.0.50/lisp/org/org-macro
/home/kmodi/usr_local/apps/6/emacs/mas= ter/share/emacs/site-lisp/org/ox-texinfo hides /home/kmodi/usr_local/apps/6= /emacs/master/share/emacs/26.0.50/lisp/org/ox-texinfo
/home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-publish hides /= home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-pu= blish
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-= lisp/org/ox-org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs= /26.0.50/lisp/org/ox-org
/home/kmodi/usr_local/apps/6/emacs/maste= r/share/emacs/site-lisp/org/ox-odt hides /home/kmodi/usr_local/apps/6/emacs= /master/share/emacs/26.0.50/lisp/org/ox-odt
/home/kmodi/usr_local= /apps/6/emacs/master/share/emacs/site-lisp/org/ox-md hides /home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-md
/hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-man hide= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox= -man
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/ox-latex hides /home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/26.0.50/lisp/org/ox-latex
/home/kmodi/usr_local/apps/6/emacs/ma= ster/share/emacs/site-lisp/org/ox-icalendar hides /home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-icalendar
/home/= kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-html hides= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-= html
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/ox hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0= .50/lisp/org/ox
/home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/site-lisp/org/org-list hides /home/kmodi/usr_local/apps/6/emacs/master= /share/emacs/26.0.50/lisp/org/org-list
/home/kmodi/usr_local/apps= /6/emacs/master/share/emacs/site-lisp/org/org-bbdb hides /home/kmodi/usr_lo= cal/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-bbdb
/ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-attach= hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/o= rg/org-attach
/home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/site-lisp/org/ob-shen hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/ob-shen
/home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/site-lisp/org/ob-shell hides /home/kmodi/usr_local/= apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-shell
/home/k= modi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-js hides /h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-js<= /div>
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/o= rg/ob-haskell hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/ob-haskell
/home/kmodi/usr_local/apps/6/emacs/mas= ter/share/emacs/site-lisp/org/org-faces hides /home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/26.0.50/lisp/org/org-faces
/home/kmodi/u= sr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob hides /home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob
/h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-beamer= hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/o= rg/ox-beamer
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/org-w3m hides /home/kmodi/usr_local/apps/6/emacs/master/sha= re/emacs/26.0.50/lisp/org/org-w3m
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/ox-ascii hides /home/kmodi/usr_local/a= pps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-ascii
/home/km= odi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-table hides = /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-t= able
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/ob-python hides /home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/26.0.50/lisp/org/ob-python
/home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/site-lisp/org/org-timer hides /home/kmodi/usr_local/apps= /6/emacs/master/share/emacs/26.0.50/lisp/org/org-timer
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-table hides /= home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-t= able
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/org-src hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs= /26.0.50/lisp/org/org-src
/home/kmodi/usr_local/apps/6/emacs/mast= er/share/emacs/site-lisp/org/org-rmail hides /home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/26.0.50/lisp/org/org-rmail
/home/kmodi/us= r_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-protocol hides /h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-pr= otocol
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site= -lisp/org/org-plot hides /home/kmodi/usr_local/apps/6/emacs/master/share/em= acs/26.0.50/lisp/org/org-plot
/home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/site-lisp/org/org-pcomplete hides /home/kmodi/usr_local/= apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-pcomplete
/h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mouse= hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/o= rg/org-mouse
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/org-mobile hides /home/kmodi/usr_local/apps/6/emacs/master/= share/emacs/26.0.50/lisp/org/org-mobile
/home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/site-lisp/org/org-mhe hides /home/kmodi/usr_lo= cal/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-mhe
/hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-macs hi= des /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/= org-macs
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/si= te-lisp/org/org-lint hides /home/kmodi/usr_local/apps/6/emacs/master/share/= emacs/26.0.50/lisp/org/org-lint
/home/kmodi/usr_local/apps/6/emac= s/master/share/emacs/site-lisp/org/org-irc hides /home/kmodi/usr_local/apps= /6/emacs/master/share/emacs/26.0.50/lisp/org/org-irc
/home/kmodi/= usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-inlinetask hide= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/or= g-inlinetask
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/org-info hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/org-info
/home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/site-lisp/org/org-indent hides /home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-indent
/h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-id hi= des /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/= org-id
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site= -lisp/org/org-habit hides /home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/26.0.50/lisp/org/org-habit
/home/kmodi/usr_local/apps/6/emac= s/master/share/emacs/site-lisp/org/org-gnus hides /home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/26.0.50/lisp/org/org-gnus
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-footnote hide= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/or= g-footnote
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/= site-lisp/org/org-feed hides /home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/26.0.50/lisp/org/org-feed
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/org-eww hides /home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-eww
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-eshell hides = /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= eshell
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site= -lisp/org/org-entities hides /home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/26.0.50/lisp/org/org-entities
/home/kmodi/usr_local/apps/= 6/emacs/master/share/emacs/site-lisp/org/org-element hides /home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-element
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org h= ides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org= /org
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/org-docview hides /home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/26.0.50/lisp/org/org-docview
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/org-datetree hides /home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-datetree
= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cta= gs hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp= /org/org-ctags
/home/kmodi/usr_local/apps/6/emacs/master/share/em= acs/site-lisp/org/org-crypt hides /home/kmodi/usr_local/apps/6/emacs/master= /share/emacs/26.0.50/lisp/org/org-crypt
/home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/site-lisp/org/org-compat hides /home/kmodi/usr= _local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-compat
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-c= olview hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/= lisp/org/org-colview
/home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/site-lisp/org/org-clock hides /home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/26.0.50/lisp/org/org-clock
/home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/site-lisp/org/org-capture hides /home/km= odi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-capture<= /div>
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/o= rg/org-bibtex hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/org-bibtex
/home/kmodi/usr_local/apps/6/emacs/mas= ter/share/emacs/site-lisp/org/org-archive hides /home/kmodi/usr_local/apps/= 6/emacs/master/share/emacs/26.0.50/lisp/org/org-archive
/home/kmo= di/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-agenda hides= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org= -agenda
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/sit= e-lisp/org/ob-tangle hides /home/kmodi/usr_local/apps/6/emacs/master/share/= emacs/26.0.50/lisp/org/ob-tangle
/home/kmodi/usr_local/apps/6/ema= cs/master/share/emacs/site-lisp/org/ob-stan hides /home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-stan
/home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sqlite hides /h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-sql= ite
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-li= sp/org/ob-sql hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/ob-sql
/home/kmodi/usr_local/apps/6/emacs/master/= share/emacs/site-lisp/org/ob-sed hides /home/kmodi/usr_local/apps/6/emacs/m= aster/share/emacs/26.0.50/lisp/org/ob-sed
/home/kmodi/usr_local/a= pps/6/emacs/master/share/emacs/site-lisp/org/ob-screen hides /home/kmodi/us= r_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-screen
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-fo= rtran hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/l= isp/org/ob-fortran
/home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/site-lisp/org/ob-scheme hides /home/kmodi/usr_local/apps/6/emacs/ma= ster/share/emacs/26.0.50/lisp/org/ob-scheme
/home/kmodi/usr_local= /apps/6/emacs/master/share/emacs/site-lisp/org/ob-scala hides /home/kmodi/u= sr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-scala
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sa= ss hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp= /org/ob-sass
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/ob-ruby hides /home/kmodi/usr_local/apps/6/emacs/master/sha= re/emacs/26.0.50/lisp/org/ob-ruby
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/ob-R hides /home/kmodi/usr_local/apps/= 6/emacs/master/share/emacs/26.0.50/lisp/org/ob-R
/home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ref hides /home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-ref
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-p= rocessing hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.= 50/lisp/org/ob-processing
/home/kmodi/usr_local/apps/6/emacs/mast= er/share/emacs/site-lisp/org/ob-plantuml hides /home/kmodi/usr_local/apps/6= /emacs/master/share/emacs/26.0.50/lisp/org/ob-plantuml
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-picolisp hides= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-= picolisp
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/si= te-lisp/org/ob-perl hides /home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/26.0.50/lisp/org/ob-perl
/home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/site-lisp/org/ob-org hides /home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/26.0.50/lisp/org/ob-org
/home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-octave hides /home/k= modi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-octave
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/or= g/ob-ocaml hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0= .50/lisp/org/ob-ocaml
/home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/site-lisp/org/ob-mscgen hides /home/kmodi/usr_local/apps/6/emacs= /master/share/emacs/26.0.50/lisp/org/ob-mscgen
/home/kmodi/usr_lo= cal/apps/6/emacs/master/share/emacs/site-lisp/org/ob-maxima hides /home/kmo= di/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-maxima
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/= ob-matlab hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.= 50/lisp/org/ob-matlab
/home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/site-lisp/org/ob-makefile hides /home/kmodi/usr_local/apps/6/ema= cs/master/share/emacs/26.0.50/lisp/org/ob-makefile
/home/kmodi/us= r_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lua hides /home/km= odi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-lua
=
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob= -lob hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/li= sp/org/ob-lob
/home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/site-lisp/org/ob-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/ob-lisp
/home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/site-lisp/org/ob-lilypond hides /home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-lilypond
/= home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ledge= r hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/= org/ob-ledger
/home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/site-lisp/org/ob-latex hides /home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/26.0.50/lisp/org/ob-latex
/home/kmodi/usr_local/apps/6= /emacs/master/share/emacs/site-lisp/org/ob-keys hides /home/kmodi/usr_local= /apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-keys
/home/k= modi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-J hides /ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-J
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org= /ob-java hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.5= 0/lisp/org/ob-java
/home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/site-lisp/org/ob-io hides /home/kmodi/usr_local/apps/6/emacs/master= /share/emacs/26.0.50/lisp/org/ob-io
/home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/site-lisp/org/ob-groovy hides /home/kmodi/usr_loca= l/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-groovy
/hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-gnuplot = hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/or= g/ob-gnuplot
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/ob-forth hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/ob-forth
/home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/site-lisp/org/ob-exp hides /home/kmodi/usr_local/a= pps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-exp
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-eval hides /ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-eval=
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/= org/ob-emacs-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/26.0.50/lisp/org/ob-emacs-lisp
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/ob-ebnf hides /home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-ebnf
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-dot hides /hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-dot
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/or= g/ob-ditaa hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0= .50/lisp/org/ob-ditaa
/home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/site-lisp/org/ob-css hides /home/kmodi/usr_local/apps/6/emacs/ma= ster/share/emacs/26.0.50/lisp/org/ob-css
/home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/site-lisp/org/ob-core hides /home/kmodi/usr_l= ocal/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-core
/ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-coq hid= es /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/o= b-coq
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-= lisp/org/ob-comint hides /home/kmodi/usr_local/apps/6/emacs/master/share/em= acs/26.0.50/lisp/org/ob-comint
/home/kmodi/usr_local/apps/6/emacs= /master/share/emacs/site-lisp/org/ob-clojure hides /home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-clojure
/home/k= modi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-C hides /ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-C
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org= /ob-asymptote hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/ob-asymptote
/home/kmodi/usr_local/apps/6/emacs/m= aster/share/emacs/site-lisp/org/ob-calc hides /home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/26.0.50/lisp/org/ob-calc
/home/kmodi/usr= _local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-awk hides /home/kmo= di/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-awk
<= div>/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org= -version hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.5= 0/lisp/org/org-version
/home/kmodi/usr_local/apps/6/emacs/master/= share/emacs/site-lisp/org/org-loaddefs hides /home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/26.0.50/lisp/org/org-loaddefs
/home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-install hides = /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= install
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/sit= e-lisp/org/ob-abc hides /home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/26.0.50/lisp/org/ob-abc

Features:
(sh= adow sort mail-extr emacsbug sendmail expand-region
text-mode-exp= ansions cc-mode-expansions the-org-mode-expansions
js-mode-expans= ions web-mode-expansions html-mode-expansions
css-mode-expansions= er-basic-expansions expand-region-core
expand-region-custom mc-m= ark-more multiple-cursors-core rect web-mode
mhtml-mode css-mode = js cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align = cc-engine cc-vars cc-defs sgml-mode ox-hugo
ox-blackfriday ox-md = ox-minutes ox-twbs ox-reveal ox-html-fancybox
ox-latex ox-html ta= ble ox-ascii ox-publish ox drag-stuff info-look
two-column vc-ann= otate whitespace eieio-opt speedbar sb-image ezimage
dframe ace-w= indow avy smex ido bug-reference warnings log-view
magit-submodul= e magit-obsolete magit-blame magit-stash magit-bisect
magit-remot= e magit-commit magit-sequence magit-notes magit-worktree
magit-br= anch magit-files magit-refs magit-status magit magit-repos
magit-= apply magit-wip misearch multi-isearch mm-archive network-stream
= starttls url-http tls gnutls url-gw nsm url-cache url-auth paradox
paradox-menu paradox-commit-list paradox-execute paradox-github
paradox-core spinner xsos-fns sos-fns vc-mtn vc-hg org-table
mar= kdown-mode eww mm-url gnus nnheader time-stamp vc-bzr vc-src vc-sccs
<= div>vc-svn vc-cvs vc-rcs copyright cursor-sensor colir color counsel
<= div>esh-util swiper tabify org-datetree org-eldoc org-indent org-info
=
org-capture auto-complete-config setup-desktop header2 iso-transl
jka-compr fill-column-indicator conf-mode csh-mode sh-script smie
executable flycheck flymake auto-complete popup yasnippet tramp
tramp-compat tramp-loaddefs trampver ucs-normalize parse-time
minibuffer-line flyspell ispell which-key ivy-hydra ivy ivy-overlay ffap=
ibuffer-projectile projectile grep ibuf-ext ibuffer ibuffer-load= defs
hardcore-mode vc-git verilog-mode desktop frameset
setup-pragmata-ligatures setup-font-check smyx-theme diff-hl vc-dir vc
vc-dispatcher setup-misc saveplace setup-personal my-patches setup-m= eme
setup-work setup-windows-buffers mb-depth winner setup-unicod= e
setup-toggles setup-spell setup-search setup-registers setup-pr= int
setup-pdf setup-navigation setup-mouse setup-launcher setup-i= mage
setup-editing smart-mark unfill zop-to-char delsel setup-com= pile
setup-backup setup-yaml-mode setup-web-mode setup-verilog se= tup-toml
setup-hugo setup-tcl setup-sml setup-spice setup-shell s= etup-python
setup-perl setup-nim setup-matlab setup-markdown setu= p-latex
preview-latex tex-site auto-loads setup-elisp easy-escape= setup-conf
setup-clojure setup-yasnippet setup-xkcd setup-writeg= ood writegood-mode
setup-wrap-region wrap-region setup-wordnut se= tup-wolfram
setup-which-key setup-which-func which-func imenu set= up-weather
setup-undo-tree undo-tree diff setup-tldr setup-tiny s= etup-term setup-sx
setup-smex setup-server setup-rainbow-mode set= up-rainbow-delimiters
rainbow-delimiters setup-projectile setup-p= oporg setup-pomodoro
setup-pcache pcache eieio-base cl setup-page= -break-lines disp-table
page-break-lines setup-outshine foldout o= utshine outshine-org-cmds
outorg org-sticky-header org-include-im= g-from-archive
org-include-img-from-pdf org-include-src-lines ob-= org ob-latex ob-dot
ob-ditaa ob-plantuml ob-awk ob-python ob-shel= l org-link-ref elfeed-link
org-element elfeed-show elfeed-search = bookmark pp shr svg dom elfeed-csv
elfeed elfeed-curl url url-pro= xy url-privacy url-expand url-methods
url-history url-cookie url-= domsuf mailcap elfeed-log elfeed-db
elfeed-lib url-util avl-tree = url-queue browse-url xml-query xml org
org-macro org-footnote org= -pcomplete org-list org-faces org-entities
org-version ob-emacs-l= isp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob= -comint ob-core ob-eval org-compat org-macs
org-loaddefs find-fun= c cal-menu calendar cal-loaddefs noutline outline
setup-orgstruct= setup-org setup-news setup-neotree
setup-multiple-cursors setup-= manage-minor-mode setup-linum nlinum linum
setup-kurecolor setup-= keyfreq keyfreq setup-info info+ thingatpt
setup-indent-guide set= up-imenu-list setup-ivy setup-ibuffer
setup-hungry-delete hungry-= delete setup-htmlize setup-highlight hl-line+
hl-line volatile-hi= ghlights hi-lock setup-header2 setup-hardcore
setup-magit magit-l= og magit-diff smerge-mode diff-mode git-commit
recentf tree-widge= t log-edit message subr-x puny dired+ image-dired
image-mode imag= e-file help-fns+ wid-edit help-fns radix-tree dired-aux
dired-x d= ired dired-loaddefs rfc822 mml mml-sec epa derived epg
gnus-util = rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc= 2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev
mai= l-utils gmm-utils mailheader pcvs-util add-log magit-core
magit-a= utorevert autorevert filenotify magit-process with-editor shell
p= complete server magit-margin magit-mode magit-git magit-section
m= agit-utils crm magit-popup async-bytecomp async format-spec
setup= -git-timemachine setup-git-link setup-diff setup-gist
setup-flych= eck setup-fold yafolding fold-this setup-fci
setup-expand-region = setup-engine-mode engine-mode setup-el2markdown
setup-eww setup-e= mamux setup-elfeed setup-drag-stuff setup-dired
setup-deft setup-= de-ansify setup-counsel setup-command-log-mode
setup-calc setup-b= uffer-move setup-bookmarks setup-beacon beacon
setup-auto-complet= e setup-artist setup-all setup-ag setup-ace-window
setup-abbrev s= etup-shackle shackle setup-visual generic setup-mode-line
smart-m= ode-line-dark-theme smart-mode-line rich-minority time setup-tags
ctags-update ggtags etags xref project compile comint ansi-color ewoc
pcase setup-hydra hydra ring lv setup-key-chord
setup-regio= n-bindings-mode region-bindings-mode cl-extra help-mode
setup-par= adox temp-mode modi-mode use-package-chords bind-chord
key-chord = use-package diminish bind-key easy-mmode benchmark-init advice
se= tup-packages gh-common gh-profile rx s marshal eieio-compat ht json
map dash finder-inf info edmacro kmacro package easymenu epg-config
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib general time-date paren cus-st= art
cus-load setup-var-overrides mule-util tooltip eldoc electric= uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x= -win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt = fringe
tabulated-list replace newcomment text-mode elisp-mode lis= p-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 mi= sc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucj= p-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 t= ext-properties overlay sha1 md5
base64 format env code-pages mule= custom widget hashtable-print-readable
backquote dbusbind inotif= y dynamic-setting system-font-setting
font-render-setting move-to= olbar gtk x-toolkit x multi-tty
make-network-process emacs)
=

Memory information:
((conses 16 1183215 14863= 7)
=C2=A0(symbols 48 67796 6)
=C2=A0(miscs 40 3522 2777= )
=C2=A0(strings 32 513032 17874)
=C2=A0(string-bytes 1= 20726162)
=C2=A0(vectors 16 107472)
=C2=A0(vector-slot= s 8 2530595 135460)
=C2=A0(floats 8 1157 1484)
=C2=A0(i= ntervals 56 11547 29183)
=C2=A0(buffers 976 143)
=C2=A0= (heap 1024 296711 191906))

--
<= p dir=3D"ltr">Kaushal Modi

--94eb2c1cbeb2a677990553fcc4c4-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jul 2017 02:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 27647@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.14997407103379 (code B ref 27647); Tue, 11 Jul 2017 02:39:02 +0000 Received: (at 27647) by debbugs.gnu.org; 11 Jul 2017 02:38:30 +0000 Received: from localhost ([127.0.0.1]:33198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUl4I-0000sQ-Ii for submit@debbugs.gnu.org; Mon, 10 Jul 2017 22:38:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUl4H-0000sC-1z for 27647@debbugs.gnu.org; Mon, 10 Jul 2017 22:38:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUl48-0008Di-7J for 27647@debbugs.gnu.org; Mon, 10 Jul 2017 22:38:23 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUl48-0008Da-1a; Mon, 10 Jul 2017 22:38:20 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4637 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dUl47-0000Vp-Cl; Mon, 10 Jul 2017 22:38:19 -0400 Date: Tue, 11 Jul 2017 05:38:16 +0300 Message-Id: <83eftnitpj.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Kaushal Modi on Mon, 10 Jul 2017 20:52:49 +0000) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Kaushal Modi > Date: Mon, 10 Jul 2017 20:52:49 +0000 > > - I build emacs master on RHEL 6.6. > - I access the RHEL machine via VNC on Windows 7 Enterprise (work) > - Occasionally I would venture into Windows to get work email (Outlook) or to the Chrome browwer in > Windows. > - With the way my monitors are set up, one monitor would should the VNC window showing the emacs frame > and another monitor would should Outlook. > > Then as I would be working on something in Outlook, I would see from the corner of my eye that the line > numbers disappeared from the emacs window with code in verilog-mode. Clicking again on the emacs frame > (in VNC, remember) would bring the line numbers back. When you say "line numbers disappeared", do you mean as if you set display-line-numbers to nil, i.e. the text starts at the left edge of the window? Or do you mean that there's still the line-number field to the left of the text, but it is empty instead of showing the numbers? From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jul 2017 03:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.14997446078918 (code B ref 27647); Tue, 11 Jul 2017 03:44:01 +0000 Received: (at 27647) by debbugs.gnu.org; 11 Jul 2017 03:43:27 +0000 Received: from localhost ([127.0.0.1]:33210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUm59-0002Jm-M6 for submit@debbugs.gnu.org; Mon, 10 Jul 2017 23:43:27 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:34818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUm57-0002JZ-M3 for 27647@debbugs.gnu.org; Mon, 10 Jul 2017 23:43:26 -0400 Received: by mail-lf0-f46.google.com with SMTP id b207so74471839lfg.2 for <27647@debbugs.gnu.org>; Mon, 10 Jul 2017 20:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Kg/KfG2G4mkaiJEAkXpnCZycP6eWTKx29nTGbC6pVLc=; b=EoMI8WHAnfhw+zTwpsxUiGOxPk2H2O2n8PoOXVe6h2VsvZdVZdNww6liu7EyW8oWGO L7ishfgeFXBGbBCg0/PcYJebF4kMEsWUZE/uAx4hypynvECofE0UPAPxzRED9DIwEyJf N466AlvzmfxsAwDRD8ZOPZYc4V832FlKg04muUiRr64HiSsQgZpZiTc7fvnJiP9+cuZy 3SzYqEo9DyIeXg1A3gHeLflLrEFXskwgGLOYuDTvDJh/934TdVd2wOH+hNCj7Wv10QLw mYz6diECduVQ0Q+vJ38mZehFT9uzCBHSSn+3P5Nzd43+APoc1RMFd+QqLhIdG7FMvJg1 kxBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Kg/KfG2G4mkaiJEAkXpnCZycP6eWTKx29nTGbC6pVLc=; b=WiGXMavUv5Y5xOYqEUARTFpRPj8//Cemk2wANuYlHQ06GGjGg70YufPzj9HmVABfHX CDg2YfyRvTwql+uwYfDLOp/hmgR7QaYMqmbxgmSYqSJKCAzZtUX097Y5jiGVsKDFkT5U BB/AtsPfjPRXR3MeZi79rC1gf6MifiMJVooNfLSPDSJKRyzGo2/GqPKmYfBG7RYNqWaR +/eIeeADMNegukh0YlQBXY/RdUEMMskhVjA1MT6onn2LFYwsxUukdhVvPVS16l4cYMrQ yhUHSFdYy1xcChERaB/mNLW8d2f/ETXhBgKO0gMktxo6lUHFcC+mg7JbRzI6EIpj2vvn holA== X-Gm-Message-State: AIVw113NopcekK2UeiBXGi6Fa4m92ZvGh1fn1TE6cyXbWFQ2d16oE4oF yhdWtdf/IYSSzlJejto8V1xlCxCgMA== X-Received: by 10.25.15.221 with SMTP id 90mr2347298lfp.10.1499744599712; Mon, 10 Jul 2017 20:43:19 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> In-Reply-To: <83eftnitpj.fsf@gnu.org> From: Kaushal Modi Date: Tue, 11 Jul 2017 03:43:07 +0000 Message-ID: Content-Type: multipart/alternative; boundary="001a113f8e0c1eab5f05540280fc" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --001a113f8e0c1eab5f05540280fc Content-Type: text/plain; charset="UTF-8" On Mon, Jul 10, 2017, 10:38 PM Eli Zaretskii wrote: > > When you say "line numbers disappeared", do you mean as if you set > display-line-numbers to nil, i.e. the text starts at the left edge of > the window? Yes. Exactly. And they reappear automatically too once that window is in focus again. I enable the line numbers via only major mode hooks, for some major modes. I am not 100% sure but each time this has happened, probably one window had a buffer with a major mode where the line numbers should be enabled, and the other didn't (I normally work in a 2-window frame). But also, I have never been able to recreate the problem. -- Kaushal Modi --001a113f8e0c1eab5f05540280fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jul 10, 2017, 10:38 PM = Eli Zaretskii <eliz@gnu.org> wrot= e:

When you say "line numbers disappeared", do you mean as if you se= t
display-line-numbers to nil, i.e. the text starts at the left edge of
the window? =C2=A0

Yes. Exactly. And = they reappear automatically too once that window is in focus again.=C2=A0

I enable the line numbers via only major mode hooks= , for some major modes. I am not 100% sure but each time this has happened,= probably one window had a buffer with a major mode where the line numbers = should be enabled, and the other didn't (I normally work in a 2-window = frame). But also, I have never been able to recreate the problem.
--

Kaushal Modi

--001a113f8e0c1eab5f05540280fc-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jul 2017 14:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 27647@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.149978348010367 (code B ref 27647); Tue, 11 Jul 2017 14:32:02 +0000 Received: (at 27647) by debbugs.gnu.org; 11 Jul 2017 14:31:20 +0000 Received: from localhost ([127.0.0.1]:34169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUwC8-0002h9-Eq for submit@debbugs.gnu.org; Tue, 11 Jul 2017 10:31:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUwC6-0002gu-1m for 27647@debbugs.gnu.org; Tue, 11 Jul 2017 10:31:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUwBv-0003al-PH for 27647@debbugs.gnu.org; Tue, 11 Jul 2017 10:31:12 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUwBv-0003ag-MD; Tue, 11 Jul 2017 10:31:07 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1219 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dUwBv-0007FZ-1x; Tue, 11 Jul 2017 10:31:07 -0400 Date: Tue, 11 Jul 2017 17:31:01 +0300 Message-Id: <83bmorjba2.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Kaushal Modi on Tue, 11 Jul 2017 03:43:07 +0000) References: <83eftnitpj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Kaushal Modi > Date: Tue, 11 Jul 2017 03:43:07 +0000 > Cc: 27647@debbugs.gnu.org > > When you say "line numbers disappeared", do you mean as if you set > display-line-numbers to nil, i.e. the text starts at the left edge of > the window? > > Yes. Exactly. And they reappear automatically too once that window is in focus again. In that case, I suspect that some of your customizations somehow temporarily reset display-line-numbers to nil. You could try to use Lisp watchpoints (see "Watching Variables" in the ELisp manual) for a single buffer where this happens, to find out which code does that. Alternatively, instrument your functions that reset display-line-numbers to log messages to some buffer with useful information, such as the Lisp backtrace, and when the problem happens, examine the log for clues. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jul 2017 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.149978394011014 (code B ref 27647); Tue, 11 Jul 2017 14:39:01 +0000 Received: (at 27647) by debbugs.gnu.org; 11 Jul 2017 14:39:00 +0000 Received: from localhost ([127.0.0.1]:34177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUwJX-0002ra-Ra for submit@debbugs.gnu.org; Tue, 11 Jul 2017 10:39:00 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:33325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUwJV-0002rL-5k for 27647@debbugs.gnu.org; Tue, 11 Jul 2017 10:38:57 -0400 Received: by mail-lf0-f52.google.com with SMTP id z78so1916735lff.0 for <27647@debbugs.gnu.org>; Tue, 11 Jul 2017 07:38:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n/Xu9bN0P7xQRp3U+ZHvF3D32+9RIJ/RZeMLZsr10uY=; b=ZOp/PO7cZI45Ct2cj1FL6OLY9FEzY8pF9q2DoeFi9NxNJVSYdKn4H8lgR5bCuVEBGM QMHECMFWYJgJs6KEg6nDtEEwsn7FUbvQjtwCLikflxqL5hy6wNdpv32NCeWi7fTM0VjT xh/hsuGIF/ozs0/5MzusfdTMaPixR4AuYo+48HzNJLsiDqQ+Ljt8ERjx9ZN/I9YozOxE F7sOfu4m15mgim46Kq5/yHX6fMJNHKxkyFFrZqZRig0P36nFfJ1pme1I7m2grtBDxcTd r/yGFFeU94WhOzGW7+mGPMAdF0+X117ZAIVeoKrFV2JwY/Sewh/uMapjghe8TNM+3oNW cPGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n/Xu9bN0P7xQRp3U+ZHvF3D32+9RIJ/RZeMLZsr10uY=; b=EdE5N5XmTSgvChyQCfOKZ5UPRMTeNIpvuKou07XDDv+Jbm/b3xjiLUwHEAtM9IIjo+ /sDGNtXaoQjy4MLEDJeMQ+8EIRmv8E8jD6HJ7LDLdT4QAOhc9h6PmePkw+YKrcvjV1y4 j96PQIJ2KLbD4dPrzTqBeyt5yFqLAp4VAR01WA1N0vkfzBFwVrIeHtIR6T+eezg1K2eb ppGjuy6l+q6sOJYKyqgpwUVhoOMrMd7q+L/5Kas8fRUUvv78N0RhpbtrqUuuDaiay58H 4kSpmdm0im5XSaWDIUmiWTbVZjVi7MAMyrVcfkDf2a3xHeqEUIOjSaUARdMjU8wEH3a5 6nWA== X-Gm-Message-State: AIVw110HPon4n/ZbHWuQb+p38GLkjMdUqYsqqflcqCxjbVgkiN9Q3NKx HevmTRPNVa2un3kVw3+FnufNTGVD7g== X-Received: by 10.25.234.6 with SMTP id i6mr82695lfh.42.1499783931081; Tue, 11 Jul 2017 07:38:51 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> In-Reply-To: <83bmorjba2.fsf@gnu.org> From: Kaushal Modi Date: Tue, 11 Jul 2017 14:38:39 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c0c8d1273b89905540ba82c" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --94eb2c0c8d1273b89905540ba82c Content-Type: text/plain; charset="UTF-8" On Tue, Jul 11, 2017 at 10:31 AM Eli Zaretskii wrote: > In that case, I suspect that some of your customizations somehow > temporarily reset display-line-numbers to nil. You could try to use > Lisp watchpoints (see "Watching Variables" in the ELisp manual) for a > single buffer where this happens, to find out which code does that. > > Alternatively, instrument your functions that reset > display-line-numbers to log messages to some buffer with useful > information, such as the Lisp backtrace, and when the problem happens, > examine the log for clues. > I will set up the Lisp watchpoints and debug more, thanks. I have one more data point. Apparently I do not need to "click" on the emacs frame to make the line numbers reappear. They reappeared seemingly randomly or just as I was just hovering the mouse over the emacs frame.. odd. This happened just as I was preparing to record "line num reappearance on click" effect, but the line numbers reappeared by themselves even before I clicked. -- Kaushal Modi --94eb2c0c8d1273b89905540ba82c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 11= , 2017 at 10:31 AM Eli Zaretskii <eliz@g= nu.org> wrote:
In that case,= I suspect that some of your customizations somehow
temporarily reset display-line-numbers to nil.=C2=A0 You could try to use Lisp watchpoints (see "Watching Variables" in the ELisp manual) f= or a
single buffer where this happens, to find out which code does that.

Alternatively, instrument your functions that reset
display-line-numbers to log messages to some buffer with useful
information, such as the Lisp backtrace, and when the problem happens,
examine the log for clues.

I will set u= p the Lisp watchpoints and debug more, thanks.

I h= ave one more data point. Apparently I do not need to "click" on t= he emacs frame to make the line numbers reappear. They reappeared seemingly= randomly or just as I was just hovering the mouse over the emacs frame.. o= dd.=C2=A0 This happened just as I was preparing to record "line num re= appearance on click" effect, but the line numbers reappeared by themse= lves even before I clicked.=C2=A0
--
=

Kaushal Modi

--94eb2c0c8d1273b89905540ba82c-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jul 2017 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.149980374613249 (code B ref 27647); Tue, 11 Jul 2017 20:10:02 +0000 Received: (at 27647) by debbugs.gnu.org; 11 Jul 2017 20:09:06 +0000 Received: from localhost ([127.0.0.1]:34367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dV1T0-0003Rd-50 for submit@debbugs.gnu.org; Tue, 11 Jul 2017 16:09:06 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:34505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dV1Sy-0003R6-DS for 27647@debbugs.gnu.org; Tue, 11 Jul 2017 16:09:05 -0400 Received: by mail-lf0-f52.google.com with SMTP id t72so1794589lff.1 for <27647@debbugs.gnu.org>; Tue, 11 Jul 2017 13:09:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oPkMV7Ps1o9onqjHLQ1uFZxf7eDh6Anl1vXSl831uH8=; b=tnkQaPQGFhBBrDaOko2iE4zt0158fzdUhjGcUF3+c29688ZUpWcLVAmz/hdb5mhuYx Ve2V91u2dWMwEOASETZc+SEIQXbx4iCxrznajGqzsNNbUmaoxQNARIS6uImNXuqYr8sh pgaByJzHf7JR2xApSb5uuKyIZHwNOThRXIys210BCNYINKZXoQhj+3QfW4wUaxv7HQL1 XI8GNxNwWQfUotem7xVXfl8rWuwJvO/vN1+R9OA3hx8AaaKW/NUJjW8mOBULIZu7Ml+q bipfxAVaQV3vNLoji570HkOPOAt6E38vS9HwMi/9GHiJLHuxIRiztr0yCZnMphN6Xme/ 1UAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oPkMV7Ps1o9onqjHLQ1uFZxf7eDh6Anl1vXSl831uH8=; b=WgmlA+uFnFaxqf2rg0I9xdwYlq/WRlMWjMS7jcM17mtE7nBmzaaM8Fse3DGQ+gOZ42 7QrcBM3g51E5oSF4dxMk7xr7/xU601jeXxKkoT6guX/d0jbvNpfZRlilL6G6rthSE9XZ ievyf3E2VD8NUXb/xoZtf9MuaNZjzlg/YUX9RtttkHOySf9Ep6n0uv86Xs/MWTMWLKPB TEjnrrGlL8VmiSmHNYd0/bVyUyFIGIbQVlMywqpXenXzU+vg4bbYDXzE2nzzcn5y/BrD Ihok76IRLoLBf7NI4QKEs/5qrlYzSbFYWONglR9GMG5FGlHH8KhsWjS2ASOQIOKMRhoH sRZg== X-Gm-Message-State: AIVw111k1CZ7j4Z+XXvsgDT0+0onMBYVu2QzVP6k1WhGu4Nx/sMZ2LcQ 4KNtiRlNLgWzxz5Bin+DO+SSk95oxA== X-Received: by 10.25.79.9 with SMTP id d9mr586743lfb.133.1499803738402; Tue, 11 Jul 2017 13:08:58 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Tue, 11 Jul 2017 20:08:47 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c1cd7ec0f767005541045f9" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --94eb2c1cd7ec0f767005541045f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 11, 2017 at 10:38 AM Kaushal Modi wrote: > > I will set up the Lisp watchpoints and debug more, thanks. > > I have one more data point. Apparently I do not need to "click" on the > emacs frame to make the line numbers reappear. They reappeared seemingly > randomly or just as I was just hovering the mouse over the emacs frame.. > odd. This happened just as I was preparing to record "line num > reappearance on click" effect, but the line numbers reappeared by > themselves even before I clicked. > This is what I see (I was able to record the moment when the lines reappeared on clicking anywhere in the window): http://i.imgur.com/5C5FmGS.gifv When the above happened, the point was in a Fundamental Mode buffer window and the other window had this file in emacs-lisp-mode. I do not have display-line-numbers set to t globally; so fundamental-mode has that value at nil and the elisp window had that set to t. Again the line num disappearance happened when the emacs frame was out of focus. Interestingly the variable watcher did not get triggered. This is how I set the watcher: =3D=3D=3D=3D=3D (defvar modi/variables-to-be-watched '(display-line-numbers) "List of variables to be watched. Used by `modi/set-variable-watchers' and `modi/unset-variable-watchers'") (defun modi/variable-watcher-fn (symbol newval operation where) "Print message when the value of variable SYMBOL changes. The message shows the NEWVAL it changed to, the OPERATION that caused that, and the buffer WHERE that happened if the value change was buffer-local." (message (format "[Watcher: %s] Now set to %S, by `%S'%s" (symbol-name symbol) newval operation (if where (format " in %S" where) "")))) (defun modi/set-variable-watchers () "Enable printing messages when any watched variable changes. The variables to be watched should be added to `modi/variables-to-be-watched'." (interactive) (dolist (var modi/variables-to-be-watched) (add-variable-watcher var #'modi/variable-watcher-fn))) (modi/set-variable-watchers) =3D=3D=3D=3D=3D When I revert-buffer in an emacs-lisp-mode file, I see these: [Watcher: display-line-numbers] Now set to nil, by =E2=80=98makunbound=E2= =80=99 in # [Watcher: display-line-numbers] Now set to nil, by =E2=80=98set=E2=80=99 in= # [Watcher: display-line-numbers] Now set to t, by =E2=80=98set=E2=80=99 in #= But none of those [Watcher:..] messages showed up when the line numbers auto-disappeared and also when re-appeared on the click in the buffer. Not sure if this would help, but here is how I enable the line numbers (modified compared to the version I posted earlier in this thread): =3D=3D=3D=3D=3D (defvar modi/native-linum-default t "Value set for `display-line-numbers' when enabled. Valid values are t, `visual', `relative' and nil. See `display-line-numbers' for more information.") (defun modi/native-linum--on (&optional global) "Enable native line number display in the current buffer. If GLOBAL is non-nil, enable this globally." (interactive "P") (if global (setq-default display-line-numbers modi/native-linum-default) (setq-local display-line-numbers modi/native-linum-default))) (defun modi/native-linum--off (&optional global) "Disable native line number display in the current buffer. If GLOBAL is non-nil, disable this globally." (interactive "P") (if global (setq-default display-line-numbers nil) (setq-local display-line-numbers nil))) (defun modi/turn-on-native-linum () "Turn on native line numbers in specific modes. In enabled state, `display-line-numbers' is set to `modi/native-linum-default'." (interactive) (if modi/linum-mode-enable-global (progn (dolist (hook modi/linum-mode-hooks) (remove-hook hook #'modi/native-linum--on)) (modi/native-linum--on :global)) (progn (modi/native-linum--off :global) (dolist (hook modi/linum-mode-hooks) (add-hook hook #'modi/native-linum--on))))) (defun modi/linum--enable (&optional frame) "Set =E2=80=9Clinum=E2=80=9D using the default package set by the user in `modi/linum-fn-default'. The optional FRAME argument is added as it is needed if this function is added to the `after-make-frame-functions' hook." (modi/turn-on-native-linum)) (if (daemonp) (add-hook 'after-make-frame-functions #'modi/linum--enable) (add-hook 'after-init-hook #'modi/linum--enable)) =3D=3D=3D=3D=3D Does anything look problematic in the above code from a quick glance. --=20 Kaushal Modi --94eb2c1cd7ec0f767005541045f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 11= , 2017 at 10:38 AM Kaushal Modi <kaushal.modi@gmail.com> wrote:

I will set u= p the Lisp watchpoints and debug more, thanks.

I h= ave one more data point. Apparently I do not need to "click" on t= he emacs frame to make the line numbers reappear. They reappeared seemingly= randomly or just as I was just hovering the mouse over the emacs frame.. o= dd.=C2=A0 This happened just as I was preparing to record "line num re= appearance on click" effect, but the line numbers reappeared by themse= lves even before I clicked.

This is what I see (I was able to record the moment when the lines reapp= eared on clicking anywhere in the window): http://i.imgur.com/5C5FmGS.gifv

Wh= en the above happened, the point was in a Fundamental Mode buffer window an= d the other window had this file in emacs-lisp-mode. I do not have display-= line-numbers set to t globally; so fundamental-mode has that value at nil a= nd the elisp window had that set to t. Again the line num disappearance hap= pened when the emacs frame was out of focus.

Inter= estingly the variable watcher did not get triggered.

This is how I set the watcher:

=3D=3D=3D=3D=3D<= /div>
(defvar modi/variables-to-be-watched '(display-line-numb= ers)
=C2=A0 "List of variables to be watched.
Used= by `modi/set-variable-watchers' and
`modi/unset-variable-wat= chers'")

(defun modi/variable-watcher-fn = (symbol newval operation where)
=C2=A0 "Print message when t= he value of variable SYMBOL changes.
The message shows the NEWVAL= it changed to, the OPERATION that
caused that, and the buffer WH= ERE that happened if the value
change was buffer-local."
=C2=A0 (message (format "[Watcher: %s] Now set to %S, by `%S= 9;%s"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(symbol-name symbol)
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0newval
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0operation
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(if wh= ere
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0(format " in %S" where)
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"= "))))

(defun modi/set-variable-watchers ()
=C2=A0 "Enable printing messages when any watched variable cha= nges.
The variables to be watched should be added to
`m= odi/variables-to-be-watched'."
=C2=A0 (interactive)
=C2=A0 (dolist (var modi/variables-to-be-watched)
=C2=A0 = =C2=A0 (add-variable-watcher var #'modi/variable-watcher-fn)))

(modi/set-variable-watchers)
=3D=3D=3D=3D= =3D

When I revert-buffer in an emacs-lisp-mode fil= e, I see these:

[Watcher: display-line-number= s] Now set to nil, by =E2=80=98makunbound=E2=80=99 in #<buffer setup-lin= um.el>
[Watcher: display-line-numbers] Now set to nil, by =E2= =80=98set=E2=80=99 in #<buffer setup-linum.el>
[Watcher: di= splay-line-numbers] Now set to t, by =E2=80=98set=E2=80=99 in #<buffer s= etup-linum.el>

But none of those [Watcher= :..] messages showed up when the line numbers auto-disappeared and also whe= n re-appeared on the click in the buffer.

Not sure= if this would help, but here is how I enable the line numbers (modified co= mpared to the version I posted earlier in this thread):

=3D=3D=3D=3D=3D
(defvar modi/native-linum-default t
=C2=A0 "Value set for `display-line-numbers' when enabled.=
Valid values are t, `visual', `relative' and nil. See
`display-line-numbers' for more information.")
<= br>
(defun modi/native-linum--on (&optional global)
=C2=A0 "Enable native line number display in the current buffer.
If GLOBAL is non-nil, enable this globally."
=C2=A0 (i= nteractive "P")
=C2=A0 (if global
=C2=A0 =C2= =A0 =C2=A0 (setq-default display-line-numbers modi/native-linum-default)
=C2=A0 =C2=A0 (setq-local display-line-numbers modi/native-linum-de= fault)))

(defun modi/native-linum--off (&optio= nal global)
=C2=A0 "Disable native line number display in th= e current buffer.
If GLOBAL is non-nil, disable this globally.&qu= ot;
=C2=A0 (interactive "P")
=C2=A0 (if globa= l
=C2=A0 =C2=A0 =C2=A0 (setq-default display-line-numbers nil)
=C2=A0 =C2=A0 (setq-local display-line-numbers nil)))
(defun modi/turn-on-native-linum ()
=C2=A0 "Turn= on native line numbers in specific modes.
In enabled state, `dis= play-line-numbers' is set to
`modi/native-linum-default'.= "
=C2=A0 (interactive)
=C2=A0 (if modi/linum-mode-= enable-global
=C2=A0 =C2=A0 =C2=A0 (progn
=C2=A0 =C2=A0= =C2=A0 =C2=A0 (dolist (hook modi/linum-mode-hooks)
=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 (remove-hook hook #'modi/native-linum--on))
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (modi/native-linum--on :global))
=C2=A0 =C2=A0 (progn
=C2=A0 =C2=A0 =C2=A0 (modi/native-linum--of= f :global)
=C2=A0 =C2=A0 =C2=A0 (dolist (hook modi/linum-mode-hoo= ks)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (add-hook hook #'modi/native-= linum--on)))))

(defun modi/linum--enabl= e (&optional frame)
=C2=A0 "Set =E2=80=9Clinum=E2=80=9D = using the default package set by the user in
`modi/linum-fn-defau= lt'.

The optional FRAME argument is added as i= t is needed if this
function is added to the `after-make-frame-fu= nctions' hook."
=C2=A0 (modi/turn-on-native-linum))

(if (daemonp)
=C2=A0 =C2=A0 (add-= hook 'after-make-frame-functions #'modi/linum--enable)
=C2=A0 (add-hook 'after-init-hook #'modi/linum--enable))
=3D=3D=3D=3D=3D

Does anything look pro= blematic in the above code from a quick glance.

--

Kaushal Modi

--94eb2c1cd7ec0f767005541045f9-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jul 2017 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 27647@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.149987068322335 (code B ref 27647); Wed, 12 Jul 2017 14:45:02 +0000 Received: (at 27647) by debbugs.gnu.org; 12 Jul 2017 14:44:43 +0000 Received: from localhost ([127.0.0.1]:35519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIsc-0005oB-P4 for submit@debbugs.gnu.org; Wed, 12 Jul 2017 10:44:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIsZ-0005nw-VF for 27647@debbugs.gnu.org; Wed, 12 Jul 2017 10:44:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVIsQ-0007rZ-Q9 for 27647@debbugs.gnu.org; Wed, 12 Jul 2017 10:44:34 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVIsQ-0007rS-MS; Wed, 12 Jul 2017 10:44:30 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2688 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVIsP-0006RY-PX; Wed, 12 Jul 2017 10:44:30 -0400 Date: Wed, 12 Jul 2017 17:44:26 +0300 Message-Id: <83eftliuk5.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Kaushal Modi on Tue, 11 Jul 2017 20:08:47 +0000) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Kaushal Modi > Date: Tue, 11 Jul 2017 20:08:47 +0000 > Cc: 27647@debbugs.gnu.org > > This is what I see (I was able to record the moment when the lines reappeared on clicking anywhere in the > window): http://i.imgur.com/5C5FmGS.gifv > > When the above happened, the point was in a Fundamental Mode buffer window and the other window had > this file in emacs-lisp-mode. I do not have display-line-numbers set to t globally; so fundamental-mode has > that value at nil and the elisp window had that set to t. Again the line num disappearance happened when the > emacs frame was out of focus. > > Interestingly the variable watcher did not get triggered. I guess the variable gets changed by one of the ways that Lisp-level watchers cannot catch. > Does anything look problematic in the above code from a quick glance. Not at a glance. But the key to this mystery is most probably in your customizations. Some code which probably runs off a timer or some X event does something that directly or indirectly resets the variable in that buffer. Maybe you have some code which directly or indirectly calls kill-all-local-variables, for example. Or something else to that effect. You could add logging to your functions that turn off the line numbers, and see what's in the log when this happens. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2017 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150047723019126 (code B ref 27647); Wed, 19 Jul 2017 15:14:02 +0000 Received: (at 27647) by debbugs.gnu.org; 19 Jul 2017 15:13:50 +0000 Received: from localhost ([127.0.0.1]:48010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXqfd-0004yQ-Oe for submit@debbugs.gnu.org; Wed, 19 Jul 2017 11:13:49 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:33662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXqfb-0004y9-M7 for 27647@debbugs.gnu.org; Wed, 19 Jul 2017 11:13:48 -0400 Received: by mail-lf0-f52.google.com with SMTP id z78so1712418lff.0 for <27647@debbugs.gnu.org>; Wed, 19 Jul 2017 08:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C/D8hYn+JCRscZNe66GZeRwRPsm/HU5IYKJAnFB/YkQ=; b=B121zvJpSDooO7aUn+xqqhxS+p3sb344EA6cLIucyUP9L0XwgPGA3tTwQohqfa0n7h UJ3Vw48iE6jPNvBi8RtviGsKdHE443XzEHw3AskVsi4i75LojXMa20sErCo6hNduP2Ie 0kI0tseoYDuc96i7VAtkWcRM7fh/hctnkJIgBOtmdqrGypmCxXS1R3nSd2SOpyzHWGe6 Yg1UW9EYc8awBOr/pKprXZILl+7W/5zH3BRw9JNXh6dYfGHaUMLDesn88UJAyfCTLHDN FkTVeCr9q8JxK17u5nRGaWkZ+u1cg+CmB9iNr2yWCYNqL1bf7vQESF1qbi00CvEdEbFh zC+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C/D8hYn+JCRscZNe66GZeRwRPsm/HU5IYKJAnFB/YkQ=; b=Hr2JNMjdGQ6jUMyq3PmkXDyAiKsI36mqsBWAV9d6vqd4VGXeEl6Rbau1RD9Ci48jen z48tKBHrJA6cBmnBWZbp61g228cLKcRVMJGTPnaSfimmEqqx8wxjkldLrOqiCpEsi/6l 6eYJqQXSKtbHUzBihNlZviGLzZgasiXQKCtB1VjVAy2LLTvGUVUToilErT0wGH6lU31x hoscFWJt4i4EhpfElI2s76QQlbwUZMJHqx/nCfuznixJQ1mAvqjEO4PW4kWmAzLby7J3 WZrexbua7w6EKFq9utuL2mshSo1uLY0IO+ebWfDsLZNdFe+0cQ3o5t34HD5MPqv60JzJ FR0g== X-Gm-Message-State: AIVw1136qJyfo9hAm2/mG6SEd0xfLOZRZjh2iYbW0PlwNV091eFw/aPn ICd8s8+5g4OYKxcCR48gPe8QybxSUA== X-Received: by 10.25.115.205 with SMTP id h74mr136015lfk.258.1500477221697; Wed, 19 Jul 2017 08:13:41 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> In-Reply-To: <83eftliuk5.fsf@gnu.org> From: Kaushal Modi Date: Wed, 19 Jul 2017 15:13:31 +0000 Message-ID: Content-Type: multipart/alternative; boundary="001a113c5258cafcce0554ad1313" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --001a113c5258cafcce0554ad1313 Content-Type: text/plain; charset="UTF-8" Hello, On Wed, Jul 12, 2017 at 10:44 AM Eli Zaretskii wrote: > Not at a glance. But the key to this mystery is most probably in your > customizations. Some code which probably runs off a timer or some X > event does something that directly or indirectly resets the variable > in that buffer. Maybe you have some code which directly or indirectly > calls kill-all-local-variables, for example. Or something else to > that effect. > I am still trying to find out what is doing that if something is doing that. Unfortunately no message statement inserted anywhere in my native linum enabling code is getting executed when this anomaly happens. > You could add logging to your functions that turn off the line > numbers, and see what's in the log when this happens. > None of those message statements gets triggered. I have a feeling that this is happening due to some state change at system/GTK2 level.. because no messages in elisp are catching the line number toggling, and this happens when I move the focus out of the VNC viewer window to Windows. When I return to the VNC viewer and click on the window with the missing line numbers, they show up magically. You would have a better idea if there are any hooks in display engine that get affected by GTK.. -- Kaushal Modi --001a113c5258cafcce0554ad1313 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

On Wed, Jul 12, 2017 at 10:44 AM Eli Zaretskii <eliz@gnu.org> wrote:
Not at a glance.=C2=A0 But the key to this mystery is mo= st probably in your
customizations.=C2=A0 Some code which probably runs off a timer or some X event does something that directly or indirectly resets the variable
in that buffer.=C2=A0 Maybe you have some code which directly or indirectly=
calls kill-all-local-variables, for example.=C2=A0 Or something else to
that effect.

I am still trying to find = out what is doing that if something is doing that. Unfortunately no message= statement inserted anywhere in my native linum enabling code is getting ex= ecuted when this anomaly happens.
=C2=A0
You could add logging to your functions that turn off the lin= e
numbers, and see what's in the log when this happens.
<= div>
None of those message statements gets triggered.

I have a feeling that this is happening due to some state= change at system/GTK2 level.. because no messages in elisp are catching th= e line number toggling, and this happens when I move the focus out of the V= NC viewer window to Windows. When I return to the VNC viewer and click on t= he window with the missing line numbers, they show up magically.
=
You would have a better idea if there are any hooks in displ= ay engine that get affected by GTK..
=C2=A0
--

Kaushal Modi

--001a113c5258cafcce0554ad1313-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2017 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 27647@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150048567431794 (code B ref 27647); Wed, 19 Jul 2017 17:35:01 +0000 Received: (at 27647) by debbugs.gnu.org; 19 Jul 2017 17:34:34 +0000 Received: from localhost ([127.0.0.1]:48084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXsrp-0008Gk-Vy for submit@debbugs.gnu.org; Wed, 19 Jul 2017 13:34:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXsro-0008GX-3J for 27647@debbugs.gnu.org; Wed, 19 Jul 2017 13:34:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXsrf-0008Pm-LB for 27647@debbugs.gnu.org; Wed, 19 Jul 2017 13:34:26 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXsrf-0008Pi-Hz; Wed, 19 Jul 2017 13:34:23 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2221 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dXsre-0002w0-53; Wed, 19 Jul 2017 13:34:23 -0400 Date: Wed, 19 Jul 2017 20:34:06 +0300 Message-Id: <83r2xcbab5.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Kaushal Modi on Wed, 19 Jul 2017 15:13:31 +0000) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Kaushal Modi > Date: Wed, 19 Jul 2017 15:13:31 +0000 > Cc: 27647@debbugs.gnu.org > > I am still trying to find out what is doing that if something is doing that. Unfortunately no message statement > inserted anywhere in my native linum enabling code is getting executed when this anomaly happens. > > You could add logging to your functions that turn off the line > numbers, and see what's in the log when this happens. > > None of those message statements gets triggered. I'd begin by removing your line-number setup and replacing it with a much simpler one, which doesn't involve linum/nlinum, and instead simply sets display-line-numbers. If that doesn't help, I'd go on bisecting your customizations. Alternatively, a reproducing recipe would be useful. > You would have a better idea if there are any hooks in display engine that get affected by GTK.. None that I know of, sorry, not hooks which could somehow reset an Emacs Lisp variable. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2017 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, Kaushal Modi Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.1500486758922 (code B ref 27647); Wed, 19 Jul 2017 17:53:01 +0000 Received: (at 27647) by debbugs.gnu.org; 19 Jul 2017 17:52:38 +0000 Received: from localhost ([127.0.0.1]:48093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXt9J-0000Eo-QY for submit@debbugs.gnu.org; Wed, 19 Jul 2017 13:52:38 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:33329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXt9H-0000Eb-0g for 27647@debbugs.gnu.org; Wed, 19 Jul 2017 13:52:36 -0400 Received: by mail-oi0-f53.google.com with SMTP id p188so7583504oia.0 for <27647@debbugs.gnu.org>; Wed, 19 Jul 2017 10:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=F27/FSJq+iL3FU89xK/WdL3pmdPvhg0YeyYlCEFIrUw=; b=KeAu4bz2ZRLUwYugAtcub/FvZPhXx3Zaygck6GdN4PQwpRKJpvEC2NN9MWPLwTFW2l Ut/Kh2iBDIw9llg4+WIyp05c5dWN94iYhyOr8rnpy4TLjmPxO3InkpRrclCoglk2YlrP himHnJlTFCD8MXu7b5YtqJBvSxvjqtPN0meMzLgzUgZYpRP8cFMUgR2fNaDSpTfqXFw9 HCsvXmchE6EI9eFq1nIFhefDvzdV7uoKTsv6hJee2D58Lrbo4rmCZxIf+s1OBfclkJzq HlbYMLKcxcFAazbNm4dL8bNQD0vahSb3ourGaLcb0brwAT8MzpHbmdBIHF4YOfymFoRB 0rfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=F27/FSJq+iL3FU89xK/WdL3pmdPvhg0YeyYlCEFIrUw=; b=dfJncHnU42bYzMATcLQvsm1AHjAdV6M7LIUX6OrZ7gfPRU+0jxJ8QtZumhZlDBT+Z3 QNLOqpovZfhKmePYS3YGjiw6eYRs+vgLittKDAMvDE5TxoOekustrkd/qV9uW2gyEiOY q5TQWvQ3R9T2VzeXzDjiMGCwm1wG3mgnVBMasUQ4VsOSWk60LDVIV0dgrYbgaL8OTZ8a sIrBukjT1+VXdzjCunWAE85AY7rAP9VWvWfRcK5OGwde2Mq9+NZdsbiscGFWJdIUUsIJ 4F13n+ZgL0ABWMP5MqDATr/eZmowYe0SX3uEibxb/+SJbou8RmuEYm0maiGt19drjnfI a0aw== X-Gm-Message-State: AIVw113ezysqlwsW9flyp3KGNmgG6KipOFHJrhe9tMRU8zwtG3qcf/hl p890+ii7QdeZmbPayUnEkllo7u7KNg== X-Received: by 10.202.69.197 with SMTP id s188mr2426235oia.148.1500486749102; Wed, 19 Jul 2017 10:52:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.113.91 with HTTP; Wed, 19 Jul 2017 10:52:28 -0700 (PDT) In-Reply-To: <83eftliuk5.fsf@gnu.org> References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> From: Noam Postavsky Date: Wed, 19 Jul 2017 13:52:28 -0400 X-Google-Sender-Auth: cbyync64t95Ax1Wp0hRIC-CuXkk Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.7 (/) On Wed, Jul 12, 2017 at 10:44 AM, Eli Zaretskii wrote: >> From: Kaushal Modi >> Date: Tue, 11 Jul 2017 20:08:47 +0000 >> Cc: 27647@debbugs.gnu.org >> >> This is what I see (I was able to record the moment when the lines reappeared on clicking anywhere in the >> window): http://i.imgur.com/5C5FmGS.gifv >> >> When the above happened, the point was in a Fundamental Mode buffer window and the other window had >> this file in emacs-lisp-mode. I do not have display-line-numbers set to t globally; so fundamental-mode has >> that value at nil and the elisp window had that set to t. Again the line num disappearance happened when the >> emacs frame was out of focus. >> >> Interestingly the variable watcher did not get triggered. > > I guess the variable gets changed by one of the ways that Lisp-level > watchers cannot catch. Perhaps 'watch Vdisplay_line_numbers' in gdb would help? From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2017 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15004878192541 (code B ref 27647); Wed, 19 Jul 2017 18:11:01 +0000 Received: (at 27647) by debbugs.gnu.org; 19 Jul 2017 18:10:19 +0000 Received: from localhost ([127.0.0.1]:48105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXtQQ-0000ev-Q3 for submit@debbugs.gnu.org; Wed, 19 Jul 2017 14:10:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXtQP-0000ei-8H for 27647@debbugs.gnu.org; Wed, 19 Jul 2017 14:10:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXtQH-0005Cq-2k for 27647@debbugs.gnu.org; Wed, 19 Jul 2017 14:10:12 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXtQG-0005Cf-Vx; Wed, 19 Jul 2017 14:10:09 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2232 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dXtQG-0000A7-1M; Wed, 19 Jul 2017 14:10:08 -0400 Date: Wed, 19 Jul 2017 21:09:53 +0300 Message-Id: <83o9sgb8ni.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Noam Postavsky on Wed, 19 Jul 2017 13:52:28 -0400) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Noam Postavsky > Date: Wed, 19 Jul 2017 13:52:28 -0400 > Cc: Kaushal Modi , 27647@debbugs.gnu.org > > Perhaps 'watch Vdisplay_line_numbers' in gdb would help? I thought about that, but I'm afraid it could cause an infinite series of unrelated hits, each time Kaushal switches between buffers. It may make editing impractical. But if I'm mistaken, why not? From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when, frame out of focus References: In-Reply-To: Resent-From: jonas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2017 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27647@debbugs.gnu.org Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150066084125311 (code B ref 27647); Fri, 21 Jul 2017 18:15:02 +0000 Received: (at 27647) by debbugs.gnu.org; 21 Jul 2017 18:14:01 +0000 Received: from localhost ([127.0.0.1]:51504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYcR7-0006a0-Ib for submit@debbugs.gnu.org; Fri, 21 Jul 2017 14:14:01 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:33906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYc3O-00061U-1q for 27647@debbugs.gnu.org; Fri, 21 Jul 2017 13:49:30 -0400 Received: by mail-lf0-f42.google.com with SMTP id g25so22163321lfh.1 for <27647@debbugs.gnu.org>; Fri, 21 Jul 2017 10:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=AONbTyi16YW0yh5xx+Ue1SHAuGP5/rmEDpk4sEZKyKw=; b=g8NHXImRfM694jkJtQPuD3PKgXKCcoUi62k78D1Xd0rkI8WNvcauop7EMMiG6axxZ6 h4QOdwaOIDHuAyjtOcLckomrs4flwqeHaErdHYqDs4lJOro1AFfMCZG6AzaphCA8/tVJ Xv3OO1AA1GdwLtFpN5lzKqtvIazOgkMTKt4djN1dHXzgaBsaDapnAI534wgRQE1A4Iv6 Tza168PseTAjaaKQ6h+9mjUlqaQOyKXUhWK/H7ilyLdcl9KmRu9aDbpMeNACPgHKj3G2 a4YpwUHLzXR1htvJDuaVrBR2/EIdn2OJQuCoe0qX1cA7siqO9Dk0+O9QZSVoLjR+/UXT 2lUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=AONbTyi16YW0yh5xx+Ue1SHAuGP5/rmEDpk4sEZKyKw=; b=oiPcFOHybvELjHqXaOigUujSaM3sJJGkKsJ0bRh+X4BMnI9eF0lLNINPyCW/n2TtNk xmdcmrCMNKqLZAa4GBmgwrMy10BEOjOh1se/oiinF12vQFP4lxQdEffSSLpU+bFLieMI DLdRKf/IgY0ofuYRg42SmpS/ycrutLagwiMiEnagDnMdNxQeWr9HfGlECiVVgYpnKtQu DBU45bBPfdHwxT4gmnlor/Pp3T96OWD3Oqfll9Le49Zh0u2noqzvqdH920a401SrPIk+ JknM1JH2Vup8hp4oodoHWJqDbsi/YRDX7hUxPe/Gqjcyvr7T4t7nQ+XoSobQ472SEW9n ZbsQ== X-Gm-Message-State: AIVw111sGdtmRPrUrHvd/k13ay/Ho9ez01VJgjXQ0G29kjx7PXdcUvuR gH60n0U07NkhrnM2LpE+6Q== X-Received: by 10.25.99.19 with SMTP id x19mr2672594lfb.61.1500659363337; Fri, 21 Jul 2017 10:49:23 -0700 (PDT) Received: from [192.168.43.209] (host-217-214-147-20.mobileonline.telia.com. [217.214.147.20]) by smtp.gmail.com with ESMTPSA id y1sm1029955lja.24.2017.07.21.10.49.22 for <27647@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jul 2017 10:49:22 -0700 (PDT) From: jonas Message-ID: Date: Fri, 21 Jul 2017 19:49:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: 0.2 (/) X-Mailman-Approved-At: Fri, 21 Jul 2017 14:14:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.2 (/) I can replicate this behavior using flycheck and flycheck-pos-tip enabled. Place mark at anything marked with a squiggly line, wait for the pop up, 1-2 seconds later line numbers disappear. Using GNU Emacs 26.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-07-17 From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when, frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2017 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jonas Cc: 27647@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150066349029156 (code B ref 27647); Fri, 21 Jul 2017 18:59:02 +0000 Received: (at 27647) by debbugs.gnu.org; 21 Jul 2017 18:58:10 +0000 Received: from localhost ([127.0.0.1]:51515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYd7q-0007aC-J0 for submit@debbugs.gnu.org; Fri, 21 Jul 2017 14:58:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYd7p-0007a0-N0 for 27647@debbugs.gnu.org; Fri, 21 Jul 2017 14:58:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYd7h-0002ef-CF for 27647@debbugs.gnu.org; Fri, 21 Jul 2017 14:58:04 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYd7h-0002eR-8o; Fri, 21 Jul 2017 14:58:01 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2561 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dYd7g-0001X9-LQ; Fri, 21 Jul 2017 14:58:01 -0400 Date: Fri, 21 Jul 2017 21:57:53 +0300 Message-Id: <83mv7xaa8e.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from jonas on Fri, 21 Jul 2017 19:49:19 +0200) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: jonas > Date: Fri, 21 Jul 2017 19:49:19 +0200 > > I can replicate this behavior using flycheck and flycheck-pos-tip enabled. > Place mark at anything marked with a squiggly line, wait for the pop up, > 1-2 seconds later > line numbers disappear. Can you provide a detailed recipe, please? I don't use flycheck, so I don't think I understand how to reproduce the problem. Thanks. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2017 12:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Noam Postavsky Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150720725225801 (code B ref 27647); Thu, 05 Oct 2017 12:41:01 +0000 Received: (at 27647) by debbugs.gnu.org; 5 Oct 2017 12:40:52 +0000 Received: from localhost ([127.0.0.1]:49864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e05SO-0006i5-AX for submit@debbugs.gnu.org; Thu, 05 Oct 2017 08:40:52 -0400 Received: from mail-qt0-f181.google.com ([209.85.216.181]:49129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e05SN-0006hr-Fa for 27647@debbugs.gnu.org; Thu, 05 Oct 2017 08:40:51 -0400 Received: by mail-qt0-f181.google.com with SMTP id d13so24314995qta.5 for <27647@debbugs.gnu.org>; Thu, 05 Oct 2017 05:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lR1Y45GOaIF1YgNUkmGKV4PUpTrijHAUhiH1jF2GiJY=; b=Fgf5Rp4U7reU8VMDF3NW0TuHp0e0h46vahSBQnFE+tPf42DomThC9r3fnfGzIg4Ah+ 6hKKsoEP0Pt8NH1tCfeYYRRNpboCfNwwgDCuGLo599vX5CVCRDjZvHWcYdo1k2waTwBn NCtXd/6ijZ2wVStX/6cVLoXURhaII9X81zP3wShIAo/OAaCgiUmiUShVAeFn902xTyB4 je6NxSOchy8ZONf5cUrhd0ilUkHSeoZPevOSYazIgqJPIyoIXOR4KTzcttsZ+BWRzjsr v3gMPs4/A/rUN3VyurNpH0GOEijFh69vYHWUJPA603pc09FdZ3PhueJyaH0nSFHSh0Ev AgPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lR1Y45GOaIF1YgNUkmGKV4PUpTrijHAUhiH1jF2GiJY=; b=P6NatP2I4446fhpRoI4cOAGm9IhvS1KgNbC0et3D+pzFTKLRRsrjRI/FtvORXW/tvH mf/eTypMipMn8JiyllbcpvM2zScnnvKlNQHoxqby1clxIr7GywXcxivrMk7PPlmyX7nZ SaHr5UDD8KTgxb52CXspIQHq4kcVLIHRqYR2z2uSW8zVemOIeQeKOlqvKeozj1w6SaqD LRXS9nFqm9kKWO1pgA/7hHucec+dUOejBOm3KZs9jKtR1BMKPX4mIWkn4Hr/d0L/mTXa yyu2cWbUF/nfZSwk75AxMhn5YeN8+ut9/ZwsK6OABPwWHaPTYMrg7izylXfKazUrlgSh Vf9g== X-Gm-Message-State: AMCzsaXbM9qzbCZnGNz8/C0sftbfYktEQCtbnE9UBzMYrbQwaZ8NxEqn b0fCWW421zf1f5ozkwFVa257+gybBAIhuLGfji0= X-Google-Smtp-Source: AOwi7QDPw53j2ngb99JLLOFAsv71G7CwzXMabZxRFZrxwWAGnZhzDjF0NYNB+/kbvxCFIa7/drouP33vhzin8YgMRLg= X-Received: by 10.13.207.198 with SMTP id r189mr11665817ywd.287.1507207245733; Thu, 05 Oct 2017 05:40:45 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> In-Reply-To: <83o9sgb8ni.fsf@gnu.org> From: Kaushal Modi Date: Thu, 05 Oct 2017 12:40:35 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c06a1207c257c055acc086e" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.2 (/) --94eb2c06a1207c257c055acc086e Content-Type: text/plain; charset="UTF-8" On Wed, Jul 19, 2017 at 2:10 PM Eli Zaretskii wrote: > I thought about that, but I'm afraid it could cause an infinite series > of unrelated hits, each time Kaushal switches between buffers. It may > make editing impractical. > > But if I'm mistaken, why not? > Hi Eli, Noam, As you know from my other thread, I am unable to use gdb. As I don't know enough C to hack it myself, can you provide pointers to where I can put print statements or something like that in the C code directly to help with this debug? Another thing, debbugs seems to have stopped emailing the bug authors! Emails sent to just this debbugs don't reach me, like this reply[1] or this[2]. Can you guys please CC me on further replies? @Jonas: Any luck creating a recipe for this? @Eli: This problem is consistent, though not consistent enough to yet create a recipe. But it does happen at least once a day. I am still sticking on to native line numbers and not giving up. Can this be please made a blocker for 26.1? [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27647#38 [2]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27647#39 -- Kaushal Modi --94eb2c06a1207c257c055acc086e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jul 19= , 2017 at 2:10 PM Eli Zaretskii <eliz@gn= u.org> wrote:
I thought abou= t that, but I'm afraid it could cause an infinite series
of unrelated hits, each time Kaushal switches between buffers.=C2=A0 It may=
make editing impractical.

But if I'm mistaken, why not?

Hi El= i, Noam,

As you know from my other thread, I am un= able to use gdb. As I don't know enough C to hack it myself, can you pr= ovide pointers to where I can put print statements or something like that i= n the C code directly to help with this debug?

Ano= ther thing, debbugs seems to have stopped emailing the bug authors!

Emails sent to just this debbugs don't reach me, like= this reply[1] or this[2]. Can you guys please CC me on further replies?

@Jonas: Any luck creating a recipe for this?

@Eli: This problem is consistent, though not consistent e= nough to yet create a recipe. But it does happen at least once a day. I am = still sticking on to native line numbers and not giving up. Can this be ple= ase made a blocker for 26.1?


--

Kaushal Modi

--94eb2c06a1207c257c055acc086e-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: jonas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2017 13:04:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 27647@debbugs.gnu.org Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150720862228150 (code B ref 27647); Thu, 05 Oct 2017 13:04:03 +0000 Received: (at 27647) by debbugs.gnu.org; 5 Oct 2017 13:03:42 +0000 Received: from localhost ([127.0.0.1]:49872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e05oU-0007Jy-G9 for submit@debbugs.gnu.org; Thu, 05 Oct 2017 09:03:42 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:43062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e05oS-0007Jj-88 for 27647@debbugs.gnu.org; Thu, 05 Oct 2017 09:03:40 -0400 Received: by mail-lf0-f47.google.com with SMTP id o125so12280568lfe.0 for <27647@debbugs.gnu.org>; Thu, 05 Oct 2017 06:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=C36VvyrnxO4GclwulWrEPycJ0x64Np1NppSDwosIH2Q=; b=YUSr/kzN4sesLQj73MG94eiFAncZImvTbWjGsoDY5iOhoYv1iHzPeD7P/QeSw7haC9 nktWHeliSPmAQqqTJIFAzVbYOb/6DUrkLqyYY4NsmX5V+x4ivVpzKB8gsSCHAjxOT8EP 8OFiQkTK0kkoI9EB/KlN/qs0qLt4vf4HaWIFZEPlk2+WxXbuK2GGPocKYu/h7P2jNff7 BMrqjVhOp8AkyngA9D/EXGmhaxLLaGOUbiwXMd8yoK5T2SjHWATq7W6sDNI2z3viZqkM IVIPo6y2tu7yzzQRYchqxdECFOP5195fCWyfTT1FlrM+xPEiH6NJ1O9od8Syf5IIgyx2 w1+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=C36VvyrnxO4GclwulWrEPycJ0x64Np1NppSDwosIH2Q=; b=ll4Kre3MbEn5MHX2gGKUUR+iHTsmEJGjRQbNbGrXLPdddLxWC4s9nIYnL3X0JQnzQf +9xVWYmp17v7MePdAlYn+Nz/3OsHBNy9snjx/XwhfTU6YsH0s4Jz3EefVKIEUUi00qAz o2hoRLKCxjmzfD2hKlYqWEzXRpYYIVvShCj67nxynWxmByJlTIlXEe2R6FvCMaL20u8z gqihCfNG/m5HfcbOhBkxuvTrTSm6JOHm/ARuv/Tet4oR2EvYG5h+bCugJ5ZAHsc8klEI 16anLw38mRdxyKot7q46ImrTFMuA1BBVqH9jeFMqKUeTcWXtAwuKzWeX8mjJreNAHN0o oFtg== X-Gm-Message-State: AMCzsaXEvhhcLPNzUgwpm/mbQSBoejHr91UDJJSgx6TigdPPNAwMuy61 VwSnRsRgjKRs80Oyv5prv6tmBFDr X-Google-Smtp-Source: AOwi7QDZMCjmRZYpB7S9ZcTuT3D2H+pKaCiJQ74HDtGPmgSDP1CS6x+qAppKmYxQEVhWs/Z0Sd0D9A== X-Received: by 10.46.20.9 with SMTP id u9mr354448ljd.39.1507208614011; Thu, 05 Oct 2017 06:03:34 -0700 (PDT) Received: from [192.168.1.2] (h-4-149-139.A163.priv.bahnhof.se. [155.4.149.139]) by smtp.gmail.com with ESMTPSA id g141sm2975145lfg.70.2017.10.05.06.03.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 06:03:33 -0700 (PDT) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> From: jonas Message-ID: <213d35bf-fa32-fb03-54e4-4e8d81148e0c@gmail.com> Date: Thu, 5 Oct 2017 15:03:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------8C94171D92CA05FE013EB7F6" Content-Language: en-US X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.7 (/) This is a multi-part message in MIME format. --------------8C94171D92CA05FE013EB7F6 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Unfortunately, no. The issue is consistent, but I had difficulties creating a detailed recipe for it. For me, the issue was limited to flycheck-pos-tip which interacts with the windowing system through the pos-tip package. No modification of display-line-numbers took place. I ended up replacing the package with flycheck-popup-tip, which displays its information inside an emacs buffer, and the problem disappeared. So at a glance the issue seem to be deeper than just being config-related, but I am not knowledgeable enough to draw any real conclusions. On 2017-10-05 14:40, Kaushal Modi wrote: > On Wed, Jul 19, 2017 at 2:10 PM Eli Zaretskii > wrote: > > I thought about that, but I'm afraid it could cause an infinite series > of unrelated hits, each time Kaushal switches between buffers.  It may > make editing impractical. > > But if I'm mistaken, why not? > > > Hi Eli, Noam, > > As you know from my other thread, I am unable to use gdb. As I don't > know enough C to hack it myself, can you provide pointers to where I > can put print statements or something like that in the C code directly > to help with this debug? > > Another thing, debbugs seems to have stopped emailing the bug authors! > > Emails sent to just this debbugs don't reach me, like this reply[1] or > this[2]. Can you guys please CC me on further replies? > > @Jonas: Any luck creating a recipe for this? > > @Eli: This problem is consistent, though not consistent enough to yet > create a recipe. But it does happen at least once a day. I am still > sticking on to native line numbers and not giving up. Can this be > please made a blocker for 26.1? > > > [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27647#38 > [2]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27647#39 > -- > > Kaushal Modi > --------------8C94171D92CA05FE013EB7F6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Unfortunately, no. The issue is consistent, but I had difficulties creating a detailed recipe for it.

For me, the issue was limited to flycheck-pos-tip which interacts with the windowing system through the pos-tip package. No modification of display-line-numbers took place.

I ended up replacing the package with flycheck-popup-tip, which displays its information inside an emacs buffer, and the problem disappeared. So at a glance the issue seem to be deeper than just being config-related, but I am not knowledgeable enough to draw any real conclusions.


On 2017-10-05 14:40, Kaushal Modi wrote:
On Wed, Jul 19, 2017 at 2:10 PM Eli Zaretskii <eliz@gnu.org> wrote:
I thought about that, but I'm afraid it could cause an infinite series
of unrelated hits, each time Kaushal switches between buffers.  It may
make editing impractical.

But if I'm mistaken, why not?

Hi Eli, Noam,

As you know from my other thread, I am unable to use gdb. As I don't know enough C to hack it myself, can you provide pointers to where I can put print statements or something like that in the C code directly to help with this debug?

Another thing, debbugs seems to have stopped emailing the bug authors!

Emails sent to just this debbugs don't reach me, like this reply[1] or this[2]. Can you guys please CC me on further replies?

@Jonas: Any luck creating a recipe for this?

@Eli: This problem is consistent, though not consistent enough to yet create a recipe. But it does happen at least once a day. I am still sticking on to native line numbers and not giving up. Can this be please made a blocker for 26.1?


--

Kaushal Modi


--------------8C94171D92CA05FE013EB7F6-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2017 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150720907128873 (code B ref 27647); Thu, 05 Oct 2017 13:12:02 +0000 Received: (at 27647) by debbugs.gnu.org; 5 Oct 2017 13:11:11 +0000 Received: from localhost ([127.0.0.1]:49876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e05vj-0007Vd-Bq for submit@debbugs.gnu.org; Thu, 05 Oct 2017 09:11:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e05vh-0007VO-Lh for 27647@debbugs.gnu.org; Thu, 05 Oct 2017 09:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e05vW-0001JY-R4 for 27647@debbugs.gnu.org; Thu, 05 Oct 2017 09:11:04 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e05vS-0001Fe-Bk; Thu, 05 Oct 2017 09:10:54 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3224 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e05vR-00047k-QN; Thu, 05 Oct 2017 09:10:54 -0400 Date: Thu, 05 Oct 2017 16:10:42 +0300 Message-Id: <83tvzdwxil.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Kaushal Modi on Thu, 05 Oct 2017 12:40:35 +0000) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Kaushal Modi > Date: Thu, 05 Oct 2017 12:40:35 +0000 > Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com > > As you know from my other thread, I am unable to use gdb. As I don't know enough C to hack it myself, can > you provide pointers to where I can put print statements or something like that in the C code directly to help > with this debug? I couldn't think of anything useful. Which is not surprising, as I have no idea what could be involved in this. > @Eli: This problem is consistent, though not consistent enough to yet create a recipe. But it does happen at > least once a day. I am still sticking on to native line numbers and not giving up. Can this be please made a > blocker for 26.1? I don't think it's an Emacs bug. It's most probably something related to some hook or timer that you set up in your customizations. That's the only way a frame without a focus could get redrawn. So please look through all of your customizations to find the one that is responsible. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2017 13:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: kaushal.modi@gmail.com Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150721083631957 (code B ref 27647); Thu, 05 Oct 2017 13:41:01 +0000 Received: (at 27647) by debbugs.gnu.org; 5 Oct 2017 13:40:36 +0000 Received: from localhost ([127.0.0.1]:49907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e06OA-0008JK-Nn for submit@debbugs.gnu.org; Thu, 05 Oct 2017 09:40:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e06O9-0008J6-N1 for 27647@debbugs.gnu.org; Thu, 05 Oct 2017 09:40:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e06Nz-0000hW-UD for 27647@debbugs.gnu.org; Thu, 05 Oct 2017 09:40:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e06Ng-0000UK-Tn; Thu, 05 Oct 2017 09:40:04 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3267 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e06Ng-0003vq-A6; Thu, 05 Oct 2017 09:40:04 -0400 Date: Thu, 05 Oct 2017 16:39:53 +0300 Message-Id: <83r2uhww5y.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83tvzdwxil.fsf@gnu.org> (message from Eli Zaretskii on Thu, 05 Oct 2017 16:10:42 +0300) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Eli Zaretskii > Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, > npostavs@users.sourceforge.net > > It's most probably something related to some hook or timer that you > set up in your customizations. Or maybe some feature calls kill-all-local-variables, but doesn't restore display-line-numbers until later. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Romanos Skiadas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2017 22:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , kaushal.modi@gmail.com Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15072418603084 (code B ref 27647); Thu, 05 Oct 2017 22:18:02 +0000 Received: (at 27647) by debbugs.gnu.org; 5 Oct 2017 22:17:40 +0000 Received: from localhost ([127.0.0.1]:51893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ESa-0000ng-1L for submit@debbugs.gnu.org; Thu, 05 Oct 2017 18:17:40 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:49865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ESY-0000nS-UP for 27647@debbugs.gnu.org; Thu, 05 Oct 2017 18:17:39 -0400 Received: by mail-wm0-f54.google.com with SMTP id b189so4485992wmd.4 for <27647@debbugs.gnu.org>; Thu, 05 Oct 2017 15:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=ys1Ggg0eGF9Es5TH6MQVPlRHVQpN+w/32i28nLq1b40=; b=m+NtnKPvghB/9L/RP01NKM5opmS5FW2wrXmiTzK3/V++SKbYoVE434vSzpZtNl+NEH ULXM8b30/U37cEV8SbgdNevrIXlDEqpqZTVxWaHRIZJG0Hq0GVExOUTnwGVe1d4Wry5x jQ8unu2bwbZmVxlS0Rpqqik3CxUzu1AGpMrtxh7K9CPgQht5NnQ6VyYRNzGTsg/rAjfm kyzjqhbzKbMgznkjkma7JSrJ0F7nCLErgiqpNEbY0wxVyky7AtrIh2doPs+SZIEftb7p ZaOvKXCW0T/6ijpaIuCfVs51nlbWGZ0gxkice/AS5fE2QrKUU+RibOfkq0PBP/2FRRtv ESHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=ys1Ggg0eGF9Es5TH6MQVPlRHVQpN+w/32i28nLq1b40=; b=XwQjNNsWjNnT3oybLi6mgSWTEPjk0lVKDBxyAV17LKV3HrjfAYyAwnypK9JHiOK9Yi J9ejVskPpN3BZdiZ/4qsRRk6pHT86k8c2f4UzjuA9ETYgzAubtbsdUYPOUZMgI9WoYdm 3rgAQvm4IZsYfRd4bjICEb75f9Ji3WtnnNQMUxiCQMnn29ArXIWG/qnPqXeT7+C5xudq BJ+ri0QsLCcq6qZ9qQa2+Y6gqH2Cj3AFn23JL0C18vOIdVv520CPSvo5EcVN841QjRwR C+5LrzLaFYjTQaXugASvA6+9XalYeItlX5PzNOmJHpD9CJs7+GXcytZHpfZRc/ZvZdAN ZMzg== X-Gm-Message-State: AMCzsaVXHyXRmLHuqoKyoqB0bHb4/KycUKP7DZ/TVWgVhuswKMB+lH4b vecoRCfYQCIZacLEMZ3hJFI= X-Google-Smtp-Source: AOwi7QAs3f7M5f9VZDfp/dUrnoPtmUl8Ab3qF7uGdblMXse0vR520iE77nbf/sNe667eF2dsW7ol6g== X-Received: by 10.80.142.71 with SMTP id 7mr623078edx.0.1507241853207; Thu, 05 Oct 2017 15:17:33 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.111]) by smtp.gmail.com with ESMTPSA id b36sm233938edd.67.2017.10.05.15.17.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 15:17:32 -0700 (PDT) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <83r2uhww5y.fsf@gnu.org> From: Romanos Skiadas Message-ID: <5f3f5a50-0108-0ad5-d802-f0fdfda07c09@gmail.com> Date: Thu, 5 Oct 2017 23:17:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <83r2uhww5y.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------1294CAAE20A4D0EFB2209D38" Content-Language: en-US X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.0 (/) This is a multi-part message in MIME format. --------------1294CAAE20A4D0EFB2209D38 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 05/10/17 14:39, Eli Zaretskii wrote: >> From: Eli Zaretskii >> Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, >> npostavs@users.sourceforge.net >> >> It's most probably something related to some hook or timer that you >> set up in your customizations. > Or maybe some feature calls kill-all-local-variables, but doesn't > restore display-line-numbers until later. > > > I have been seeing this problem for a while due to something happening with flycheck-pos-tip, like in the original report. I disabled the package, but today I started seeing it (or could it be something different?) again in a buffer. It's far from a recipe, but I was seeing this: - In a buffer, the line numbers looked like attached screenshot (1) - in a buffer, I pressed any combination of keys that would cause which-key to pop up - I pressed C-g to close which-key. At this point, the line numbers would look like screenshot (2). They don't go away per se, it looks like something goes wrong in some calculation maybe? - Pressing C-g restored the line numbers to state (1) I played with adding debug-watch to a couple of variables, this was a few hours ago so I only remember I did it with display-line-numbers and nothing showed up. I also did debug-on-entry on kill-all-local-variables, it never gets called. After playing with the buffer for a while, I found out that this behaviour goes away with git-gutter-mode disabled. I'll find some time to try to get something reproducible with stock Emacs within the next couple of days. @Eli, I still have the buffer around and can try out things. Do you have any debugging hints for this? Best, Romanos --------------1294CAAE20A4D0EFB2209D38 Content-Type: image/png; name="line_numbers_2.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="line_numbers_2.png" iVBORw0KGgoAAAANSUhEUgAAAB4AAAPLCAIAAADHSa70AAAAA3NCSVQICAjb4U/gAAAD70lE QVR4Xu3VvY4MUACGYcw26PwElYhWJBKFzjVsuZeg1rkAnYvSSUgkSEgEEaUEofJTmIlGZjdv Zsgp5uRRyZo9We8+5zvHXz5/fGybP/fu3r7/4OHadxz5xb3lh/YP7mx++P0HH/cPbq99/sgv ntj80G0/6ei1YoII0pdoN4Ws5mnbP4eX78gTtj56uZ9HHnT4i7vZ2k+99psURJDDl/vvrxBC CCFdgJDuY0MIIaQLENJ9bAghhHQBQrqPDSGEkC5ASPexIYQQ0gUI6T42hBBCugAh3ceGEEJI FyCk+9gQQgjpAoR0HxtCCCFdgJDuY0MIIaQLENJ9bAghhHQBQrqPDSGEkC5ASPexIYQQ0gUI 6T42hBBCugAh3ceGEEJIFyCk+9gQQgjpAoR0HxtCCCFdgJDuY0MIIaQLENJ9bAghhHQBQrqP DSGEkC5ASPexIYQQ0gUI6T42hBBCugAh3ceGEEJIFyCk+9gQQgjpAoR0HxtCCCFdgJDuY0MI IaQLENJ9bAghhHQBQrqPDSGEkC5ASPexIYQQ0gUI6T42hBBCugAh3ceGEEJIFyCk+9gQQgjp AoR0HxtCCCFdgJDuY0MIIaQLENJ9bAghhHQBQrqPDSGEkC5ASPexIYQQ0gUI6T42hBBCugAh 3ceGEEJIFyCk+9gQQgjpAoR0HxtCCCFdgJDuY0MIIaQLENJ9bAghhHQBQrqPDSGEkC5ASPex IYQQ0gUI6T42hBBCugAh3ceGEEJIFyCk+9gQQgjpAoR0HxtCCCFdgJDuY0MIIaQLENJ9bAgh hHQBQrqPDSGEkC5ASPexIYQQ0gUI6T42hBBCugAh3ceGEEJIFyCk+9gQQgjpAoR0HxtCCCFd gJDuY0MIIaQLENJ9bAghhHQBQrqPDZlCyN7yf7FY7F24eOnM2fNnzp57+uTRt29f+1e/4b+u hCwWi5OnTv/69XPD79nwY6ujf/z4/ub1qw/v3234PRt+jOu1ULsZZOX62vUbS9R//js3bt5a /uXd29f/D2Z19ItnTzf0tNXHdrO1n3qKKzPw1+iVIaSHcCC+gUd7Zbie0fXAKzPwaK+M2zjj bfTKcD2j64FPwcCjvTJu44y30SvD9YyuBz4FA4/2yriNM95GrwzXM7oe+BQMPNor4zbOeBu9 MlzP6HrgUzDwaK+M2zjjbfTKcD2j64FPwcCjvTJu44y30SvD9YyuBz4FA4/2yriNM95GrwzX M7oe+BQMPNor4zbOeBu9MlzP6HrgUzDwaK+M2zjjbfTKcD2j64FPwcCjvTJu44y30SvD9Yyu Bz4FA4/2yriNM95Gr8wUro9/+fzp8pWrLfTf/nXgqP4GxqhzWrYqY04AAAAASUVORK5CYII= --------------1294CAAE20A4D0EFB2209D38 Content-Type: image/png; name="line_numbers_1.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="line_numbers_1.png" iVBORw0KGgoAAAANSUhEUgAAAC4AAAPNCAIAAAB548/RAAAAA3NCSVQICAjb4U/gAAAgAElE QVR4Xu1daVcU2ZZlEERIBEUGkTlBZgS19NlVXa9r9a+pr/36U/+A/tZ/6K23Vi2rLFELlUHm QRBknkVBxt7pLaPSiHNOxI2IjMwPl1Wrlnnyxj0n9r03Yue5w85u67qflY6///2/x//zj78n e85JRxi0z0u0+Ys1Nze3MX67vLwyOzt7Y2Ntbmby7OwM9utlN7p67loXnpyc9D/5BR9RrKGx uaLq5qVLl/b2dmemxo8OD4X6bV9JobS0dhYUFLwa6M/Ozmnr6MZ/oyODuB6eTk9Onn5xn/xX dfNWVfWt4cGXR4ef6hribe3dg69eeA+FbSD4q6isejc/9/nz56OjQ9xi2Y2KK1cKv4SSd3Jy 7PRxKS/v8NOnjwcfAN766vLVktKcHLZ+4nKnKdlyfn6uPh4fJ3zHiq8eHn5CKLmXLt178G8F BVfgeHZm8sP+Hr5dXnpXUnKt+Xb7+8WFmroG3IF1uexFfcs20Onp6cHBh1u19R8/fsDtNsVv o151l3t7O3n5+XAMCxyj3/zx7Mnp6Un+5cQfelL1rVp8NTI44CUCq4wE4MToMJrp4aMfW9u6 FubncrKzj48/48q93Z3Z6QnAg6bDP/Ly8kpKS2Hv6OpFF37R/9vYm0GEiwZFT/YeDYsKqkC7 D73+Q9V1o7wCN7r/pSGS/3Jyc/ERnQOAFRXFBidfoGPhv63NjUff/8fBwf762qrHaCRUyiuq rl0vw5AuLb0eb2lfXJw/Oz0FTnf6vrteVg7f6MXNLW1oR+CEQPF/NA3aCF+hAPrT2dmfXc1L NBIqCKKhMV5wpRANgZ6x+O4takQfWl9bqW+Md3T2nJ2f72xvToyPXFxc4Kvx0eHGeEvf/b+h X2M84zm0tbnuJQhVRgpldeU9/nPWtbK8hP+cdvSkyfE3TrtHi9RAHqsIq1gGhSI1UFi3y9WD l3PyV9npIgnO+DKogUwozubJysogVKQRpMviuPIUBIRNCkWXxXHlCbeUiW0gXRYnlKf8EjYJ FRTXYnFcecItZWJD8cHiONZH+SVsuTcqqgnzFxP4R3lFJajk1aulb+emq6tr8ELG7wmQVnAD MMizs1Ow2rr6xv39XRBsrjxXv83OooJyWizOY3khLLbb4hotFseVF3xroKLL4sjy3kMxb2YK K6mvUOVTaDOhUOAaVAwqFAKUTXoHCays+GoJXpP4P3II+GH8dnYK6QzUX1vfeKumDr+Zd3e2 pibHjj8nkiAe/6Q3c2t7d2Fh0cjQAH45I0WAHM7GeiJDgQRC772HqytLk+Mja2vLyD3t7m7j FzxycfUNcSRX5t/OlJWV36yuXaV+WnORsSNIYGW4dfCBxXfzQAKcYWF+VjGs6pq694vz+3u7 J8fH05PjxcVXARvn2GlnQ1FFnSwO9tJr17e3Nmx1IVOKVM+HD/t19U33vnsENgNaE4sVO11y FravCCwuP//ytes3blbXoKVOTk9W3i+9W5hDegfRoOvkXkKOJw+pr9OzU/yLc+y0S0WRi2tp 7UAuDkxxZnoCza9ycYDq4uJ8bHT489FhSem1ru4+FNje3kR3QRhvZ6fxHzyhiZGlcrrkLFIo HItDhg2508NPH1HpzvYW8oOxWAxNhoCQq0VMsKMvX75cgPbiHDvtUl8hWRyqQHtgsGBAISeI MsiQ7exsw44kGQYaosnLy4+3tKH/HuiEIqHCsTIAMD05Fm9uu1xQAOSQglMp5LXVZeRzO7ru oK8ArbE3Q85bFyyGxVHgSH2FKp9CmwmFAtegYlChEKBsLk9bckYV9ZAsLjf3UmXVTUy/4J3w euCZ1gsIdUqhcLk1cIOe3vvv5mdB2EADKiur1aQvXhRXCovAVKh7drexI8gHiwOFwPzd4kJi 2sjHHxuKqss7i/Ph23YJ20C6LC6FoaBqPRbnYLu6wbGooCJdFqfr21Ze6iu6LC5gKBJ1Amus rWtQM6qg9WpGVfmrrKrGjwzF4hbezqqZ066ePjxUkgNCitX7gJJCCXiXupdLDaRbV8DyJhQK QIOKQYVCgLJlUF+R3kG6uTj8cG9oasY8Ft7qm1hHNzt1/mUdnce/8HJxWVlYCLe1sT4xNozV RXUNTVjegx/xHuNAMTYUsDisyUPGAFmTBHf5sI88BdbzgC82Nd/GEj2slAOxwlfIy6lVPcgk IKWAf2PVHNZiYdnVyvtF76G49BXfLA6pHq1MKSJm+0oQFoeVfBUVVcNDL71DIoWC7/yxODCH zu7epaUFNFxoofhgcWiXnr77uzvbKjOoFYrUV3RZHPK2vfce7GxtTk6MagWhCkvUSYvFIWn7 6IefEglSpG6xoPTLkkWk6VQu3ktkUiherg+xjNRAIbrxUpUJhULJoGJQoRCgbBnUV9g3M+L2 w+IaweJKQC0wsYlF9Zizo+6ftrHUCcV9zKhiWf/E+Ju1lWW8NG6UV65Ri5jpQISFiz5ycZha xTQiJumwlhucMlYU47ySdpe+4oPFYV4qsaugpva9DptEcGxf8cfiMLeMFeuoFy9kZFPJu+eM Ul/h1rlhPwfWxk9Pjc/PTaNz3G7tABXHZCZ8IF+KjNDW1gZmf2tq60G8FQPn3CfbWVRQyAeL w1VoU/B+LOK///B7/DICo/MSB8pIfUWLxaGL9N17iFGDaVZMZgI59F/cjMc4UEyiTlosDnWh PCZ3C4tiChg0n1aaXwrF+w2FUlJqoFAceK/EhEJhZVAxqFAIULYM6ivSO0iXxVm32tTcinfh xNgIslTU/dM2KRTdGVXlAaufwCnVqijaJ2NlG8gHi4MLzPW2tnfhtZyTk9iPqPXHhqJq0WVx 2Ia4vbWJnZLIcWjFgcJsA/lgcWAIWL038PypbhCqPBsKvtbKxSGbikV0UxNvsOUh/FC0WFxh URFytZ3dfVYcSPtin4baje0lOAkVsDgkjLG8rbi4xNqjikqxLg4rzrAkbXd3B0sI1bo4kMil d/OWy+9//E+kn0MbzLrr4rzculDGsDgKHJfnCnVJqmwmFApZg4pBhUKAskkPfl0Wx51AQvkl bFIouiwObIs8gYRwS5nYEeSDxXEnkFB+CZuECoo7WRyyS+BHyS9hq1buBBLCLWViQ/HB4rgT SCi/hC3MXBy3d5VwS5lYVFBYi8XZNqRYJ5BQTmkb221RXDMXR59AQrulrBJ10s3FYW9MVXVN UWGROoEEKzW01gJIoVChp9AmNVAK3VJVm1AMKhQClM30lQxHRXoH6bI43Cq564GCgLBJoeiy OG7XA+GWMrHd1geL4/auUn4JGxuKKutkcbCTe1QFO+GWMrEN5IPFkXtXKae0jQ0FxbVycaBO gJDYu+p514MUii6L4/au0iA4rFJf0WJxqJnbu+pwShsk6qTL4uCB3PVAe3ZYpVAchVNrkBoo tZ4dtZtQHJDAYFAxqFAIULYM6ivSO0iLxeFdiIkX291icybWhFEQEDbpadvW0YNTf8dHh9Sp v9gooOaZwNbufvcIq6pwAonao4r1TRazUU5w1Edl5U2cvmqzEyF8NbEN5IPFWW4QKw5Fxlmm 3uPAtWwoql4tFmeFgk0o2H6Cs9IEDJxfsX3FB4tTtWMpP6ZWX/7R73QmW9hQcJkui1Oeym6U o1fhdGbZsfNbKRRdFqdqx0KA/T374cBOx06L1Fd0WZyqHRu9cS6L05OrRULF34wqeD/6matj ZwHpueIsnVKL1EApdeys3ITixMT1aUtdkiqbaSAKWYMKhYrL01brpJGA2g3SLJnu7gZMwmBJ 9sjQq/m5mcLCWE1NPXlEO4VIwsb2FR8sLqB2AxuKil2LxeEMMLwIIaEAQhmRdgOXcwuo3SD1 Fd3dDVAvwBF/w4MDapY3cSjZrtf9BGgEaQRpsTgcsRi1dgPCJ3Nu6FUBtRsk6qSbi0MfgnYD lCfQNNifgjOcvf80xB1KoXAPgBTZXQZziryS1ZpQKFgMKgYVCgHKlkF9RXoHaeXi8CIUylMo 2G3Sm1mXxXHl7T6Zz2wD6bI4oTzj2m5mQ1EFtVgcLiHL230yn9m+opuLE8ozru1mCRVOgQu3 rmZOIdg2NTFa39CkTiHjytt9Mp9ZVFBei8Vhcpcrz7i2myVUdHNxXHm7T+azhIpuLo4rz7i2 mw2LsyOS+Cz1Fap8Cm0mFApcg4pBhUKAsrk8bZ25ODxShZnTINoN0tOWm1FNvqXkmVP83Efo oyOvsdYfR0rkXy7AMcTU/dM2dgR5YWW2mdM0aDdYN5U8cxpcu4FFxWJl2GN5pbCwpbUdjClZ LVbNnC4tLqjIgms3sKHAgczKbDOnWDBvaTc87/8VBxyiiVOu3aBgsM+cXlykQbtBheKcOU2D doMKxTlzarQb6KdUIKs0ggJVrH+xCYXCzKBiUKEQoGxhsriotRtwDuivv/zTuivF4pSINbhm 1NoNVhw2FpcG7QYrFH/r36h+krCxzxVdFsc58G5nQ0EVWizOu0uupDSC5NyancVxHjzbJVTk 3JqTxXl2SheUUJFza04Wl6zdoE4YNNoNNOoaVqmvaFQTRlETCoWiQcWgQiFA2Vyetlq5uIDa DeHl4i4u7vTex/J9rIW7XHAFR/JDyWduZoq6f9rGjiDtXNzFBbZVJE79PTvDynkcuYVzZWmf jJUNRZWXZ0gFFudDu4ENJQiLU9oNEFdl7p82s6GguD8WF6l2g7opksVFrd2gQnGyuIDaDS7P lYbGuFLgQsovWYEL0dhYHFLId+4+SIy7qmqsdjXaDfSA0LZKI0i7smAXmFAo/AwqBhUKAcrm 8rTVZnEBtBvCY3Hn5/UNcZxxurq6DJ3z9s6ei6ysoVcvqPunbewI0mZxWVlp0G6wbopkcZFq N6hQyL2oQbQb2AaCPx8sDloATx7/6/XL50gnQ7QgeTKY7iBJVmkE+cvFgZlHp92g7sTG4oJr N0ioaOXiMIyRXq+rb8QRyAoY7EMx58W5dku3AtIIcrs25O9NKBSgBhWDCoUAZXN52mqxOKv+ iLQbhBlVFUqk2g3W3TtPFIlau8EKxcnigmg3sM8VH7k4pd3gQytU3RsbCr7WYnHI/EC7Aeq3 kWo3WN0z+USRiqqbadBuUKGAxe0mCQ3jzOg0aDeoUJwzqlZ39vcP6dehvxp9XyV1W9+V+rvQ hELhZlAxqFAIULYM6ithsriotRsEFoecWdTaDVZD21hcGrQbrFBsLC6gdgPbbX2wOJzqsbG+ NjYyOPD8d2xv7uq5i+CosULb2FBQXIvFoTzO1MC5htgGA6Fb/ANMqqS0lHZLWaUR5C8Xp7xE pN2gnDlycUG1GyRUNHNxp1iHUN8Y7+jsUdoNOHHRu8otbs+wOKrbSiOIKp9CmwmFAtegYlCh EKBsLk9b3VxcEO0G6Wmru0fVy2nAFBx/2tgR5GNGNQ3aDdad2Vgcp+kgIJH8FdtXXE8Occ6o cufIBQ0F14PFIb328NGP2PE5Mz0BcdBkJV3n6b7WCSQ43xbZ267uPlyIYz9CCEWXxaVBu0Hd pXNdHHmOnEdIUIztK/hOi8WhPNoCMq7x5jasXQSi46PDmHD2Hor0XPFeSygl2edKKLVrVWJC oeAyqBhUKAQoWwb1FZenrXcWh50EwgkkFAp2m/S01WVxyXVHpN1guXTOqKqvOLsdh28/u/QV f7sbnDOtchDqWzYUH7k4VaPtBBIvQbiEgq91c3GqRie78xiNNIJ0WZxySe568BIN20C42N8e VSe78xIHykio6LI45dL3TKv0XPF4N2EVkxooLB8e6zGhUEAZVAwqFAKULYP6isvT1juLwz7M gNoN0tNWl8VhNxuYyvDgS5z1XtcQLykpHUzX7oY0aDdYfc7G1tKg3aBCIXJxlxN/mIOvvlUL JoqZVWqgsDZpBOmyuI6uXszpvuj/bezNICZ6y25UqI2QrPNvv5BGkBaLw56KNGg3qJuxsTW0 SEDtBgkVXRaH5Bu0G3DGiNJumJuZxJ5zj62DYtJzxXstoZSUum0oDrxXYkKhsDKoGFQoBChb BvUVl6etFovD09lZnrp/2iY9bXVZnJfydBRfrGwD6c6oeikvxCGFoi7TzcXJ5X2GopuLcy0v x+GCii6Lk8u7hiKNIC0WB09yeddQ2G6LK3VzcXJ511AkVHRZnFzeNRTpueJ6cbgFpAYK15Nr bSYUCiKDikGFQoCyZVBfcXnakqxMyLkF0W6QUGlp7YzFil8N9L8aeIaEBU4dULhCo6Gq+tab 4dfPfn/88eCgrf0ve01tw9ibIZzHj6XQnd19VDuwNjYUgZVxObc0aDeQObfg2g1sXxHWxZF6 qcG1G9hQ0KTcurhEzu34GDm3WHHxzVu1yLnt7e8lazeoHbNo4tRqNwg5t6i1G4ScW0DtBok6 cTqqgl4qVH9rausTErfbW1gjl7zQkR3EX7+QQnG9ONwC7HMlXDdeajOhUCgZVAwqFAKULYP6 ivQ65HJrHIsLqN0goaLL4hA6Jolw1hQFv7uNDcUHi0uDdgPJ4tzv2q0E21d0WZybI/fv2QbC pVxuLeDMKRcUiwouIHNrAovjfHi0S6Egt4bhsL+3W1xcEm9pX1ycV1xVzZxiYwdmlXEiNQ7F OTs79+hPKCZRJ10Wl6zdoFwa7QYBem9fSSPIWw2hlTKhUFAaVAwqFAKUTXrw67K4gNoNuTcq qqkQEzZO3R7r3/AzfWTo1fzcTGFhrKamHrsssKwJSbmtjfWJseGtzY26hiYswcKPeK5yp50d QdosLi3aDV5YnA/tBravBGFxSrtheOilsxUEi9RXwEvKKyqb4revXi3F6766ugbHxh4dHt7p +w5MBWfGYvFbXn5+IrGzu235wP7Hnt57KytLiQ6k88eigkp8sLgg2g1SKLosDhnv7t57GETT 0xM6cPxZNjQWh5+Mj374KZEgPTvLzckx2g0+GoO6hH3EUYVTazOhUPgaVAwqFAKUTXrw+2Fx AbQbpDezHovLysLP/Y8HHybG36ytLOPfOGN2TeflzI4gbRaXFu0GmcVFqt1AzqiqjhhEu0Hq Kz5YHPKl0IHa2tpANgozd5Bf934imTSCfLA4YKMkCrCI//7D7/HLaHfnL65JDeG/bGy3RRFy nRs3oxpcuyE0FofQMYCxB6awKKaAmZ+bhtaGjETyt1Io3msJpaTUQKE48F6JCYXCyqBiUKEQ oGwZ1Fekd5Aui7Nu1Z92g4SK7oyqCiVS7QZuXRxCiVq7QWBxQbQb2L7iIxentBsGnj+lxoe7 TeorWjOqadBu4GZU8y8XpEG7gZxRTY92Q8C9qFyvMSyOQkYaQVT5FNpMKBS4BhWDCoUAZWPf zCisy+Ki1m5AiGp3g3WiCCZS1YkiyJlFrd3Asbg0aDeAxZWUXGu+3f5+cQETzp+PjtTW1IDa DWxf8cHi1KwmAkVkCBTaDX88e+J9HWOYuTjAs7O9Cd8Q4cJxspDs3N/fPfz0iRouhI1FBWX9 5eKUkyi0G/hcXFDtBok66a6Lw7KJquqaosIipd0wNztldFSJjqhnMiSBwsugYlChEKBsGdRX pHeQLovDrQbRbpDezLozqjhht/few9WVpcnxkbW1ZSw22t3d9j5LxjaQjxnVNGg3cLm4NGg3 cDOqAbUbpL6iO6MKnotTBaenxjFVh2n4260d2CoKQS5q5BI2aQTpsriotRs4FofbDKjdECaL QzSVVdV19U1Ku2Hh7aw5L47oiHom9hGnV00YpU0oFIoGFYMKhQBlk95BWiwOhdOg3eDldN+I tBu4XJyFenTaDRyLs0Lxp93A9hUfuTgVivM0YKqPEjbpEac1o2rVHZ12Azejur62qqKJTrtB YHEqlEi1G+QZVaPdQIwD/yZpBPmv1deVJhQKNoOKQYVCgLKxb2YU1mJxKM+dQEL5JWxSfkU3 F0fvXSWc0iZ2BPnIxbmyOzqEr1Y2FFVATZXi38fHx/g/dnzi/xyL4+xyBNa3bF/xweK4HJ3H UKS+opuLk/euugbEooIrtXJxmxvrAbUbpFC09qha7M73CSRh5uKEc+RcWwcFpFC8XB9iGZfB HKIn16pMKBREBhWDCoUAZcugviI9+HVZHFeegoCwSW9mXRbHlSfcUia2gXRZnFCe8kvY2FBU WS0Wh0vI8oRbysT2FV0WJ5Sn/BI2qa/osjiuPOGWMrGooLAWi0MujixPOaVtUihaLA7Vc+Vp zw6rFAqeEw2N8YIrhZ8/H+GHBXYHq8u5XBxX3uGUNhgWR+Hi8lyhLkmVzYRCIWtQMahQCFA2 l6ctqd0gsLUg2g3Sm5ljZZwdC6jrG+IQxpx/O1NWVn6zunZ1eYm6f9rGjiCOlXF2VJ8G7QZ4 dbK1NGg3cGwtuHYD20C4dW5GlbQnazdA5+P87AxNmVrtBoRIs7WLi6i1GxAKeQIJ7KBXON4D B53k5eXHW9pwXPCBzvEeLs8VksVxbA0Hv+B8v46uO0q7AYos9KhlrIbFUcBII4gqn0KbCYUC 16BiUKEQoGwuT1stFpcG7QbuBBK8ECLVbhBYXBq0G9DQThZHtb6eje0rHFvj7HpuqdLSI45k a6iEs1P1a9hYVFAHzdZ4u4ZbqqgUCpdb4+xU/Ro2KRSOrXH2ZO2Gvvt/QxRGu0GjKeii0gii r0iZ1YRCQWtQMahQCFA2l6etFotLg3YDnYuLXruBZXFp0W5AQ7uyOB/aDexzxWJrOO/sSmFh S2s73CPhxtmTO6LSbni3MEf1TtbGhoIrOLbG2ZUT7H/s7O5dWlrABCvrlvpCGkE+WFzU2g0c iwuo3SChwrE10o4U8p27DxLjq6oaq12NdgPVB33YpBHko7ogl5hQKPQMKgYVCgHK5vK01WZx AbQbpJmPto6egoKC8dGh7Oycto7uk5Pj0ZFB3A9nx3QqDgBbXV2+lHupvbPnIitr6NUL6v5p GzuCOLbG2VH9wvzs+6V3mKTDKiDogcWKYrRPxsqGospzbI2z46rotBvkXFzU2g3C+rdItRvQ BBy7s9oU59ZFod0Af+SManDtBpfnivcZVQxjCKjhED8Me3RqAAMNNXNeHPO08G52ea54ryh4 SRMKhaFBxaBCIUDZXJ62WizOqj867QZuRlWFEp12g8DiEErU2g1wybG4INoN7HOFy7lxdsSn tBvezk5TndLdxoaCS7mcG2lPg3YDQiRZHDJNadBuIHNx6dFuIHNx7n3BrYT069Dt2pC/l7pt yK7cqjOhUAgZVAwqFAKULYP6SpgsLg3aDWBxyNG9GuhXOTr8Xlc5OrCqSLUbBBYXtXYDdAjQ 55wsDufYRq3dIOTi0qDdwOXiotZuQOuQLM72pIhCuwEumVxcUO0Gl+eKTi7udH1tpb4x3tHZ o7QbJsZHvJ/fjTs0LC7D30EZ9Do0oZi+QiFA2TKor7g8bXVzcVFrN9Dr4rKyotZuEFhcGrQb 0OecLA7GqLUbBBYXULtBGkFkzg13z9kB1cXF+djo8NMnv0xNjNY3NF0vK6eGLW2TRhDH1jh7 1NoNuCOSxcEeULtBQoXLuXH27a2N6cmxeHOb0m7AgSSYV6Ubg7IaFkehIo0gqnwKbSYUClyD ikGFQoCyuTxtvbM4PILToN3ArYtLvtUotBsEFmeFEp12A1ySLM4KxZ92A/tc4WZOObsVh9Ju WFpcoLqmZGNDwUUcW+Psyk902g3wx7E4FUp02g3wx7E4FUqk2g0ci1OhGO0GaUBofyeNIO3K gl1gQqHwM6gYVCgEKFtoLA6Vp0G7gcvFRa3dILC4NGg3oC1IFhe1doOUi7uc+MMcPA4lQ6wj gwNU72Rt0tmC3MwpZ49auwE3RbI4V2UuFo2vX0iDmVz/hgs5O9BC0/jWbpBC4dgaZ+dOA3bF QxUwuTgKKEMSDCoUApTN9JUMR8Xlaes9F4f7xFOYLE9BQNikNzPH1nTthFvKxHZbjq3p2imn tI0NRRUn2Rq+0rXTzr+1sn2FY2u6di9BqDISKlzOTdfuMRoWFVxPsjUf9hBC4diarj2EUDi2 pmv3GIphcRRQ0giiyqfQZkKhwDWoGFQoBChb4h0knNbLaTHo2inXdlui2+JBTp7WCy2GmtoG nNqO8/WxtLmzu09drWu3+2Q+J0LhTuvltBh07Yxru5kdzJwWg67d7pD/zIbCaTHo2nnX9m9Y 6pSsxaB2wIJg45gXXbvdIf+ZRSXrqxaDuhazx5cvF3yAAIKunfdt+4YPhddi4DQaOLvHYBLU Kfm0XnWZdVpvTV1DTW290mLAmjeMNVVA1+4lGsPiKJSkvkKVT6HNhEKBa1AxqFAIULYwWZzA BinXdlui24bF4rh67D6Zz4lQwmJxXD2Ma7uZHcypY2v2EL5+ZkNJHVvjQgmNxXEOvNtZVFLH 1rjg+FD0WRznw6M9TBYnsEEv0RgWR6Ek9RWqfAptJhQKXIOKQYVCgLKFyeICajckui3HvvRy btnZjU0tWxvr/U9+wRGh166X4WAD6uZZWyIUjn3p5dxSp90QkMWFqd0QhMX5024In8X51m7g n7a+cm5oFyzU293Z9nGWHh+KPouDdkPvvQc7W5uTE6PsOOG/CI3FoZs/+uGnREL17Cw3J8do N/CYa30j9RWtioIXNqFQGBpUDCoUApQtbBYXQLshPBaXlXXtWtnW5nr/08cv/+jH5jZsZaVu nrWFx+JSp93gm8WFr93gj8UF0W4ImcVhnvPJ438VxYqh+dF37+Hrl8+tdYVsH/n6Bf+09cXi UC18K+0GBIRfRq4RWAX4UDRZXHDthtBYHG4OP+Gw0aKwKKaAmZ+bTsxLe/4zuTgKKqmvUOVT aDOhUOAaVAwqFAKULUwWZ9XvX7shnFzc10ACaTeEk4v7EkpKtBv8sbiUaDf4YHEBtRtCY3FK u2Fq4s3Z2Sk1PtxtbCjWjOr2l3OYnevibPaKqpsp1G7AOrd4cytcHn76FG9p29/bPfhChUg7 voJ8g3XvOEIIi9dw+K47Gl9LJFDhVOzXVpfz8vM7uu6odXFY7aqu4ghj3EgAAASPSURBVOze vZIlDYujYDEkwaBCIUDZTF/JcFTCZHEhaDfILG505DUUCG63dmB3w+uBZ4BWzbQ67ZiBCard EBaLC6jdwI4gHyzO0m7Aa7n37gMkeqjeydrYUHywOGg3bKyvjeGEkee/n5ycdPXcRXCsZ8cX LHXysYsBZ2rgP+VidnriwaN/LyktheKtwyltYFEJuC4uZO0GbrcCacfwwbQuDj9Gy+KYQ1D/ g4MPFkg0Dt9aw8zF4digquqaosIipd0wNztldFS9tIFYhu+24mWp+NKEQqFqUDGoUAhQtjBZ HOoPot2Q6LYyi/O+RxWvnp7e+zj0/fnTx69fPoPIEpbVUPdP2xKhhMXiUqXd4IPFpUq7wQeL C6jdECaLwzyd0m7A4WjI3nZ194GyoOvQXcNh5Z+2+jOqlnYDYtrZ3sJPllgs5vDIGvhQNGdU 4SGgdkOYLA7RVFZV19U3Ke2GhbezWC3BguD4wuTiHJDAIPUVqnwKbSYUClyDikGFQoCyhcbi wL8CajeoUKSTRpw5NzIXB8L26y//tO5WaTesLC9R90/bwmRxloeQtRt8sDgrlJC1G3ywOBWK b+2GMFmcCsW3dgP/tNVncSqUlGg3kDk3+OPsKpRA2g3hzqga7Qb6WeXTyndbnxX6v8yEQmFn UDGoUAhQttBYHCoHr2hobMbyHkzI7O3tzkyNHx0eUk5pW6LbhpWLA7urqr71Zvj1s98ffzw4 aGvvpn0y1jBZXKq0G3ywOLyxcRBv8+12EEqczIUMpfdF/ECKpU4+WFx+MO0GNhQfM6odXb0n x8cv+n+LFRffvFVbdqNiDzKdFxdM37Cb+aetJosDitgYOv925ujocHNj/c3QK/TiiopKu0P+ Mx8Kz9ZIFoduobQb0EoIC1OrWNp5dnbOu7Z/E2YuDvytMd6CreaYdD86/ITfY++X3tkd8p9N Lo7CRuorVPkU2kwoFLgGFYMKhQBlC5PFgYIF0W4Ik8W1tHbGYsWvBvpfDTzDq7GtI00sjtN0 oJqCtrGD2QeLgwdO04F2/q2VpU66LI7TdPAShCrDhuKDxUHToaW14+GjHzGROjM9UVZWbh1C 6yUgNhTd3Q1wxmk9eIkDZdi+gu9ItibYZX1V14DCZHEgs7V1DQVXCj9/Plp5v7T47q2r++QC hsVRcEl9hSqfQpsJhQLXoGJQoRCgbH5YnHC6L6fpQLm22/ywON3cnd0n8zkRiu66ON3yjGu7 mR3MHIuzV/D1s255Zz1sKByLc1ahLLrlnfWw1Iljcc4qlEW3vLMeFhV2d4OzDmXhcndceYed D4VncY5K/jRwrI8rb7P7YXHC6b6cpoOXaAyLo1CS+gpVPoU2EwoFrkHFoEIhQNnCZHECu6Nc 222JbqvLyrjynN3uk/mcCEWXlXHlOTvj2m5mB3NwVmZ35faZDSU4K3Nzbf8+NBZnr1j/M4uK NovT9227gg9Fn8UFDCZMFiewOy9RGhZHoST1Fap8Cm0ZFEo21qSm8E75qm/WxGMF33zNPuL4 SsL5BnH8/PPPyXWlLRQVxH/947+taDKor/w/V4g+asgynIoAAAAASUVORK5CYII= --------------1294CAAE20A4D0EFB2209D38-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Oct 2017 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Romanos Skiadas Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150728026231769 (code B ref 27647); Fri, 06 Oct 2017 08:58:01 +0000 Received: (at 27647) by debbugs.gnu.org; 6 Oct 2017 08:57:42 +0000 Received: from localhost ([127.0.0.1]:52138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ORx-0008GK-Sz for submit@debbugs.gnu.org; Fri, 06 Oct 2017 04:57:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ORv-0008G5-Ps for 27647@debbugs.gnu.org; Fri, 06 Oct 2017 04:57:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0ORp-0001xi-Th for 27647@debbugs.gnu.org; Fri, 06 Oct 2017 04:57:34 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0ORX-0001l5-4m; Fri, 06 Oct 2017 04:57:15 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4622 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e0ORW-0000hH-Ed; Fri, 06 Oct 2017 04:57:14 -0400 Date: Fri, 06 Oct 2017 11:57:04 +0300 Message-Id: <83vajsvelb.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5f3f5a50-0108-0ad5-d802-f0fdfda07c09@gmail.com> (message from Romanos Skiadas on Thu, 5 Oct 2017 23:17:30 +0100) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <83r2uhww5y.fsf@gnu.org> <5f3f5a50-0108-0ad5-d802-f0fdfda07c09@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, > npostavs@users.sourceforge.net > From: Romanos Skiadas > Date: Thu, 5 Oct 2017 23:17:30 +0100 > > - In a buffer, the line numbers looked like attached screenshot (1) > - in a buffer, I pressed any combination of keys that would cause > which-key to pop up > - I pressed C-g to close which-key. At this point, the line numbers > would look like screenshot (2). They don't go away per se, it looks like > something goes wrong in some calculation maybe? > - Pressing C-g restored the line numbers to state (1) This is not "line numbers disappearing", this is something else. Can you show a larger portion of the window, including the text to the right of the numbers in the 2nd case? > After playing with the buffer for a while, I found out that this > behaviour goes away with git-gutter-mode disabled. I'll find some time > to try to get something reproducible with stock Emacs within the next > couple of days. Thanks. I tried loading git-gutter, but saw no problems with line numbers. So I guess it isn't just that package, but some interaction between it and other packages. > @Eli, I still have the buffer around and can try out things. Do you have > any debugging hints for this? I might have ideas once I see a larger view of the problematic display. E.e., where there any display margins to the left of the numbers? From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Romanos Skiadas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Oct 2017 20:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Kaushal Modi Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150775393827845 (code B ref 27647); Wed, 11 Oct 2017 20:33:03 +0000 Received: (at 27647) by debbugs.gnu.org; 11 Oct 2017 20:32:18 +0000 Received: from localhost ([127.0.0.1]:34541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Nft-0007F3-Nd for submit@debbugs.gnu.org; Wed, 11 Oct 2017 16:32:18 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:56293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Nfr-0007Ep-Lb for 27647@debbugs.gnu.org; Wed, 11 Oct 2017 16:32:16 -0400 Received: by mail-wm0-f54.google.com with SMTP id u138so8149747wmu.4 for <27647@debbugs.gnu.org>; Wed, 11 Oct 2017 13:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=UGNynmB++UzGOM28SSGKbKsHyL6/OYuaWdRz6B+bbGc=; b=roMKkbRli6J9YgyR1G5PQLsnwkobdhEb2gdb5ADT2C0lOxOWYk1AZpWhfDE/Xk3dWN ufCa5vBI0F6EucDcuc0Z+aaGGZ7kLSoRBWLXTHECbbnFuLxxUAVndtFvOpv/eSzsfcUM SFKCO3C0sp0zusNrypMFoBkpgqFKIw4Y4A1uTiHGOizwyuK0DW0YNX6Ou31ZT2lyHnos 7bXyeh2Twb/W/zIQ/yD7ff5DerSX6sg6Loye5jmT8ITAhVPuvo8ca67qqDd8cAOTbWok Ttkw/0O02ZzYFi8p2nT47G7ABddzrh2m37bkbjiTkNj+5UVaXGnVdE1705SOcJKm4QL5 T8Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=UGNynmB++UzGOM28SSGKbKsHyL6/OYuaWdRz6B+bbGc=; b=bFHlH5v7/ZtiXCkFQJRciSyvQoSRG/3LN7SS0/PEvfla6ikGSNR7rg53L1UNRGZ2kZ +t4jBWjU5zLT4IHFkYzA7u1uj244M5Qp8Kj16kU7aai3CpaxRNCqxqSeeWYT9lZg89yR BlgbLcvLMjJYQaGECMslBpqANDGNOA36wn+bzPkKTFrZlvnLo6rYBL7gwqhTEAJhiAF3 +qK9hbHvJskdgX9YTzwbJ0NJlsCRNy39XDkmEyhgmhM2kyKFarzhU6OV9iqwxm1HZX7R Q3RU52FusfaUG3bjPQq5YtznxQCdrfInQfFy2y4wDg2ev9m6MSMYehzMd9UyxcAiEvK6 I+gw== X-Gm-Message-State: AMCzsaX5SN+aR1RZ4vtmKzMqShhSryP48WuXXKp+hoBGNgZZOMpQZuJP OaIYQwFodLSjQM78getl3QI= X-Google-Smtp-Source: AOwi7QDh0Rj6A3IcnW4XqOFYpkK6yntuHdwXFWJA1Wva8KWDZJYFNW+ggVtrp6ESt6gIxnjrkNP7IA== X-Received: by 10.80.159.167 with SMTP id c36mr210929edf.189.1507753929805; Wed, 11 Oct 2017 13:32:09 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.204]) by smtp.gmail.com with ESMTPSA id w2sm12004199eda.86.2017.10.11.13.32.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 13:32:09 -0700 (PDT) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> From: Romanos Skiadas Message-ID: <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> Date: Wed, 11 Oct 2017 21:32:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <83tvzdwxil.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------EB15BBC2C234C8EEE549CB1A" Content-Language: en-US X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 05/10/17 14:10, Eli Zaretskii wrote: >> From: Kaushal Modi >> Date: Thu, 05 Oct 2017 12:40:35 +0000 >> Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com >> >> As you know from my other thread, I am unable to use gdb. As I don't know enough C to hack it myself, can >> you provide pointers to where I can put print statements or something like that in the C code directly to help >> with this debug? > I couldn't think of anything useful. Which is not surprising, as I > have no idea what could be involved in this. > >> @Eli: This problem is consistent, though not consistent enough to yet create a recipe. But it does happen at >> least once a day. I am still sticking on to native line numbers and not giving up. Can this be please made a >> blocker for 26.1? > I don't think it's an Emacs bug. It's most probably something related > to some hook or timer that you set up in your customizations. That's > the only way a frame without a focus could get redrawn. So please > look through all of your customizations to find the one that is > responsible. Evil is very probably doing something funky like this. I started seeing line-numbers disappearing completely again, not partially as I mentioned at some point in the thread, with flycheck-pos-tip disabled. Turns out it was some interaction between flyspell's overlays & evil. A recipe to reliably reproduce this with evil is: [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.82.54 listed in list.dnswl.org] 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.82.54 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.54 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rom.skiad[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.0 FREEMAIL_REPLY From and body contain different freemails X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) This is a multi-part message in MIME format. --------------EB15BBC2C234C8EEE549CB1A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 05/10/17 14:10, Eli Zaretskii wrote: >> From: Kaushal Modi >> Date: Thu, 05 Oct 2017 12:40:35 +0000 >> Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com >> >> As you know from my other thread, I am unable to use gdb. As I don't know enough C to hack it myself, can >> you provide pointers to where I can put print statements or something like that in the C code directly to help >> with this debug? > I couldn't think of anything useful. Which is not surprising, as I > have no idea what could be involved in this. > >> @Eli: This problem is consistent, though not consistent enough to yet create a recipe. But it does happen at >> least once a day. I am still sticking on to native line numbers and not giving up. Can this be please made a >> blocker for 26.1? > I don't think it's an Emacs bug. It's most probably something related > to some hook or timer that you set up in your customizations. That's > the only way a frame without a focus could get redrawn. So please > look through all of your customizations to find the one that is > responsible. Evil is very probably doing something funky like this. I started seeing line-numbers disappearing completely again, not partially as I mentioned at some point in the thread, with flycheck-pos-tip disabled. Turns out it was some interaction between flyspell's overlays & evil. A recipe to reliably reproduce this with evil is: echo "foo" > /tmp/test.txt (cd /tmp && git clone https://github.com/emacs-evil/evil) Add this to a file, eg /tmp/test-init.el: (add-hook 'text-mode-hook (lambda () (display-line-numbers-mode))) (add-to-list 'load-path "/tmp/evil") (require 'evil) (evil-mode 1)  emacs -Q -l /tmp/test-init.el /tmp/test.txt Put this in the test.txt buffer an eval it: (let ((overlay (make-overlay 1 6 nil t nil))) ;; flyspell does this on misspelled words   (overlay-put overlay 'help-echo "a")) Make sure you are in normal more (press ESC) Move the mouse above the f at the start of the buffer and hover until the "a" shows up. Click and drag along toward to end of the line. The line numbers consistently go away with this recipe for me. I'll start dissecting evil to see what causes this. Best, Romanos --------------EB15BBC2C234C8EEE549CB1A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit



On 05/10/17 14:10, Eli Zaretskii wrote:
From: Kaushal Modi <kaushal.modi@gmail.com>
Date: Thu, 05 Oct 2017 12:40:35 +0000
Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com

As you know from my other thread, I am unable to use gdb. As I don't know enough C to hack it myself, can
you provide pointers to where I can put print statements or something like that in the C code directly to help
with this debug?
I couldn't think of anything useful.  Which is not surprising, as I
have no idea what could be involved in this.

@Eli: This problem is consistent, though not consistent enough to yet create a recipe. But it does happen at
least once a day. I am still sticking on to native line numbers and not giving up. Can this be please made a
blocker for 26.1?
I don't think it's an Emacs bug.  It's most probably something related
to some hook or timer that you set up in your customizations.  That's
the only way a frame without a focus could get redrawn.  So please
look through all of your customizations to find the one that is
responsible.
Evil is very probably doing something funky like this. I started seeing line-numbers disappearing completely again, not partially as I mentioned at some point in the thread, with flycheck-pos-tip disabled. Turns out it was some interaction between flyspell's overlays & evil. A recipe to reliably reproduce this with evil is:

echo "foo" > /tmp/test.txt

(cd /tmp && git clone https://github.com/emacs-evil/evil)

Add this to a file, eg /tmp/test-init.el:

(add-hook 'text-mode-hook (lambda () (display-line-numbers-mode)))
(add-to-list 'load-path "/tmp/evil")
(require 'evil)
(evil-mode 1)

 emacs -Q -l /tmp/test-init.el /tmp/test.txt

Put this in the test.txt buffer an eval it:
(let ((overlay (make-overlay 1 6 nil t nil))) ;; flyspell does this on misspelled words
  (overlay-put overlay 'help-echo "a"))

Make sure you are in normal more (press ESC)
Move the mouse above the f at the start of the buffer and hover until the "a" shows up.
Click and drag along toward to end of the line. The line numbers consistently go away with this recipe for me.

I'll start dissecting evil to see what causes this.

Best,
Romanos
--------------EB15BBC2C234C8EEE549CB1A-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 08:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Romanos Skiadas Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150779703624009 (code B ref 27647); Thu, 12 Oct 2017 08:31:01 +0000 Received: (at 27647) by debbugs.gnu.org; 12 Oct 2017 08:30:36 +0000 Received: from localhost ([127.0.0.1]:34842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Yt2-0006FB-By for submit@debbugs.gnu.org; Thu, 12 Oct 2017 04:30:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Ysy-0006Et-NO for 27647@debbugs.gnu.org; Thu, 12 Oct 2017 04:30:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Yso-0003iy-3O for 27647@debbugs.gnu.org; Thu, 12 Oct 2017 04:30:27 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2YsV-0003Rx-8D; Thu, 12 Oct 2017 04:30:03 -0400 Received: from [176.228.60.248] (port=1324 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2YsS-0006aj-B1; Thu, 12 Oct 2017 04:30:01 -0400 Date: Thu, 12 Oct 2017 11:29:44 +0300 Message-Id: <83lgkgn4zr.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> (message from Romanos Skiadas on Wed, 11 Oct 2017 21:32:06 +0100) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, > npostavs@users.sourceforge.net > From: Romanos Skiadas > Date: Wed, 11 Oct 2017 21:32:06 +0100 > > echo "foo" > /tmp/test.txt > > (cd /tmp && git clone https://github.com/emacs-evil/evil) > > Add this to a file, eg /tmp/test-init.el: > > (add-hook 'text-mode-hook (lambda () (display-line-numbers-mode))) > (add-to-list 'load-path "/tmp/evil") > (require 'evil) > (evil-mode 1) > > emacs -Q -l /tmp/test-init.el /tmp/test.txt > > Put this in the test.txt buffer an eval it: > (let ((overlay (make-overlay 1 6 nil t nil))) ;; flyspell does this on misspelled words > (overlay-put overlay 'help-echo "a")) > > Make sure you are in normal more (press ESC) > Move the mouse above the f at the start of the buffer and hover until the "a" shows up. > Click and drag along toward to end of the line. The line numbers consistently go away with this recipe for me. Doesn't happen here with the latest emacs-26 branch. Are you using that branch, or are you using some other code base for Emacs? (I didn't clone the evil Git repository; instead, I downloaded a zip archive and unpacked it on my system. I don't think it should matter.) Can you tell the details of your build? If it's a GTK build, does the problem go away if you tell Emacs to use non-GTK tooltips (by setting x-gtk-use-system-tooltips to nil), or if you turn off scroll-bar-mode? > I'll start dissecting evil to see what causes this. Thanks. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Romanos Skiadas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15078366651059 (code B ref 27647); Thu, 12 Oct 2017 19:32:02 +0000 Received: (at 27647) by debbugs.gnu.org; 12 Oct 2017 19:31:05 +0000 Received: from localhost ([127.0.0.1]:36364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2jCB-0000Gx-43 for submit@debbugs.gnu.org; Thu, 12 Oct 2017 15:31:04 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2jC8-0000GM-Nf for 27647@debbugs.gnu.org; Thu, 12 Oct 2017 15:31:02 -0400 Received: by mail-wm0-f68.google.com with SMTP id k4so16104279wmc.1 for <27647@debbugs.gnu.org>; Thu, 12 Oct 2017 12:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=hl7IsHTkxkwMBzvO+b+MAq0KK+Th/5QT5kXc77un0K4=; b=j2bpw2wJHXM/wLc3B9T4SRq/cS643GxpSHu0JHbkH1NoVEE4+xT0t5ymR6CrQWej9O a2SPAW8KhTI9ATANa2MERt8PCNqakTd45m8Pp9JYOsPgi1P3/PxMov+AhrYUazmAzO1/ 6CcAGP6VCF45Vy1PZQp3QfI25OgEz4bT398LyEyHKTuqxNRr7oKe71gfqySoIZZAEztL iT2CvYDvlsKArMYzjmw9sKdMyefF8GysKUzH4B+ZY0ULPEf6Jbj8pOR8f6EsKKo5gSCx 46L0D4Boxx/U35En87TLufC0bPejXPkiggzQPRKavze6Bg4N+AW849ZoIMhh40knJO38 yHFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=hl7IsHTkxkwMBzvO+b+MAq0KK+Th/5QT5kXc77un0K4=; b=XdqaXwU7UWBQoYSusdJye/xEbat0PTJ44x7BkC7TMISGguMi98hKauyoFEA2GUznf7 xwh4d7OXxM/2hpx1jKzCfN/FbTSZdsWnDiTJuES5JRT0+7rYxzfeRMJLznkCLm2ib37T mdkvyPpNo5ehbk3eE142HVPKzRkqfHB0ve34f9KL6yrNUT0d/7S0nAe5zd/KFynU8uNN yDcQyLuOxQXJ6okZrSYSTzWy35VcqxWylWcrZiVbvKupLt3dbULPlRgT0A3norz+fuye p+WLkYeTSEPcvgYcKCP7IuG0lFbRMY+h5l8BqI9Gk+xiLX+/5t6SOkEyQdZN33BhdMX1 qaUg== X-Gm-Message-State: AMCzsaU4V//Xud3SHnxM+IiUY0E4s3W4sWibYcK5a7b/WnAg82Gi8oQx EaSdKaLwUukgH5JROUqfGok= X-Google-Smtp-Source: AOwi7QBy1fD3oRI+28OG0bw/fuNzX2/1tJ1+lT57U4WNrTV9Q5423ngbveUvIjMNFSmJpaPYw2BJFA== X-Received: by 10.80.169.21 with SMTP id l21mr3917699edc.126.1507836654800; Thu, 12 Oct 2017 12:30:54 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.29]) by smtp.gmail.com with ESMTPSA id g49sm4187480edg.71.2017.10.12.12.30.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Oct 2017 12:30:53 -0700 (PDT) From: Romanos Skiadas References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> Message-ID: Date: Thu, 12 Oct 2017 20:30:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <83lgkgn4zr.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------EEBE843B18C78E09E3F11DD2" Content-Language: en-US X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Eli, See inline. On 12/10/17 09:29, Eli Zaretskii wrote: >> Cc:27647@debbugs.gnu.org, jonaswestlund101@gmail.com, >> npostavs@users.sourceforge.net >> From: Romanos Skiadas >> Date: Wed, 11 Oct 2017 21:32:06 +0100 >> >> echo "foo" > /tmp/test.txt >> >> (cd /tmp && git clonehttps://github.com/emacs-evil/evil) >> >> Add this to a file, eg /tmp/test-init.el: >> >> (add-hook 'text-mode-hook (lambda () (display-line-numbers-mode))) >> (add-to-list 'load-path "/tmp/evil") >> (require 'evil) >> (evil-mode 1) >> >> emacs -Q -l /tmp/test-init.el /tmp/test.txt >> >> Put this in the test.txt buffer an eval it: >> (let ((overlay (make-overlay 1 6 nil t nil))) ;; flyspell does this on misspelled words >> (overlay-put overlay 'help-echo "a")) >> >> Make sure you are in normal more (press ESC) >> Move the mouse above the f at the start of the buffer and hover until the "a" shows up. >> Click and drag along toward to end of the line. The line numbers consistently go away with this recipe for me. > Doesn't happen here with the latest emacs-26 branch. Are you using > that branch, or are you using some other code base for Emacs? I used Emacs26@078fb7f6df4178d5a35243dad164cdd196392e71 > (I didn't clone the evil Git repository; instead, I downloaded a zip > archive and unpacked it on my system. I don't think it should > matter.) As long at that is the latest evil, which is what I tested with, that shouldn't matter > Can you tell the details of your build? If it's a GTK build, does the > problem go away if you tell Emacs to use non-GTK tooltips (by setting > x-gtk-use-system-tooltips to nil), or if you turn off scroll-bar-mode? > It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. I've set it to nil on my init file for now. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.82.68 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.82.68 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rom.skiad[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.68 listed in wl.mailspike.net] 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.0 FREEMAIL_REPLY From and body contain different freemails X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) This is a multi-part message in MIME format. --------------EEBE843B18C78E09E3F11DD2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Eli, See inline. On 12/10/17 09:29, Eli Zaretskii wrote: >> Cc:27647@debbugs.gnu.org,jonaswestlund101@gmail.com, >> npostavs@users.sourceforge.net >> From: Romanos Skiadas >> Date: Wed, 11 Oct 2017 21:32:06 +0100 >> >> echo "foo" > /tmp/test.txt >> >> (cd /tmp && git clonehttps://github.com/emacs-evil/evil) >> >> Add this to a file, eg /tmp/test-init.el: >> >> (add-hook 'text-mode-hook (lambda () (display-line-numbers-mode))) >> (add-to-list 'load-path "/tmp/evil") >> (require 'evil) >> (evil-mode 1) >> >> emacs -Q -l /tmp/test-init.el /tmp/test.txt >> >> Put this in the test.txt buffer an eval it: >> (let ((overlay (make-overlay 1 6 nil t nil))) ;; flyspell does this on misspelled words >> (overlay-put overlay 'help-echo "a")) >> >> Make sure you are in normal more (press ESC) >> Move the mouse above the f at the start of the buffer and hover until the "a" shows up. >> Click and drag along toward to end of the line. The line numbers consistently go away with this recipe for me. > Doesn't happen here with the latest emacs-26 branch. Are you using > that branch, or are you using some other code base for Emacs? I used Emacs26@078fb7f6df4178d5a35243dad164cdd196392e71 > (I didn't clone the evil Git repository; instead, I downloaded a zip > archive and unpacked it on my system. I don't think it should > matter.) As long at that is the latest evil, which is what I tested with, that shouldn't matter > Can you tell the details of your build? If it's a GTK build, does the > problem go away if you tell Emacs to use non-GTK tooltips (by setting > x-gtk-use-system-tooltips to nil), or if you turn off scroll-bar-mode? > It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. I've set it to nil on my init file for now. The list of configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2 >> I'll start dissecting evil to see what causes this. > Thanks. --------------EEBE843B18C78E09E3F11DD2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hi Eli,

See inline.


On 12/10/17 09:29, Eli Zaretskii wrote:
Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com,
 npostavs@users.sourceforge.net
From: Romanos Skiadas <rom.skiad@gmail.com>
Date: Wed, 11 Oct 2017 21:32:06 +0100

echo "foo" > /tmp/test.txt

(cd /tmp && git clone https://github.com/emacs-evil/evil)

Add this to a file, eg /tmp/test-init.el:

 (add-hook 'text-mode-hook (lambda () (display-line-numbers-mode)))
 (add-to-list 'load-path "/tmp/evil")
 (require 'evil)
 (evil-mode 1)

 emacs -Q -l /tmp/test-init.el /tmp/test.txt

Put this in the test.txt buffer an eval it:
(let ((overlay (make-overlay 1 6 nil t nil))) ;; flyspell does this on misspelled words
  (overlay-put overlay 'help-echo "a"))

Make sure you are in normal more (press ESC)
Move the mouse above the f at the start of the buffer and hover until the "a" shows up.
Click and drag along toward to end of the line. The line numbers consistently go away with this recipe for me.
Doesn't happen here with the latest emacs-26 branch.  Are you using
that branch, or are you using some other code base for Emacs?
I used Emacs26@078fb7f6df4178d5a35243dad164cdd196392e71
(I didn't clone the evil Git repository; instead, I downloaded a zip
archive and unpacked it on my system.  I don't think it should
matter.)
As long at that is the latest evil, which is what I tested with, that shouldn't matter
Can you tell the details of your build?  If it's a GTK build, does the
problem go away if you tell Emacs to use non-GTK tooltips (by setting
x-gtk-use-system-tooltips to nil), or if you turn off scroll-bar-mode?

It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. I've set it to nil on my init file for now.

The list of configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2

I'll start dissecting evil to see what causes this.
Thanks.
--------------EEBE843B18C78E09E3F11DD2-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 08:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Romanos Skiadas Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150788364125455 (code B ref 27647); Fri, 13 Oct 2017 08:35:02 +0000 Received: (at 27647) by debbugs.gnu.org; 13 Oct 2017 08:34:01 +0000 Received: from localhost ([127.0.0.1]:36822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vPs-0006cO-Bd for submit@debbugs.gnu.org; Fri, 13 Oct 2017 04:34:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vPp-0006c9-Sb for 27647@debbugs.gnu.org; Fri, 13 Oct 2017 04:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2vPj-0002Jl-SH for 27647@debbugs.gnu.org; Fri, 13 Oct 2017 04:33:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2vPQ-00023q-VP; Fri, 13 Oct 2017 04:33:32 -0400 Received: from [176.228.60.248] (port=1249 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2vPQ-00015W-7e; Fri, 13 Oct 2017 04:33:32 -0400 Date: Fri, 13 Oct 2017 11:33:24 +0300 Message-Id: <834lr3la5n.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Romanos Skiadas on Thu, 12 Oct 2017 20:30:51 +0100) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Romanos Skiadas > Cc: kaushal.modi@gmail.com, 27647@debbugs.gnu.org, > jonaswestlund101@gmail.com, npostavs@users.sourceforge.net > Date: Thu, 12 Oct 2017 20:30:51 +0100 > > Can you tell the details of your build? If it's a GTK build, does the > problem go away if you tell Emacs to use non-GTK tooltips (by setting > x-gtk-use-system-tooltips to nil), or if you turn off scroll-bar-mode? > > It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. What about disabling scroll-bar-mode, while leaving the GTK tooltips in use -- does that also make the problem go away? Thanks. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Romanos Skiadas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 18:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15079184631205 (code B ref 27647); Fri, 13 Oct 2017 18:15:01 +0000 Received: (at 27647) by debbugs.gnu.org; 13 Oct 2017 18:14:23 +0000 Received: from localhost ([127.0.0.1]:38366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e34TX-0000JN-BC for submit@debbugs.gnu.org; Fri, 13 Oct 2017 14:14:23 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:51648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e34TW-0000JA-2W for 27647@debbugs.gnu.org; Fri, 13 Oct 2017 14:14:22 -0400 Received: by mail-pg0-f54.google.com with SMTP id k70so765845pgc.8 for <27647@debbugs.gnu.org>; Fri, 13 Oct 2017 11:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=WMiFKK/WrW5Ztqar2hTHuJPbBlCWuwMLbJ1pM5xZvIs=; b=kMVLIYsqFHxqaghY3xjTmTqehE5QvAgHOrFWb5DIeUZijelBJxz1WeVLoHVo6yhnpd Y+qS4Hzl2dVnmTGEeOCuKfnqway/fZxPeAXhvFHWb8Ev8QNqBc0pr9QNq3PtlRmfi6ah VbMvOSOZDKS3zRXinvZWYRhZQSNF/gyc08661UBb+rX6ZKrKcirAjX3UnEm/hnF5AVrA DTTNCYESvmmXoAIX8LRlrUmjoIjzRCoU4nbXtADppYTmYkMNiV8UOeRbKkPYn2xPlp+V h8J91Cbcv72mYHbYFEWz1kAxu9Zm8ycrnDT3VMUlQB2B5V5uFW0ljbkWlBs5CIcfyKL3 xsaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WMiFKK/WrW5Ztqar2hTHuJPbBlCWuwMLbJ1pM5xZvIs=; b=JNYvhvKgUYG4RZxfCX8+PEtpY86Y6G33ZbvTIFn4kqhhjvLye7u+ej1S9Md459cYcg hjF3nfqsTCn2voa4XikObGycABbRBGf9zGxWIoH57QtXzGjWhUfrI2lC+s3a4ylKM6K6 25qWOA0odwIv9kJdmzA77iqxTXj6mLrOggF6teTxiZofFFlIIdjImc7v2q3iRCafEYDm xe/bhk3Sm+klxwgfkOlC2bFztYEUvxReqbpF9LuBouawlQL6qnsnQ0Z3izmlvUEBW2j+ Lj7gOPP4EPJqC7xuGZdR8Z7JiixRKRM62gjN+OjJaBAI8uLPmHPeGyAW2evVeo0yhetf BXiQ== X-Gm-Message-State: AMCzsaVzryc+/KyR+9kQ5vqT+YGGOEhlJGOmuNnuyHbrh+e3okA5qvYe 0B+0rQ+WYLraoJjNRuvLqvE= X-Google-Smtp-Source: AOwi7QB2OXW1HFtmbqqd+exd4QvKa2fCZQUT0uKGrt6XTc3vi7KUL+HafN4mX4BB0vMgf14qTcx0JQ== X-Received: by 10.99.2.214 with SMTP id 205mr1923304pgc.375.1507918455479; Fri, 13 Oct 2017 11:14:15 -0700 (PDT) Received: from [10.83.37.251] ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id f11sm3003958pgp.48.2017.10.13.11.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 11:14:14 -0700 (PDT) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> From: Romanos Skiadas Message-ID: Date: Fri, 13 Oct 2017 19:14:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <834lr3la5n.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.0 (/) On 13/10/17 09:33, Eli Zaretskii wrote: >> From: Romanos Skiadas >> Cc: kaushal.modi@gmail.com, 27647@debbugs.gnu.org, >> jonaswestlund101@gmail.com, npostavs@users.sourceforge.net >> Date: Thu, 12 Oct 2017 20:30:51 +0100 >> >> Can you tell the details of your build? If it's a GTK build, does the >> problem go away if you tell Emacs to use non-GTK tooltips (by setting >> x-gtk-use-system-tooltips to nil), or if you turn off scroll-bar-mode? >> >> It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. > What about disabling scroll-bar-mode, while leaving the GTK tooltips > in use -- does that also make the problem go away? > > Thanks. Just checked, still shows up with scroll-bar-mode disabled and the tooltips in use. Best, Romanos From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2017 07:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Romanos Skiadas Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15079673116533 (code B ref 27647); Sat, 14 Oct 2017 07:49:01 +0000 Received: (at 27647) by debbugs.gnu.org; 14 Oct 2017 07:48:31 +0000 Received: from localhost ([127.0.0.1]:38738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3HBP-0001hJ-Fz for submit@debbugs.gnu.org; Sat, 14 Oct 2017 03:48:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3HBO-0001h6-GZ for 27647@debbugs.gnu.org; Sat, 14 Oct 2017 03:48:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3HBI-0007rQ-Dn for 27647@debbugs.gnu.org; Sat, 14 Oct 2017 03:48:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3HAy-0007lj-1S; Sat, 14 Oct 2017 03:48:04 -0400 Received: from [176.228.60.248] (port=3219 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e3HAx-0005Pw-2t; Sat, 14 Oct 2017 03:48:03 -0400 Date: Sat, 14 Oct 2017 10:47:57 +0300 Message-Id: <83vajii30y.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Romanos Skiadas on Fri, 13 Oct 2017 19:14:10 +0100) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Cc: kaushal.modi@gmail.com, 27647@debbugs.gnu.org, > jonaswestlund101@gmail.com, npostavs@users.sourceforge.net > From: Romanos Skiadas > Date: Fri, 13 Oct 2017 19:14:10 +0100 > > >> It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. > > What about disabling scroll-bar-mode, while leaving the GTK tooltips > > in use -- does that also make the problem go away? > > > > Thanks. > Just checked, still shows up with scroll-bar-mode disabled and the > tooltips in use. What if you turn on display-line-numbers globally -- does the problem persist in that case with your default settings for GTK tooltips? From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2017 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Romanos Skiadas Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150797018610908 (code B ref 27647); Sat, 14 Oct 2017 08:37:02 +0000 Received: (at 27647) by debbugs.gnu.org; 14 Oct 2017 08:36:26 +0000 Received: from localhost ([127.0.0.1]:38770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3Hvl-0002pq-SR for submit@debbugs.gnu.org; Sat, 14 Oct 2017 04:36:26 -0400 Received: from mout.gmx.net ([212.227.15.18]:59169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3Hvk-0002pb-HO for 27647@debbugs.gnu.org; Sat, 14 Oct 2017 04:36:24 -0400 Received: from [192.168.1.100] ([46.125.249.56]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Ltqb7-1d4LGx2Phd-0119lo; Sat, 14 Oct 2017 10:36:10 +0200 Message-ID: <59E1CC77.5000103@gmx.at> Date: Sat, 14 Oct 2017 10:36:07 +0200 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> In-Reply-To: <834lr3la5n.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:sqQA2OEIBwMYlvtvWw/hZ1NT6rBboB3Wgq9wcI7+SrSGKY+5W2p lM6uVwx/uhG2ecpEsIutsdU7YK7t7Ks/8ikkUdHZCuyZ3SqPyejoW8Phbspe6OFdrFRAUBs ynRKHITMo7CfgRhjjNYk2k8MyMQOxutlEfE5zxOZoclc7j1DIHVsF/7z/u5iMJg7aIKlsXN EHhNHmcL6T0UmegsYsQdA== X-UI-Out-Filterresults: notjunk:1;V01:K0:nC/9/0kS3/Y=:phj1jgWG9y9pRY+f2UVGnG 7DvJHELn89ifWMarJ+drC1uv7NxlZuOO48n+lLibHSQVNkIANHjvtCjl3aOoFjMMbv/fELzC8 5WV8ETUkNNSyBlQa1wavGdATnatTLsuYbH8piwMn9dYt1gsVSpoUr8XkZuzof3PUo/HncCvBe sE69dmHx7B9gev9j/OEg6McmPwjjg5HqS+CS/lbJ3TeNy04JqQ1dJIylEqnXe2K3JgakNew5w IRAXiJBUuWden6vIuYu4eqeMZUjscdRgvFzpLgbgfF5QiZEbAmajH2UU2+w74QA7vjoTmckVy cKMyzbJXr4euFzLGuH0zqrJWNuQ1f1NJm8/bmuf4pACwcDK2ykwE93O0kfFwjcwHpNbwHe5fU 5ki6O9KJmPzAhXdKaK9BPVn19ICESvJoVB6uEcRu3Kf5myo2tZmK3syd1Kb895LVlLolQJ+0h CeAkxgbj46RnlhNICfHgg9SDiTKMDrck3FugcYdHf7O58ukIEiHomrRyTLf6iIHnlj6CMd59v 2LSBIUvpQ7ixlHepcx/iAy5JC78LdvJX8mMSwO8XWytxvTGGnRYuf5m2Qz2yxGeuKaY+GyEAp s551K2tYp6Vzxxt8tWWU3UA1O+iWsaBcQb/x16us3LVqQFbaFHWAO6wJptIC3NzgmZ4g23YRA jI8zejKsf1BuuXpW1HXQyQ7g/33votO5MW4aPbm8a/LufxJ9JrqJKI0z+l2092w1LPOaQj3zE LAxyfSDUfd8uZkL+k6uxySOCv1ZTlI9besVSbXyehiYCrDFxdXQZwjOJEmF1llDITgbCyp02o wlqv3iiZ4PzaBM/fTUMXpvy4i1gBmvbumdwGMqa1ktV1BYLZ/lZOvAEEakqAqbr7eKooXrb X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.7 (/) >> It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. > > What about disabling scroll-bar-mode, while leaving the GTK tooltips > in use -- does that also make the problem go away? What were your thoughts here? That clearing the scroll bar area would erase the line numbers? martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2017 10:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150797598227288 (code B ref 27647); Sat, 14 Oct 2017 10:14:02 +0000 Received: (at 27647) by debbugs.gnu.org; 14 Oct 2017 10:13:02 +0000 Received: from localhost ([127.0.0.1]:38855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3JRG-00075v-34 for submit@debbugs.gnu.org; Sat, 14 Oct 2017 06:13:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3JRD-00075Z-Tv for 27647@debbugs.gnu.org; Sat, 14 Oct 2017 06:13:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3JR7-00074S-OC for 27647@debbugs.gnu.org; Sat, 14 Oct 2017 06:12:54 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3JQm-0006gf-5H; Sat, 14 Oct 2017 06:12:32 -0400 Received: from [176.228.60.248] (port=3504 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e3JQl-0000zg-ID; Sat, 14 Oct 2017 06:12:31 -0400 Date: Sat, 14 Oct 2017 13:12:25 +0300 Message-Id: <83po9qhwc6.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <59E1CC77.5000103@gmx.at> (message from martin rudalics on Sat, 14 Oct 2017 10:36:07 +0200) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Sat, 14 Oct 2017 10:36:07 +0200 > From: martin rudalics > CC: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, > jonaswestlund101@gmail.com, npostavs@users.sourceforge.net > > >> It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. > > > > What about disabling scroll-bar-mode, while leaving the GTK tooltips > > in use -- does that also make the problem go away? > > What were your thoughts here? That clearing the scroll bar area would > erase the line numbers? I was trying to establish what was different from my build that caused the numbers to disappear. When there's a GTK scroll bar, redisplay causes the frame's garbaged flag be set, which is something I could try emulating here under a debugger. Not sure what GTK tooltips have to do with this, as AFAICS displaying a GTK tooltip shouldn't trigger redisplay. To make line numbers disappear, some code has to trigger redisplay with display-line-numbers somehow reset to nil. If you can reproduce the recipe posted by Romanos, then please try finding the code which resets that variable, perhaps by making a different buffer current or something. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2017 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150806038820485 (code B ref 27647); Sun, 15 Oct 2017 09:40:02 +0000 Received: (at 27647) by debbugs.gnu.org; 15 Oct 2017 09:39:48 +0000 Received: from localhost ([127.0.0.1]:40949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3fOd-0005KL-Ra for submit@debbugs.gnu.org; Sun, 15 Oct 2017 05:39:47 -0400 Received: from mout.gmx.net ([212.227.17.21]:62028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3fOb-0005K7-9g for 27647@debbugs.gnu.org; Sun, 15 Oct 2017 05:39:45 -0400 Received: from [192.168.1.100] ([46.125.250.23]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LeRKD-1dTCaT2fLJ-00qDah; Sun, 15 Oct 2017 11:39:28 +0200 Message-ID: <59E32CCB.1020108@gmx.at> Date: Sun, 15 Oct 2017 11:39:23 +0200 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> In-Reply-To: <83po9qhwc6.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:gmav9Mca4FAmLsZu+rXzzyz4cVArr2BGkgLZla2KEQrPdv9dL5x s9n+j7flhTCWca9umIbX18h3UwYjtYnzxMIgMY/HMTadf9ULrqbagvfCLIsmEp3FxE/9RfS e89MI93Z8MTolt1mDn90+HjFybx5MMh9CURBME73fOU71NzfBFNuXb2AEERmfw3hvcJTffi FkE6HKIdfFkyuDKgd2cNw== X-UI-Out-Filterresults: notjunk:1;V01:K0:2GlP6yWHNJ0=:boa8NG2mKF/BYsxAGC51bG Vh/SqoAn/sgAt1zAg0QaAJrYYBbHNm98D86Vz5+Z4w/nNn2WZ2XLwPfEl3RBct16mlx2vmwtP Y6uF3dDMjnF7OeplQMfYrTWaJb5A+hStOsOLFWhvZ6o8Cjnh08Yy4EKSz6RFluaJzN3fPrIaN 8CMBYjUMVmYoMo0EENpjXQDRiUbNEaamsCjmI+5n+/QA0DPgRjK8J/X9u1MYZYg3T7NbZ/pzX m0fXfEyx5sZ4ZAHyXdH2PaWaeBI/SXAZmGVpQ2BPZCS5/A/ByB4TDjQ2Sph5qIqcoNci9zCRh Mp9drGKi/KX/mftcN1eoM0krXXZiDJ+qm02TFTqd09+R5wjXgVnizPT6fniTxoqN6uTPZ/jC1 aXCrfF8dybX0faL9X3Quo+kBiwmZpZOxRD6svvtjDnIxQWKDWHkrne6ky5U2LE2JpBUZonsxK /636u4XMD2bLU4IgL7p0K3I4nh5mEvCaomxnvG137XmcA2LBfqn3jtVT2jMRJjYHl8A9y6n4e W3TrHylyGa+LZSxf/02ASMGcpRllBhIDG4EHu07LNTqUJiv+H6qmhXGLqv0TDt9UNNQC4A+zT GAY4dYSdIGtpgP5Ntd4583siQAakNEzt8x4WIFpbI5bnONv49Hxz9WCylQt6Li8a8Gf5PUoxy Ef+5vojPoumV15wIPr03lihBxMxPFgSpmAM8j1dWypw656UY3gfk2mi29y9TnOOnOX7NFmiVx Uj6d1mkJS3NAeOt0Y21JLs3Zq++V/rLyZsoaxWl1GNHHHF90zzgTYuyblRS6upLL4vWSDXOYH v2KGx4t6YS7L1dLmzR9RHF4jTWmpnCFNNazbNDO0zg4xV9AMzeZvVEyg/PX2f047G8bNHQV X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.7 (/) > To make line numbers disappear, some code has to trigger redisplay > with display-line-numbers somehow reset to nil. Buffer-locally. I suppose this will become clear as soon as the OP has tested your "What if you turn on display-line-numbers globally". In either case it seems that we do something subtly different when processing GTK and native tooltips. Since AFAICT the GTK tooltip related code does not change the internal (frame-, display-related) state of Emacs I can only think of the native tooltip code doing something which prevents the OP's behavior from happening. But I've found nothing supporting such a claim in =E2=80=98x-show-tip=E2=80=99. martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2017 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, Eli Zaretskii , jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150807393617451 (code B ref 27647); Sun, 15 Oct 2017 13:26:02 +0000 Received: (at 27647) by debbugs.gnu.org; 15 Oct 2017 13:25:36 +0000 Received: from localhost ([127.0.0.1]:41041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3iv9-0004XN-ST for submit@debbugs.gnu.org; Sun, 15 Oct 2017 09:25:36 -0400 Received: from mail-qt0-f177.google.com ([209.85.216.177]:55502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3iv8-0004X9-Jm for 27647@debbugs.gnu.org; Sun, 15 Oct 2017 09:25:34 -0400 Received: by mail-qt0-f177.google.com with SMTP id v41so16868231qtv.12 for <27647@debbugs.gnu.org>; Sun, 15 Oct 2017 06:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zrV0ntPM71b8nu+C4lsADE8ohqY1rqgPy6rsGRyjLek=; b=Zqjc3ErIVveHVBSTiIYlhKiNNUv+L5cYkMdz2mZBJgUIsAlyCqObUxTCgG5olJFJ7H oOA+W6s9FAyQ6SRqwt2UWrtpz/3EeHK2+HYGIGHeKkTf/C04qrohD8slzcRNEwpf+lDU j9gQupcxya1NOQEyNjeusqIEc7s1RefvTtHIf94UtPPshqtpG646sorGka0c1EDFum+p +Uqc0HrIf5m98atMkmQuIHX54py77EBp2RGKmq6/bH+nqrFeWfVeXSU9Vplg7xIVQil0 dnTTiXmpyb4Xu6zObFGxkdVlG5nBB6K+qxyPvd+CBOrAP8RIeoKoKMzkZ+4NzCgZLv6A uscA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zrV0ntPM71b8nu+C4lsADE8ohqY1rqgPy6rsGRyjLek=; b=HSCSkGlRh9L7VMcLAjoqfXKUs59jZcqdzhuvLV+7GCujOXnN9V+/czOJqNsJSIhZhe ODZQVhcBQrk/i/7qx4V0GFW00MPR683K28b+b/axUB+W4oQbfABaWDeZuOft6qmKW8h1 Lo675Cv5uMhPXdTq7iAMmEj3z1BfqRwgIVdR4XeF/RC1VkKbobdexMxFZTp21r3qGLes wJJplSH2bDS82Dt39fylFPhyk8d1v9ChSLjIjSZmE4DfAfdvm91Qd9WYsxd97kGlqxm8 VYhz3cA7FeGI0DRmq+RCUUgc0zghM+eNg2hPJ3tl2tdrx/1NEMW/qe0OyEg5CD+b3QLJ zVuw== X-Gm-Message-State: AMCzsaVyP+8clZWa5Vk3gHzYGZJMBlCBlWkZwm9T0bLthFjB3TdAStVM EQQjft+apkZDCoemRnftY2H9CjchsLOY5w6cDtY= X-Google-Smtp-Source: AOwi7QDeqek/PEh9n324irgKj6Sk/q0TqB4IpE8qRBmvP6G+HQwgcTIdwY4COBBI++Jnq3CH6T4UZs21nxBM4W5p1qo= X-Received: by 10.37.125.196 with SMTP id y187mr4224547ybc.319.1508073928498; Sun, 15 Oct 2017 06:25:28 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> In-Reply-To: <59E32CCB.1020108@gmx.at> From: Kaushal Modi Date: Sun, 15 Oct 2017 13:25:17 +0000 Message-ID: Content-Type: multipart/alternative; boundary="001a114dd3c6cda383055b95d236" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --001a114dd3c6cda383055b95d236 Content-Type: text/plain; charset="UTF-8" On Sun, Oct 15, 2017, 5:39 AM martin rudalics wrote: > > To make line numbers disappear, some code has to trigger redisplay > > with display-line-numbers somehow reset to nil. > > Buffer-locally. I suppose this will become clear as soon as the OP has > tested your "What if you turn on display-line-numbers globally". > Hello all, I have yet to try setting display-line-numbers globally. The issue hasn't repeated in the past few days .. I'd hate if this has to do with me restarting my machine. (As a side: My machine had an uptime of about a year, and I restarting it fixed the problem that gdb wasn't able to access ptrace. The whole reason I wanted that to work was to use gdb to debug this problem when it occurred next.) After the machine restart, the gdb issue resolved, and this line disappearing issue also "seems" to have.. disappeared. But I cannot say with confidence that this issue wouldn't repeat again, as I haven't yet figured out what exactly caused that. So if I now enable the line numbers globally, I won't be able to tell if that prevented that issue from repeating, or my machine restart already took care of that. Let me see if this issue repeats in the next week with my current config. > -- Kaushal Modi --001a114dd3c6cda383055b95d236 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 15, 2017, 5:39 AM m= artin rudalics <rudalics@gmx.at&g= t; wrote:
=C2=A0> To make line n= umbers disappear, some code has to trigger redisplay
=C2=A0> with display-line-numbers somehow reset to nil.

Buffer-locally.=C2=A0 I suppose this will become clear as soon as the OP ha= s
tested your "What if you turn on display-line-numbers globally".<= br>

Hello all,

I have yet to try setting display-line-numbers globally.=C2=A0

The issue hasn't repeated in the past few days .. I'= ;d hate if this has to do with me restarting my machine. (As a side: My mac= hine had an uptime of about a year, and I restarting it fixed the problem t= hat gdb wasn't able to access ptrace. The whole reason I wanted that to= work was to use gdb to debug this problem when it occurred next.)=C2=A0

After the machine restart, the gdb issue resolved, a= nd this line disappearing issue also "seems" to have.. disappeare= d.=C2=A0

But I cannot say with confidence that thi= s issue wouldn't repeat again, as I haven't yet figured out what ex= actly caused that.=C2=A0

So if I now enable the li= ne numbers globally, I won't be able to tell if that prevented that iss= ue from repeating, or my machine restart already took care of that.=C2=A0

Let me see if this issue repeats in the next week w= ith my current config.=C2=A0
--

Kaushal Modi

--001a114dd3c6cda383055b95d236-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2017 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150807779631546 (code B ref 27647); Sun, 15 Oct 2017 14:30:02 +0000 Received: (at 27647) by debbugs.gnu.org; 15 Oct 2017 14:29:56 +0000 Received: from localhost ([127.0.0.1]:41756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3jvP-0008Ck-PQ for submit@debbugs.gnu.org; Sun, 15 Oct 2017 10:29:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3jvN-0008CT-S8 for 27647@debbugs.gnu.org; Sun, 15 Oct 2017 10:29:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3jvF-0003xq-Iw for 27647@debbugs.gnu.org; Sun, 15 Oct 2017 10:29:48 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3jus-0003WG-85; Sun, 15 Oct 2017 10:29:22 -0400 Received: from [176.228.60.248] (port=4627 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e3jur-0004Ex-Mn; Sun, 15 Oct 2017 10:29:21 -0400 Date: Sun, 15 Oct 2017 17:29:17 +0300 Message-Id: <83r2u4h4ci.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <59E32CCB.1020108@gmx.at> (message from martin rudalics on Sun, 15 Oct 2017 11:39:23 +0200) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Sun, 15 Oct 2017 11:39:23 +0200 > From: martin rudalics > CC: rom.skiad@gmail.com, 27647@debbugs.gnu.org, kaushal.modi@gmail.com, > jonaswestlund101@gmail.com, npostavs@users.sourceforge.net > > > To make line numbers disappear, some code has to trigger redisplay > > with display-line-numbers somehow reset to nil. > > Buffer-locally. Yes. > I suppose this will become clear as soon as the OP has > tested your "What if you turn on display-line-numbers globally". Yes, that's the reason for that request. > In either case it seems that we do something subtly different when > processing GTK and native tooltips. Indeed, the processing is very different (unsurprisingly). > Since AFAICT the GTK tooltip related code does not change the > internal (frame-, display-related) state of Emacs I can only think > of the native tooltip code doing something which prevents the OP's > behavior from happening. But I've found nothing supporting such a > claim in ‘x-show-tip’. Neither did I. In fact, the GTK code is much simpler, and I cannot for a moment figure out how it could have switched buffers behind our back (if that's what happens in this scenario). From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Romanos Skiadas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2017 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15080799482739 (code B ref 27647); Sun, 15 Oct 2017 15:06:02 +0000 Received: (at 27647) by debbugs.gnu.org; 15 Oct 2017 15:05:48 +0000 Received: from localhost ([127.0.0.1]:41785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3kU8-0000i7-EU for submit@debbugs.gnu.org; Sun, 15 Oct 2017 11:05:48 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:49218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3kU7-0000hq-6b for 27647@debbugs.gnu.org; Sun, 15 Oct 2017 11:05:47 -0400 Received: by mail-wm0-f66.google.com with SMTP id b189so28980869wmd.4 for <27647@debbugs.gnu.org>; Sun, 15 Oct 2017 08:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=sgkQZt/oprV8twp8QGzO4hsCiPJ0CET9ICvubrn3lxg=; b=VZIkGYKIR95R1FVd7JjD4CP94AId9ngcTOStTYwjoXTrluU5azvx0WJHCdHrnvPldF 7CcdK8pE9XqQHGf4+8gMoqMppUZdepSPvP4Hpd9BXYDPhBlNYMIx/ykrlcjcpGvuCg2h JgR477f1aeKbRmiKNbSeZ4q0IHtrDpuxVG1wmtxuFIpOdZjinL+GnV2AJjC4NbQpIVMe Exz908TnSc7tlnfGZMbijVONT+0hX9HiiRMpM4ZF/EsiD9AwcUg0/yO2g1l5AIdQTzQ9 wxwtzwl/EifhuFZG5Y2KfGCHieQpC8q2LDGIkUzrYIHFld7j3XCwp0cAS6eWKau6izNq hH7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=sgkQZt/oprV8twp8QGzO4hsCiPJ0CET9ICvubrn3lxg=; b=h+OgEIW5t5a6X40gxwsnsVxJNHkW4RXqYR2TQIwQTCpg52K2JPhnC774PmZeGBndZg s0E+5Spo/fjloJno4Gsfv0kTslEIF9wcNHqp9pTugAqqKRnJR7JO2TxjzZxhvkujkvSZ TnSGGWPChqgTp40b2k8LCDO3k3n915dVyoxR/jQ4CqJmoq3QZlQk7glGigquVRJVGt+x bysVKLZunCnQXufxJOmoRD5RE0D8HfXZtjzUF7nHIz0nITdpj6zNknQ7aT6LA88VNJwG ErMVrKOc+OU7GaFbkeUcZxmygSRTluvt98SL53AbRKIQ4Rx1aLAVmkt7Ua+FDR7n1lmG AEag== X-Gm-Message-State: AMCzsaWilF4vZKG+dnh/NmLuIvkRPt5j3Sz1+g2WKUSLA9xRlxM1qo0Q gTLDFp4dE2S+X7YkUyOSZ7I= X-Google-Smtp-Source: AOwi7QDeZMt6Zc8rYy0pDkzxNDma8uGoiBjJIlGh6gehn3PPvH7aaezqQx8K37LaLIMJ3Xm0PU5Amg== X-Received: by 10.80.135.9 with SMTP id i9mr9806123edb.31.1508079941594; Sun, 15 Oct 2017 08:05:41 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.108]) by smtp.gmail.com with ESMTPSA id i17sm4046895ede.64.2017.10.15.08.05.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Oct 2017 08:05:40 -0700 (PDT) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <83vajii30y.fsf@gnu.org> From: Romanos Skiadas Message-ID: Date: Sun, 15 Oct 2017 16:05:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <83vajii30y.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------7AA991C68EF1C0E7EF524975" Content-Language: en-US X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 14/10/17 08:47, Eli Zaretskii wrote: >> Cc: kaushal.modi@gmail.com, 27647@debbugs.gnu.org, >> jonaswestlund101@gmail.com, npostavs@users.sourceforge.net >> From: Romanos Skiadas >> Date: Fri, 13 Oct 2017 19:14:10 +0100 >> >>>> It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. >>> What about disabling scroll-bar-mode, while leaving the GTK tooltips >>> in use -- does that also make the problem go away? >>> >>> Thanks. >> Just checked, still shows up with scroll-bar-mode disabled and the >> tooltips in use. > What if you turn on display-line-numbers globally -- does the problem > persist in that case with your default settings for GTK tooltips? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.82.66 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.66 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.82.66 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rom.skiad[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.0 FREEMAIL_REPLY From and body contain different freemails X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) This is a multi-part message in MIME format. --------------7AA991C68EF1C0E7EF524975 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 14/10/17 08:47, Eli Zaretskii wrote: >> Cc: kaushal.modi@gmail.com, 27647@debbugs.gnu.org, >> jonaswestlund101@gmail.com, npostavs@users.sourceforge.net >> From: Romanos Skiadas >> Date: Fri, 13 Oct 2017 19:14:10 +0100 >> >>>> It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. >>> What about disabling scroll-bar-mode, while leaving the GTK tooltips >>> in use -- does that also make the problem go away? >>> >>> Thanks. >> Just checked, still shows up with scroll-bar-mode disabled and the >> tooltips in use. > What if you turn on display-line-numbers globally -- does the problem > persist in that case with your default settings for GTK tooltips? Nope, still a problem with this init file: (global-display-line-numbers-mode) (add-to-list 'load-path "~/Code/evil") (require 'evil) (evil-mode 1) (add-hook 'text-mode-hook 'flyspell-mode) ;; don't have to create the overlay manually $ emacs -Q -l /txt/config.el /tmp/foo.txt I spent some time looking into evil and tracked the problem in these lines of the function that is bound to [mouse-1]: https://github.com/emacs-evil/evil/blob/89ab1e2ae5e59140bab4f8509b9e4c336ba375ea/evil-commands.el#L4225 https://github.com/emacs-evil/evil/blob/89ab1e2ae5e59140bab4f8509b9e4c336ba375ea/evil-commands.el#L4245 They call this function that moves point and mark: https://github.com/emacs-evil/evil/blob/89ab1e2ae5e59140bab4f8509b9e4c336ba375ea/evil-commands.el#L4304 which as the comment says is just a copy of mouse--drag-set-mark-and-point Is this in any way helpful? I'm playing with the debugger now so I might have something more useful later. Best, Romanos --------------7AA991C68EF1C0E7EF524975 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit



On 14/10/17 08:47, Eli Zaretskii wrote:
Cc: kaushal.modi@gmail.com, 27647@debbugs.gnu.org,
 jonaswestlund101@gmail.com, npostavs@users.sourceforge.net
From: Romanos Skiadas <rom.skiad@gmail.com>
Date: Fri, 13 Oct 2017 19:14:10 +0100

It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away.
What about disabling scroll-bar-mode, while leaving the GTK tooltips
in use -- does that also make the problem go away?

Thanks.
Just checked, still shows up with scroll-bar-mode disabled and the 
tooltips in use.
What if you turn on display-line-numbers globally -- does the problem
persist in that case with your default settings for GTK tooltips?

Nope, still a problem with this init file:
(global-display-line-numbers-mode)
(add-to-list 'load-path "~/Code/evil")
(require 'evil)
(evil-mode 1)
(add-hook 'text-mode-hook 'flyspell-mode) ;; don't have to create the overlay manually

$ emacs -Q -l /txt/config.el /tmp/foo.txt

I spent some time looking into evil and tracked the problem in these lines of the function that is bound to [mouse-1]:

https://github.com/emacs-evil/evil/blob/89ab1e2ae5e59140bab4f8509b9e4c336ba375ea/evil-commands.el#L4225
https://github.com/emacs-evil/evil/blob/89ab1e2ae5e59140bab4f8509b9e4c336ba375ea/evil-commands.el#L4245

They call this function that moves point and mark:
https://github.com/emacs-evil/evil/blob/89ab1e2ae5e59140bab4f8509b9e4c336ba375ea/evil-commands.el#L4304
which as the comment says is just a copy of mouse--drag-set-mark-and-point Is this in any way helpful?

I'm playing with the debugger now so I might have something more useful later.

Best,
Romanos
--------------7AA991C68EF1C0E7EF524975-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Oct 2017 21:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, Eli Zaretskii , jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150819043526681 (code B ref 27647); Mon, 16 Oct 2017 21:48:01 +0000 Received: (at 27647) by debbugs.gnu.org; 16 Oct 2017 21:47:15 +0000 Received: from localhost ([127.0.0.1]:44361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4DEA-0006wH-NW for submit@debbugs.gnu.org; Mon, 16 Oct 2017 17:47:14 -0400 Received: from mail-qt0-f176.google.com ([209.85.216.176]:52273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4DE8-0006w5-VK for 27647@debbugs.gnu.org; Mon, 16 Oct 2017 17:47:13 -0400 Received: by mail-qt0-f176.google.com with SMTP id 31so9373223qtz.9 for <27647@debbugs.gnu.org>; Mon, 16 Oct 2017 14:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8d6fZpp66sFCxVECVxGjtySfoTWzSp+l7DXZeooGvq0=; b=keoJssMNc6YnpQ1MqmFG2wESDYv4lb534CbO/5W0HQn9jlDfHzVAJmHumj+Cf9uzAw yXLN/NxMn1fk5rYHJfG8gep6GjQeosvYRb4jFyCsygi1ZC9zNWgCn1S4p0E/Ex9Pz3Br 4ILixOIxJW0d+ZSInRbfbTljqDGFW4/i8pzCu0LTUYRoBKXqJeXowjgA7iQBc83Jy+HI POzbBHUF0klMEXxMwTfEYmY1ArlUex5tl/znf4nHCPLifiWhotApS8P8iwtwqPipDk4G 3xCI/vz8KwPcG9rR+zcCIQwJYMnDlNENV4HTfFfuecBLXub81JSk6gFvDC0Cr9XDJQx5 sgsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8d6fZpp66sFCxVECVxGjtySfoTWzSp+l7DXZeooGvq0=; b=iF9XVAPlOZahwxZCyKfpY5+BrZ7BbEFOfkg2AXR2syjdUT/SCITcmgoxSbUIeoVYef TU8XeBnOhpKm3vSOdEaf1kqRJyRoabWRRDFKtlzo0UyEz+MFCLcIs8kKh2XcgZ0L2Iu2 Lx12nk7dxSkXHeUlrz8emdAE8utEE43tB5vOyo1E5i43czzRRM7/SSIj7ZbuMFs3Sc3W d7XXxqFnK3FUV6KdA4gZUqzLq8NwG3mEStkbyZ3MLOqIEfhpFCO+KI2aTmxljxV3fl0D ye9pZ+vRKCBFVkNUTePPMs0bRlLx7IA+AM3Rn+3i5+++yTjOR7LS6j+FQOYxjMKALvMG AcRA== X-Gm-Message-State: AMCzsaVf9wJ4eM7ppZM/u1JMPHzKszjl5CMTN0s5d3L/6N8ogtPkcQ7r xKb8XHxKiTNQQKUqnght/bTvYTtM/qFNJkj2oFw= X-Google-Smtp-Source: ABhQp+Q9mwq1rpR3l1G9iSotCul2GEFSb9WjK6FFdwQQqGluRQfeYS8sPEkjDhLtL7db9tVLk/rDvZVvRinnZTN/H8E= X-Received: by 10.37.164.164 with SMTP id g33mr1268180ybi.11.1508190427243; Mon, 16 Oct 2017 14:47:07 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> In-Reply-To: From: Kaushal Modi Date: Mon, 16 Oct 2017 21:46:55 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c13b50cab7a5e055bb0f22a" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --94eb2c13b50cab7a5e055bb0f22a Content-Type: text/plain; charset="UTF-8" On Sun, Oct 15, 2017 at 9:25 AM Kaushal Modi wrote: > > The issue hasn't repeated in the past few days .. I'd hate if this has to > do with me restarting my machine. (As a side: My machine had an uptime of > about a year, and I restarting it fixed the problem that gdb wasn't able to > access ptrace. The whole reason I wanted that to work was to use gdb to > debug this problem when it occurred next.) > > After the machine restart, the gdb issue resolved, and this line > disappearing issue also "seems" to have.. disappeared. > Nope, it is back! Thanks to Romanos, I tried to see if this issue had anything to do with tooltips and it almost always happens when hovering mouse over stuff in modeline, waiting for tooltips to appear. I have yet to find a recipe from emacs -Q, but below is a GIF recording: ==> https://i.imgur.com/kB6gHDk.gifv <== - Hovering mouse for tool-tips makes the line nums disappear (only for some tooltips though) - Clicking anywhere in the buffer brings the line nums back I do that a couple of times in that GIF. @Eli: About setting display-line-numbers globally, that did not help.. I evaluated: (setq-default display-line-numbers t) (So now even fundamental-mode buffers have line numbers.) But even after, the hover-over-modeline magic trick faithfully reproduces this issue at least on my config. Now, I will try to cook an emacs -Q recipe. ===== Latest emacs version info (Note that I am on RHEL 6.6, GTK2): Emacs version: GNU Emacs 26.0.90 (build 4, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2017-10-16, built using commit 16e85456e70174f1d97fc5a7cd8a199b8f0e7e70. ./configure options: --with-modules --prefix=/home/kmodi/usr_local/apps/6/emacs/emacs-26 '--program-transform-name=s/^ctags$/ctags_emacs/' 'CPPFLAGS=-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=-ggdb3 -O0' 'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3' Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES -- Kaushal Modi --94eb2c13b50cab7a5e055bb0f22a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 15= , 2017 at 9:25 AM Kaushal Modi <kaushal.modi@gmail.com> wrote:

The i= ssue hasn't repeated in the past few days .. I'd hate if this has t= o do with me restarting my machine. (As a side: My machine had an uptime of= about a year, and I restarting it fixed the problem that gdb wasn't ab= le to access ptrace. The whole reason I wanted that to work was to use gdb = to debug this problem when it occurred next.)=C2=A0

After the machine restart, the gdb issue resolved, and this line disappea= ring issue also "seems" to have.. disappeared.=C2=A0

Nope, it is back!

Thanks= to Romanos, I tried to see if this issue had anything to do with tooltips = and it almost always happens when hovering mouse over stuff in modeline, wa= iting for tooltips to appear.

I have yet to find a= recipe from emacs -Q, but below is a GIF recording:

=3D=3D>=C2=A0https://i.imgur.com/kB6gHDk.gifv=C2=A0<=3D= =3D

- Hovering mouse for tool-tips makes the line = nums disappear (only for some tooltips though)
- Clicking anywher= e in the buffer brings the line nums back

I do tha= t a couple of times in that GIF.

@Eli: About setti= ng display-line-numbers globally, that did not help..

<= div>I evaluated:

=C2=A0 =C2=A0 (setq-default = display-line-numbers t)

(So now even fun= damental-mode buffers have line numbers.)

But even= after, the hover-over-modeline magic trick faithfully reproduces this issu= e at least on my config.

Now, I will try to cook a= n emacs -Q recipe.

=3D=3D=3D=3D=3D
Lates= t emacs version info (Note that I am on RHEL 6.6, GTK2):

Emacs version: GNU Emacs 26.0.90 (build 4, x86_64-pc-linux-gnu,= GTK+ Version 2.24.23)
=C2=A0of 2017-10-16, built using commit 16= e85456e70174f1d97fc5a7cd8a199b8f0e7e70.

./configur= e options:
=C2=A0 --with-modules --prefix=3D/home/kmodi/usr_local= /apps/6/emacs/emacs-26 '--program-transform-name=3Ds/^ctags$/ctags_emac= s/' 'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/usr/include/fr= eetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0' 'CXXFLAGS=3D-= ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/u= sr_local/6/lib64 -ggdb3'

Features:
= =C2=A0 XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTI= FY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BA= RS GTK2 X11 MODULES
--

Kaushal Modi

--94eb2c13b50cab7a5e055bb0f22a-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 09:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, Eli Zaretskii , jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15082307806265 (code B ref 27647); Tue, 17 Oct 2017 09:00:03 +0000 Received: (at 27647) by debbugs.gnu.org; 17 Oct 2017 08:59:40 +0000 Received: from localhost ([127.0.0.1]:44875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4Niu-0001cz-51 for submit@debbugs.gnu.org; Tue, 17 Oct 2017 04:59:40 -0400 Received: from mout.gmx.net ([212.227.15.18]:53467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4Nis-0001ca-FV for 27647@debbugs.gnu.org; Tue, 17 Oct 2017 04:59:39 -0400 Received: from [192.168.1.100] ([46.125.249.51]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Meg8W-1dtL5I12YS-00OKCU; Tue, 17 Oct 2017 10:59:24 +0200 Message-ID: <59E5C663.3030001@gmx.at> Date: Tue, 17 Oct 2017 10:59:15 +0200 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:5hmT5CGZI8pJCW0/jzun8nZ4kMULvYchGTvUksU6jStJRkgW5O+ a8GBPD/RE27AM4s+BmtlBoTyiWEGFjSW9A2PrjlyQBT9ZHbuPq+v6aqdWphJSoko1MC9Su8 FcuF0n6brpwM6kSa2ItmCQjZ5P3F0ZL0J9Nd8DV6/gKSYwi045eqb5CcVIwb4kR9CD/1Z1O j1e1t7jC4F5aTktUq/lrQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:dbOKo3rF6Z8=:qRdhOlQTRQqIjNkRVpoxWs VZGrVokkrCASD0vzCR2d52g94Bt8UcxXPb/mwJSUKOGP7WJzSxZn12CMGCf6/vycjbYEvhYw9 HH/AIjfKzsA+Xf+lOnsndI1ji4IGlA1sBo/D3UzGxA/cA3VGc7i+gpnH3TPrr7q0iZVbPph4i FTE1FM7fQrtiVIjfn23vmQ2CxkUBK5k3vJqSRhUGbXwdH1yJwh1Ljp2lz05+BZTz5udz7BzdS +HL38CAlzF380PSf87s+EIJ3MNmfkvNQ/STXmhLm6b1HCHUCCa4gDaMuY6HvuZCYAx6by/FLS bJStJfttOLmbK5oA6eAHaCbfrdNmpx+ZULGl4nocV0vMqlrkrVbiDW4QAAfDQINKldCqcQ0YW 1hnXIB+EnLjrAqDmFWHEs4lNNpm6ms+JeFD17gP3o7cW3HjYAs+odrfnj3besHc74BNnd8d2C X8qKxcYSi9ypAHUmC6+rBiysMIBlvPOnBctov7SdK6+/4n87NZs6rYqOTcwo2n1YbmoLC0IPu D0/FtQDyvRKOXWxe3NX16t639vH9lLy6Fz6nsoE3VwdsynX0pbTJmqPfKhufnOtXiQuuHlRLl N+/gY+PHG7jRZl/Ar/e48QgiZRcObDFL+lpnOjhEBNiK0C7DR5eJ9lqLIPGHO9hibODf1Ta7i 8v1uTMbvSbuUbu4D0vGn6JtpIs4B6Dfp2VpXmCl/9QKveZxP18Sn73IgzXOa6L4bjZiN3NqSW gYUqMeQPzTAEEt7lQyTwYFtwiimgZ0wzuaWmwRMGvXl8NdWJgVCKHal6PvefuhaXztBZLXG4C zhm0V/8+FhuARHcGQzTohCIZ18S9wOqe7n0Pm0MXlCM0w377bjqQ1LNXCXxTXoEhBX/38Y0MA BndILN04iHpjKV3fW27TkX8tbSu/hEBhdOcquEJzoLdO6J9nlsirjRtLj/u8Gh X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > I have yet to find a recipe from emacs -Q, but below is a GIF recording: > > ==> https://i.imgur.com/kB6gHDk.gifv <== Apparently you move the mouse to some strange glyph on your mode line. Which one is that? Other mode lines elements do not seem to cause it. [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [46.125.249.51 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > I have yet to find a recipe from emacs -Q, but below is a GIF recording: > > ==> https://i.imgur.com/kB6gHDk.gifv <== Apparently you move the mouse to some strange glyph on your mode line. Which one is that? Other mode lines elements do not seem to cause it. [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [46.125.249.51 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) > I have yet to find a recipe from emacs -Q, but below is a GIF recording: > > ==> https://i.imgur.com/kB6gHDk.gifv <== Apparently you move the mouse to some strange glyph on your mode line. Which one is that? Other mode lines elements do not seem to cause it. martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 14:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150825172316430 (code B ref 27647); Tue, 17 Oct 2017 14:49:01 +0000 Received: (at 27647) by debbugs.gnu.org; 17 Oct 2017 14:48:43 +0000 Received: from localhost ([127.0.0.1]:46452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4TAh-0004Gw-3C for submit@debbugs.gnu.org; Tue, 17 Oct 2017 10:48:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4TAf-0004Gk-FW for 27647@debbugs.gnu.org; Tue, 17 Oct 2017 10:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4TAZ-0003OB-0M for 27647@debbugs.gnu.org; Tue, 17 Oct 2017 10:48:36 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4TAD-0003GL-5Y; Tue, 17 Oct 2017 10:48:13 -0400 Received: from [176.228.60.248] (port=2824 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e4TAC-0008JB-Iq; Tue, 17 Oct 2017 10:48:13 -0400 Date: Tue, 17 Oct 2017 17:47:56 +0300 Message-Id: <837evtg7ab.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <59E5C663.3030001@gmx.at> (message from martin rudalics on Tue, 17 Oct 2017 10:59:15 +0200) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> <59E5C663.3030001@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Tue, 17 Oct 2017 10:59:15 +0200 > From: martin rudalics > CC: 27647@debbugs.gnu.org, Eli Zaretskii , > jonaswestlund101@gmail.com, npostavs@users.sourceforge.net, > rom.skiad@gmail.com > > > ==> https://i.imgur.com/kB6gHDk.gifv <== > > Apparently you move the mouse to some strange glyph on your mode line. > Which one is that? Other mode lines elements do not seem to cause it. Actually, it looks like the numbers disappear when the mouse is on parts of the mode line devoid of any glyphs. Kaushal, did you actually click on those empty parts, or just having the mouse hover over them causes the numbers to disappear. And does the problem go away if you disable GTK tooltips in favor of the native tooltips? From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , martin rudalics Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150825284618241 (code B ref 27647); Tue, 17 Oct 2017 15:08:01 +0000 Received: (at 27647) by debbugs.gnu.org; 17 Oct 2017 15:07:26 +0000 Received: from localhost ([127.0.0.1]:46468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4TSo-0004k9-7U for submit@debbugs.gnu.org; Tue, 17 Oct 2017 11:07:26 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:54573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4TSm-0004jv-44 for 27647@debbugs.gnu.org; Tue, 17 Oct 2017 11:07:24 -0400 Received: by mail-qt0-f180.google.com with SMTP id z19so4170058qtg.11 for <27647@debbugs.gnu.org>; Tue, 17 Oct 2017 08:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W9jdwGBX4YQxQCuCRLo1Os9XUUctWJ+ABwN6mQt9A5k=; b=E/aEiGT6o8sGt0waSYwLjKdPY1pcmJFFuiQiFiuFm8R/odq0RFftMpSj/TJq+3brdw VD+05LNntoZGQRMr5Ij89ZB1uU02BUMZEqhRG50PnWywClAplnKMvoDf4wJCw8p4xutb p5GMlz/Y09NZj4RR+t2i7FNExFKDCTKZhfrAPM/pDypREF7XeRAvJHPpJUvkjHhVyfqN wDo4JRYYpwkXYMnbdsgl3GtBRV1KHaAQCxeXGMV5os+RpvtcVtv4tvEXx/kKwJdLO6+M v9zYQVjeLQFmSzP/O2+UAZ0V1F+cmhyvQVwXjv22YAJyGAswFg9JpjFSSgWsUP/jByN7 WwwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W9jdwGBX4YQxQCuCRLo1Os9XUUctWJ+ABwN6mQt9A5k=; b=DEhtMkZgwdkPBhTcq44hUk7jth3Mp3qmIbsPE9zGM/EMZyRDm/6Fctyrw6cgG3Hq1E EpxO5f91zLazj6DX1JHkF6+MjaR4w1uvguaXCfHvcDEG5o8f+vEHCI9fbK2gz0lyM0cB n5t9m6f+uUd+aFSX4ypuIY42cTOHjTk6LB8pqnbHJdMjphteHWkDBY8p5L3ees+OOSIl uoHcZSPivoekxQm41Sh3uG7gLhMUlbXg6V4WIjhrBKMf9QV/aSx280PntDRNV4jySE+w jqf2YiDOEwnZz8ne42OfBhdeMH2WXJOwZHE490PtTA5WHewz73QeSI2Ae+zZ1i2R3ih9 sTnQ== X-Gm-Message-State: AMCzsaUmNiBQ+8oBZcb0K7BEfSfUO4Co4ysq2YGD/MjfUC/A0LdVkQHr YIhBRfvqkzJTe7GYI7jdkG8o0Bpsatfsb8oV5n0= X-Google-Smtp-Source: ABhQp+SUngniZCpAgJaVvQy0R+c0p5YPDRsdEVSD0kMdxr75trdCAYxLHLav0XJ+xTNWs1Wh6/b5VODydsFEBqYJ3Fk= X-Received: by 10.129.172.22 with SMTP id k22mr2773386ywh.52.1508252838553; Tue, 17 Oct 2017 08:07:18 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> <59E5C663.3030001@gmx.at> <837evtg7ab.fsf@gnu.org> In-Reply-To: <837evtg7ab.fsf@gnu.org> From: Kaushal Modi Date: Tue, 17 Oct 2017 15:07:07 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c1b8612ac71ac055bbf7aa9" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --94eb2c1b8612ac71ac055bbf7aa9 Content-Type: text/plain; charset="UTF-8" On Tue, Oct 17, 2017 at 10:48 AM Eli Zaretskii wrote: > > Actually, it looks like the numbers disappear when the mouse is on > parts of the mode line devoid of any glyphs. It happens actually when I move the mouse from one glyph to another. Now it is not always repeatable to the point that this always happens if I move the mouse from glyph X to glyph Y. But I can reproduce by doing this: "frantically keep on moving the mouse across all the minor mode lighters (which I have modified to be a single unicode char each)". Kaushal, did you actually click on those empty parts, or just having the > mouse hover > over them causes the numbers to disappear. > No, just hover. In that GIF, you will see a small ripple appear around the mouse pointer when I click.. you see that when I click anywhere in the buffer to restore the line numbers. > And does the problem go away if you disable GTK tooltips in favor of > the native tooltips? > Yes! I believe the problem goes away if I set x-gtk-use-system-tooltips to nil. -- Kaushal Modi --94eb2c1b8612ac71ac055bbf7aa9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Oct 17= , 2017 at 10:48 AM Eli Zaretskii <eliz@g= nu.org> wrote:

Actually, it looks like the numbers disappear when the mouse is on
parts of the mode line devoid of any glyphs.=C2=A0

It happens actually when I move the mouse from one glyph to anothe= r. Now it is not always repeatable to the point that this always happens if= I move the mouse from glyph X to glyph Y. But I can reproduce by doing thi= s: "frantically keep on moving the mouse across all the minor mode lig= hters (which I have modified to be a single unicode char each)".
=

Kaushal, did you=C2=A0actuall= y click on those empty parts, or just having the mouse hover
over them causes the numbers to disappear.

<= div>No, just hover. In that GIF, you will see a small ripple appear around = the mouse pointer when I click.. you see that when I click anywhere in the = buffer to restore the line numbers.
=C2=A0
And does the problem go away if you disable GTK tooltips in f= avor of
the native tooltips?

Yes! I believe the= problem goes away if I set x-gtk-use-system-tooltips to nil.=C2=A0
--

Kaushal Modi

--94eb2c1b8612ac71ac055bbf7aa9-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, Eli Zaretskii , jonaswestlund101@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150825319918835 (code B ref 27647); Tue, 17 Oct 2017 15:14:02 +0000 Received: (at 27647) by debbugs.gnu.org; 17 Oct 2017 15:13:19 +0000 Received: from localhost ([127.0.0.1]:46483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4TYV-0004ti-Is for submit@debbugs.gnu.org; Tue, 17 Oct 2017 11:13:19 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:50920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4TYT-0004tS-Nl for 27647@debbugs.gnu.org; Tue, 17 Oct 2017 11:13:17 -0400 Received: by mail-qt0-f180.google.com with SMTP id f15so4230237qtf.7 for <27647@debbugs.gnu.org>; Tue, 17 Oct 2017 08:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F8rvFIyjGCP4Ne1BlhNQYyoove0V20cvjG9rNDhIJgg=; b=RgLxXNcyy+yR7fTIJHWdx8EWDHQpXwiC8RLy1d6Go/PFpzab4oBBSv5Vde87jkZsEG TIhetWWvGv8HX0rT7Nyky2TTp8AQqPCe2AQAuX12lZqviAuHnbGoW6jeJUIHaH7kHBTv UIOvqS/231lgzqrvyv5YUzgC4FAeWHFvBpIrnD2vwXkkiGDijI6Fr19pIBipy26kpAVH ACoYx5fEhkXFbXuq8xohyZRFSZL7gvq7RyLoQaG4JlsHBjK9LLAI1aJKqdEf/bMS63o7 cbzmMpzSHoCxdWBwvlup6JNRS6KsTAlvIWJzace5WCH46HANIY+O7AVi3Lddy2HfOSGy vmDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F8rvFIyjGCP4Ne1BlhNQYyoove0V20cvjG9rNDhIJgg=; b=hGyRbIkHp8j/rOg1mMsRHv+Y5pD12fXPH+mbs239/jNylUjJe+eK4k/2niaK/rO1RT 7HzwuTM6z+bvxTdI/5EBW26SNSj2POpQBC8Xr2Vs20bjchkaYmeWk8zK3CcPyStNArhg Ln0PFKpjqAxozTXFSu0P7/9tRRAabNeDNFt5Uv7wlC/pFzKpG65Mi3lzn+nQkutWhoBy 9d/NXm25h/JJn0Z2WHY9bFfDV4fc1OXjAp8Jrlaq6qMWjd1yn7DKoCPi4JNhJof6bWbT DbCWqS8NTuiThNyHIzfTQCndrid6l5jhJdppTvS3CejJ7aPWofMaBab6xJYT6bDwJXR3 rUbg== X-Gm-Message-State: AMCzsaUToubi7AJlDtWXflRTHLADpIx8l5ZGqqyj4ZNsBww1YPEA2Yw3 /ABczGW8uwfaThP98n7JUisRYLMbRiRI6MpeBE0= X-Google-Smtp-Source: ABhQp+TFftll/49wJ0jV4FFhGvp67HYSxy9dfGMmUiQa+JWKq0bfSgjWrRuTVfh+IxG4kG6DWLg1UguetlidpMD4/Uc= X-Received: by 10.37.41.5 with SMTP id p5mr2722940ybp.464.1508253192216; Tue, 17 Oct 2017 08:13:12 -0700 (PDT) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> <59E5C663.3030001@gmx.at> In-Reply-To: <59E5C663.3030001@gmx.at> From: Kaushal Modi Date: Tue, 17 Oct 2017 15:13:01 +0000 Message-ID: Content-Type: multipart/related; boundary="94eb2c14e3c2c1fee5055bbf8f0e" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Oct 17, 2017 at 4:59 AM martin rudalics wrote: > Apparently you move the mouse to some strange glyph on your mode line. > Which one is that? Other mode lines elements do not seem to cause it. > [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.216.180 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.216.180 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.216.180 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kaushal.modi[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 1.0 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of words 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Oct 17, 2017 at 4:59 AM martin rudalics wrote: > Apparently you move the mouse to some strange glyph on your mode line. > Which one is that? Other mode lines elements do not seem to cause it. > [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.216.180 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.216.180 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.216.180 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kaushal.modi[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 1.0 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of words 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders --94eb2c14e3c2c1fee5055bbf8f0e Content-Type: multipart/alternative; boundary="94eb2c14e3c2c1fee3055bbf8f0d" --94eb2c14e3c2c1fee3055bbf8f0d Content-Type: text/plain; charset="UTF-8" On Tue, Oct 17, 2017 at 4:59 AM martin rudalics wrote: > Apparently you move the mouse to some strange glyph on your mode line. > Which one is that? Other mode lines elements do not seem to cause it. > Actually just before emailing this, I verified that I can reproduce this problem by even hover the mouse over "-master" (see the attached image), then over to the major mode lighter "Emacs-Lisp" and then back to "-master". The problem does not happen every time. But if I keep on moving the mouse hover between those 2 things.. may be a dozen times, this problem surely repeats. Again, this problem happens only when x-gtk-use-system-tooltips is set to t. [image: image.png] -- Kaushal Modi --94eb2c14e3c2c1fee3055bbf8f0d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Oct 17= , 2017 at 4:59 AM martin rudalics <ru= dalics@gmx.at> wrote:
Appare= ntly you move the mouse to some strange glyph on your mode line.
Which one is that?=C2=A0 Other mode lines elements do not seem to cause it.=

Actually just before emailing this, I = verified that I can reproduce this problem by even hover the mouse over &qu= ot;-master" (see the attached image), then over to the major mode ligh= ter "Emacs-Lisp" and then back to "-master". The proble= m does not happen every time. But if I keep on moving the mouse hover betwe= en those 2 things.. may be a dozen times, this problem surely repeats.

Again, this problem happens only when=C2=A0x-gtk-use-system-tooltips is set to= t.


=C2=A0
--

Kaushal = Modi

--94eb2c14e3c2c1fee3055bbf8f0d-- --94eb2c14e3c2c1fee5055bbf8f0e Content-Type: image/png; name="image.png" Content-Disposition: inline; filename="image.png" Content-Transfer-Encoding: base64 Content-ID: <15f2ae3110ecb971f161> X-Attachment-Id: 15f2ae3110ecb971f161 iVBORw0KGgoAAAANSUhEUgAAATAAAAAuCAYAAACvUEWsAAAQUUlEQVR4Ae2cCbxV0x7Hf82JKELJ 2OT2DIXMEtJgeJ7koVTIEE+vSEnFQ9IoaUAklGaqT1IkRGQqQ0p4pElpLkWa6H2+a1v37nPuPeee e+85993z+fz/n8+5e++1115r7d9a67f+w9q3WEZGxj6ZGAKGgCGQhggUT8M2W5MNAUPAEHAIGIHZ QDAEDIG0RcAILG27zhpuCBgCRmA2BgwBQyBtETACS9uus4YbAoaAEZiNAUPAEEhbBIzA0rbrrOGG gCFgBGZjwBAwBNIWASOwtO06a7ghYAgYgdkYMAQMgbRFwAgsbbvOGm4IGAJGYDYGDAFDIG0RMAJL 266zhhsChoARmI0BQ8AQSFsEjMDStuus4YaAIWAEZmPAEDAE0hYBI7C07TpruCFgCBSTZP+R1caB IWAIpCUCpoGlZbdZow0BQwAEjMBsHBgCIQQOPPBA1atXL5Rip0UZASOwotw71rZCR+CVV17R/Pnz dfXVVxd63VZh3hEomfdH8vZEpUqV1KJFC9WqVUs7d+7UBx98oOnTp+vPP//MLOjUU0/V5ZdfrkMP PVTr1q1z9xcuXJh5//rrr9cZZ5yhmTNnatasWS79xhtv1FFHHaVHHnkkM19anhxfTxo+X+r+d+mj 1/6vr3Dddddp/Pjx2drw3XffKSMjI1t6OiX88MMPbuwxbuLJ119/rdNOO00rV66Ml61Q7jFnmDte fvvtN3311VeaM2eO9uzZ45PzdGzcuLHOPvvsiGcefvjhiGsuDjvsMJUuXVo//fRTtnt5TWB+X3LJ JapSpYq2bdvm3uHVV1/Vjh078lpUtvwpJbCSJUuqY8eO4jhlyhTtt99+uvTSS9315MmTXWN4udtu u00LFizQ22+/7SbKHXfcoSeeeELffvut9t9/f51//vkub9OmTR2BlS9fXqeffrrGjh2b7YUsoeAI 3HDDDRETOBkDreCtKpwS7r77bvErSsKCv2XLFqEMXHjhhTrkkENyXGh8m4sXL+7mGoQXLbNnz1bV qlV11llnRd+KuD7nnHPUsGFDDR8+XJB6fqV+/fpq1aqVPv74Y1F3uXLldMEFF6hmzZp69NFHIxSZ /NSRUgI7+eSTHZP36tVLq1atcu37/vvvI1gdTeyjjz7SqFGj3P0PP/xQxx57rM477zxHYEweVoEj jzxSaAJIgwYN9Pvvv+vTTz911/YnuQiAK4uHSdFAYM2aNVq7dq2WLVumsmXL6qKLLnIExRzISY4/ /nhHPsOGDct2e9++fU4Dyo3Apk2b5upCuejZs6c2bdqUrazcElBcrrzySr355pvyCgvPfPHFF+rX r59q165dIHKkrJT6wKpVq+bURE9eVAiBhYH/8ssvM8mL+wAMaaFl+eu+ffsKEnz22Wed9gaBvf/+ +9q7d6/Lk7Q/VWtIc/ZJN/eSpq6XOo+Qbh8gTd8iteuXVU3Z/aU7B0mTf5ZmbpcGz5Vqn5l1359V O0ka8KY0Y5s0Za3Urr9UsrS/K01YHpiPpPSeHtRN/T3GZOXhrF4jaeRCadbvwbFRq8j7lY8Nnv17 O6nT8KBNk1ZJl98ama+AVzVq1HD9Q1+sX79eI0aM0IABA5x2wID0gtY8aNAg/fzzz9q+fbvmzp2r M8/Mjg8mxcsvv+zybN261Wnpxx13nC/GHU866SQ3ATA9mMT9+/d3pk1EpiRdLF++3L0fYzCWDyy3 9rzxxhtO28C1sWHDBm3evFndu3dPUguVSSQVK1aMKBMyeOCBBwRpQTrxTOArrrjCWTtoRbEEDCZN muT6GfdOtNx7773q0KFDRDLXpHtB6TjggAPcXCUNFwWWFRo+c/yII47wWfN9TCmB0XhvfqDWlipV KteG8tJHH310hAaAvQ8Joq3hn2CCvPfee7mWle8MB1eWRvaQLrtFgqye7iz9s5NUplxQ5L8GSo1b S5MHS8PuCtL6vyEdUiWrygMqBORVvqI0uL00aaD0jzuk9oOy8vS6XnrizuB65P1S50bBb2yfrDzV 60h9ZkjrVkpD/h0cu42W6jTIyuPPWnWXdu6QOtSXZo+ROg6TqlTzdxM+4vtgpeeXU59VrlxZPXr0 0C233OL6onPnzurUqZMzD6hk4MCBat26tQYPHqy77grwYWJDWF4YDzNmzHDuAVZ4yjvxxBM1b948 EQlEKlSo4MiLydq+fXtXLu4FyDEVgq/11ltjk36i7SGKecoppzi/LosvptJNN92UlCb7hf3XX3/N LA9cwQeSx4dJ/+FzYh5FS/Xq1XX44Yfrrbfe0osvvujINjqPv2a+kQ83D9pUXuWggw5yj2zcuFHU i/mLKwlLijlcpkyZvBaZLX/eW5WtiNgJDFKYHB9W8+bNXYNxQj7//PPOoR/9JBOGScELv/POO9G3 3TV2+eeffy5W7JTJ8w9IJf6CZlwfafcuqctzUsXDpLXLA9Ka+Ji0+oegCTjf0bDOayZNeypI+9tZ EkT4n+bS1x8GaYvmSasCM9glLJ4n7dkV3Fu6UPrsreA8/LdZe2nreuk/V0l790izRknjlwXa1cIo Et+6QXqqU1Z5Lw8Kng2Xl8B5OICCaR/t+Gal9wO6T58+2rVrl5577jnnLkCLgbQee+wx4ThHXnvt Nac9NWvWTE89FeCDH4RJjlMZ3whCBBANh4mIYOZAlowdXAsIBOddCS4hiX8o+5dffolZYqLtAQ/I kLI++eQTXXPNNW5cv/DCCzHLjnejRIkSbiHBB0YbwNVjxHNgiaLw5JNPOlcLiz1Eh6Xy0ksvRRSN ewatkB8CicUT6mJe4tTHlM2L0G4EIqRe5izaOIIZXKwY++gLJiklMJrGqnXuuec6IFlJGcRNmjQR NnZYeJmbb75ZBx98sFi1GATRAosfc8wxcR2Y0c9kXhcvIZXZL/My28mukD9h3z5s2SCLO/8rYupJ bffOLPIi15Z10p9/SBUOzSp2w1/Rm5ZdpX5tpW2bsogsK1fuZzVPkSC3UmWCH08s/Uo6pnb2Z+cH EVp3g3ZDfPkQVP0VK1a4JzGDooVFiR/CkQGKeFIj2uzJi3Qiy3/88YeLMruMklvVOYc0vJCPnxcf Aevatavatm3rzCdPZORhghAYiiW4Kqg3WZJbe3w9ixcvjiBCFtxYJql/Jt6RRd3Ljz/+mG3uQA4s HLhU0JaoD/cN1ky0oPWEtTffj9H5/LXPGw9nnzfekefDczp8Hu+53O6lnMAYZE8//XSmxsTWByIc 0QSGXc7qS9QjFtPD2jgy+eVZTq4vDZoT+7G7L5Q86cTOFdwpXVa6rot0UQupavUsv1Z4RVm2WBra MfCdTVwhzRwpYRpuXptb6ZH3yx0o1Tot8GuF76zMwcmOmZkEQQMriBOfFbtLly5uCwCLDiYNEl5x MRMhF+9iyKnZEAFRbPxrEOrIkSOFxocvDCHCxZaCWILJ8u6778a6nef03NrjC4wmBd7Rm34+T16O U6dOdVYJGkxOeBHZ88Rft25dDR061JEX/RAtlIGSkKj4vAW1eCDXcP9jnSVjcUkpgdGRhH/DL49z EYcuvhW/l4X9Ltjsr7/+unDq5yRob6wu+VXD9d/PpTsj979E1LN8SWAiRiTGuMC31LCl9Ox90pKP pb27pWcWZM88ZYg0d7LUvIOEg73JDVKXJtI3n2TPGy9lwWxpdM/IHPi6osWbo9HphXyNI7lly5a6 7777nI9l9+7dbptMfpoxZMgQF8HCQdyuXTvnAEaDxzRD04je0xSuY8mSJeHLpJzHa09SKsihEAIm nrRzuO2SIAd8YcypnLRm/xyY4J9kYVm6dKlPjnnEzCcYk58opNfMmessQCgpWFC0la0gq1evjllv ojdSSmCo8NGqp18VwqvUtdde67ZKsN8llmDnE9H67LPPBHsTwaBTE45E7tgWkE2sCkjHx5WbEEVs 3EaaOkyCoHKTjaulZ7pK4/pJQ98Popodg31t7lFvqsYqh3ZDTIs+iJWjSKWjbbVp08ZFw5jssQQf Dto52kNOWkX4OQY6ZiSaGNFnIp/4VSkjXiQtXEYyz2O1x9cRHfhA2/SmmM+TzCP4gSNkwxYFhHkW jvb7+lAmyINfET+lJxl/P3zE/dOoUaNs1lI4T7xzr7gQNPjmm29cX/mILPs+8YcXVFIahcSZCLA4 AL0QiofRPfFgv2Oro33FApMBgbmAOYDaefvtt7uQMWZKoUvJUoGD/5eQbwgzL2w+0iiihGhcXrZv ln5cJFWKCh17P1X5kFpfJbSV4PsvJHbrh7dfnNpQqlTVl1ykjvQVvrCwFsAEDpsPNNhPNPyjXhgn OJ69cE7I3QuO50WLFiUl/O7LzMsx0fbUqVMnIgLI2GUCp0rwf6HZEKEHVxZ4XDXejxld74QJE9ym WHzO0WTr82LxoPViMcWK+LPLICzeVeDTeBYSw7pCRo8e7RYiNHOCPnx5U1BJqQaGtoTaSOgbXwWg sl+FKKQX0rxgSnrBEez3shB5wfnI6ov4z1ogP1Ya8haa7PxN+vLdYIvFt/MDZ3/bnlKxqLXgjKZS i3ulGnUDk5HtEA2ulsb1jWwqfrcVSyS2QECOdS+Q6jeTWtWSNq0JNL2mN0oDZwdbI9jzdW1nafZY qX/byLKSdMVnW0T/vLDCJ7ppmN3fLDQ4nvmmEE2bbRJMqrAwHvC1jRkzxmkCPIe/i9A74wDtii8v 2FeEXweTEWLAGU6QJz/CO6HJh4UJT7SQhZWF1O9DO+GEE5zfCdL0mkKi7UHzYYsIvihIj7J79+4d rjap50TsWQiYI8wn5hw4xiIesGWLC/OSz4j4AobILv0McYEz7cbXzF6/sLUUbjikiSZMYAFTnvfk 3AsKCV/LUM8999zjxgNWFNFU3Ei4i4hQF0RSSmAQy+OPP+78IZiJqNG8EIPRi2dtNt+FBfD8QMV5 zwTi5RF29hJ+x3woVPLyDezTJthW8eg0aeMaiW0X0RtZR3ST1q8K/F/s/+KcfOP7+1KCIybkg/+U uoyQOgyV1i6TercOyIscRCD5TvK2vlLHJ4OI54QB0qgon1hkqQW68l9F+EIY3H7R8GnxjpiQrLAE agjIsO0ieiMrg5vPyvCXPfjgg06zhtTYU8YEQ7p16+b2/6EJMAnQ6CmLzaz5EXxn/MKCdsT3ueyj gkC9PPTQQ+6Ub28hLiTR9vDpzbhx4xxxQyr3339//n23vkFxjjjw2YoC6fDZDtovWypiBcMoCjOY /WkEOi6++GK31cNXgeY2ceJE94VMLPIiL9rVZZdd5pQIlAsCP34++7Igf0x+8l111VXuPosCC0es rVL+2USO9g8NE0HJ8hgCCSLAhl18R1gNhSnsvUPr40uX/AgaG9YMSkJuPknKRzNGeYjn58xPO/L6 TEo1sLw2xvIbAoZA/hBgi0lOH28nWhpmdLxNvImWU9j5jMAKG3GrzxBIAQLevZKCoot0kcUyMjLs f+IX6S6yxhkChkAsBCJDQ7FyWbohYAgYAkUQASOwItgp1iRDwBBIDAEjsMRwslyGgCFQBBEwAiuC nWJNMgQMgcQQMAJLDCfLZQgYAkUQASOwItgp1iRDwBBIDIGSVWvWTSyn5TIEDAFDoIgh8D8BIgA6 JYauZAAAAABJRU5ErkJggg== --94eb2c14e3c2c1fee5055bbf8f0e-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 16:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: rom.skiad@gmail.com, rudalics@gmx.at, npostavs@users.sourceforge.net, jonaswestlund101@gmail.com, 27647@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15082589712680 (code B ref 27647); Tue, 17 Oct 2017 16:50:01 +0000 Received: (at 27647) by debbugs.gnu.org; 17 Oct 2017 16:49:31 +0000 Received: from localhost ([127.0.0.1]:46539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4V3b-0000hA-Lj for submit@debbugs.gnu.org; Tue, 17 Oct 2017 12:49:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4V3Z-0000gy-UT for 27647@debbugs.gnu.org; Tue, 17 Oct 2017 12:49:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4V3U-0005Hx-4u for 27647@debbugs.gnu.org; Tue, 17 Oct 2017 12:49:24 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4V36-0004qu-R1; Tue, 17 Oct 2017 12:49:00 -0400 Received: from [176.228.60.248] (port=2887 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e4V36-0008OL-F5; Tue, 17 Oct 2017 12:49:00 -0400 Date: Tue, 17 Oct 2017 19:48:44 +0300 Message-Id: <83wp3ten4j.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Kaushal Modi on Tue, 17 Oct 2017 15:13:01 +0000) References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> <59E5C663.3030001@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Kaushal Modi > Date: Tue, 17 Oct 2017 15:13:01 +0000 > Cc: 27647@debbugs.gnu.org, Eli Zaretskii , jonaswestlund101@gmail.com, > npostavs@users.sourceforge.net, rom.skiad@gmail.com > > Again, this problem happens only when x-gtk-use-system-tooltips is set to t. So somehow, popping up and/or down the GTK tooltip causes a redisplay cycle with display-line-numbers disabled. If someone with a GTK build can catch such a redisplay in a debugger and show a backtrace, that would probably allow us to move forward. Thanks. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Nov 2017 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, Kaushal Modi Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151017172616169 (code B ref 27647); Wed, 08 Nov 2017 20:09:02 +0000 Received: (at 27647) by debbugs.gnu.org; 8 Nov 2017 20:08:46 +0000 Received: from localhost ([127.0.0.1]:58931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCWeT-0004Cj-PE for submit@debbugs.gnu.org; Wed, 08 Nov 2017 15:08:45 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:44670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCWeR-0004CW-82 for 27647@debbugs.gnu.org; Wed, 08 Nov 2017 15:08:43 -0500 Received: by mail-io0-f195.google.com with SMTP id m16so7310267iod.1 for <27647@debbugs.gnu.org>; Wed, 08 Nov 2017 12:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4L/ENfZUTlWJ9aMUp6dD/UysS7AA4CmJeEkzQKXdTyA=; b=odzyT/0jku67mrIfGs0b3EEaBi+eXvuh2T3iTCcLNbe+W77nNKGwxSIbqmuhIKJQm/ 1RaBpSijI1V6gBTNuqEf03QxO1kQxVQMI9vIop4KOlGJT3Z2i6fCNmt+zOTewmQXTDQj 6tY6QVudA1/IzkK+KPXdYw5Vjh1MFIocwjmnOIe49EvIAihjtYyl77hWFssfXO48Jo2N acj0J1lBx6qVJQ4sOSSqWsUkTgwYUtvCTYjW/Qck/doZ+vVXysOBh/jFjcmUvQN55j1W d0MLbuf+UbDUTb09l+QjFUfbkn+Qm8U13rGk4/0pLMbWViCfKEf9MLotHQXbBwlgWE4b cjMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4L/ENfZUTlWJ9aMUp6dD/UysS7AA4CmJeEkzQKXdTyA=; b=qjEnbvyWfVFLLMduXiptQxVT8DW0Kg1DGS5f7gvozZobsPdUaKUc5n9OnKDfzBH4pX wD9IHRGRwWjKWx5hI/8LbSiZgLgFiEA5qHlp1DBHMGOp5g60sG0nrDssBKiXwE6QXl4u t+gAgHlh+fqZph7XLSuSz7fcW3kxsLjxU1DYO6j2tHaDq1EF8J3S3B01nWbU+2XKYUVf G9YEPvEeKnSOXFmFYf558bcR2ZJ6PCzZpQ5SX0ynM81PU/CO2lSGEMMNZIU2Qw/CW7KS TuLzZMCCksFQp36BIjLZYtkcIMbYkX9R9M1YnWbw4aPL51LjG9uJj7uwtwdhCmOkbaT3 gUdQ== X-Gm-Message-State: AJaThX6qvEbaiKEdZbluLgwxQBkLOvs4EfsX0cFWFBassNAyeUrrnTK5 Wwn4EkB4AFgok1WFEYEuypgqgw== X-Google-Smtp-Source: AGs4zMakQZrkrIBQUtIn/dNtdfRvBH9q2/GKOdiADYOrGXS6oi2+lm4gl7dq/+Xsn+COZ8V/+xtNWQ== X-Received: by 10.107.146.214 with SMTP id u205mr2356268iod.56.1510171717351; Wed, 08 Nov 2017 12:08:37 -0800 (PST) Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id k19sm2635136itb.18.2017.11.08.12.08.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Nov 2017 12:08:36 -0800 (PST) From: Alex References: <83eftnitpj.fsf@gnu.org> Date: Wed, 08 Nov 2017 14:08:31 -0600 In-Reply-To: <83eftnitpj.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Jul 2017 05:38:16 +0300") Message-ID: <87inekjzy8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.3 (--) I coincidentally stumbled across an easy recipe for this bug (or at least a similar bug): M-: (setq display-line-numbers t) M-: (setq mouse-drag-and-drop-region t) Then select a region, click on it (mouse-1), and drag the mouse. The line numbers will disappear until you release the mouse. Hopefully you can reproduce this on your end this time, Eli. To be clear, this is with a GTK build. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Nov 2017 20:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, Kaushal Modi Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151017209816729 (code B ref 27647); Wed, 08 Nov 2017 20:15:01 +0000 Received: (at 27647) by debbugs.gnu.org; 8 Nov 2017 20:14:58 +0000 Received: from localhost ([127.0.0.1]:58938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCWkU-0004Lk-Fp for submit@debbugs.gnu.org; Wed, 08 Nov 2017 15:14:58 -0500 Received: from mail-it0-f44.google.com ([209.85.214.44]:45471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCWkT-0004LY-Px for 27647@debbugs.gnu.org; Wed, 08 Nov 2017 15:14:58 -0500 Received: by mail-it0-f44.google.com with SMTP id u132so4835832ita.0 for <27647@debbugs.gnu.org>; Wed, 08 Nov 2017 12:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=KC3Xbwsmu0sBmzFIR/CEebfYq7QmLuyjTzucBC+Pz1A=; b=YIPttcDRSw4O3Neq0u1WZkBMi/crOIKJ95RYc053e48g/GxdjoynmT4tngKPBYI/vQ grcqU+9Gr3WI0WVziCF/9h4MoGGcNyC8/Q2/977MPbSeyUgILA0596O711EE+7OLgJUF S5BhIvybeJcTcLLWjil5evtcxSZyLqR0HkX85zC81mr4cmQelZNtZcTqmlFqI/AA9Uhu IGQu2o/4sObNXmTD2MrCMWuT8DIdJc/DhH2AlFuGA7/NYeTqVJXusVY05iUzgc1lwJ8+ Kbg5L+vLIaVzEkORl7sDvQAOFwHjEwfA7+xcidPTV269kychkcN7vIfZ+7MPtd0oubay fRRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=KC3Xbwsmu0sBmzFIR/CEebfYq7QmLuyjTzucBC+Pz1A=; b=e6qgyxShRuF4EhyLtcHJsYMLQci1GGDc/ojOXpV25wBD+1JjFvw865XLwbaX92rctp FkVEb59K8wUXumPnfbf17x9muEk0OZcgc3TU0Ilip3dKmmN7hFHjPozBc2IrgqXXXzlm 89jxsV/nHD0uyl6npcCMzAVnMgdw86rHSdPrYDL2urR7c5QvvxPG1kmj8JWOZLS8rW1f UQXtXtdP8s65ZHk0BAFBfMqe3qkCka47r4/F5xeVGsIkFVucL1GfX+j4aYOlw3br+SeW FU0T+MonnNxb638SPyNff8wroH5ZVzUxOtA/Pry4AZQ6bSaKQJnABa+lSQED5zGK5CKI X9qA== X-Gm-Message-State: AJaThX72jYRV32InF8k4wGOp41nKrVGi4NKuqbS4G68ea1ImanuSsnug 7c8a2djfrTW+jGRVXEOHsuQ= X-Google-Smtp-Source: ABhQp+T4l3oN4I6rKH2V2C+FuZzhW8sV7p7JC6eUwwXl/9j3HYFnd0U7Ds0+MiZYzjQb0stsuK4NeQ== X-Received: by 10.36.93.84 with SMTP id w81mr2399745ita.139.1510172092290; Wed, 08 Nov 2017 12:14:52 -0800 (PST) Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id y132sm2367151ioy.69.2017.11.08.12.14.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Nov 2017 12:14:51 -0800 (PST) From: Alex References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> Date: Wed, 08 Nov 2017 14:14:49 -0600 In-Reply-To: <87inekjzy8.fsf@gmail.com> (Alex's message of "Wed, 08 Nov 2017 14:08:31 -0600") Message-ID: <87efp8jznq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) Alex writes: > I coincidentally stumbled across an easy recipe for this bug (or at > least a similar bug): > > M-: (setq display-line-numbers t) > M-: (setq mouse-drag-and-drop-region t) > > Then select a region, click on it (mouse-1), and drag the mouse. The > line numbers will disappear until you release the mouse. > > Hopefully you can reproduce this on your end this time, Eli. To be > clear, this is with a GTK build. Sorry, I should have also mentioned that this is indeed only the case when x-gtk-use-system-tooltips is non-nil. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 02:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alex Cc: 27647@debbugs.gnu.org, Eli Zaretskii , Kaushal Modi Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151019578329298 (code B ref 27647); Thu, 09 Nov 2017 02:50:01 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 02:49:43 +0000 Received: from localhost ([127.0.0.1]:59244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCcuV-0007cN-BN for submit@debbugs.gnu.org; Wed, 08 Nov 2017 21:49:43 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:46663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCcuS-0007c0-Tt; Wed, 08 Nov 2017 21:49:41 -0500 Received: by mail-io0-f171.google.com with SMTP id 101so8233502ioj.3; Wed, 08 Nov 2017 18:49:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ubG+lxJDzrmFPBqET/hOo3Y46PTJCA78fzfV6ZXXBzI=; b=MqPDTWvg33KHUr+Wm6FcQYgIPENRYZ2JOVvdr0ObbnQjLGEiYx9C7q4q5KQy1H/Ykl 78VqubKS1eWeF648Oqyv0+4ykrF276NuDaFgjsnGu3dTnlOXgMm6EwRa/qpcaqZCqU8c TMwzyN+7mOTzxzzgaeDgrPNq65JrY6vqzDyFjKmbrAq7OsUjNWDmmALDbwuVSO2kw9+4 OI1DYTeTnieeV3AOQNAyG6g6GO4lg0HKrz+n+rUbA1eqS/+AzE9eZg1K5GBbsFt0xFW+ odIuMjkyl/tFgWQW1JBWjjx7tn2c4px2x+9W6U8McR4NrwrNpnhgq5q8XBuHEQ+R3eOW xwUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=ubG+lxJDzrmFPBqET/hOo3Y46PTJCA78fzfV6ZXXBzI=; b=TSzAQDXInlB8yFCurByNFrdk2KM++gq/8xChZrb0AektMmo+RIQhIP4ZaPjViPjO9b hI+ani41wxR8SzxYO+vr53Hk8LSa+YU67RyQMsUdOkEdtIl+ufgEv0n3JJ4nV+tp6jNm p/4i09YMzKML1b0OYqjuojZNbPgADOXxOILpBtnvpiPTpNuuVfcZc6xXGQ9Yu/WKTaZB bEoSqqFVgJMVfXToM/rrKQx+lyVlpv0uvqiyby5ZmnRaHg+Ic9HMeX72PrIUV/gfrl+S UMDYwlqgqB8gjEhS6cBv76veRroLM5dZGo8aUJO843141Bdobk7UVfKS3fc93M3AWeC9 bPSA== X-Gm-Message-State: AJaThX4gsX4EpRcLuRXsT7PFF6BTdSSkKED3SyeVVcefMTZDQxvZMsHG mg8hoDDviWzm9IPFtunCez4zYQ== X-Google-Smtp-Source: ABhQp+QNBfR5SaMEa4iNeaBk5kYacjdTDqJX+6CEvC30ceo+zU6W30lOMKGvoyeTS3FIefpFc1sfiw== X-Received: by 10.107.14.15 with SMTP id 15mr3240333ioo.127.1510195775039; Wed, 08 Nov 2017 18:49:35 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id s81sm2952306ita.19.2017.11.08.18.49.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Nov 2017 18:49:32 -0800 (PST) From: Noam Postavsky References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> Date: Wed, 08 Nov 2017 21:49:31 -0500 In-Reply-To: <87efp8jznq.fsf@gmail.com> (Alex's message of "Wed, 08 Nov 2017 14:14:49 -0600") Message-ID: <87shdo4150.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.1 (--) --=-=-= Content-Type: text/plain tags 27647 + patch quit Alex writes: > Alex writes: > >> I coincidentally stumbled across an easy recipe for this bug (or at >> least a similar bug): >> >> M-: (setq display-line-numbers t) >> M-: (setq mouse-drag-and-drop-region t) >> >> Then select a region, click on it (mouse-1), and drag the mouse. The >> line numbers will disappear until you release the mouse. >> >> Hopefully you can reproduce this on your end this time, Eli. To be >> clear, this is with a GTK build. > > Sorry, I should have also mentioned that this is indeed only the case > when x-gtk-use-system-tooltips is non-nil. Aha, the problem is this condition in should_produce_line_number: static bool should_produce_line_number (struct it *it) { ... /* Don't display line number in tooltip frames. */ if (FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame)) return false; Which sounds like it would be correct, except that the meaning of tip_frame is different for GTK tooltips, as explained in x_hide_tip: static Lisp_Object x_hide_tip (bool delete) { ... #ifdef USE_GTK { /* When using system tooltip, tip_frame is the Emacs frame on which the tip is shown. */ struct frame *f = XFRAME (tip_frame); Implemented in Fx_show_tip: DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0, ... f = decode_window_system_frame (frame); ... #ifdef USE_GTK if (x_gtk_use_system_tooltips) { ... /* This is used in Fx_hide_tip. */ XSETFRAME (tip_frame, f); Leading to the following patch: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v1-0001-Fix-line-number-display-when-using-gtk-tooltips-B.patch Content-Description: patch >From de99bf6af06aba4659740b8f3d892ff5db5bce03 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Wed, 8 Nov 2017 21:45:28 -0500 Subject: [PATCH v1] Fix line number display when using gtk tooltips (Bug#27647) * src/xdisp.c (should_produce_line_number): Don't check tip_frame when using gtk tooltips. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 69b74dc629..3b75811cc3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -21126,7 +21126,8 @@ should_produce_line_number (struct it *it) #ifdef HAVE_WINDOW_SYSTEM /* Don't display line number in tooltip frames. */ - if (FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame)) + if (!x_gtk_use_system_tooltips + && FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame)) return false; #endif -- 2.11.0 --=-=-=-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noam Postavsky , Alex Cc: 27647@debbugs.gnu.org, Kaushal Modi Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151021256231597 (code B ref 27647); Thu, 09 Nov 2017 07:30:02 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 07:29:22 +0000 Received: from localhost ([127.0.0.1]:59367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eChH7-0008DZ-T3 for submit@debbugs.gnu.org; Thu, 09 Nov 2017 02:29:22 -0500 Received: from mout.gmx.net ([212.227.15.15]:56666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eChH6-0008DM-6v for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 02:29:20 -0500 Received: from [192.168.1.100] ([46.125.250.13]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lhwgc-1ezpXk0hKk-00n7Lt; Thu, 09 Nov 2017 08:29:06 +0100 Message-ID: <5A0403B7.3080309@gmx.at> Date: Thu, 09 Nov 2017 08:28:55 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> In-Reply-To: <87shdo4150.fsf@users.sourceforge.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:7U2vepvX/fJ4DkAzicCmMPqLInybuQ5NaeALeWsYloQtIr5a8/g nRvSVI4nhh6GOdKbv2gL0Vqmgjus0BGowdN6Qv5Y99j0vF2Wb6pxJLkIO96WEr0dMncGg7H OtINa15JiW3JZbTp7LlULgbr3eUe2Vvy+1goGUZNsdIX1mi7HeMIXWjH3gKpXKWMuiL2A9Z VcJ9Aen68sGgBGg52GJEQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:1MEtuBHy67I=:A2IyvC7RQtCS7khSLBV5/s 2qL2QKtChqCdl3uwQUFW3Vk9fCY5lbwCmxfvFyCDkU/CpSzZI8GdRZpiLecVr5790/Hmto9jT aheI9SC7ZYk4EbAACuh4vB3/nYDl286FtJ9QniuoPy2MpO+yGcgM1J2L2GIF8cTj5pSvwaUOj YrNQ9mwfcieisIYg3As3iR+JOwIJ3/ml/d7G3nPUve0kD0G5/Wl3esZEL0wUlF7fma5kxrPsU FLUoiGr+/wiH4nR4fkjOiXdnwnaVc3UivrLcs7iNB1E5K3Aosui97hJDhNekRDtnCt3ATdFcZ 0S7Nkk6DHPnIiYZIx/wPOm1k7dJox6CFBMiSvN/qjPT/fi76ysOtQ/pND9t04H3TFuko8uiBB DNDstJGISg+eNYx7I+2+0A4OjUakWN9Iafo8KS8XJv7SpeYiQj8swOkovHWULvEWByc/7xOZg RL2t4zkvj9IN0IJhM8uw684nA/mJ/2Rrxv1W+KiFsZFh+oaU/RticgWpCXGBvjiaFKAQPyBTQ c1G3plDeqQ1bdSDCZynLUqpAdaf/tAB/rIF9S+kP5HjtDPvJPlJq0zm5fs2DUi35VptnaF9J7 7/NXyLLCbI+oB7O7ti7NRIAr8/Hn1r9yS5k2FXEtHkSfGIXvLsEAX6s2rQI0cl845mxQo6AqI 7o/mg1T98599wpK6ikKL/+kETT0G5IAm4Z0MNTk3e7OyxUmdJxqvJxJu1qYg+YTQDsKo9SEml ra6paPsgsjoK+AAKbm/YNGwQXNXKtTsqDKKAnfs146scUqCCfY1gsy0FmDyK3Sf3vrfAoW9Qn 92txkBik7nyRAZKiDqmT2XXaPDhZ2iM+JhDl9U6ZpGavTO83hWLc3mvgQyhb0QFnl58T9qf X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.0 (---) > Which sounds like it would be correct, except that the meaning of > tip_frame is different for GTK tooltips, as explained in x_hide_tip: > > static Lisp_Object > x_hide_tip (bool delete) > { > ... > #ifdef USE_GTK > { > /* When using system tooltip, tip_frame is the Emacs frame on > which the tip is shown. */ > struct frame *f = XFRAME (tip_frame); Good catch! And yes, we wouldn't have had that problem if we had left in (parts of) the code Dmitry Antipov installed some time ago where "The goal was to avoid tricky global variables". martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 13:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noam Postavsky Cc: 27647@debbugs.gnu.org, Eli Zaretskii , Alex Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15102344868772 (code B ref 27647); Thu, 09 Nov 2017 13:35:01 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 13:34:46 +0000 Received: from localhost ([127.0.0.1]:59538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCmyk-0002HQ-DT for submit@debbugs.gnu.org; Thu, 09 Nov 2017 08:34:46 -0500 Received: from mail-yw0-f182.google.com ([209.85.161.182]:51438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCmyi-0002HC-S4 for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 08:34:45 -0500 Received: by mail-yw0-f182.google.com with SMTP id k3so5256608ywk.8 for <27647@debbugs.gnu.org>; Thu, 09 Nov 2017 05:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gUEC2sZBi+5EAx/oWHt8nQyxwqjoyObzAdy2JY0kh1s=; b=MAA3kiFM2wM9JJwD2o7CI9ylU8l3cKEV9ppATzX3RFfosiIUpVywrNE1ID4piLM6Yr AHvlov1p16V1UP+CpaFjRHBpRqJEqB7uH71IEX+Qtq0AkYNoXE2blTdIiWgSRJCmH90A V6rA1r6hh8USjHnirn43N+HoqxbLgwN/ZS2oFxqa50iE+ylovLFJJ4cGV9rl51VGRMJt 98mLudsTsT77lsAbmmbxwDk17MeQ2BFAukRnLOG+FiZjG5F60FUJpPymr5rdEOUO3i7e e7OXiCdHMAlFneBN4iPxWPqzvrL42zaIZCkk1Th2EDG51NCUHtLNy2In5ByJuZdLJCSG UpzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gUEC2sZBi+5EAx/oWHt8nQyxwqjoyObzAdy2JY0kh1s=; b=esZ4gxQRZQj5lZSO92Fc9dpEu9epMlD2h7wphOCzKBMnispDH7TaLRefPZ8V8JowXr 0REEqpOVRjIiUwz3WAFMpG41JEZ+6RuGkHeKBLA/GcJ1EyvZ+sA4vEiO4K99z7dy8d9x POInXeBCtiAs1U2ndJv4eFnzi52MAqzofSRxKF9e1gq90AXe9EXr4cSp9bPySuigi7pO XlRtQclsQKMQ4Q/X66zf4WHAJBIGINwN4VVtzTT2hJ7sqTyddDpk35cY2hrWLXgGgiUA KcyYd3ubJ7k4mwZKSw0fogmAZoPEYJQ+hY2cnvvaASIGHHNmmy39jb1YvfLOUhh+53rb UNjw== X-Gm-Message-State: AJaThX7zqqW1DEW3lekt6ZkZKFTvO0Ezu2CmcL70qNLJakHQzn+JB+Ez JyE6rCNq0s9NH5gjvd02nUk3zYwgTUzqgwASjGU= X-Google-Smtp-Source: AGs4zMYMh9jgCSPBxD3+8bFL7VbC8Roxf2NT0hujmW0GjMdfPoWFLykKsAokxvD2HdP+bHRZuMxnXMi7YKVF3hVNVXk= X-Received: by 10.37.176.68 with SMTP id e4mr300649ybj.389.1510234479171; Thu, 09 Nov 2017 05:34:39 -0800 (PST) MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> In-Reply-To: <87shdo4150.fsf@users.sourceforge.net> From: Kaushal Modi Date: Thu, 09 Nov 2017 13:34:27 +0000 Message-ID: Content-Type: multipart/alternative; boundary="f403045e727ca8a1e3055d8cdd44" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.5 (/) --f403045e727ca8a1e3055d8cdd44 Content-Type: text/plain; charset="UTF-8" On Wed, Nov 8, 2017 at 9:49 PM Noam Postavsky < npostavs@users.sourceforge.net> wrote: > Leading to the following patch: > Thanks for the fix! It works! Woohoo! :D It was a nasty bug, very visually disorienting, very difficult to reproduce in the beginning, but ironically got fixed by 1 line. Thanks for spending time to debug this and come up with that crucial fix. Did any of the within-emacs debug tactics help you figure this out? Or was it putting breakpoints and catching them in gdb? Or did you go the final hard way, and review the code manually? Also thanks to everyone who helped figure out a recipe, which is equally important :). -- Kaushal Modi --f403045e727ca8a1e3055d8cdd44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Nov 8,= 2017 at 9:49 PM Noam Postavsky <npostavs@users.sourceforge.net> wrote:
Leading to the following patch:
=
Thanks for the fix! It works! Woohoo! :D

It was a nasty bug, very visually disorienting, very difficult to rep= roduce in the beginning, but ironically got fixed by 1 line.

=
Thanks for spending time to debug this and come up with that cru= cial fix. Did any of the within-emacs debug tactics help you figure this ou= t? Or was it putting breakpoints and catching them in gdb? Or did you go th= e final hard way, and review the code manually?

Al= so thanks to everyone who helped figure out a recipe, which is equally impo= rtant :).=C2=A0
--

Kaus= hal Modi

--f403045e727ca8a1e3055d8cdd44-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: martin rudalics Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151024302622937 (code B ref 27647); Thu, 09 Nov 2017 15:58:02 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 15:57:06 +0000 Received: from localhost ([127.0.0.1]:60591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCpCU-0005xt-79 for submit@debbugs.gnu.org; Thu, 09 Nov 2017 10:57:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCpCS-0005xO-Dc for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 10:57:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCpCM-0007d0-G7 for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 10:56:59 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCpCH-0007b6-TW; Thu, 09 Nov 2017 10:56:53 -0500 Received: from [176.228.60.248] (port=2925 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCpCH-0007Hi-Bv; Thu, 09 Nov 2017 10:56:53 -0500 Date: Thu, 09 Nov 2017 17:57:07 +0200 Message-Id: <83shdnqwbw.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5A0403B7.3080309@gmx.at> (message from martin rudalics on Thu, 09 Nov 2017 08:28:55 +0100) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Thu, 09 Nov 2017 08:28:55 +0100 > From: martin rudalics > Cc: 27647@debbugs.gnu.org, Kaushal Modi > > And yes, we wouldn't have had that problem if we had left in (parts > of) the code Dmitry Antipov installed some time ago where "The goal > was to avoid tricky global variables". What changes did you allude to here? Can you point me to them? In general, using the same variable for two different purposes is exactly what I was talking about in the discussion of wait_reading_process_output discussion -- who could possibly keep all such factoids in memory, and avoid making such subtle mistakes as result? I also wonder whether other places which seem to be similarly vulnerable hide bugs. For example, what about frame-list: DEFUN ("frame-list", Fframe_list, Sframe_list, 0, 0, 0, doc: /* Return a list of all live frames. */) (void) { Lisp_Object frames; frames = Fcopy_sequence (Vframe_list); #ifdef HAVE_WINDOW_SYSTEM if (FRAMEP (tip_frame)) frames = Fdelq (tip_frame, frames); #endif return frames; } Does this mean that in a GTK build, at some "opportune moment", frame-list will omit one frame from the list it returns, because that frame happens to show a tooltip at that very moment? Or what about a similar snippet in x-display-monitor-attributes-list? Is it in trouble as well? IOW, instead a simple variable with a clear semantics, we now have a potential trap, whereby for every use of this variable we need to make non-trivial reasoning whether this issue could or couldn't hit us. I think we should get rid of this ambiguity on master. Patches to that effect are welcome. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 16:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noam Postavsky Cc: 27647@debbugs.gnu.org, agrambot@gmail.com, kaushal.modi@gmail.com Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151024392424289 (code B ref 27647); Thu, 09 Nov 2017 16:13:01 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 16:12:04 +0000 Received: from localhost ([127.0.0.1]:60598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCpQy-0006Jg-IJ for submit@debbugs.gnu.org; Thu, 09 Nov 2017 11:12:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCpQx-0006JD-EZ for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 11:12:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCpQm-0006Qq-FO for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 11:11:58 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCpQi-0006PL-LZ; Thu, 09 Nov 2017 11:11:48 -0500 Received: from [176.228.60.248] (port=2939 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCpQi-0004vy-2S; Thu, 09 Nov 2017 11:11:48 -0500 Date: Thu, 09 Nov 2017 18:12:02 +0200 Message-Id: <83r2t7qvn1.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87shdo4150.fsf@users.sourceforge.net> (message from Noam Postavsky on Wed, 08 Nov 2017 21:49:31 -0500) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Noam Postavsky > Cc: Eli Zaretskii , 27647@debbugs.gnu.org, Kaushal Modi > Date: Wed, 08 Nov 2017 21:49:31 -0500 > > Aha, the problem is this condition in should_produce_line_number: > > static bool > should_produce_line_number (struct it *it) > { > ... > /* Don't display line number in tooltip frames. */ > if (FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame)) > return false; > > Which sounds like it would be correct, except that the meaning of > tip_frame is different for GTK tooltips, as explained in x_hide_tip: > > static Lisp_Object > x_hide_tip (bool delete) > { > ... > #ifdef USE_GTK > { > /* When using system tooltip, tip_frame is the Emacs frame on > which the tip is shown. */ > struct frame *f = XFRAME (tip_frame); Thanks for the diagnose. I hate these tricks. > Leading to the following patch: Thanks, but this patch won't compile in any non-X build (because x_gtk_use_system_tooltips is only defined in xfns.c). Also, x_gtk_use_system_tooltips is non-zero by default in all X builds, even those without GTK, so I guess under this patch non-GTK builds will show line numbers in tooltip frames, is that right? I propose a slightly different patch below; could you try it? diff --git a/src/dispextern.h b/src/dispextern.h index 2f55d8c..430afbf 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -3452,7 +3452,14 @@ void gamma_correct (struct frame *, COLORREF *); void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); void x_change_tool_bar_height (struct frame *f, int); +/* The frame used to display a tooltip. + + Note: In a GTK build with non-zero x_gtk_use_system_tooltips, this + variable holds the frame that shows the tooltip, not the frame of + the tooltip itself, so checking whether a frame is a tooltip frame + cannot just compare the frame to what this variable holds. */ extern Lisp_Object tip_frame; + extern Window tip_window; extern frame_parm_handler x_frame_parm_handlers[]; diff --git a/src/xdisp.c b/src/xdisp.c index 69b74dc..d4a0261 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -21126,7 +21126,13 @@ should_produce_line_number (struct it *it) #ifdef HAVE_WINDOW_SYSTEM /* Don't display line number in tooltip frames. */ - if (FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame)) + if (FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame) +#ifdef USE_GTK + /* GTK builds store in tip_frame the frame that shows the tip, + so we need an additional test. */ + && !NILP (Fframe_parameter (tip_frame, Qtooltip)) +#endif + ) return false; #endif From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 18:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15102510863193 (code B ref 27647); Thu, 09 Nov 2017 18:12:01 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 18:11:26 +0000 Received: from localhost ([127.0.0.1]:60724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCrIU-0000pR-1V for submit@debbugs.gnu.org; Thu, 09 Nov 2017 13:11:26 -0500 Received: from mout.gmx.net ([212.227.17.21]:52898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCrIR-0000pC-MT for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 13:11:24 -0500 Received: from [192.168.1.100] ([46.125.250.80]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lg5kl-1f29Op18m3-00paQT; Thu, 09 Nov 2017 19:11:08 +0100 Message-ID: <5A049A30.5000802@gmx.at> Date: Thu, 09 Nov 2017 19:10:56 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> In-Reply-To: <83shdnqwbw.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:cOS5GSu/wTEfwlpo+qhIC0JIu/QvL90HGI77HBKR6u8Cdts56vc 4v2S8eA2hnKf1B2T2mjtcaPnYMT2MU5Y5YMppH2MrqCmNN/hR5Z5ON/jfimGiZiPeABzz76 sW1Xp0l4AWtIMQ/9bxjnW3+RPyvvgdtq65FYUbHI5rg47pk0bNez2AwTfIXzfO9Czn7ULWo 0e++O3GwTLG8iJwz+TnTw== X-UI-Out-Filterresults: notjunk:1;V01:K0:c0AjZ+kwueI=:hfd1QX3v7cQ2xdCw38ReX1 rQiQmf7M4ZSvUwG/sdIi0GFdebXOWH7Bx3Zp4wIBG+zF6TFpaWsFrKUUF/gfmCmmulDjCS3Wk hsHPllpSl+KWXgj2tGvOgwxlg4yvR/+eH9QrF+i0ot7/ocKjki9DyeRwjs1nCl0FW+sdvQJdI 1MGzeBjMuEHkhyrSZNE4bQZhh2SJMtZzYOZERjXemb9bAfMUJb0XWbF2gCbBmWrneAMNdZj0N 9/y0GCFX6IPOkzO3/WPgWMUPeSJsLm/IChwuKZZ4UUJnDqXIO6sXWNwCJw8cBssgVa+Ty/U5C JJWYNPaNeEHZAHM8Ucc/GMVDfzhptNYeH0RtQ48NnyOcYYtqC9OpCSAPCIx99+tBurCwj+Xdi o2nPYaGAIkCSu7h1/MqcqWV8/s2p8ty0/t/CczOiKlwiXLlsPUZSgkCwwYpyJ1SdRn/XwUbUa iP5Kigh/MCRs/tEcA6n8wGtjrvp2o1jGKrde60N7jiiiDzn9Nr92HMgloS8E5r4tOsC6w55y4 LLgZUDb60ZF1E7iRrJmLT7AQWCkTcE8HAvUO2uctjF8RmLrNKEGK45di65afREN45uVGww8xt 7n9xNJVPGKrtTwp+dyZ8PHPrJRcvC/B3GJj6qr5rWcVTJbpok7z6+z6u9AIjw19gnk2k+Zy/B UPGHs+YPyr0lbbfVja1AFpzmC5G/PM27FrD3KalX5DBKw5zMFkFuX5qup6APSOcoJ8UH+ETFF lfn7lKGIIwCYY1Es79rmm86J3kvqSb52UySqmH42JaTWrvYeenMB10hp2AOSIIdBq47P98Mqy Yvha+IJ2m09XTl/BtLFiT43Wcl/MJ8aYHztDkAEKztPlZxXqyuUDbPecedMW3srD9LMaYTb X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.0 (---) > What changes did you allude to here? Can you point me to them? commit 20038f8ab75dd1551412a43cd58520c483c22921 Author: Dmitry Antipov Date: Tue Jul 12 09:16:26 2016 +0300 > In general, using the same variable for two different purposes is > exactly what I was talking about in the discussion of > wait_reading_process_output discussion -- who could possibly keep all > such factoids in memory, and avoid making such subtle mistakes as > result? Luckily we now have Noam on board to detect such mistakes. > I also wonder whether other places which seem to be similarly > vulnerable hide bugs. For example, what about frame-list: [...] > Does this mean that in a GTK build, at some "opportune moment", > frame-list will omit one frame from the list it returns, because that > frame happens to show a tooltip at that very moment? I think so. With all sorts of funny implications. > Or what about a similar snippet in x-display-monitor-attributes-list? > Is it in trouble as well? If it gets called at the wrong moment, sure. > IOW, instead a simple variable with a clear semantics, we now have a > potential trap, whereby for every use of this variable we need to make= > non-trivial reasoning whether this issue could or couldn't hit us. > > I think we should get rid of this ambiguity on master. Patches to > that effect are welcome. I'm afraid we have to get rid of all comparisons against tip_frame on the release branch first and check against the 'tooltip' frame parameter instead . I've never run into problems like this because I always have =E2=80=98x-gtk-use-system-tooltips=E2=80=99 nil. Please have a look at Dimitry's commit. I think most parts of it were good. Maybe we should revive them. martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Romanos Skiadas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii , Noam Postavsky Cc: 27647@debbugs.gnu.org, agrambot@gmail.com, kaushal.modi@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15102512823514 (code B ref 27647); Thu, 09 Nov 2017 18:15:02 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 18:14:42 +0000 Received: from localhost ([127.0.0.1]:60732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCrLd-0000uc-Rf for submit@debbugs.gnu.org; Thu, 09 Nov 2017 13:14:42 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:55657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCrLc-0000uP-KA for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 13:14:41 -0500 Received: by mail-pf0-f177.google.com with SMTP id 17so4802927pfn.12 for <27647@debbugs.gnu.org>; Thu, 09 Nov 2017 10:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=7ZFwFnQqTBEnGmdEEHhq06705virXWQe8GXwRivFj9s=; b=qHyVjx3qYjDMD4UeCZeZYinhBiNLxzvtN+BDPS77KUPYoUA+RHg7xhFbhpNG/f6cfZ uDprrdWr53BdRU3LR9y0ujnFg0+3ZTuTEU6nNGjihKoSihkRhZIE5jDG5tJhzHieuMNu cdswKa4gFJvCbmOG8kqXKzmuhc9Dhz8byy6LWYBE9hun8WjZODKxaplvNVe4twZJ9RLy uadc7at30WeD18aeRD6AXgCyO+rkBX6Cbyg3nuvwzcNd3fjld7AXd04/ntPHSm7hRM8l a8+EtxH53PV+LH1u+mRenA2CssYWFOwTwp0/efZkIuMeRyVyeIhxV4MAVUJkzUUrf9Xr 2pWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=7ZFwFnQqTBEnGmdEEHhq06705virXWQe8GXwRivFj9s=; b=Mbh0iwncRN/Db6Bi4uXXUsCx4vIb59EukBwsybqxOcmGCkpL7S91lO7cMsCC7V2h/h tq2cTnw4sYHrp5GnHpXbIhN13zTONI/263A0MwoqIJjVVsg4fMa+GQlySvpnd/qETNIE /JSxbmASkf/tNIs8v7aX9+0w2R/HFQomQ9Sy3pY7z60YutkYzz8eZrjjRwGzPXb/Y/52 haUWD06kW5J3juXeu80qBMmz0ZXB3+WHxjNgv9dIi0ZzC3QKRdoUcXkY78z88/+PCLtQ Fs6afX5Ld1QgXhG9yY29MAkbwjQ3h9t770cLnvdRuaVLKpRU10DmxJljI26k+pRggN2N xm7Q== X-Gm-Message-State: AJaThX4+plxiYt/mwoi1s5+uYeTIvdvUZQBSr8OFnAB/fK5CAZ+mCbud 7+Lmxc/pHrpnphK8EB2Nzyg= X-Google-Smtp-Source: ABhQp+QE/kc9WFoukIOqZlzS7yudVPxZPF97hQz4eLYjH9F2aqsqO8YUc7u/1kaZxHGiwX/BTYqsCg== X-Received: by 10.101.66.2 with SMTP id c2mr1240811pgq.403.1510251274675; Thu, 09 Nov 2017 10:14:34 -0800 (PST) Received: from [10.83.37.251] ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id k20sm15025488pfg.141.2017.11.09.10.14.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2017 10:14:34 -0800 (PST) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <83r2t7qvn1.fsf@gnu.org> From: Romanos Skiadas Message-ID: <444bc8ce-8551-1576-1a20-1b41698822bf@gmail.com> Date: Thu, 9 Nov 2017 18:14:30 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <83r2t7qvn1.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.8 (--) Work for me, thanks everyone for figuring this out and fixing it. Best, Romanos > I propose a slightly different patch below; could you try it? > > diff --git a/src/dispextern.h b/src/dispextern.h > index 2f55d8c..430afbf 100644 > --- a/src/dispextern.h > +++ b/src/dispextern.h > @@ -3452,7 +3452,14 @@ void gamma_correct (struct frame *, COLORREF *); > void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); > void x_change_tool_bar_height (struct frame *f, int); > > +/* The frame used to display a tooltip. > + > + Note: In a GTK build with non-zero x_gtk_use_system_tooltips, this > + variable holds the frame that shows the tooltip, not the frame of > + the tooltip itself, so checking whether a frame is a tooltip frame > + cannot just compare the frame to what this variable holds. */ > extern Lisp_Object tip_frame; > + > extern Window tip_window; > extern frame_parm_handler x_frame_parm_handlers[]; > > diff --git a/src/xdisp.c b/src/xdisp.c > index 69b74dc..d4a0261 100644 > --- a/src/xdisp.c > +++ b/src/xdisp.c > @@ -21126,7 +21126,13 @@ should_produce_line_number (struct it *it) > > #ifdef HAVE_WINDOW_SYSTEM > /* Don't display line number in tooltip frames. */ > - if (FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame)) > + if (FRAMEP (tip_frame) && EQ (WINDOW_FRAME (it->w), tip_frame) > +#ifdef USE_GTK > + /* GTK builds store in tip_frame the frame that shows the tip, > + so we need an additional test. */ > + && !NILP (Fframe_parameter (tip_frame, Qtooltip)) > +#endif > + ) > return false; > #endif > > > > From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 20:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Romanos Skiadas Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151025926330686 (code B ref 27647); Thu, 09 Nov 2017 20:28:01 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 20:27:43 +0000 Received: from localhost ([127.0.0.1]:60868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCtQN-0007yr-Kv for submit@debbugs.gnu.org; Thu, 09 Nov 2017 15:27:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCtQL-0007ye-QW for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 15:27:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCtQF-00011Q-Vs for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 15:27:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCtQB-0000ws-26; Thu, 09 Nov 2017 15:27:31 -0500 Received: from [176.228.60.248] (port=3189 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCtQA-00065r-8n; Thu, 09 Nov 2017 15:27:30 -0500 Date: Thu, 09 Nov 2017 22:27:25 +0200 Message-Id: <83bmkbqjte.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <444bc8ce-8551-1576-1a20-1b41698822bf@gmail.com> (message from Romanos Skiadas on Thu, 9 Nov 2017 18:14:30 +0000) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <83r2t7qvn1.fsf@gnu.org> <444bc8ce-8551-1576-1a20-1b41698822bf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Cc: 27647@debbugs.gnu.org, agrambot@gmail.com, kaushal.modi@gmail.com > From: Romanos Skiadas > Date: Thu, 9 Nov 2017 18:14:30 +0000 > > Work for me, thanks everyone for figuring this out and fixing it. Thanks for testing. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: martin rudalics Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.1510260837742 (code B ref 27647); Thu, 09 Nov 2017 20:54:01 +0000 Received: (at 27647) by debbugs.gnu.org; 9 Nov 2017 20:53:57 +0000 Received: from localhost ([127.0.0.1]:60903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCtpl-0000Bt-1j for submit@debbugs.gnu.org; Thu, 09 Nov 2017 15:53:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCtpj-0000Bc-H8 for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 15:53:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCtpd-00056Q-97 for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 15:53:50 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCtpY-00053r-Pw; Thu, 09 Nov 2017 15:53:44 -0500 Received: from [176.228.60.248] (port=3207 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCtpX-0005VB-VQ; Thu, 09 Nov 2017 15:53:44 -0500 Date: Thu, 09 Nov 2017 22:53:38 +0200 Message-Id: <83a7zvqilp.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5A049A30.5000802@gmx.at> (message from martin rudalics on Thu, 09 Nov 2017 19:10:56 +0100) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Thu, 09 Nov 2017 19:10:56 +0100 > From: martin rudalics > CC: npostavs@users.sourceforge.net, agrambot@gmail.com, > 27647@debbugs.gnu.org, kaushal.modi@gmail.com > > > What changes did you allude to here? Can you point me to them? > > commit 20038f8ab75dd1551412a43cd58520c483c22921 > Author: Dmitry Antipov > Date: Tue Jul 12 09:16:26 2016 +0300 Thanks. It's a jumbo changeset, hard to see the forest for the trees. > > In general, using the same variable for two different purposes is > > exactly what I was talking about in the discussion of > > wait_reading_process_output discussion -- who could possibly keep all > > such factoids in memory, and avoid making such subtle mistakes as > > result? > > Luckily we now have Noam on board to detect such mistakes. The challenge is not to make such mistakes in the first place. We could easily let it slip into Emacs 26.1, if we were less lucky. > > Does this mean that in a GTK build, at some "opportune moment", > > frame-list will omit one frame from the list it returns, because that > > frame happens to show a tooltip at that very moment? > > I think so. With all sorts of funny implications. > > > Or what about a similar snippet in x-display-monitor-attributes-list? > > Is it in trouble as well? > > If it gets called at the wrong moment, sure. We should fix those places. > > I think we should get rid of this ambiguity on master. Patches to > > that effect are welcome. > > I'm afraid we have to get rid of all comparisons against tip_frame on > the release branch first and check against the 'tooltip' frame parameter > instead. Not if we always either put in that variable either the tooltip frame or nil, never any other frame. IOW, if we make it an innocent variable with simple semantics again, and track the frame GTK needs "by other means". > Please have a look at Dimitry's commit. I think most parts of it were > good. Maybe we should revive them. Maybe I'm missing something, but I don't understand why the changes for this have to be so complex and invasive. But I'll review any specific proposal for fixing this mess. Thanks. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Nov 2017 00:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, agrambot@gmail.com, kaushal.modi@gmail.com Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15102726868856 (code B ref 27647); Fri, 10 Nov 2017 00:12:01 +0000 Received: (at 27647) by debbugs.gnu.org; 10 Nov 2017 00:11:26 +0000 Received: from localhost ([127.0.0.1]:32869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCwur-0002Im-Mf for submit@debbugs.gnu.org; Thu, 09 Nov 2017 19:11:25 -0500 Received: from mail-it0-f52.google.com ([209.85.214.52]:48116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCwup-0002IY-8B for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 19:11:23 -0500 Received: by mail-it0-f52.google.com with SMTP id p138so13506518itp.2 for <27647@debbugs.gnu.org>; Thu, 09 Nov 2017 16:11:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hVZWh0Bcbk9TeH55u6U6zYVqzJ0dpxSYEsR2kclmkJo=; b=tj8ywVcg5ur2M5gXxQI9vYqII5L2YZatbOSvRDrMhnResObCPGd67+nSMx6BvAbXrY Ptcsvz+rFJ08MFCz/bQaF+GeUc17eQTb/ZwXBdZqG/uWOHhrEfbUL86E8ES2zuCDUngo 9oytsbwbVm3ks4MDN99p+BEBr51bUf4kQT0gLI++UeNZiQb3gvjagz7P93Yyvu+DWjmi MgYby1DwP830IuFrW6hwQCVLtGsRznR+2g/0MGD2FEOmQXQZdHKsWiulsmrPqxsBUQqu KCVuxm3mOsR4VVLPYy3jdxsdVOvBvF2NizjDy+AZyvgoC9X+FnoRo5KHXHPwAQxrRwXA XzPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=hVZWh0Bcbk9TeH55u6U6zYVqzJ0dpxSYEsR2kclmkJo=; b=emheWCIu4O79rfWJ+rRp3CJ2JPUFRUiDQLfeGTkMMitoqHMo0mYelvT3SdGHsQT53y wVa+Yl+SdrJILNZI5F6BQZEucEXwexflN7z9M2jO9qIre7X77ccY7RUAKgN20O1T0sQZ ob2TTzCroEdChG3ZrBWeb5Dj9qcCURVDlSsGRipKWlblg/kRcW4ow/l8TqFmeG4MUId1 smr4dN/VaGfmXUWfaItu0efrOad4OxsKRRt89ko/k85hfzy5uv7g3Rd/aHxNGX9KHMmF rFdJgivNk6uVqsUVoSYOvGSsB9h6wcTwxyDIsZBPbAhT8P3j4plCMJxbUscHwW8++3Xj uRXA== X-Gm-Message-State: AJaThX4qHXIfpGUolmPovyC/yFp3y4CdtimJ8wcY09osjEY9xm0P4cQH tX6XOlCIa8ZDeRfwOPR8Pmw= X-Google-Smtp-Source: ABhQp+Q3SLAPmA0sW2PB3M7WH5rGW103PlFYqQCN2/7fZSrEdCE2Mc1s0IA66mTW8XaPxCmY+epGow== X-Received: by 10.36.181.82 with SMTP id j18mr2215004iti.18.1510272677613; Thu, 09 Nov 2017 16:11:17 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id q191sm1957730itb.1.2017.11.09.16.11.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Nov 2017 16:11:16 -0800 (PST) From: Noam Postavsky References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <83r2t7qvn1.fsf@gnu.org> Date: Thu, 09 Nov 2017 19:11:15 -0500 In-Reply-To: <83r2t7qvn1.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 Nov 2017 18:12:02 +0200") Message-ID: <87k1yz3sd8.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.2 (/) Eli Zaretskii writes: > Thanks, but this patch won't compile in any non-X build (because > x_gtk_use_system_tooltips is only defined in xfns.c). Also, > x_gtk_use_system_tooltips is non-zero by default in all X builds, even > those without GTK, so I guess under this patch non-GTK builds will > show line numbers in tooltip frames, is that right? Ah yes, you are right. Romanos Skiadas writes: > Work for me, thanks everyone for figuring this out and fixing it. Works for me too. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Nov 2017 00:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Kaushal Modi Cc: 27647@debbugs.gnu.org, Eli Zaretskii , Alex Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151027432111492 (code B ref 27647); Fri, 10 Nov 2017 00:39:02 +0000 Received: (at 27647) by debbugs.gnu.org; 10 Nov 2017 00:38:41 +0000 Received: from localhost ([127.0.0.1]:32903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCxLE-0002zI-VC for submit@debbugs.gnu.org; Thu, 09 Nov 2017 19:38:41 -0500 Received: from mail-io0-f176.google.com ([209.85.223.176]:50258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCxLC-0002z3-Ln for 27647@debbugs.gnu.org; Thu, 09 Nov 2017 19:38:39 -0500 Received: by mail-io0-f176.google.com with SMTP id 97so11806210iok.7 for <27647@debbugs.gnu.org>; Thu, 09 Nov 2017 16:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=rf+BCkOTmebQGFWZp50tW5vKCvBsaTVgTzU+wY0oZkg=; b=bPgrLgyaJXR8uynrfddXYSGGEMrL15gUeQqydvG53vHExwWslUj93yzkO2offP/8/L N4M/RYYLDjZMK0wPssYKI2PIWeZ/hZ6wCNesYisYmIpFnBgYSSZ4AaQoZ6KMFn1z+ob5 kj5fhNPps9S1gJEviGynmdulpo8FPdRrxdbV/MrbGoG2FdZhsDMmodDHzHQMea5zZVWs jWT9yavnYSIILIbZfdEDy8ZsPBa6iGuQfRRFzJl8MKnID1lN+k1SocXgLopUhbjwKoyt SgyeHXr8RBfgHUMrwi1RHJcqZSlmz/1gFd0uzn+Xb6hrZozKIKbuoIOggaQo3tTnhYLK x3lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=rf+BCkOTmebQGFWZp50tW5vKCvBsaTVgTzU+wY0oZkg=; b=PwZMYxAv458myqwxyDiPDH9KxE+sz5bs1286imzGLSGwt2h8EDz7Cf71evBnN3Tknw +4UuvTXqiIRTansY9Y4OHSzY09SsabBlwOk5KB9DUGE2RDXCTGhBdlaer38F08C6u+qD o8pPZ0kiJFtGwx7DZrc2AVklD2GG+TDeGsQEtKhG/mMI4Cls034tva7TZE4Bh89F9sOc bNmo+RqhPyM1KtWqKHcjJfdBE0IBH4d7IjzueDc82HD9/6VK6ffWNr0j/Dstf51ep71o hIOEGf+kGaB0qlslgennWjDglven3zGdCvRC1U6V8zrnK5EQR8/DKdNKoYAN43Wo5XeW 5LnA== X-Gm-Message-State: AJaThX7jZQKUSpsIK6V/RSm2Dk+9o9QO2FpSanJxTcKfYTja7v39JAeH rkW3UQqq8ALbAV7rO81/q80= X-Google-Smtp-Source: AGs4zMZqlxV24llLLxq6kPdkcR44kRAyL/3hAlIfMKNocyzUsatVt6TCYx3vcbQduGIgi3jEbKRS4w== X-Received: by 10.107.114.25 with SMTP id n25mr2870357ioc.84.1510274313009; Thu, 09 Nov 2017 16:38:33 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id l11sm4031546ioi.39.2017.11.09.16.38.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Nov 2017 16:38:32 -0800 (PST) From: Noam Postavsky References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> Date: Thu, 09 Nov 2017 19:38:30 -0500 In-Reply-To: (Kaushal Modi's message of "Thu, 09 Nov 2017 13:34:27 +0000") Message-ID: <87h8u33r3t.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.6 (--) Kaushal Modi writes: > Thanks for spending time to debug this and come up with that crucial > fix. Did any of the within-emacs debug tactics help you figure this > out? Or was it putting breakpoints and catching them in gdb? Or did > you go the final hard way, and review the code manually? So glad you asked, now I can relive the glory of the hunt :D The first thing I tried was the 'watch Vdisplay_line_numbers', but this gave me no hits except for some spurious stuff related to buffer-local variables; after changing to (setq-default display-line-numbers t) I got no hits at all. So it was fairly clear that the problem lay below the lisp level. Then I considered putting a breakpoint into the display code, which is a bit tricky because I needed to drag the mouse to trigger the problem, but if a breakpoint is hit before that Emacs is frozen and can't register the mouse drag. I tried to reduce the recipe to some lisp code to be evaluated based on mouse-drag-and-drop-region, but I didn't manage to come up with something that worked. Then I looked a bit through the display code to figure if a breakpoint conditioned on mouse dragging could work, and I noticed the should_produce_line_number function, so I just put a breakpoint on every place which returned false. Bang, success! Except I then had to check the values of WINDOW_FRAME (it->w) to make sure I hadn't actually hit the case where the code *correctly* skips line numbers for tooltips. A quick grep for tip_frame soon turned up x_hide_tooltip which had the comment that explained what was going on. > Also thanks to everyone who helped figure out a recipe, which is > equally important :).=C2=A0 Most definitely, I could not have done anything without a simple way to reproduce the problem. From unknown Fri Aug 15 20:03:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Kaushal Modi Subject: bug#27647: closed (Re: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus) Message-ID: References: <83tvy2pm0t.fsf@gnu.org> X-Gnu-PR-Message: they-closed 27647 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 27647@debbugs.gnu.org Date: Fri, 10 Nov 2017 08:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1510303082-3243-1" This is a multi-part message in MIME format... ------------=_1510303082-3243-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27647: 26.0.50; Line numbers implemented natively disappear momentarily wh= en frame out of focus which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27647@debbugs.gnu.org. --=20 27647: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27647 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1510303082-3243-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27647-done) by debbugs.gnu.org; 10 Nov 2017 08:37:38 +0000 Received: from localhost ([127.0.0.1]:33127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eD4ok-0000pg-Cy for submit@debbugs.gnu.org; Fri, 10 Nov 2017 03:37:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eD4oi-0000pR-Mj for 27647-done@debbugs.gnu.org; Fri, 10 Nov 2017 03:37:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eD4oc-0008JZ-PF for 27647-done@debbugs.gnu.org; Fri, 10 Nov 2017 03:37:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eD4oX-0008Eb-Dq; Fri, 10 Nov 2017 03:37:25 -0500 Received: from [176.228.60.248] (port=3584 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eD4oW-0001Z1-F6; Fri, 10 Nov 2017 03:37:25 -0500 Date: Fri, 10 Nov 2017 10:37:22 +0200 Message-Id: <83tvy2pm0t.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <87k1yz3sd8.fsf@users.sourceforge.net> (message from Noam Postavsky on Thu, 09 Nov 2017 19:11:15 -0500) Subject: Re: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <83r2t7qvn1.fsf@gnu.org> <87k1yz3sd8.fsf@users.sourceforge.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27647-done Cc: 27647-done@debbugs.gnu.org, agrambot@gmail.com, kaushal.modi@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Noam Postavsky > Cc: 27647@debbugs.gnu.org, agrambot@gmail.com, kaushal.modi@gmail.com > Date: Thu, 09 Nov 2017 19:11:15 -0500 > > Romanos Skiadas writes: > > > Work for me, thanks everyone for figuring this out and fixing it. > > Works for me too. Thanks, pushed. ------------=_1510303082-3243-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Jul 2017 20:54:35 +0000 Received: from localhost ([127.0.0.1]:33058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUfhQ-00043C-8Q for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUfhN-00042r-1E for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUfhB-0007Us-Gn for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dUfhB-0007Ue-Bp for submit@debbugs.gnu.org; Mon, 10 Jul 2017 16:54:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUfh4-0007ZB-9V for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 16:54:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUfgx-0007PV-IG for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 16:54:10 -0400 Received: from mail-lf0-f50.google.com ([209.85.215.50]:36825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUfgw-0007Ow-TD for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 16:54:03 -0400 Received: by mail-lf0-f50.google.com with SMTP id h22so70791059lfk.3 for ; Mon, 10 Jul 2017 13:54:02 -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=RwbjAlnCvqq+ikin2OTBYsDdjO/vJ5o2yo70l+IvEHU=; b=SY15SbI3j5lE98PAAnJjLwYD/fPqxPbYg558qrKTJ/1P8/1KzYMmw54N77R9VLXu+Z zVFqMIjj3j1Nriws+7SLOnXo8cbubtCGd2Y7ZqVNMvDg/I4+scb0o+MOL5VuSbIiW61m q5SR0/dvG4kdpyLST35Y/M/HyJqBT8UI5Ij4ZATRpcquQYXUxoSWJeQd4rbTx3K/HwoI iJAULSMbzby0rLq3V83vSGT1dqQ1pZW0ldmQvZeTpMnwWG4ILd9Zb6bGTniFWPta1j6E JiDSaHRWSd5ycAacDTpHnRUIl0aIr6gkDlle7eNgg40PkIqzJV/3xNp+wATsPXuh/xrt rTTA== 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=RwbjAlnCvqq+ikin2OTBYsDdjO/vJ5o2yo70l+IvEHU=; b=aRqbWTW/fY4wL55iTSzSPS01FaZLxg+C1B9G7e52ISn4ibFSVLtMQlOY2J3W1PmYbp 3t4pjsk8c5KGQQYgiErf9vxSaGEZJqyBN048Ka6TLwj6pNyLFgGm5P6s8LlZJxgurwlQ sod5DNssb/+HLbes3FJEF/GZwtnEO3snG0VDwAaIIZw7P6la1GNpio3H4/yPkPMRq2Vv Bk75RoSr6v8S+2mt6sgWj0Wg2NNz4BgfQmpZUr8eUMbQh21JJ9qAaDkKXjvxGEWXz5p1 27c2WIzdHYuLQxrYQOFHuK3W13f4z+JDTFt6In0jiZdeqfqpr7CYVLtIKdEDLEl9HB7d rGjw== X-Gm-Message-State: AIVw111rDWRLLFo/tBqpagdVNdLCkC3eodQBv92Z1/gi8AdAxSJP0ekV hInHtYOGOmV36ltmLvm2ojq2VevO4w== X-Received: by 10.25.80.17 with SMTP id e17mr1951248lfb.95.1499719979659; Mon, 10 Jul 2017 13:52:59 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Mon, 10 Jul 2017 20:52:49 +0000 Message-ID: Subject: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus To: "bug-gnu-emacs@gnu.org" Content-Type: multipart/alternative; boundary="94eb2c1cbeb2a677990553fcc4c4" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.5 (---) --94eb2c1cbeb2a677990553fcc4c4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I use the new native line number display feature in this fashion: =3D=3D=3D=3D=3D (defconst modi/linum-mode-hooks '(verilog-mode-hook emacs-lisp-mode-hook cperl-mode-hook c-mode-hook python-mode-hook matlab-mode-hook sh-mode-hook web-mode-hook html-mode-hook css-mode-hook makefile-gmake-mode-hook tcl-mode-hook conf-space-mode-hook d-mode-hook sml-mode-hook nim-mode-hook yaml-mode-hook) "List of hooks of major modes in which a =E2=80=9Clinum=E2=80=9D mode sho= uld be enabled.") ;I know I should switch to using prog-mode-hook at some point (defun modi/native-linum-absolute () "Set buffer-local variable `display-line-numbers' to t." (interactive) (setq display-line-numbers t)) (defun modi/turn-on-native-linum () "Turn on native line numbers in specific modes." (interactive) (if modi/linum-mode-enable-global (progn (dolist (hook modi/linum-mode-hooks) (remove-hook hook #'modi/native-linum-absolute)) (setq-default display-line-numbers t)) (progn (when global-linum-mode (setq-default display-line-numbers nil)) (dolist (hook modi/linum-mode-hooks) (add-hook hook #'modi/native-linum-absolute))))) (modi/turn-on-native-linum) =3D=3D=3D=3D=3D The full linum management code is here[1]; above is just the relevant part from that. It works. But seemingly randomly, the line numbers disappear when the emacs frame is not in focus. I do not know if my setup has to do with this but here are the details: - I build emacs master on RHEL 6.6. - I access the RHEL machine via VNC on Windows 7 Enterprise (work) - Occasionally I would venture into Windows to get work email (Outlook) or to the Chrome browwer in Windows. - With the way my monitors are set up, one monitor would should the VNC window showing the emacs frame and another monitor would should Outlook. Then as I would be working on something in Outlook, I would see from the corner of my eye that the line numbers disappeared from the emacs window with code in verilog-mode. Clicking again on the emacs frame (in VNC, remember) would bring the line numbers back. As I mentioned on emacs-devel, I cannot recreate this behavior and so cannot come up with steps to recreate this on emacs -Q. How can I help debug this otherwise: - Can I add something locally to the C code so that certain hooks get triggered when the line numbers display is turned on/off? [1]: https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-linum= .el In GNU Emacs 26.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2017-07-10 Repository revision: 0440c748aaec9b8b32c8cb268f6e24e874fedc75 Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago) Recent messages: Finished reverting buffers containing unmodified files. Desktop saved in ~/.emacs.d/ Note: file is write protected Mark set Note: file is write protected Configured using: 'configure --with-modules --prefix=3D/home/kmodi/usr_local/apps/6/emacs/master '--program-transform-name=3Ds/^ctags$/ctags_emacs/' 'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0' 'CXXFLAGS=3D-ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Verilog Minor modes in effect: ace-window-display-mode: t global-auto-complete-mode: t auto-complete-mode: t yas-minor-mode: t minibuffer-line-mode: t flyspell-mode: t which-key-mode: t ivy-mode: t projectile-mode: t global-hardcore-mode: t hardcore-mode: t modi/verilog-do-not-read-includes-defines-mode: t desktop-save-mode: t save-place-mode: t minibuffer-depth-indicate-mode: t winner-mode: t smart-mark-mode: t delete-selection-mode: t which-function-mode: t global-undo-tree-mode: t undo-tree-mode: t rainbow-delimiters-mode: t global-page-break-lines-mode: t outline-minor-mode: t keyfreq-autosave-mode: t keyfreq-mode: t global-hungry-delete-mode: t hungry-delete-mode: t volatile-highlights-mode: t global-hi-lock-mode: t hi-lock-mode: t diff-auto-refine-mode: t global-git-commit-mode: t recentf-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t engine-mode: t beacon-mode: t shackle-mode: t mode-line-space-mode: t display-time-mode: t ctags-auto-update-mode: t ggtags-mode: t modi-mode: t override-global-mode: t show-paren-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: (only . t) abbrev-mode: t Load-path shadows: /home/kmodi/.emacs.d/elisp/verilog-mode/verilog-mode hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/progmode= s/verilog-mode /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mac= ro hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= macro /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-texi= nfo hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-t= exinfo /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-publ= ish hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-p= ublish /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-o= rg /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-odt hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-o= dt /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-md hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-m= d /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-man hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-m= an /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-late= x hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-l= atex /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-ical= endar hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-i= calendar /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-html hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-h= tml /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-lis= t hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= list /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-bbd= b hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= bbdb /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-att= ach hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= attach /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-shen hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= hen /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-shel= l hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= hell /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-js hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-j= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-hask= ell hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-h= askell /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-fac= es hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= faces /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-beam= er hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-b= eamer /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-w3m hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= w3m /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-asci= i hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-a= scii /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-tabl= e hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-t= able /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-pyth= on hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= ython /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-tim= er hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= timer /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-tab= le hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= table /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-src hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= src /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-rma= il hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= rmail /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-pro= tocol hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= protocol /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-plo= t hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= plot /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-pco= mplete hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= pcomplete /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mou= se hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= mouse /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mob= ile hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= mobile /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mhe hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= mhe /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mac= s hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= macs /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-lin= t hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= lint /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-irc hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= irc /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-inl= inetask hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= inlinetask /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-inf= o hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= info /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ind= ent hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= indent /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-id hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= id /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-hab= it hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= habit /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-gnu= s hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= gnus /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-foo= tnote hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= footnote /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-fee= d hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= feed /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-eww hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= eww /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-esh= ell hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= eshell /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ent= ities hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= entities /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ele= ment hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= element /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-doc= view hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= docview /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-dat= etree hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= datetree /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cta= gs hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= ctags /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cry= pt hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= crypt /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-com= pat hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= compat /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-col= view hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= colview /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-clo= ck hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= clock /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cap= ture hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= capture /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-bib= tex hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= bibtex /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-arc= hive hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= archive /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-age= nda hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= agenda /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-tang= le hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-t= angle /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-stan hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= tan /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sqli= te hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= qlite /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sql hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= ql /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sed hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= ed /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-scre= en hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= creen /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-fort= ran hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-f= ortran /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sche= me hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= cheme /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-scal= a hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= cala /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sass hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-s= ass /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ruby hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-r= uby /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-R hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-R /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ref hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-r= ef /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-proc= essing hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= rocessing /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-plan= tuml hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= lantuml /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-pico= lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= icolisp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-perl hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-p= erl /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-o= rg /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-octa= ve hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-o= ctave /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ocam= l hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-o= caml /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-mscg= en hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= scgen /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-maxi= ma hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= axima /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-matl= ab hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= atlab /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-make= file hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-m= akefile /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lua hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= ua /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lob hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= ob /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= isp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lily= pond hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= ilypond /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ledg= er hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= edger /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-late= x hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-l= atex /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-keys hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-k= eys /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-J hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-J /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-java hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-j= ava /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-io hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-i= o /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-groo= vy hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-g= roovy /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-gnup= lot hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-g= nuplot /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-fort= h hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-f= orth /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-exp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= xp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-eval hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= val /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-emac= s-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= macs-lisp /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ebnf hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-e= bnf /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-dot hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-d= ot /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-dita= a hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-d= itaa /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-css hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= ss /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-core hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= ore /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-coq hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= oq /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-comi= nt hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= omint /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-cloj= ure hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= lojure /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-C hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-C /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-asym= ptote hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-a= symptote /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-calc hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-c= alc /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-awk hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-a= wk /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ver= sion hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= version /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-loa= ddefs hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= loaddefs /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-ins= tall hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= install /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-abc hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-a= bc Features: (shadow sort mail-extr emacsbug sendmail expand-region text-mode-expansions cc-mode-expansions the-org-mode-expansions js-mode-expansions web-mode-expansions html-mode-expansions css-mode-expansions er-basic-expansions expand-region-core expand-region-custom mc-mark-more multiple-cursors-core rect web-mode mhtml-mode css-mode js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode ox-hugo ox-blackfriday ox-md ox-minutes ox-twbs ox-reveal ox-html-fancybox ox-latex ox-html table ox-ascii ox-publish ox drag-stuff info-look two-column vc-annotate whitespace eieio-opt speedbar sb-image ezimage dframe ace-window avy smex ido bug-reference warnings log-view magit-submodule magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-branch magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip misearch multi-isearch mm-archive network-stream starttls url-http tls gnutls url-gw nsm url-cache url-auth paradox paradox-menu paradox-commit-list paradox-execute paradox-github paradox-core spinner xsos-fns sos-fns vc-mtn vc-hg org-table markdown-mode eww mm-url gnus nnheader time-stamp vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs copyright cursor-sensor colir color counsel esh-util swiper tabify org-datetree org-eldoc org-indent org-info org-capture auto-complete-config setup-desktop header2 iso-transl jka-compr fill-column-indicator conf-mode csh-mode sh-script smie executable flycheck flymake auto-complete popup yasnippet tramp tramp-compat tramp-loaddefs trampver ucs-normalize parse-time minibuffer-line flyspell ispell which-key ivy-hydra ivy ivy-overlay ffap ibuffer-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs hardcore-mode vc-git verilog-mode desktop frameset setup-pragmata-ligatures setup-font-check smyx-theme diff-hl vc-dir vc vc-dispatcher setup-misc saveplace setup-personal my-patches setup-meme setup-work setup-windows-buffers mb-depth winner setup-unicode setup-toggles setup-spell setup-search setup-registers setup-print setup-pdf setup-navigation setup-mouse setup-launcher setup-image setup-editing smart-mark unfill zop-to-char delsel setup-compile setup-backup setup-yaml-mode setup-web-mode setup-verilog setup-toml setup-hugo setup-tcl setup-sml setup-spice setup-shell setup-python setup-perl setup-nim setup-matlab setup-markdown setup-latex preview-latex tex-site auto-loads setup-elisp easy-escape setup-conf setup-clojure setup-yasnippet setup-xkcd setup-writegood writegood-mode setup-wrap-region wrap-region setup-wordnut setup-wolfram setup-which-key setup-which-func which-func imenu setup-weather setup-undo-tree undo-tree diff setup-tldr setup-tiny setup-term setup-sx setup-smex setup-server setup-rainbow-mode setup-rainbow-delimiters rainbow-delimiters setup-projectile setup-poporg setup-pomodoro setup-pcache pcache eieio-base cl setup-page-break-lines disp-table page-break-lines setup-outshine foldout outshine outshine-org-cmds outorg org-sticky-header org-include-img-from-archive org-include-img-from-pdf org-include-src-lines ob-org ob-latex ob-dot ob-ditaa ob-plantuml ob-awk ob-python ob-shell org-link-ref elfeed-link org-element elfeed-show elfeed-search bookmark pp shr svg dom elfeed-csv elfeed elfeed-curl url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap elfeed-log elfeed-db elfeed-lib url-util avl-tree url-queue browse-url xml-query xml org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs noutline outline setup-orgstruct setup-org setup-news setup-neotree setup-multiple-cursors setup-manage-minor-mode setup-linum nlinum linum setup-kurecolor setup-keyfreq keyfreq setup-info info+ thingatpt setup-indent-guide setup-imenu-list setup-ivy setup-ibuffer setup-hungry-delete hungry-delete setup-htmlize setup-highlight hl-line+ hl-line volatile-highlights hi-lock setup-header2 setup-hardcore setup-magit magit-log magit-diff smerge-mode diff-mode git-commit recentf tree-widget log-edit message subr-x puny dired+ image-dired image-mode image-file help-fns+ wid-edit help-fns radix-tree dired-aux dired-x dired dired-loaddefs rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-process with-editor shell pcomplete server magit-margin magit-mode magit-git magit-section magit-utils crm magit-popup async-bytecomp async format-spec setup-git-timemachine setup-git-link setup-diff setup-gist setup-flycheck setup-fold yafolding fold-this setup-fci setup-expand-region setup-engine-mode engine-mode setup-el2markdown setup-eww setup-emamux setup-elfeed setup-drag-stuff setup-dired setup-deft setup-de-ansify setup-counsel setup-command-log-mode setup-calc setup-buffer-move setup-bookmarks setup-beacon beacon setup-auto-complete setup-artist setup-all setup-ag setup-ace-window setup-abbrev setup-shackle shackle setup-visual generic setup-mode-line smart-mode-line-dark-theme smart-mode-line rich-minority time setup-tags ctags-update ggtags etags xref project compile comint ansi-color ewoc pcase setup-hydra hydra ring lv setup-key-chord setup-region-bindings-mode region-bindings-mode cl-extra help-mode setup-paradox temp-mode modi-mode use-package-chords bind-chord key-chord use-package diminish bind-key easy-mmode benchmark-init advice setup-packages gh-common gh-profile rx s marshal eieio-compat ht json map dash finder-inf info edmacro kmacro package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib general time-date paren cus-start cus-load setup-var-overrides mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1183215 148637) (symbols 48 67796 6) (miscs 40 3522 2777) (strings 32 513032 17874) (string-bytes 1 20726162) (vectors 16 107472) (vector-slots 8 2530595 135460) (floats 8 1157 1484) (intervals 56 11547 29183) (buffers 976 143) (heap 1024 296711 191906)) --=20 Kaushal Modi --94eb2c1cbeb2a677990553fcc4c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I use the new native = line number display feature in this fashion:

=3D= =3D=3D=3D=3D
(defconst modi/linum-mode-hooks '(verilog-m= ode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 emacs-lisp-m= ode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cperl-mode-h= ook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 c-mode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 python-mode-hook
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 matlab-mode-hook
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sh-mode-hook
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 web-mode-hook
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 html-mode-hook
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 css-mode-hook
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 makefile-gmake-mode-hook
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tcl-mode-hook
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 conf-space-mode-hook
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 d-mode-hook
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 sml-mode-hook
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 nim-mode-hook
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 yaml-mode-hook)
=C2=A0 "List of hooks o= f major modes in which a =E2=80=9Clinum=E2=80=9D mode should be enabled.&qu= ot;) ;I know I should switch to using prog-mode-hook at some point

(defun modi/native-linum-absolute ()
=C2=A0 &quo= t;Set buffer-local variable `display-line-numbers' to t."
=C2=A0 (interactive)
=C2=A0 (setq display-line-numbers t))

(defun modi/turn-on-native-linum ()
=C2=A0 &= quot;Turn on native line numbers in specific modes."
=C2=A0 = (interactive)
=C2=A0 (if modi/linum-mode-enable-global
= =C2=A0 =C2=A0 =C2=A0 (progn
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (dolist (= hook modi/linum-mode-hooks)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (r= emove-hook hook #'modi/native-linum-absolute))
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 (setq-default display-line-numbers t))
=C2=A0 =C2= =A0 (progn
=C2=A0 =C2=A0 =C2=A0 (when global-linum-mode
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq-default display-line-numbers nil))
=
=C2=A0 =C2=A0 =C2=A0 (dolist (hook modi/linum-mode-hooks)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 (add-hook hook #'modi/native-linum-absolute= )))))

(modi/turn-on-native-linum)
= =3D=3D=3D=3D=3D

The full linum management code is = here[1]; above is just the relevant part from that.

It works.

But seemingly randomly, the line = numbers disappear when the emacs frame is not in focus.

I do not know if my setup has to do with this but here are the detail= s:

- I build emacs master on RHEL 6.6.
-= I access the RHEL machine via VNC on Windows 7 Enterprise (work)
- Occasionally I would venture into Windows to get work email (Outlook) or= to the Chrome browwer in Windows.
- With the way my monitors are= set up, one monitor would should the VNC window showing the emacs frame an= d another monitor would should Outlook.

Then as I = would be working on something in Outlook, I would see from the corner of my= eye that the line numbers disappeared from the emacs window with code in v= erilog-mode. Clicking again on the emacs frame (in VNC, remember) would bri= ng the line numbers back.

As I mentioned on emacs-= devel, I cannot recreate this behavior and so cannot come up with steps to = recreate this on emacs -Q.

How can I help de= bug this otherwise:
- Can I add something locally to the C code s= o that certain hooks get triggered when the line numbers display is turned = on/off?


In GNU Emacs 26.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ V= ersion 2.24.23)
=C2=A0of 2017-07-10
Repository revi= sion: 0440c748aaec9b8b32c8cb268f6e24e874fedc75
Windowing system d= istributor 'The X.Org Foundation', version 11.0.60900000
= System Description: Red Hat Enterpri= se Linux Workstation release 6.6 (Santiago)

Recent= messages:
Finished reverting buffers containing unmodified files= .
Desktop saved in ~/.emacs.d/
Note: file is write prot= ected
Mark set
Note: file is write protected
=
Configured using:
=C2=A0'configure --with-modu= les
=C2=A0--prefix=3D/home/kmodi/usr_local/apps/6/emacs/master
=C2=A0'--program-transform-name=3Ds/^ctags$/ctags_emacs/'
=C2=A0'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/usr/inc= lude/freetype2
=C2=A0-I/usr/include' 'CFLAGS=3D-ggdb3 -O0= ' 'CXXFLAGS=3D-ggdb3 -O0'
=C2=A0'LDFLAGS=3D-L/hom= e/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64
=C2=A0-gg= db3''

Configured features:
XPM J= PEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
= NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOO= LKIT_SCROLL_BARS GTK2 X11 MODULES

Important settin= gs:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of = $XMODIFIERS: @im=3Dnone
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Verilog

Minor = modes in effect:
=C2=A0 ace-window-display-mode: t
=C2= =A0 global-auto-complete-mode: t
=C2=A0 auto-complete-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 minibuffer-line-mode: t
=C2=A0 flyspell-mode: t
=C2=A0 which-key-mode: t
=C2=A0 ivy-mode: t
=C2=A0 projectile-mode: t
=C2=A0 g= lobal-hardcore-mode: t
=C2=A0 hardcore-mode: t
=C2=A0 m= odi/verilog-do-not-read-includes-defines-mode: t
=C2=A0 desktop-s= ave-mode: t
=C2=A0 save-place-mode: t
=C2=A0 minibuffer= -depth-indicate-mode: t
=C2=A0 winner-mode: t
=C2=A0 sm= art-mark-mode: t
=C2=A0 delete-selection-mode: t
=C2=A0= which-function-mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo-tree-mode: t
=C2=A0 rainbow-delimiters-mode: t
=
=C2=A0 global-page-break-lines-mode: t
=C2=A0 outline-minor-= mode: t
=C2=A0 keyfreq-autosave-mode: t
=C2=A0 keyfreq-= mode: t
=C2=A0 global-hungry-delete-mode: t
=C2=A0 hung= ry-delete-mode: t
=C2=A0 volatile-highlights-mode: t
= =C2=A0 global-hi-lock-mode: t
=C2=A0 hi-lock-mode: t
= =C2=A0 diff-auto-refine-mode: t
=C2=A0 global-git-commit-mode: t<= /div>
=C2=A0 recentf-mode: t
=C2=A0 magit-auto-revert-mode: t=
=C2=A0 shell-dirtrack-mode: t
=C2=A0 async-bytecomp-pa= ckage-mode: t
=C2=A0 engine-mode: t
=C2=A0 beacon-mode:= t
=C2=A0 shackle-mode: t
=C2=A0 mode-line-space-mode: = t
=C2=A0 display-time-mode: t
=C2=A0 ctags-auto-update-= mode: t
=C2=A0 ggtags-mode: t
=C2=A0 modi-mode: t
=
=C2=A0 override-global-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
<= div>=C2=A0 prettify-symbols-mode: t
=C2=A0 file-name-shadow-mode:= t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mod= e: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryp= tion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buf= fer-read-only: t
=C2=A0 column-number-mode: t
=C2=A0 li= ne-number-mode: t
=C2=A0 transient-mark-mode: (only . t)
=C2=A0 abbrev-mode: t

Load-path shadows:
/home/kmodi/.emacs.d/elisp/verilog-mode/verilog-mode hides /home/kmodi/u= sr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/progmodes/verilog-mod= e
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp= /org/org-macro hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/= 26.0.50/lisp/org/org-macro
/home/kmodi/usr_local/apps/6/emacs/mas= ter/share/emacs/site-lisp/org/ox-texinfo hides /home/kmodi/usr_local/apps/6= /emacs/master/share/emacs/26.0.50/lisp/org/ox-texinfo
/home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-publish hides /= home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-pu= blish
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-= lisp/org/ox-org hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs= /26.0.50/lisp/org/ox-org
/home/kmodi/usr_local/apps/6/emacs/maste= r/share/emacs/site-lisp/org/ox-odt hides /home/kmodi/usr_local/apps/6/emacs= /master/share/emacs/26.0.50/lisp/org/ox-odt
/home/kmodi/usr_local= /apps/6/emacs/master/share/emacs/site-lisp/org/ox-md hides /home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-md
/hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-man hide= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox= -man
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/ox-latex hides /home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/26.0.50/lisp/org/ox-latex
/home/kmodi/usr_local/apps/6/emacs/ma= ster/share/emacs/site-lisp/org/ox-icalendar hides /home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-icalendar
/home/= kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-html hides= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-= html
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/ox hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0= .50/lisp/org/ox
/home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/site-lisp/org/org-list hides /home/kmodi/usr_local/apps/6/emacs/master= /share/emacs/26.0.50/lisp/org/org-list
/home/kmodi/usr_local/apps= /6/emacs/master/share/emacs/site-lisp/org/org-bbdb hides /home/kmodi/usr_lo= cal/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-bbdb
/ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-attach= hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/o= rg/org-attach
/home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/site-lisp/org/ob-shen hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/ob-shen
/home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/site-lisp/org/ob-shell hides /home/kmodi/usr_local/= apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-shell
/home/k= modi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-js hides /h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-js<= /div>
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/o= rg/ob-haskell hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/ob-haskell
/home/kmodi/usr_local/apps/6/emacs/mas= ter/share/emacs/site-lisp/org/org-faces hides /home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/26.0.50/lisp/org/org-faces
/home/kmodi/u= sr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob hides /home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob
/h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ox-beamer= hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/o= rg/ox-beamer
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/org-w3m hides /home/kmodi/usr_local/apps/6/emacs/master/sha= re/emacs/26.0.50/lisp/org/org-w3m
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/ox-ascii hides /home/kmodi/usr_local/a= pps/6/emacs/master/share/emacs/26.0.50/lisp/org/ox-ascii
/home/km= odi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-table hides = /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-t= able
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/ob-python hides /home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/26.0.50/lisp/org/ob-python
/home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/site-lisp/org/org-timer hides /home/kmodi/usr_local/apps= /6/emacs/master/share/emacs/26.0.50/lisp/org/org-timer
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-table hides /= home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-t= able
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/org-src hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs= /26.0.50/lisp/org/org-src
/home/kmodi/usr_local/apps/6/emacs/mast= er/share/emacs/site-lisp/org/org-rmail hides /home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/26.0.50/lisp/org/org-rmail
/home/kmodi/us= r_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-protocol hides /h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-pr= otocol
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site= -lisp/org/org-plot hides /home/kmodi/usr_local/apps/6/emacs/master/share/em= acs/26.0.50/lisp/org/org-plot
/home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/site-lisp/org/org-pcomplete hides /home/kmodi/usr_local/= apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-pcomplete
/h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-mouse= hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/o= rg/org-mouse
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/org-mobile hides /home/kmodi/usr_local/apps/6/emacs/master/= share/emacs/26.0.50/lisp/org/org-mobile
/home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/site-lisp/org/org-mhe hides /home/kmodi/usr_lo= cal/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-mhe
/hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-macs hi= des /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/= org-macs
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/si= te-lisp/org/org-lint hides /home/kmodi/usr_local/apps/6/emacs/master/share/= emacs/26.0.50/lisp/org/org-lint
/home/kmodi/usr_local/apps/6/emac= s/master/share/emacs/site-lisp/org/org-irc hides /home/kmodi/usr_local/apps= /6/emacs/master/share/emacs/26.0.50/lisp/org/org-irc
/home/kmodi/= usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-inlinetask hide= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/or= g-inlinetask
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/org-info hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/org-info
/home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/site-lisp/org/org-indent hides /home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-indent
/h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-id hi= des /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/= org-id
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site= -lisp/org/org-habit hides /home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/26.0.50/lisp/org/org-habit
/home/kmodi/usr_local/apps/6/emac= s/master/share/emacs/site-lisp/org/org-gnus hides /home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/26.0.50/lisp/org/org-gnus
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-footnote hide= s /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/or= g-footnote
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/= site-lisp/org/org-feed hides /home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/26.0.50/lisp/org/org-feed
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/org-eww hides /home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-eww
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-eshell hides = /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= eshell
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site= -lisp/org/org-entities hides /home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/26.0.50/lisp/org/org-entities
/home/kmodi/usr_local/apps/= 6/emacs/master/share/emacs/site-lisp/org/org-element hides /home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-element
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org h= ides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org= /org
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-l= isp/org/org-docview hides /home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/26.0.50/lisp/org/org-docview
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/org-datetree hides /home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-datetree
= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-cta= gs hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp= /org/org-ctags
/home/kmodi/usr_local/apps/6/emacs/master/share/em= acs/site-lisp/org/org-crypt hides /home/kmodi/usr_local/apps/6/emacs/master= /share/emacs/26.0.50/lisp/org/org-crypt
/home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/site-lisp/org/org-compat hides /home/kmodi/usr= _local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-compat
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-c= olview hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/= lisp/org/org-colview
/home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/site-lisp/org/org-clock hides /home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/26.0.50/lisp/org/org-clock
/home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/site-lisp/org/org-capture hides /home/km= odi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-capture<= /div>
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/o= rg/org-bibtex hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/org-bibtex
/home/kmodi/usr_local/apps/6/emacs/mas= ter/share/emacs/site-lisp/org/org-archive hides /home/kmodi/usr_local/apps/= 6/emacs/master/share/emacs/26.0.50/lisp/org/org-archive
/home/kmo= di/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-agenda hides= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org= -agenda
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/sit= e-lisp/org/ob-tangle hides /home/kmodi/usr_local/apps/6/emacs/master/share/= emacs/26.0.50/lisp/org/ob-tangle
/home/kmodi/usr_local/apps/6/ema= cs/master/share/emacs/site-lisp/org/ob-stan hides /home/kmodi/usr_local/app= s/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-stan
/home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sqlite hides /h= ome/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-sql= ite
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-li= sp/org/ob-sql hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/ob-sql
/home/kmodi/usr_local/apps/6/emacs/master/= share/emacs/site-lisp/org/ob-sed hides /home/kmodi/usr_local/apps/6/emacs/m= aster/share/emacs/26.0.50/lisp/org/ob-sed
/home/kmodi/usr_local/a= pps/6/emacs/master/share/emacs/site-lisp/org/ob-screen hides /home/kmodi/us= r_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-screen
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-fo= rtran hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/l= isp/org/ob-fortran
/home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/site-lisp/org/ob-scheme hides /home/kmodi/usr_local/apps/6/emacs/ma= ster/share/emacs/26.0.50/lisp/org/ob-scheme
/home/kmodi/usr_local= /apps/6/emacs/master/share/emacs/site-lisp/org/ob-scala hides /home/kmodi/u= sr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-scala
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-sa= ss hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp= /org/ob-sass
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/ob-ruby hides /home/kmodi/usr_local/apps/6/emacs/master/sha= re/emacs/26.0.50/lisp/org/ob-ruby
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/ob-R hides /home/kmodi/usr_local/apps/= 6/emacs/master/share/emacs/26.0.50/lisp/org/ob-R
/home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ref hides /home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-ref
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-p= rocessing hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.= 50/lisp/org/ob-processing
/home/kmodi/usr_local/apps/6/emacs/mast= er/share/emacs/site-lisp/org/ob-plantuml hides /home/kmodi/usr_local/apps/6= /emacs/master/share/emacs/26.0.50/lisp/org/ob-plantuml
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-picolisp hides= /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-= picolisp
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/si= te-lisp/org/ob-perl hides /home/kmodi/usr_local/apps/6/emacs/master/share/e= macs/26.0.50/lisp/org/ob-perl
/home/kmodi/usr_local/apps/6/emacs/= master/share/emacs/site-lisp/org/ob-org hides /home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/26.0.50/lisp/org/ob-org
/home/kmodi/usr_= local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-octave hides /home/k= modi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-octave
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/or= g/ob-ocaml hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0= .50/lisp/org/ob-ocaml
/home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/site-lisp/org/ob-mscgen hides /home/kmodi/usr_local/apps/6/emacs= /master/share/emacs/26.0.50/lisp/org/ob-mscgen
/home/kmodi/usr_lo= cal/apps/6/emacs/master/share/emacs/site-lisp/org/ob-maxima hides /home/kmo= di/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-maxima
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/= ob-matlab hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.= 50/lisp/org/ob-matlab
/home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/site-lisp/org/ob-makefile hides /home/kmodi/usr_local/apps/6/ema= cs/master/share/emacs/26.0.50/lisp/org/ob-makefile
/home/kmodi/us= r_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-lua hides /home/km= odi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-lua
=
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob= -lob hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/li= sp/org/ob-lob
/home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/site-lisp/org/ob-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/ob-lisp
/home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/site-lisp/org/ob-lilypond hides /home/kmodi/usr_loc= al/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-lilypond
/= home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-ledge= r hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/= org/ob-ledger
/home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/site-lisp/org/ob-latex hides /home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/26.0.50/lisp/org/ob-latex
/home/kmodi/usr_local/apps/6= /emacs/master/share/emacs/site-lisp/org/ob-keys hides /home/kmodi/usr_local= /apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-keys
/home/k= modi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-J hides /ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-J
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org= /ob-java hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.5= 0/lisp/org/ob-java
/home/kmodi/usr_local/apps/6/emacs/master/shar= e/emacs/site-lisp/org/ob-io hides /home/kmodi/usr_local/apps/6/emacs/master= /share/emacs/26.0.50/lisp/org/ob-io
/home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/site-lisp/org/ob-groovy hides /home/kmodi/usr_loca= l/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-groovy
/hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-gnuplot = hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/or= g/ob-gnuplot
/home/kmodi/usr_local/apps/6/emacs/master/share/emac= s/site-lisp/org/ob-forth hides /home/kmodi/usr_local/apps/6/emacs/master/sh= are/emacs/26.0.50/lisp/org/ob-forth
/home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/site-lisp/org/ob-exp hides /home/kmodi/usr_local/a= pps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-exp
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-eval hides /ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-eval=
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/= org/ob-emacs-lisp hides /home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/26.0.50/lisp/org/ob-emacs-lisp
/home/kmodi/usr_local/apps/6/em= acs/master/share/emacs/site-lisp/org/ob-ebnf hides /home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-ebnf
/home/kmod= i/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-dot hides /hom= e/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-dot
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/or= g/ob-ditaa hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0= .50/lisp/org/ob-ditaa
/home/kmodi/usr_local/apps/6/emacs/master/s= hare/emacs/site-lisp/org/ob-css hides /home/kmodi/usr_local/apps/6/emacs/ma= ster/share/emacs/26.0.50/lisp/org/ob-css
/home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/site-lisp/org/ob-core hides /home/kmodi/usr_l= ocal/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-core
/ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-coq hid= es /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/o= b-coq
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-= lisp/org/ob-comint hides /home/kmodi/usr_local/apps/6/emacs/master/share/em= acs/26.0.50/lisp/org/ob-comint
/home/kmodi/usr_local/apps/6/emacs= /master/share/emacs/site-lisp/org/ob-clojure hides /home/kmodi/usr_local/ap= ps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-clojure
/home/k= modi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-C hides /ho= me/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-C
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org= /ob-asymptote hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/2= 6.0.50/lisp/org/ob-asymptote
/home/kmodi/usr_local/apps/6/emacs/m= aster/share/emacs/site-lisp/org/ob-calc hides /home/kmodi/usr_local/apps/6/= emacs/master/share/emacs/26.0.50/lisp/org/ob-calc
/home/kmodi/usr= _local/apps/6/emacs/master/share/emacs/site-lisp/org/ob-awk hides /home/kmo= di/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/ob-awk
<= div>/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org= -version hides /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.5= 0/lisp/org/org-version
/home/kmodi/usr_local/apps/6/emacs/master/= share/emacs/site-lisp/org/org-loaddefs hides /home/kmodi/usr_local/apps/6/e= macs/master/share/emacs/26.0.50/lisp/org/org-loaddefs
/home/kmodi= /usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/org-install hides = /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/26.0.50/lisp/org/org-= install
/home/kmodi/usr_local/apps/6/emacs/master/share/emacs/sit= e-lisp/org/ob-abc hides /home/kmodi/usr_local/apps/6/emacs/master/share/ema= cs/26.0.50/lisp/org/ob-abc

Features:
(sh= adow sort mail-extr emacsbug sendmail expand-region
text-mode-exp= ansions cc-mode-expansions the-org-mode-expansions
js-mode-expans= ions web-mode-expansions html-mode-expansions
css-mode-expansions= er-basic-expansions expand-region-core
expand-region-custom mc-m= ark-more multiple-cursors-core rect web-mode
mhtml-mode css-mode = js cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align = cc-engine cc-vars cc-defs sgml-mode ox-hugo
ox-blackfriday ox-md = ox-minutes ox-twbs ox-reveal ox-html-fancybox
ox-latex ox-html ta= ble ox-ascii ox-publish ox drag-stuff info-look
two-column vc-ann= otate whitespace eieio-opt speedbar sb-image ezimage
dframe ace-w= indow avy smex ido bug-reference warnings log-view
magit-submodul= e magit-obsolete magit-blame magit-stash magit-bisect
magit-remot= e magit-commit magit-sequence magit-notes magit-worktree
magit-br= anch magit-files magit-refs magit-status magit magit-repos
magit-= apply magit-wip misearch multi-isearch mm-archive network-stream
= starttls url-http tls gnutls url-gw nsm url-cache url-auth paradox
paradox-menu paradox-commit-list paradox-execute paradox-github
paradox-core spinner xsos-fns sos-fns vc-mtn vc-hg org-table
mar= kdown-mode eww mm-url gnus nnheader time-stamp vc-bzr vc-src vc-sccs
<= div>vc-svn vc-cvs vc-rcs copyright cursor-sensor colir color counsel
<= div>esh-util swiper tabify org-datetree org-eldoc org-indent org-info
=
org-capture auto-complete-config setup-desktop header2 iso-transl
jka-compr fill-column-indicator conf-mode csh-mode sh-script smie
executable flycheck flymake auto-complete popup yasnippet tramp
tramp-compat tramp-loaddefs trampver ucs-normalize parse-time
minibuffer-line flyspell ispell which-key ivy-hydra ivy ivy-overlay ffap=
ibuffer-projectile projectile grep ibuf-ext ibuffer ibuffer-load= defs
hardcore-mode vc-git verilog-mode desktop frameset
setup-pragmata-ligatures setup-font-check smyx-theme diff-hl vc-dir vc
vc-dispatcher setup-misc saveplace setup-personal my-patches setup-m= eme
setup-work setup-windows-buffers mb-depth winner setup-unicod= e
setup-toggles setup-spell setup-search setup-registers setup-pr= int
setup-pdf setup-navigation setup-mouse setup-launcher setup-i= mage
setup-editing smart-mark unfill zop-to-char delsel setup-com= pile
setup-backup setup-yaml-mode setup-web-mode setup-verilog se= tup-toml
setup-hugo setup-tcl setup-sml setup-spice setup-shell s= etup-python
setup-perl setup-nim setup-matlab setup-markdown setu= p-latex
preview-latex tex-site auto-loads setup-elisp easy-escape= setup-conf
setup-clojure setup-yasnippet setup-xkcd setup-writeg= ood writegood-mode
setup-wrap-region wrap-region setup-wordnut se= tup-wolfram
setup-which-key setup-which-func which-func imenu set= up-weather
setup-undo-tree undo-tree diff setup-tldr setup-tiny s= etup-term setup-sx
setup-smex setup-server setup-rainbow-mode set= up-rainbow-delimiters
rainbow-delimiters setup-projectile setup-p= oporg setup-pomodoro
setup-pcache pcache eieio-base cl setup-page= -break-lines disp-table
page-break-lines setup-outshine foldout o= utshine outshine-org-cmds
outorg org-sticky-header org-include-im= g-from-archive
org-include-img-from-pdf org-include-src-lines ob-= org ob-latex ob-dot
ob-ditaa ob-plantuml ob-awk ob-python ob-shel= l org-link-ref elfeed-link
org-element elfeed-show elfeed-search = bookmark pp shr svg dom elfeed-csv
elfeed elfeed-curl url url-pro= xy url-privacy url-expand url-methods
url-history url-cookie url-= domsuf mailcap elfeed-log elfeed-db
elfeed-lib url-util avl-tree = url-queue browse-url xml-query xml org
org-macro org-footnote org= -pcomplete org-list org-faces org-entities
org-version ob-emacs-l= isp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob= -comint ob-core ob-eval org-compat org-macs
org-loaddefs find-fun= c cal-menu calendar cal-loaddefs noutline outline
setup-orgstruct= setup-org setup-news setup-neotree
setup-multiple-cursors setup-= manage-minor-mode setup-linum nlinum linum
setup-kurecolor setup-= keyfreq keyfreq setup-info info+ thingatpt
setup-indent-guide set= up-imenu-list setup-ivy setup-ibuffer
setup-hungry-delete hungry-= delete setup-htmlize setup-highlight hl-line+
hl-line volatile-hi= ghlights hi-lock setup-header2 setup-hardcore
setup-magit magit-l= og magit-diff smerge-mode diff-mode git-commit
recentf tree-widge= t log-edit message subr-x puny dired+ image-dired
image-mode imag= e-file help-fns+ wid-edit help-fns radix-tree dired-aux
dired-x d= ired dired-loaddefs rfc822 mml mml-sec epa derived epg
gnus-util = rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc= 2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev
mai= l-utils gmm-utils mailheader pcvs-util add-log magit-core
magit-a= utorevert autorevert filenotify magit-process with-editor shell
p= complete server magit-margin magit-mode magit-git magit-section
m= agit-utils crm magit-popup async-bytecomp async format-spec
setup= -git-timemachine setup-git-link setup-diff setup-gist
setup-flych= eck setup-fold yafolding fold-this setup-fci
setup-expand-region = setup-engine-mode engine-mode setup-el2markdown
setup-eww setup-e= mamux setup-elfeed setup-drag-stuff setup-dired
setup-deft setup-= de-ansify setup-counsel setup-command-log-mode
setup-calc setup-b= uffer-move setup-bookmarks setup-beacon beacon
setup-auto-complet= e setup-artist setup-all setup-ag setup-ace-window
setup-abbrev s= etup-shackle shackle setup-visual generic setup-mode-line
smart-m= ode-line-dark-theme smart-mode-line rich-minority time setup-tags
ctags-update ggtags etags xref project compile comint ansi-color ewoc
pcase setup-hydra hydra ring lv setup-key-chord
setup-regio= n-bindings-mode region-bindings-mode cl-extra help-mode
setup-par= adox temp-mode modi-mode use-package-chords bind-chord
key-chord = use-package diminish bind-key easy-mmode benchmark-init advice
se= tup-packages gh-common gh-profile rx s marshal eieio-compat ht json
map dash finder-inf info edmacro kmacro package easymenu epg-config
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib general time-date paren cus-st= art
cus-load setup-var-overrides mule-util tooltip eldoc electric= uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x= -win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt = fringe
tabulated-list replace newcomment text-mode elisp-mode lis= p-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 mi= sc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucj= p-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 t= ext-properties overlay sha1 md5
base64 format env code-pages mule= custom widget hashtable-print-readable
backquote dbusbind inotif= y dynamic-setting system-font-setting
font-render-setting move-to= olbar gtk x-toolkit x multi-tty
make-network-process emacs)
=

Memory information:
((conses 16 1183215 14863= 7)
=C2=A0(symbols 48 67796 6)
=C2=A0(miscs 40 3522 2777= )
=C2=A0(strings 32 513032 17874)
=C2=A0(string-bytes 1= 20726162)
=C2=A0(vectors 16 107472)
=C2=A0(vector-slot= s 8 2530595 135460)
=C2=A0(floats 8 1157 1484)
=C2=A0(i= ntervals 56 11547 29183)
=C2=A0(buffers 976 143)
=C2=A0= (heap 1024 296711 191906))

--
<= p dir=3D"ltr">Kaushal Modi

--94eb2c1cbeb2a677990553fcc4c4-- ------------=_1510303082-3243-1-- From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Nov 2017 10:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15104813357249 (code B ref 27647); Sun, 12 Nov 2017 10:09:01 +0000 Received: (at 27647) by debbugs.gnu.org; 12 Nov 2017 10:08:55 +0000 Received: from localhost ([127.0.0.1]:36025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDpCB-0001sr-0s for submit@debbugs.gnu.org; Sun, 12 Nov 2017 05:08:55 -0500 Received: from mout.gmx.net ([212.227.17.22]:53577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDpC8-0001sd-LF for 27647@debbugs.gnu.org; Sun, 12 Nov 2017 05:08:53 -0500 Received: from [192.168.1.100] ([46.125.250.81]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LvzF3-1fHCkZ1nHZ-017l3T; Sun, 12 Nov 2017 11:08:34 +0100 Message-ID: <5A081D9C.1000602@gmx.at> Date: Sun, 12 Nov 2017 11:08:28 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> In-Reply-To: <83a7zvqilp.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:Gyymbg5FD//3jM6alZ0ICSBviQExlA4wVs9QQi7OtA1HG7Y/Kv+ A8VcIOyHbI3ydNzydc/oddShyAFyP9zXOLrykn6SFK4ng2feH24dc5VzmvAS3BTF7FjUyJT 0DYV33TfrxTZVt5u/AwZk1w4Z8nO9IUwD9qnL4aHJ/3IV70mYL4Rhxt6+LUojEsigOu4+kP Eps59bqLDLAMLUjHKdf5A== X-UI-Out-Filterresults: notjunk:1;V01:K0:Aaiz4LDFwxw=:IoCMYQdbMpPZZkb8F8JGwt idHrHt7lxIypY6vpal90u4fd19lsjrbFcCUtOuzHDDW+gO+KqJnC6XwMmBy0RXc+Nmoy1XXYm EygPDp5EhDFl54FSnPBeW12Y6evb8Y/zGc48boHscezQE0z/zGgyEN5Sx2rgBQ1e4mYNqK0sr mSygOv0jWQVHWV08cPfbEf8p7mh3vZPMjktnlBH4DR3hvQo40/iKnxq0K91j/ynLDR658FPaE RvwPaPbeNCZSXdusaeZ1ocBdJTkNbuBC7TCG5Yy5WrsC1FvpvVNwBeDH5l9AitlALu6pDRlrF PWUnADr7Yy9CpkqxY9M49N09hlmE2cinU4G1OJlPYZGzzdx2Q5CEa08NPoXHkaBp8XcEtZxPf E3ba1i1rkuhmdUXWWPrb5gF5fdO/8482DlxPyJiXt3rOgDxGvrGWx5efXw59pyjEq+uE1LleU M1kO5hG+MXVKu8OGIMY3vn0iUJwBPLy93+THraeJ+ZTSJGaAUYvRGVLYxoTUHw+OrJ0Kn1WyB +xY8WWRMWvvvPKhDn0Sw95S9yoVhrKm0+CaJ2bMhNLILu6i+vzun24yqJmyCgfv3meO67/VuC 5oSTPOP0czfRc1PlsQC3vfNTWMo1aPgonUJ2FR5nHkB6eeCZA5lRSg9SiLOiBr7Qktvyl22Wd nVuXA6UW+ktcfS5eGGNEwxozkpcDI8U3tHqQkDtaLbFwATeZNR9iQOrTQtIlt3vYBtCDCOJ75 JhgsSRDdrKlDhTM7r0i2RsXsdpxZk52w3fYJ77VIbN9hnX3jIwlUR71FNjoTesM5vYseA/0U5 w0He1U2Oco85lxt2IXcZEQ5UfQYPNnz1ZPOPXAVzXaDcbDXWdEq7c2a3A/mzPDsudl9ubWS X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.5 (---) > Thanks. It's a jumbo changeset, hard to see the forest for the trees.= It worked everywhere but for that Mac case. > The challenge is not to make such mistakes in the first place. We > could easily let it slip into Emacs 26.1, if we were less lucky. We were lucky that you wrote the native line numbers code that revealed the problem, that Alex mentioned that only =E2=80=98x-gtk-use-system-tool= tips=E2=80=99 would reveal it and that Noam found the cause. But we also would have never known about this particular bug if we had left in Dmitry's code. > We should fix those places. I see you have done that already, thanks. I can't reasonably do any work here because regular builds of the release branch still fail. > Not if we always either put in that variable either the tooltip frame > or nil, never any other frame. IOW, if we make it an innocent > variable with simple semantics again, and track the frame GTK needs > "by other means". If the semantics of tip_frame non-nil is "The frame of a currently visible tooltip." and for a GTK build the "currently visible tooltip" has no frame, then we have no simple semantics. It means that for GTK we always need an additional test like that for a 'tooltip' frame parameter. Don't you agree? >> Please have a look at Dimitry's commit. I think most parts of it wer= e >> good. Maybe we should revive them. > > Maybe I'm missing something, but I don't understand why the changes > for this have to be so complex and invasive. But I'll review any > specific proposal for fixing this mess. He didn't want to change only "this". His was a pretty comprehensive solution for many problems in this area. The only thing I disliked was that 'tooltip-timer' parameter, but maybe there really is no better solution. Anyway, replacing the global variable and the frame parameter stuff by a one-bit per frame slot should be enough for fixing the mess at hand. martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Nov 2017 11:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: martin rudalics Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151048661815572 (code B ref 27647); Sun, 12 Nov 2017 11:37:02 +0000 Received: (at 27647) by debbugs.gnu.org; 12 Nov 2017 11:36:58 +0000 Received: from localhost ([127.0.0.1]:36087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDqZN-000436-Q7 for submit@debbugs.gnu.org; Sun, 12 Nov 2017 06:36:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDqZM-00042t-Fr for 27647@debbugs.gnu.org; Sun, 12 Nov 2017 06:36:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDqZG-0005GR-DN for 27647@debbugs.gnu.org; Sun, 12 Nov 2017 06:36:51 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDqZB-000592-8z; Sun, 12 Nov 2017 06:36:45 -0500 Received: from [176.228.60.248] (port=3867 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eDqZA-00060o-Fi; Sun, 12 Nov 2017 06:36:44 -0500 Date: Sun, 12 Nov 2017 13:36:47 +0200 Message-Id: <83o9o7n2y8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5A081D9C.1000602@gmx.at> (message from martin rudalics on Sun, 12 Nov 2017 11:08:28 +0100) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Sun, 12 Nov 2017 11:08:28 +0100 > From: martin rudalics > CC: npostavs@users.sourceforge.net, agrambot@gmail.com, > 27647@debbugs.gnu.org, kaushal.modi@gmail.com > > > Not if we always either put in that variable either the tooltip frame > > or nil, never any other frame. IOW, if we make it an innocent > > variable with simple semantics again, and track the frame GTK needs > > "by other means". > > If the semantics of tip_frame non-nil is > > "The frame of a currently visible tooltip." > > and for a GTK build the "currently visible tooltip" has no frame, then > we have no simple semantics. It means that for GTK we always need an > additional test like that for a 'tooltip' frame parameter. Don't you > agree? Not exactly. tip_frame should be nil when GTK pops a native tooltip, then tip_frame will get its simple semantics back. If GTK needs to stash the original frame, to be used to hide the tooltip, it should use a separate variable (or a struct frame member), also with simple semantics. Two variables with simple semantics are much better than one with a subtly complex one. Don't you agree? > > Maybe I'm missing something, but I don't understand why the changes > > for this have to be so complex and invasive. But I'll review any > > specific proposal for fixing this mess. > > He didn't want to change only "this". His was a pretty comprehensive > solution for many problems in this area. The only thing I disliked was > that 'tooltip-timer' parameter That timer was at the base of the proposed solution, AFAIU. So if you dislike it, you dislike the idea itself. > but maybe there really is no better solution. Sorry, I refuse to believe that. > Anyway, replacing the global variable and the frame parameter stuff > by a one-bit per frame slot should be enough for fixing the mess at > hand. Exactly. So why we need the rest of the complexity in that patch? From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Nov 2017 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151059876417989 (code B ref 27647); Mon, 13 Nov 2017 18:47:02 +0000 Received: (at 27647) by debbugs.gnu.org; 13 Nov 2017 18:46:04 +0000 Received: from localhost ([127.0.0.1]:38835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEJkC-0004g4-7R for submit@debbugs.gnu.org; Mon, 13 Nov 2017 13:46:04 -0500 Received: from mout.gmx.net ([212.227.17.22]:52080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEJkA-0004fL-Co for 27647@debbugs.gnu.org; Mon, 13 Nov 2017 13:46:02 -0500 Received: from [192.168.1.100] ([46.125.249.15]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MGEv5-1eSsjk1bVf-00F9AH; Mon, 13 Nov 2017 19:45:47 +0100 Message-ID: <5A09E854.1000402@gmx.at> Date: Mon, 13 Nov 2017 19:45:40 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> In-Reply-To: <83o9o7n2y8.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:9huDeZHnPhinrGh+RhrkXkJGS6+gGTxP9qx9baSV5pRcbkQg6Xm oNSObfrfJ0kXRHc6pmv9NCadmeyjLswjmyfwSKY7NGJdtLSfRo2zk8nBXXXBUC8zDqEiHuP CNRnUZSIsPl6yU4m47RbUrrEjR552WouW2IvsE6qTjsprJgeJdnZ+ehdeQGASNVYqg7YoXH 6QcojygVTzuJvxdYoj6sw== X-UI-Out-Filterresults: notjunk:1;V01:K0:8YoWGbtRTQk=:Kf2tdBXfHrSM6vN3dyQ9/E sLlCHcoWyhDSGot8DGx5Vfga5YnvbLiOgRINYri50OvbqAE71OLDl8BYrK68w2nJxI4BAn0bQ pOAr0YeAmkH4+bh8aJqG64yP/Fe9LE6hwoW5KGYfsfSLxicppZE/BDNaydLcmEj2zAXyenEyn G/28nvQ2qfzkd0xRQTACub0tXYw4WjJLOABzHIvyM9QZkXz8CaLEkwVbULndaeUbiC0HDLHBA PSXUVG9eRFHoYQ12gOyhVqKJWajH7Kx9d3m2Zf/S/5hCRgf0RpsMMb4J0fqq2l6bWXU9Jxr6w KR1xzxprzzJFBafXNxwijLTG06Y23Qvu3LYcLuIxQ3RAXk6PUTQmpQzwmqzI+BqTWJQ58cF9c cfJVUiABqawVgeSvMPKXoJ3EPb/DznHU397uSohwfR5OFoWThO7FZqarAUXrYzcHg2A6WxiK1 iALkkHYD+GLETSaFc9VLqSFFyxtf4x94iAtijpuidUy4i8VZ5cC9qg6gbsrHGH7SNhK70pr7b v7JzQgTz2WrwGb4ElkDLKbJX9dWlj3vyoKedYUHELq/Nxgh4Hrl6KUR2UvUl6kN9XJLdrPRcF XxK15TW1PMovbW+J+9L7cTawOoWoLsNl3IxU7GhdP6qAFipC+oJmMxpaJALyi2QJP2uTRTS8u JRGEEgSLMkceiVFsINilE09HmLmfTQyDNQDvNpai9CyuNsGey8siD9taeEM8pxk6cItPjjkiX ohrOV4cfZrqwP+X72obzeFcVPBhRyJcGyWNWki3Gyg6JXbBSaPuCkq3aN5FX1pp8BtwRzrv1+ KU8rGZm32EyfGqysNSFUAg52frCYgmZSief+Q1isrdeUtC0tcOLULjyysF8Lz9dKZrz+wM9 X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.5 (---) > Not exactly. tip_frame should be nil when GTK pops a native tooltip, > then tip_frame will get its simple semantics back. x_hide_tip uses NILP (tip_frame) to decide whether to hide the tip. > If GTK needs to > stash the original frame, to be used to hide the tooltip, it should > use a separate variable (or a struct frame member), also with simple > semantics. Two variables with simple semantics are much better than > one with a subtly complex one. Don't you agree? IIUC GTK doesn't need the original frame. But it sets tooltip_frame to it so Fx_show_tip and friends can base their decisions on it. Look at occurrences of FRAMEP (tip_frame) and FRAME_LIVE_P (XFRAME (tip_frame)). They pass because for GTK tip_frame is a live frame associated with the tooltip. Jan tried hard to leave the native tooltip code untouched. > That timer was at the base of the proposed solution, AFAIU. So if you > dislike it, you dislike the idea itself. I don't dislike the timer. I dislike the idea to put it on a frame parameter. >> but maybe there really is no better solution. > > Sorry, I refuse to believe that. Where would you put it? >> Anyway, replacing the global variable and the frame parameter stuff >> by a one-bit per frame slot should be enough for fixing the mess at >> hand. > > Exactly. So why we need the rest of the complexity in that patch? Simply because I don't know whether the rest is more complex than what's needed to fix the mess. martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Nov 2017 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: martin rudalics Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151060035220389 (code B ref 27647); Mon, 13 Nov 2017 19:13:02 +0000 Received: (at 27647) by debbugs.gnu.org; 13 Nov 2017 19:12:32 +0000 Received: from localhost ([127.0.0.1]:38859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEK9o-0005In-Cy for submit@debbugs.gnu.org; Mon, 13 Nov 2017 14:12:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEK9m-0005IZ-DS for 27647@debbugs.gnu.org; Mon, 13 Nov 2017 14:12:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEK9g-0002xL-AY for 27647@debbugs.gnu.org; Mon, 13 Nov 2017 14:12:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEK9c-0002vc-KN; Mon, 13 Nov 2017 14:12:20 -0500 Received: from [176.228.60.248] (port=2092 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eEK9b-0001sX-Ro; Mon, 13 Nov 2017 14:12:20 -0500 Date: Mon, 13 Nov 2017 21:12:26 +0200 Message-Id: <83lgjakn6t.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5A09E854.1000402@gmx.at> (message from martin rudalics on Mon, 13 Nov 2017 19:45:40 +0100) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Mon, 13 Nov 2017 19:45:40 +0100 > From: martin rudalics > CC: npostavs@users.sourceforge.net, agrambot@gmail.com, > 27647@debbugs.gnu.org, kaushal.modi@gmail.com > > > Not exactly. tip_frame should be nil when GTK pops a native tooltip, > > then tip_frame will get its simple semantics back. > > x_hide_tip uses NILP (tip_frame) to decide whether to hide the tip. That's non-GTK code which GTK doesn't need, but left it alone. The whole GTK support in x_hide_tip is patched over the non-GTK code, with dirty tricks like setting tip_frame to nil just to bypass the non-GTK part of the function. We will be better off with a separate GTK-only implementation. > IIUC GTK doesn't need the original frame. xg_hide_tooltip needs it, because the GTK tooltip widget is stashed away in its output->data.x structure. > But it sets tooltip_frame to it so Fx_show_tip and friends can base > their decisions on it. Look at occurrences of FRAMEP (tip_frame) > and FRAME_LIVE_P (XFRAME (tip_frame)). They pass because for GTK > tip_frame is a live frame associated with the tooltip. Jan tried > hard to leave the native tooltip code untouched. Once again, it would be better to have the GTK code completely separated, IMO. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Nov 2017 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151065319431173 (code B ref 27647); Tue, 14 Nov 2017 09:54:02 +0000 Received: (at 27647) by debbugs.gnu.org; 14 Nov 2017 09:53:14 +0000 Received: from localhost ([127.0.0.1]:39348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEXu5-00086j-Sw for submit@debbugs.gnu.org; Tue, 14 Nov 2017 04:53:14 -0500 Received: from mout.gmx.net ([212.227.15.15]:50619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEXu4-00086X-OU for 27647@debbugs.gnu.org; Tue, 14 Nov 2017 04:53:13 -0500 Received: from [192.168.1.100] ([46.125.250.30]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LqzEB-1eriSv04Ml-00ecV5; Tue, 14 Nov 2017 10:52:58 +0100 Message-ID: <5A0ABCF0.3080007@gmx.at> Date: Tue, 14 Nov 2017 10:52:48 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> In-Reply-To: <83lgjakn6t.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:C9R62ZOO8viImkTytO+YU1J/tDOFZd65QUl1IbXHlEHaCrG4inr zdE8aVslKFrm6ViWr6bcFVdL8qdMv7oKxzMGBqdV0GHUAxf2tKAh8ggxaCqsnEejavIO6X9 3ykNySUjCuRUyFUu6IeTfkmx9wvEDtRbZvG8REpc4KHrmohAzklsdzgYS3nWxfSGVNjnQB9 vp41WFIdVKNG9JkUHIXPQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:rBhS9Znc6N0=:z3JVUbw0PKk//QOfiN4yQ8 VOxWd4scaiMysQi4SZnLfCjSAmm6cavqeV0of5WlJC5lj1Bun75CkakC0MEqUw1fA0Aath8Cb iF+2Z1weEswNcQaGL3a1bfxFPtgcCr/2DKm1ZYGCA32zJWH4Fhr1N49wmh0/HaCk3EO8efFzo zlANGeV/weZQ1ILigbLxmZpTR8VKUAvNWW+pDrw6ov3kUu10tnhrcSWBGA9qKGFYnOHM9TyT6 tFX9aXH8EIoSxPGL/e/ohoMra5oZk5X/nOJqMizPzpe6/KQzPZ2hLx1T26c8oB2CJYCmEjIsT jG3QHtLb9rd8Ut58GKrU5HMXUKkv3DZz6gKQEOn5VWgNVxsIrzJ4W4xPy7GDOVT/iwWRODFb2 GwPV6mi4nA7u+Yx56wSW9gPMCcr3rnZGybtfhj8Hp3nP32xHD6PnJUu4h3j++BWRjsKR2CjGw pOVUWZYhSMUhJoIIKIq+lWRhdZNdOzTQDi3XwzRS4FDSsEWLKPO8uf0yTMbmECUFdjliORrUE JGqW1rwS0mgf/LJJ1mIvyEDKz65RvecXNLsEBSsA56mulvsvieupxGY+OoqY6CDpcP9l/foGp rteUKDfKSC7k9CWwAeN032B87uKvjGcTpes7MOTCLpqKNE15xNrha3dRzkt0k35dw1vA0Yfzu RFkGQ3o8N8coemGB8b9yMNSyPJlNjqJgSojnBP0c1wy59RxkmotoYagZ5zdSu3HyWv53PdQj7 liwdNO5d9pPVEpeQtVyEcsq12CCGiRvHU5FchjXVnUrKpAHVjoKmFWQk54pvbxfDXlik17pkv U3HY8wzhENWH5GnrbGHOyZF+FT5qMGeAM+mrRtfrrmxk0nvKOGrxZQ19JrCIQISHZgF9Doh X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.5 (---) >> IIUC GTK doesn't need the original frame. > > xg_hide_tooltip needs it, because the GTK tooltip widget is stashed > away in its output->data.x structure. Because =E2=80=98tooltip-show=E2=80=99 implicitly uses the selected frame= to decide where to show the tooltip and passes it as argument to =E2=80=98x-show-ti= p=E2=80=99. Nowhere in the documentation of tooltips we mention that dependency. > Once again, it would be better to have the GTK code completely > separated, IMO. Still I think we should first eliminate all tooltip related global variables. They are an unnecessary confusion - only think of last_show_tip_args impicitly also referring to a frame selected at some earlier time - and restriction - Emacs could easily show several native tooltips simultaneously, at least one for each display. martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Nov 2017 15:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: martin rudalics Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15106744497394 (code B ref 27647); Tue, 14 Nov 2017 15:48:01 +0000 Received: (at 27647) by debbugs.gnu.org; 14 Nov 2017 15:47:29 +0000 Received: from localhost ([127.0.0.1]:40343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEdQv-0001vC-Eg for submit@debbugs.gnu.org; Tue, 14 Nov 2017 10:47:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEdQt-0001ux-3D for 27647@debbugs.gnu.org; Tue, 14 Nov 2017 10:47:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEdQn-0000y8-32 for 27647@debbugs.gnu.org; Tue, 14 Nov 2017 10:47:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEdQj-0000wD-AB; Tue, 14 Nov 2017 10:47:17 -0500 Received: from [176.228.60.248] (port=3455 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eEdQi-0007wh-Ky; Tue, 14 Nov 2017 10:47:17 -0500 Date: Tue, 14 Nov 2017 17:47:25 +0200 Message-Id: <831sl0lv5e.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5A0ABCF0.3080007@gmx.at> (message from martin rudalics on Tue, 14 Nov 2017 10:52:48 +0100) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> <5A0ABCF0.3080007@gmx.at> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Tue, 14 Nov 2017 10:52:48 +0100 > From: martin rudalics > CC: npostavs@users.sourceforge.net, agrambot@gmail.com, > 27647@debbugs.gnu.org, kaushal.modi@gmail.com > > >> IIUC GTK doesn't need the original frame. > > > > xg_hide_tooltip needs it, because the GTK tooltip widget is stashed > > away in its output->data.x structure. > > Because ‘tooltip-show’ implicitly uses the selected frame to decide > where to show the tooltip and passes it as argument to ‘x-show-tip’. No, it's because x-show-tip _needs_ a frame on which to pop up the tooltip. And since tooltip-show doesn't accept a frame parameter, it uses the selected frame. But that's not why xg_hide_tooltip needs the frame, it needs the frame to get at the tooltip widget. > Nowhere in the documentation of tooltips we mention that dependency. Feel free to document that, but that's tangential to the issue being discussed. > > Once again, it would be better to have the GTK code completely > > separated, IMO. > > Still I think we should first eliminate all tooltip related global > variables. They are an unnecessary confusion - only think of > last_show_tip_args impicitly also referring to a frame selected at some > earlier time - and restriction - Emacs could easily show several native > tooltips simultaneously, at least one for each display. It would be better indeed to away with the global variables. I'm just saying that the mess with tip_frame on GTK could be solved even without getting rid of global variables. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Nov 2017 18:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151068418230379 (code B ref 27647); Tue, 14 Nov 2017 18:30:01 +0000 Received: (at 27647) by debbugs.gnu.org; 14 Nov 2017 18:29:42 +0000 Received: from localhost ([127.0.0.1]:40511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEfxu-0007tv-9u for submit@debbugs.gnu.org; Tue, 14 Nov 2017 13:29:42 -0500 Received: from mout.gmx.net ([212.227.17.20]:51766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEfxs-0007tf-Ua for 27647@debbugs.gnu.org; Tue, 14 Nov 2017 13:29:41 -0500 Received: from [192.168.1.100] ([46.125.250.11]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MfRnb-1eXi1O2sAd-00P9WA; Tue, 14 Nov 2017 19:29:25 +0100 Message-ID: <5A0B35FC.6060107@gmx.at> Date: Tue, 14 Nov 2017 19:29:16 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> <5A0ABCF0.3080007@gmx.at> <831sl0lv5e.fsf@gnu.org> In-Reply-To: <831sl0lv5e.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Tp71iTZCu1v5BExF10P1t7xhykmZrJtdROF9v2s274sUxY7Gpj8 dnMAEf1V8/JpCynmezfDfnLCECNktxs76QITNbFuvzGcBxHQmmw5lZEHkx8yJmZVycwxOhB 6LkXcInf2gpOK3ABOinhI1PGivZNx9mEx1gHRk7ki6DGFrg1YGa+JfBxeTvHb92oAzkzAiT y029h8weV/6HinxP4v4mQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:H7khOH078jg=:uJG10VWJyuPdZgCBVRyMDE g4VzmZs9AX1z5GwS292wFRwgqUQ4Yqkaje68nF+NVt0nCkCcCF6xIpcwzxNT9j3iezTVTjfmX GzWVxRWeZmZuJLpAGFxAQ7oDACBp7tOiCdFXk/YgwNlOOFtoThZvnHwX8pCobYNVwPtyVPdY8 wadTtku9C5ER1B+U8Gk2CiTKMfZ/RGEaBrL3fO40Y/FplT4m82UdFdMw82zTaaFlqmR/Odpkl G75je+hq1pMkZr85r0xbDY+tXagIItD4H9DiXNiApX1DEVdnlqszfHXgA8X3FdHNeRXljo3dZ h78Ca0DIhflPjtL+j55CVoU7whXTfdP5XGQqlho2NyevQGUiOgbxVCrYsvjPe/yVWgLopA4Xs YZ9wA9UZjHSmiruMgO943vZxPIwNdWnEdaeysZGN+u4OOONLnTs0oV037NJA8K5JUmQSLJWPr LbdgFVl3WjCYOmFYUJ7eW3EEmFnUc9wJ8+3omdlHGyASr81RR8jRuI5wA49KxXqWem1P/l8xh +myUUbFGgKXv/smLsg7bLKTf/biEF/LU7FLauVJUpAkmNtTkzoPqZCtIH14+1kqddAJsJK59V yfmzzGa/LX+opEFfLP6uw9NjwblpYLfYFE0spGxFau7XqRyO+/AWBGgSXfI5W1bhgVY5RGTQG GiRJvmfd1P9P+bn2qpmiJmbbw0rmMoBut2mLDumwdhyPOQYD/e/im/M2bvtrLXcwT5QYT03AJ BgZQ/m4PxxQ9NBssuAGaRPnjQs9vWKVGvk3esGZe8HrkI1wz3goIt0ocQZhcDTJBUwjfbXbO6 VhTsKYqkzs3i5nEXdmsN2dXdBWrMbeZicWeKNwUc+4suEBvllw= X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.5 (---) > No, it's because x-show-tip _needs_ a frame on which to pop up the > tooltip. Only to pass a display info to x_create_tip_frame and to do the last_frame rigmarole. But I do not anywhere see a dependency that would trigger the deletion of a tip frame when the frame on which it popped up gets deleted. So passing the frame is inherently needed only for the sake of xg_show_tooltip, xg_hide_tooltip and xg_free_frame_widgets. Or am I missing something? martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Nov 2017 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: martin rudalics Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15106861911101 (code B ref 27647); Tue, 14 Nov 2017 19:04:02 +0000 Received: (at 27647) by debbugs.gnu.org; 14 Nov 2017 19:03:11 +0000 Received: from localhost ([127.0.0.1]:40551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEgUJ-0000Hh-JI for submit@debbugs.gnu.org; Tue, 14 Nov 2017 14:03:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEgUH-0000HT-3G for 27647@debbugs.gnu.org; Tue, 14 Nov 2017 14:03:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEgU6-0000Nf-9l for 27647@debbugs.gnu.org; Tue, 14 Nov 2017 14:03:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEgU2-0000Iu-Id; Tue, 14 Nov 2017 14:02:54 -0500 Received: from [176.228.60.248] (port=3955 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eEgU0-0007Oy-L5; Tue, 14 Nov 2017 14:02:54 -0500 Date: Tue, 14 Nov 2017 21:02:51 +0200 Message-Id: <83k1ysk7j8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5A0B35FC.6060107@gmx.at> (message from martin rudalics on Tue, 14 Nov 2017 19:29:16 +0100) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> <5A0ABCF0.3080007@gmx.at> <831sl0lv5e.fsf@gnu.org> <5A0B35FC.6060107@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Tue, 14 Nov 2017 19:29:16 +0100 > From: martin rudalics > CC: npostavs@users.sourceforge.net, agrambot@gmail.com, > 27647@debbugs.gnu.org, kaushal.modi@gmail.com > > > No, it's because x-show-tip _needs_ a frame on which to pop up the > > tooltip. > > Only to pass a display info to x_create_tip_frame and to do the > last_frame rigmarole. Like with any other frame we create, no? Besides, GTK needs the frame to stash away the widget. > But I do not anywhere see a dependency that would trigger the > deletion of a tip frame when the frame on which it popped up gets > deleted. x-show-tip starts a timer that calls x-hide-tip when the timer expires. And x-hide-tip deletes the tip frame. > So passing the frame is inherently needed only for the > sake of xg_show_tooltip, xg_hide_tooltip and xg_free_frame_widgets. Or > am I missing something? And for the rigmarole. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Nov 2017 09:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151073777221010 (code B ref 27647); Wed, 15 Nov 2017 09:23:01 +0000 Received: (at 27647) by debbugs.gnu.org; 15 Nov 2017 09:22:52 +0000 Received: from localhost ([127.0.0.1]:40968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEtuG-0005Sn-8Y for submit@debbugs.gnu.org; Wed, 15 Nov 2017 04:22:52 -0500 Received: from mout.gmx.net ([212.227.17.21]:59877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEtuE-0005Sa-E0 for 27647@debbugs.gnu.org; Wed, 15 Nov 2017 04:22:51 -0500 Received: from [192.168.1.100] ([46.125.250.53]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MPUFR-1eJajD08Wn-004lRV; Wed, 15 Nov 2017 10:22:34 +0100 Message-ID: <5A0C0750.10202@gmx.at> Date: Wed, 15 Nov 2017 10:22:24 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> <5A0ABCF0.3080007@gmx.at> <831sl0lv5e.fsf@gnu.org> <5A0B35FC.6060107@gmx.at> <83k1ysk7j8.fsf@gnu.org> In-Reply-To: <83k1ysk7j8.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:ZpQ4iCjdwcwC/vpE5RxueJe0bHnAkRD+rwq4BiGWdZpWp2zyJ71 L6gSHETMfZziiOKA0CRh9Blj7xSvq14a4/owLct88brhmsdGRhsy510A86508Kjb/5USW8L t+GNFvJxZGrotAuRNU7XqplPVNPKD39wCZGGiMCENXi1SURBlbqdb8lF6QdfyaU6ktTUTxI xDcKQ4rqMvqqdBke/krQQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:YzJr3oaYvtU=:MNme0aer0e8OshmmMw/P0x 8P3LimJFN52Hs2iN05V/nh2oWRco03lb2UdmJ+MpJRb70rDYdsP9kYxNRH16VNTvaxVWot0L4 gIuAsJkYPfehBXM4TUV6es94ByidNG3RUtb1UYlfeYvM78aklRXXUPd6yiVbb80zSgYjclukz giYcyB+GWG6XytoKDv4f/q2Vr/wvEyuMe6ztJTgfRskVdTgkFFJywiz64R6JHL7Edkf0A2bm8 xd0+ixfIaNlGneFh7rjt6QHg5N6JKrj++hzEz7+USvKuzaJjhkiJPbvdxZgQ2dAsclNHSrlaq GmLjgq32pD0VGycD7aoebobDxePXMov1GcWLKJ1WlwzFqgEdK2VoZXpTxXyXPriPymP3MJVd+ WFgt5vqz6/ZqFBH12ENnFTWWLzJf9RQPrTaS8/u5BRfFMqmMMy+x87LICt/aFLJQYbby/ylEQ nWPAPX08gGdqKprwpm59CC/NHYn8yL3OzFWXnkJCLds4OaMN2L4Kgfu+5rO3/hothX2WKztpf Oe5kIruskiKxNDAFLLTfrSBsBu36CWlunUZDcRbvvvpwVaqu3y6l+5u7OlI5XLO96xyXsjNfL DfrVoBoQyXS9vfxqQmgW57QLNA0iOpXbWNczt1v0hZLOM5VU/5Umv8nqNu1wtao1ZtL6F+RW+ ZWhJ2s8zbQ5kzzn3yWB85XKWWmaqSdJhv+Rk+pDaFh7f2RK3G0t9Q5TXn+rqpVywzk3KKAsJ8 JDo3e3Zc2py3cbhlk2GpMaz4D1r1HxDibYFqyhcyZSYc88QtfX31Za0YO4Z2C68tYJ8TnrYjS 6OJ8arqCNnvUNUfG6nKqrUGUOMaRjULN6KWmwpTCnSyWL5/29umhm0ThDaJKwVkLqb8CDDj X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.7 (/) >> > No, it's because x-show-tip _needs_ a frame on which to pop up th= e >> > tooltip. >> >> Only to pass a display info to x_create_tip_frame and to do the >> last_frame rigmarole. > > Like with any other frame we create, no? I once thought of doing away with x_create_tip_frame, putting all tooltip specific parameters into =E2=80=98tooltip-frame-parameters=E2=80=99= and let people shoot themselves in their feet when overriding them. Might be still worth the hassle. > Besides, GTK needs the frame to stash away the widget. That's a vice of GTK. We should cure that. >> But I do not anywhere see a dependency that would trigger the >> deletion of a tip frame when the frame on which it popped up gets >> deleted. > > x-show-tip starts a timer that calls x-hide-tip when the timer > expires. And x-hide-tip deletes the tip frame. I was thinking of a scenario like ... (let ((tooltip-hide-delay 1000) (frame (make-frame))) (select-frame frame) (tooltip-show ".....") (delete-frame frame)) =2E.. but try for yourself. Unless you have a better idea I'll make x_create_tip_frame call make_frame_without_minibuffer. Any clues why the above doesn't crash Emacs <=3D 24? >> So passing the frame is inherently needed only for the >> sake of xg_show_tooltip, xg_hide_tooltip and xg_free_frame_widgets. = Or >> am I missing something? > > And for the rigmarole. I'll try to get rid of that. martin From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Nov 2017 10:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151074034124798 (code B ref 27647); Wed, 15 Nov 2017 10:06:01 +0000 Received: (at 27647) by debbugs.gnu.org; 15 Nov 2017 10:05:41 +0000 Received: from localhost ([127.0.0.1]:40994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEuZh-0006Ru-1k for submit@debbugs.gnu.org; Wed, 15 Nov 2017 05:05:41 -0500 Received: from mout.gmx.net ([212.227.17.20]:51035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEuZe-0006Rf-2c for 27647@debbugs.gnu.org; Wed, 15 Nov 2017 05:05:38 -0500 Received: from [192.168.1.100] ([46.125.250.53]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MGWR2-1eS7yk3zxA-00DDej; Wed, 15 Nov 2017 11:05:23 +0100 Message-ID: <5A0C1159.5030507@gmx.at> Date: Wed, 15 Nov 2017 11:05:13 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> <5A0ABCF0.3080007@gmx.at> <831sl0lv5e.fsf@gnu.org> <5A0B35FC.6060107@gmx.at> <83k1ysk7j8.fsf@gnu.org> <5A0C0750.10202@gmx.at> In-Reply-To: <5A0C0750.10202@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:NT4jqF5RPc258hBau6It7Gwknvxddcj2UGYg/qs1EZsSaI6y/2Z Eabv0ZeaMI6nasaNATBhBRElIoA+2MjCRVHaLhPA3Ovhj/xZXIXztyS0yiUz6crAqAtWiJ8 8q1kHe4I4OY9uS9KZRaXR6TYSEPPq2gjYz95FJfJilDY+TchJ2AufhjwJZnNWiUc39cqv7i 80tk91v6RL9wim5TsPTyA== X-UI-Out-Filterresults: notjunk:1;V01:K0:RkFeeelgBvE=:L/HX/IHTxdO4Jlo0GMpkl6 M4y6rJJKpzqsCTPNWxvvGq9foXwq6Pofk5VYu47Qoli+VlCa0owhFy2QFgHk0lIt7wysuLuic hZqZRsa5T+aksFXHrqlA+ERmOlXg4dJjUubtQ2xdUNYPCnqGig9UORRX156ltuXEeF5aBQbWn Igp69a44Hh5cwrbxSvAQzkl/trNIQTGh2ETWYszM3F8W568jRFKQzc+0MZXJyqThj7orcIdcF 8ITn/BPCwMRV9lZkvX09ZkSaUdEtqE5LJHX5IEWZ7DMEF8DgdRMsxBxlco1BxTvErEF6Ku0ri YfZp0ScNtMIr7BvELgng5tE2JaZn07t3rRTm2/sNyM+aBKCEI6Pq+LRhAGl+HaMheFbqjSMR7 L6MO1xLAXrrkXtDHW2EA8xWk/JMjsq0A5v9fLg+CHz60HHFC4tGfVYuiYsmt5BJq5qa6XSOLF pYVRmChrFky0GOcUDSLWZxGPa3PLFmeCTQqFHwd8pUWspsggLGgnY7T3/zm+5LjRtb2w7/SaG XanpegVieNlSwaYKhSGb01GeP397KOt8+CmlMSwb8nZK5vKm3nHSj5aZXT9tDS6j/bCswhkTh 3Z6MUQrTBu9jPfJ49LptUyGvSpBnc0QSnf9TZDhDrPikBbm/7gj86XBqNb4fTxwPGSBGpNrmZ kUwTMqHYu17dAPHiu/nPCJUQHusGAIgm/AZJvGrOpu21YBpe9Syy3r5P78LAergx3ZD8VeqEA ejpmNrxZNncybuC7v3RCho1LngSWDJ7hqftT/D7R/3Y3LQEmW0yZovPt2DUTxKqrtEKuDB2FG yOuH9KrUNw94rhW5Av0WadY7unyLNw4E/iVu64y5wt+9YJJIaGDIEQ1Mu242lg12mlV0Idg X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.7 (/) > (let ((tooltip-hide-delay 1000) > (frame (make-frame))) > (select-frame frame) > (tooltip-show ".....") > (delete-frame frame)) > > ... but try for yourself. Unless you have a better idea I'll make > x_create_tip_frame call make_frame_without_minibuffer. The below seems to fix it and should be used anyway. Still someone might want to select a tooltip frame ... martin --- a/src/frame.c +++ b/src/frame.c @@ -1916,6 +1916,7 @@ of them (the selected terminal frame) is actually displayed. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=15025. */ FOR_EACH_FRAME (tail, frame1) if (!EQ (frame, frame1) + && NILP (Fframe_parameter (frame1, Qtooltip)) && (FRAME_TERMINAL (XFRAME (frame)) == FRAME_TERMINAL (XFRAME (frame1))) && FRAME_VISIBLE_P (XFRAME (frame1))) @@ -1926,7 +1927,9 @@ of them (the selected terminal frame) is actually displayed. { FOR_EACH_FRAME (tail, frame1) { - if (! EQ (frame, frame1) && FRAME_LIVE_P (XFRAME (frame1))) + if (!EQ (frame, frame1) + && FRAME_LIVE_P (XFRAME (frame1)) + && NILP (Fframe_parameter (frame1, Qtooltip))) { /* Do not change a text terminal's top-frame. */ struct frame *f1 = XFRAME (frame1); From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Nov 2017 11:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: martin rudalics Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.15110054189347 (code B ref 27647); Sat, 18 Nov 2017 11:44:02 +0000 Received: (at 27647) by debbugs.gnu.org; 18 Nov 2017 11:43:38 +0000 Received: from localhost ([127.0.0.1]:45610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eG1X8-0002Qh-HJ for submit@debbugs.gnu.org; Sat, 18 Nov 2017 06:43:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eG1X7-0002QT-3i for 27647@debbugs.gnu.org; Sat, 18 Nov 2017 06:43:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eG1Wy-0000x7-Mm for 27647@debbugs.gnu.org; Sat, 18 Nov 2017 06:43:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eG1Wi-0000nA-OV; Sat, 18 Nov 2017 06:43:12 -0500 Received: from [176.228.60.248] (port=4669 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eG1Wh-0004lg-Om; Sat, 18 Nov 2017 06:43:12 -0500 Date: Sat, 18 Nov 2017 13:42:58 +0200 Message-Id: <83po8fg6d9.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5A0C1159.5030507@gmx.at> (message from martin rudalics on Wed, 15 Nov 2017 11:05:13 +0100) References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> <5A0ABCF0.3080007@gmx.at> <831sl0lv5e.fsf@gnu.org> <5A0B35FC.6060107@gmx.at> <83k1ysk7j8.fsf@gnu.org> <5A0C0750.10202@gmx.at> <5A0C1159.5030507@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > Date: Wed, 15 Nov 2017 11:05:13 +0100 > From: martin rudalics > CC: 27647@debbugs.gnu.org, npostavs@users.sourceforge.net, > agrambot@gmail.com, kaushal.modi@gmail.com > > > (let ((tooltip-hide-delay 1000) > > (frame (make-frame))) > > (select-frame frame) > > (tooltip-show ".....") > > (delete-frame frame)) > > > > ... but try for yourself. Unless you have a better idea I'll make > > x_create_tip_frame call make_frame_without_minibuffer. > > The below seems to fix it and should be used anyway. Still someone might want > to select a tooltip frame ... I installed another defense, but your proposed patch looks reasonable regardless, so I think you should install it. Thanks. From unknown Fri Aug 15 20:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Nov 2017 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, agrambot@gmail.com, npostavs@users.sourceforge.net Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.151102956727141 (code B ref 27647); Sat, 18 Nov 2017 18:27:02 +0000 Received: (at 27647) by debbugs.gnu.org; 18 Nov 2017 18:26:07 +0000 Received: from localhost ([127.0.0.1]:46552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eG7oc-00073g-IO for submit@debbugs.gnu.org; Sat, 18 Nov 2017 13:26:06 -0500 Received: from mout.gmx.net ([212.227.17.22]:64402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eG7ob-00073D-73 for 27647@debbugs.gnu.org; Sat, 18 Nov 2017 13:26:05 -0500 Received: from [192.168.1.100] ([46.125.249.118]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lo3IS-1enEdq0MDQ-00g18G; Sat, 18 Nov 2017 19:25:50 +0100 Message-ID: <5A107B29.7080701@gmx.at> Date: Sat, 18 Nov 2017 19:25:45 +0100 From: martin rudalics MIME-Version: 1.0 References: <83eftnitpj.fsf@gnu.org> <87inekjzy8.fsf@gmail.com> <87efp8jznq.fsf@gmail.com> <87shdo4150.fsf@users.sourceforge.net> <5A0403B7.3080309@gmx.at> <83shdnqwbw.fsf@gnu.org> <5A049A30.5000802@gmx.at> <83a7zvqilp.fsf@gnu.org> <5A081D9C.1000602@gmx.at> <83o9o7n2y8.fsf@gnu.org> <5A09E854.1000402@gmx.at> <83lgjakn6t.fsf@gnu.org> <5A0ABCF0.3080007@gmx.at> <831sl0lv5e.fsf@gnu.org> <5A0B35FC.6060107@gmx.at> <83k1ysk7j8.fsf@gnu.org> <5A0C0750.10202@gmx.at> <5A0C1159.5030507@gmx.at> <83po8fg6d9.fsf@gnu.org> In-Reply-To: <83po8fg6d9.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8ffMtUJdXGXonl3CeU6N8I0iwgCgYQAycOMFrSlRGaLw8nn3XRk t4acDnNYqaEePXlvm5Gwsi4tDXvkIX2aXQv9HumjXgpKBseiT8UHhtamJf/jbmT0K8Lo0Y7 K06ATasoWLg0mgByNDACiXIM4AW4Zwtm7bCK670CFpbwQmxErqyUz/Xq95cf3VjMv+47JeX gl6Fo4N+IKSADWnrfNdCw== X-UI-Out-Filterresults: notjunk:1;V01:K0:KRe8xn33ezI=:gvx1yjR8NWctdPRCtT79jB 7vJdWO8u8rOcRgVkXxWiUA3wVToQus5iN1FII7ZLdaZcMmVtrYXTOl5ylCO6y8YedjYAHBdZV AoViyqG3G1Mg4JW094T4VjR0GjDQvaxOyG317nkpKEC+q45kKygNyb6Hf26m24AjKfEXtR07q Hw6+gKlEyGmp65922oj8lOFm6/2jQzGVobSjFfnCNAHHT0S5XzEW8EYvjXt6GLsVGnUzAJ5tV l+OCki4w2EeUVpUO6mEAYrxeuWysPrqr4FMHC5oFRjwxk62whcjNGL5HVMqMP8K2kTmedGDjY SH6+YSfZSTHGIIKuhh8IeAbByVnrC6aftZmlLrufRXs4OKAOTbEg4PKblw+gokrhwvyq41uXA Zi1zGT8Kwwop1wVAZX6DN68Q9pi6Rj9Q1oL20PUVJasnII4/LocPbBa1FuD18jScfxzAM741+ SuQqO9lifjCBXTLLBf/bUhWcmhFWs2ErXGQ2nQmRjt6iJrXDnPj4R7yhuUVJ/DTowww62CNFI gI9y1BAIYH3PtyyvR3vOvX2Wn7HypSrBnHWR3SNAI5lwDLvRII5lmTNer/ThzyfpflXKvKxM4 31lbdA1rZOY08N8U0hp1OJILOG1T+oahksy9O5MJ6xAJfP8QVASdGr0irl91aOBIrRW1uqVp+ OATH6NrW/oyg5Y39v25HyWcAK8N1ewvRal9NsoT9zd6XFiLDyitPnd+AqmtsDi51LmNkot0Nu pUbR4XNSEy1J4WHDOAOuGtqIm3DvkO6tFwD2nZJgtRqgNGa6I6hKthYVbKPNvh1T82K+h9KpF qJwsPCRf3GWJdcIacbf/9LCtTGNrFwJWTPAinTcRzWSGXjryFiW8CDTSLeYhOGiGQkf4xr1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.7 (/) > I installed another defense, ... which is stronger indeed ... > but your proposed patch looks reasonable > regardless, so I think you should install it. Done. Thanks, martin