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 #56 received at 13583 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 13583 <at> debbugs.gnu.org, monnier <at> IRO.UMontreal.CA
Subject: Re: bug#13583: 24.3.50; Error when activating auto-revert-mode
Date: Tue, 29 Jan 2013 19:48:26 +0200
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  13583 <at> debbugs.gnu.org
> Date: Tue, 29 Jan 2013 17:06:10 +0100
> 
> Stefan Monnier <monnier <at> IRO.UMontreal.CA> 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.

Anyway, if ":initialize 'custom-initialize-default" is such a
wonderful feature that everyone wants, why isn't it the default, and
why does the user of defcustom need to opt-in it?




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.