bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13583: 24.3.50; Error when activating auto-revert-mode


From: Eli Zaretskii
Subject: 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@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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]