From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Newsgroups: gmane.emacs.bugs Subject: bug#20441: 24.5; Auto revert mode does not work Date: Mon, 27 Apr 2015 21:01:19 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113a789a3c3fa40514bb0cf6 X-Trace: ger.gmane.org 1430168622 30013 80.91.229.3 (27 Apr 2015 21:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 21:03:42 +0000 (UTC) To: 20441@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 27 23:03:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YmqBM-00053S-RG for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 23:03:13 +0200 Original-Received: from localhost ([::1]:57631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmqBM-0002qX-A0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 17:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmqAK-0000rE-JM for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 17:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmqAF-0001lh-HR for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 17:02:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmqAF-0001k3-DT for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 17:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YmqAE-0002TD-V5 for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 17:02:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Apr 2015 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20441-submit@debbugs.gnu.org id=B20441.14301684928416 (code B ref 20441); Mon, 27 Apr 2015 21:02:02 +0000 Original-Received: (at 20441) by debbugs.gnu.org; 27 Apr 2015 21:01:32 +0000 Original-Received: from localhost ([127.0.0.1]:41625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymq9g-0002BC-Ps for submit@debbugs.gnu.org; Mon, 27 Apr 2015 17:01:29 -0400 Original-Received: from mail-yh0-f52.google.com ([209.85.213.52]:32795) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymq9d-00028K-QF for 20441@debbugs.gnu.org; Mon, 27 Apr 2015 17:01:27 -0400 Original-Received: by yhcb70 with SMTP id b70so21353690yhc.0 for <20441@debbugs.gnu.org>; Mon, 27 Apr 2015 14:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=yfwXHJUkCqLBvjqnsj3NiaY/slIN4kPd8U2TSa2FBSY=; b=FQWUJU8/1o8TGHAVZHihC1gYw3HdfiXbHXxYWrmuU3K04csETKcSvxnmkdpkhGz8tk PTakptvkiqFBoj8uSaJb+i3VUA1uAbV1FY9pvEWSeBA/yatPMlnor5lJ2gFeOzLenF1y FytCeVH/NB2Fwev+742dA6WgQRvtYKE78sr/LNVqTRnOotVyFiZFfgA45VxJoTNLJ/jh K8ECgIKHvIhCGL8XSGpQs4SOo18DmqHsDcUPE+sYsFGaTc7j4LPpoFFmJwBc1cntrB5z oWsRHgpLfmLoKEBgTxqoHgu3v65rNNZ+ZHKg7WYUhKZGjhMW+uMIFsJgDZVTZWy+V7Lc uOUw== X-Received: by 10.170.83.5 with SMTP id z5mr2728453ykz.117.1430168480266; Mon, 27 Apr 2015 14:01:20 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102115 Archived-At: --001a113a789a3c3fa40514bb0cf6 Content-Type: text/plain; charset=ISO-8859-1 Some more info, When I do `C-h v auto-revert-use-notify` in that file buffer in emacs 24.4, I get auto-revert-use-notify is a variable defined in `autorevert.el'. Its value is nil Original value was t Local in buffer abcd.txt; global value is t But in emacs 24.5, the same `C-h v` shows auto-revert-use-notify is a variable defined in `autorevert.el'. Its value is t It's unclear to me what's changing the local value of `auto-revert-use-notify` to `nil` in an emacs -Q session on emacs 24.4. And as the effective value of that var in that buffer is nil, auto reverting works in emacs 24.4 right away without having to manually change the value of that var to nil. On Mon, Apr 27, 2015 at 4:48 PM Kaushal wrote: > After doing `M-x global-auto-revert-mode` in an emacs -Q session, if I > eval `(setq auto-revert-use-notify nil)`, auto revert starts working as > before (in emacs 24.4). > > (Thanks to this comment on emacs.SE: > http://emacs.stackexchange.com/questions/10966/global-auto-revert-mode-doesnt-seem-to-work#comment17031_10966 > ) > --001a113a789a3c3fa40514bb0cf6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Some more info,

When I do `C-h v auto-revert-use-no= tify` in that file buffer in emacs 24.4, I get

auto= -revert-use-notify is a variable defined in `autorevert.el'.
= Its value is nil
Original value was t
Local in buffer a= bcd.txt; global value is t

But in emacs 24.5= , the same `C-h v` shows

auto-revert-use-noti= fy is a variable defined in `autorevert.el'.
Its value is t

It's unclear to me what's changing th= e local value of `auto-revert-use-notify` to `nil` in an emacs -Q session o= n emacs 24.4. And as the effective value of that var in that buffer is nil,= auto reverting works in emacs 24.4 right away without having to manually c= hange the value of that var to nil.


On Mon, Apr 27, 2015 at 4:48 PM Kaushal <kaushal.modi@gmail.com> wrote:
After doing `M-x global-auto-rev= ert-mode` in an emacs -Q session, if I eval `(setq auto-revert-use-notify n= il)`, auto revert starts working as before (in emacs 24.4).

<= div>(Thanks to this comment on emacs.SE:=A0http://emacs.stackexchange.com/questions/1= 0966/global-auto-revert-mode-doesnt-seem-to-work#comment17031_10966)
--001a113a789a3c3fa40514bb0cf6--