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: Michael Albinus
Subject: bug#13583: 24.3.50; Error when activating auto-revert-mode
Date: Wed, 30 Jan 2013 08:28:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> >> 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?
>> >
>> > It should be possible to have (setq auto-revert-use-notify nil) in your
>> > .emacs and not use Custom.
>> 
>> I've added
>> 
>>   :initialize 'custom-initialize-default
>> 
>> to that defcustom. That seems to do the job.
>
> Thanks, but the doc string still says one needs to use Customize.

The docstring says "You should set this variable through Custom only."
"Should" is not too restrictive, I believe.

Best regards, Michael.





reply via email to

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