[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: giving `setq-local' the same signature as `setq'

From: Oleh Krehel
Subject: Re: giving `setq-local' the same signature as `setq'
Date: Thu, 19 Mar 2015 16:17:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux)

Drew Adams <address@hidden> writes:

> You do?  Pray tell, in what way is it a misfeature?  Nothing has
> been said to elucidate this, so far - it has only been asserted.
> IMHO, it is a feature, giving users the choice.

Choice leads to inconsistency.  I very much prefer the
only-one-variable-per-setq style. It shows much more clearly where the
variable is. It also gives an anchor to quickly navigate to the variable
to get its value.

In a setq list of 10 items, by item 5 it is already unclear which is the
variable and which is the value.  In my opinion, it's not worth
complicating the code maintenance just to save a few chars.


reply via email to

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