GNU bug report logs - #20241
25.0.50; `setq' with only one argument

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 1 Apr 2015 14:54:02 UTC

Severity: wishlist

Found in version 25.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Richard <nrichard <at> ulb.ac.be>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: Alan Mackenzie <acm <at> muc.de>, 20241 <at> debbugs.gnu.org, John Wiegley <jwiegley <at> gmail.com>
Subject: bug#20241: 25.0.50; `setq' with only one argument
Date: Wed, 25 Nov 2015 14:11:40 +0100
Artur Malabarba <bruce.connor.am <at> gmail.com> writes:

>> We won't see any problem in our own sources, because all the occurrences
>> here have been expunged.  Any problems will be with external libraries
>> (or possibly in *ELPA) which people expect just to download, compile and
>> run.  I think that was what Artur is worried about.
>
> Since we're going with this, I quickly grepped 4 occurrences on
> elpa/packages (didn't try the external branches). We should probably
> fix those too:
>
> ./hydra/hydra-test.el:1312:              (setq current-prefix-arg)
> ./tiny/tiny.el:364:                             (setq expect-fun)
> ./gnorb/gnorb-registry.el:294:    (setq id )
> ./context-coloring/benchmark/fixtures/subr.el:1448:     ,@(mapcar
> (lambda (binder) `(setq ,@binder)) binders)

I just looked at this one, and the docstring says :

    Each element of BINDERS is a list (SYMBOL VALUEFORM) which binds
    [...]

so IIUC it is correct.

-- 
Nico.




This bug report was last modified 9 years and 238 days ago.

Previous Next


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