From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gustavo Tavares Cabral Newsgroups: gmane.emacs.bugs Subject: bug#42271: 27.0.91; Variable global-auto-revert-ignore-modes not working Date: Wed, 8 Jul 2020 15:16:56 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009df7aa05a9f21ddd" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38765"; mail-complaints-to="usenet@ciao.gmane.io" To: 42271@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 08 20:18:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jtEe7-0009wu-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jul 2020 20:18:16 +0200 Original-Received: from localhost ([::1]:52422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtEe5-00052B-Ts for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jul 2020 14:18:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtEdu-000521-Fu for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2020 14:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtEdu-0002rS-6l for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2020 14:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtEdu-0004aP-0m for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2020 14:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gustavo Tavares Cabral Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jul 2020 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42271 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159423223517575 (code B ref -1); Wed, 08 Jul 2020 18:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jul 2020 18:17:15 +0000 Original-Received: from localhost ([127.0.0.1]:39023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtEd8-0004ZO-Eq for submit@debbugs.gnu.org; Wed, 08 Jul 2020 14:17:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtEd6-0004ZG-A7 for submit@debbugs.gnu.org; Wed, 08 Jul 2020 14:17:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtEd6-0004xg-2D for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2020 14:17:12 -0400 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:41212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtEd4-0002lM-0f for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2020 14:17:11 -0400 Original-Received: by mail-ed1-x52c.google.com with SMTP id e22so42573097edq.8 for ; Wed, 08 Jul 2020 11:17:09 -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=YWtVrxskOWq1bAqOs0wC4+/7Ie41SgVLRLN3Jfj5Hjw=; b=rEb1HVICYhkdZNfvn9nB9UsKtp4jf5Pw6djzP9Uin4gO1O3wET7ZaDlwOe5e4u17mI lE9K2JEj89C0VxwqP0cSd+4mbFlxwnw/Oq/arhM+sQHcgdJqsNDUf+fbBXTAlyzbFkdc mCF/jbNmuXMOktWb7K8w/1HpKNY7+wOmAKDFbSweeD6+WWolqDguMWvAqsBxRJZ/TrQh rUj+hfpBPoHbUC6lxyTLyUHFaoHh9TNuI9db6HzOkTHB93LlSNOwlum4wmtnSd/aEnTC DP7MZyZrD6z7zPKlSAlRjUK5QWLZbAkjaKPiXgar8ejXvu0TMKiOIy1O9VwoPK6hTjjk esPg== 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=YWtVrxskOWq1bAqOs0wC4+/7Ie41SgVLRLN3Jfj5Hjw=; b=r2pAxw8b6I9sY5au8tlc+ImBR4LmbwnHt5m/Ffo+rWZDKCnmntqv0IcJPvErRcvum/ NkfcLdORTaAmqnQXP/XS73lZ5cbgGRhctc4ASk2gohvwi3Ztu8LI43N1ANwrho+XP2kG ygs9G2OM6Fkl5o52IqQ/yGlEMxw2YVE+sZERs9QEk1yZiYJE1VXRXbpGfERHA67+5HVI GDRna8BTTpEc3GTKcUaFPf2qS9Asxyxcbj7z9jd/3PkDzZuYv0YG0fkpq//ACaJZyl9s WXLcenKSLEjt6UdfaHteNUnn7uL9ud1L3pdAIFNKdHzeiOdilS1KNFgO4RI6YM57wzHz mc+A== X-Gm-Message-State: AOAM533YTYSvMqfzeqKA74Gx5w+YVe5cy+xFCLDzKGhTgTtlWyfCu/zs mO/5cr6ZcPQziKNyMfAygzZJ+qKCOH728O+vwn5wTzkG4uA= X-Google-Smtp-Source: ABdhPJwu5aNPdsUdLU++hQGMwoOEOo46AWvLM8CRUPoR494LKvrSN64EsKhWw17tuxkdLqVHFQBeOyLj0FI2wXxK2bo= X-Received: by 2002:a50:d908:: with SMTP id t8mr15040816edj.373.1594232227624; Wed, 08 Jul 2020 11:17:07 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=gustavotcabral@gmail.com; helo=mail-ed1-x52c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182848 Archived-At: --0000000000009df7aa05a9f21ddd Content-Type: text/plain; charset="UTF-8" The variable global-auto-revert-ignore-modes is not working anymore (it was working with Emacs 26.3). I've fixed the bug by removing the apostrophe character of the following line (file: autorevert.el, function: auto-revert--global-add-current-buffer): (not (memq 'major-mode global-auto-revert-ignore-modes)) Steps to reproduce: (progn (require 'autorevert) (setq global-auto-revert-ignore-modes (list 'Buffer-menu-mode)) (setq global-auto-revert-non-file-buffers t) (global-auto-revert-mode t) (list-buffers)) In GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.16.0) of 2020-07-04 built on gustavo-Lenovo-ideapad-330-15IKB Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 18.04.4 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. # Mark set Making completion list... Scanning for dabbrevs...done Type C-x 1 to delete the help window. Configured using: 'configure --with-x-toolkit=gtk3 --with-modules --with-sound=yes --with-file-notification=yes --with-mailutils --with-cairo' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP Important settings: value of $LANG: pt_BR.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: global-auto-revert-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr pp cl-print cl-extra thingatpt help-fns radix-tree help-mode dabbrev emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils autorevert filenotify cl-loaddefs cl-lib 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 54950 31553) (symbols 48 6444 2) (strings 32 19050 1937) (string-bytes 1 575717) (vectors 16 10323) (vector-slots 8 135740 9174) (floats 8 35 22) (intervals 56 354 130) (buffers 1000 16)) --0000000000009df7aa05a9f21ddd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The variable global-auto-revert-ignore-modes is not working anymore (it
was working with Emacs 26.3). I've fixed the bug by removing the apostr= ophe character of the
following line (file: autorevert.el, function: auto-revert--global-add-curr= ent-buffer):

