From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#13583: 24.3.50; Error when activating auto-revert-mode Date: Tue, 29 Jan 2013 13:18:58 +0100 Message-ID: References: <83ehh4i6rs.fsf@gnu.org> <83d2woi43u.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1359466276 5161 80.91.229.3 (29 Jan 2013 13:31:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jan 2013 13:31:16 +0000 (UTC) Cc: 13583@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 29 14:31:36 2013 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 1U0BHi-0000BU-Ei for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jan 2013 14:31:34 +0100 Original-Received: from localhost ([::1]:58982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0BHQ-0002sY-7y for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jan 2013 08:31:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0BHJ-0002cc-Uv for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2013 08:31:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0BHF-0007K7-3e for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2013 08:31:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0AA0-0003aP-Bh for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2013 07:19:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U0AAU-0000bJ-S0 for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2013 07:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Jan 2013 12:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13583 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13583-submit@debbugs.gnu.org id=B13583.13594619732252 (code B ref 13583); Tue, 29 Jan 2013 12:20:02 +0000 Original-Received: (at 13583) by debbugs.gnu.org; 29 Jan 2013 12:19:33 +0000 Original-Received: from localhost ([127.0.0.1]:53789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0AA0-0000aG-HZ for submit@debbugs.gnu.org; Tue, 29 Jan 2013 07:19:33 -0500 Original-Received: from mail-lb0-f179.google.com ([209.85.217.179]:47989) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0A9y-0000a8-Pa for 13583@debbugs.gnu.org; Tue, 29 Jan 2013 07:19:31 -0500 Original-Received: by mail-lb0-f179.google.com with SMTP id j14so643019lbo.10 for <13583@debbugs.gnu.org>; Tue, 29 Jan 2013 04:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=gBeM0CeYG9DtRx3tOzG4XS2x5BoshP8OyGuItWF6I4Y=; b=DM7EVwx5Yq0yE5+fxg+1x4AIvWMn8G6C8rjo6g4hdMprEScHl8aLHZ1Hm6wZp9FiPJ ttZpks22vLcGIx20KJE5DNzGX58sZaGTzSNM3ieK+p8FJNGIEoiXaNJaeNzrX5lXDoc6 L3k7diNoITzHdvYhSv/N2m64o592qDqZBAPDiYNQSFlwIqVD9K3BxZu96qDFtJHUIOKH tQOks2iG4/91tkxthXDdg8/DgbaDrY1MMJS6N7r1hdOxoin05nfeMY+ILT6OPsuqI8QT +sTFaQvZ9vqFuEWi/De05yu/et4Bn8kYaaX5ShznxglmrDdhsVaXJSOhe8TenUXXOlsn aBng== X-Received: by 10.152.104.199 with SMTP id gg7mr959805lab.14.1359461938514; Tue, 29 Jan 2013 04:18:58 -0800 (PST) Original-Received: by 10.114.92.68 with HTTP; Tue, 29 Jan 2013 04:18:58 -0800 (PST) In-Reply-To: <83d2woi43u.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:70432 Archived-At: >> I try to avoid the customize facility as much as I can, because it >> doesn't allow to set values based on conditions like the system-type, >> for example. > > Doesn't custom-set-variables work inside an "if" clause? If it does, > then what's the problem of using it only on some systems? The problem with that approach is that, if I do some other customization and save it, the custom facility writes _all_ current unsaved customization to the custom file, therefore the customization of `auto-revert-use-notify' would end up in the custom file, which is not what I want, obviously. A workaround is to fool the customize facility by marking the relevant customizations as "saved" just after the call to custom-set-variables, but that is an ugly hack, IMO. >> Therefore, I'd like to be able to set `auto-revert-use-notify' >> directly in my init file, with `setq', but if that is not possible, I >> will have to adapt myself. > > You can run the :set form of the option, with suitable substitutions > for "variable" and "value", instead of setting the value with setq. > But then you'd need to change that every time the :set form changes in > autorevert.el. So that doesn't seem like a good solution either... -- Dani Moncayo