GNU bug report logs - #13583
24.3.50; Error when activating auto-revert-mode

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 29 Jan 2013 11:01:02 UTC

Severity: normal

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 13583 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 13583 <at> debbugs.gnu.org
Subject: Re: bug#13583: 24.3.50; Error when activating auto-revert-mode
Date: Tue, 29 Jan 2013 13:10:47 +0200
> Date: Tue, 29 Jan 2013 11:59:43 +0100
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> 
> Recipe from "emacs -Q":
> 1. Eval: (setq auto-revert-use-notify nil)
> 2. Visit some file.
> 3. M-x auto-revert-mode RET
> 
> When I do it, my Emacs fails with this message:
>    custom-initialize-reset: Symbol's value as variable is void:
> auto-revert-notify-watch-descriptor
> 
> and auto-revert-mode is not activated.

Cockipt error.  The doc string clearly says

    "If non-nil Auto Revert Mode uses file notification functions.
  This requires Emacs being compiled with file notification
  support (see `auto-revert-notify-enabled').  You should set this
  variable through Custom only."               ^^^^^^^^^^^^^^^^^^^
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That's because this defcustom has a :set function defined for it; if
that function isn't run, the results are unpredictable.

Any reason not to close this bug?




This bug report was last modified 12 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.