GNU bug report logs - #24920
24.5; Error on customize-update-all

Previous Next

Package: emacs;

Reported by: Frank Roland <frokrecik <at> gmail.com>

Date: Thu, 10 Nov 2016 17:31:01 UTC

Severity: normal

Found in version 24.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Drew Adams <drew.adams <at> oracle.com>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>, Frank Roland
 <frokrecik <at> gmail.com>
Cc: 24920 <at> debbugs.gnu.org
Subject: RE: bug#24920: 24.5; Error on customize-update-all
Date: Thu, 10 Nov 2016 14:59:55 -0800 (PST)
> I guess this is either a bug in cus-edit+ (wrongly assuming any of
> customized-value, saved-value, standard-value can be `eval'ed in any
> buffer), or it's a bug in Auctex (for putting a customized-value,
> saved-value, or standard-value that can't be `eval'ed in any
> buffer).

The cus-edit+.el code for this is essentially the same as the
cus-edit.el code for commands such as `customize-rogue'.  And
such commands are intended (of course) to be usable with any
buffer current.

Similarly, there is nothing in a non-interactive function such
as `custom-variable-state' that says that it should be called
only from a particular buffer or set of buffers.

It is true that such functions use `eval', and there is a risk
that the property value is a sexp whose evaluation raises an error.

Perhaps a usage note is called for in the doc of such functions?




This bug report was last modified 3 years and 74 days ago.

Previous Next


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