=C2=A0 (not (memq 'major-mode global-auto-revert-ignore-modes))


Steps to reproduce:

(progn
=C2=A0 (require 'autorevert)
=C2=A0 (setq global-auto-revert-ign= ore-modes (list 'Buffer-menu-mode))
=C2=A0 (setq global-auto-revert-non-file-buffers t)
=C2=A0 (global-auto-revert-mode t)
=C2=A0 (list-buffers))





In GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, c= airo version 1.16.0)
of 2020-07-04 built on gustavo-Lenovo-ideapad-330-15IKB
Windowing system distributor 'The X.Org Foundation', version 11.0.1= 2008000
System Description: Ubuntu 18.04.4 LTS

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
#<window 7 on *Buffer List*>
Mark set
Making completion list...
Scanning for dabbrevs...done
Type C-x 1 to delete the help window.

Configured using:
'configure --with-x-toolkit=3Dgtk3 --with-modules --with-sound=3Dyes
--with-file-notification=3Dyes --with-mailutils --with-cairo'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER LCMS2
GMP

Important settings:
value of $LANG: pt_BR.UTF-8
locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
global-auto-revert-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr pp cl-print cl-extra thingatpt help-fns
radix-tree help-mode dabbrev emacsbug message rmc puny dired
dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache
epa derived epg epg-config gnus-util rmail rmail-loaddefs
text-property-search time-date subr-x seq byte-opt gv bytecomp
byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils autorevert filenotify cl-loaddefs cl-lib
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 tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer 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
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 threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 54950 31553)
(symbols 48 6444 2)
(strings 32 19050 1937)
(string-bytes 1 575717)
(vectors 16 10323)
(vector-slots 8 135740 9174)
(floats 8 35 22)
(intervals 56 354 130)
(buffers 1000 16))

--0000000000009df7aa05a9f21ddd--