From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Re: giving `setq-local' the same signature as `setq' Date: Thu, 19 Mar 2015 16:17:20 +0100 Message-ID: <87bnjp3tkv.fsf@gmail.com> References: <0471cc2e-84d4-4a15-88b6-92a980e2949e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426778557 32296 80.91.229.3 (19 Mar 2015 15:22:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2015 15:22:37 +0000 (UTC) Cc: Jordon Biondo , emacs-devel@gnu.org, rms@gnu.org, Stefan Monnier To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 19 16:22:31 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YYcH6-00048d-Gg for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2015 16:22:20 +0100 Original-Received: from localhost ([::1]:39738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYcH4-0006J5-FK for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2015 11:22:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYcGr-0006Iz-Jm for emacs-devel@gnu.org; Thu, 19 Mar 2015 11:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYcGj-0001EV-NK for emacs-devel@gnu.org; Thu, 19 Mar 2015 11:22:05 -0400 Original-Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:36267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYcGj-0001ED-GO; Thu, 19 Mar 2015 11:21:57 -0400 Original-Received: by wgra20 with SMTP id a20so65420403wgr.3; Thu, 19 Mar 2015 08:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=/vwO1/aEI5Ra9xanCz8K4T78dsCBkNYoNNA+AVX43Z4=; b=nC5g6owVZt0Up1M1E+nEJqSD/5ivkTtqCG/3qky1NmkBXQTrHzHeqmF8cLVDCm1fji 3pG7Ii9CYVCKGx7vnmlW4lwKojrds+286q4akgeZ2h3HuoYg9IPEOq3bb72g6Ogm3D5S znPq9ZNKDOO8TMN6az8q0k8eJSixw7UUx9X5obtwJVwmQqlLBkoBZYTkggpyxxn6Q8oP dJm7RFOAKSHPmNXheKsXa2xzoghW6d4ga42Tik/htg+DUJE/3+It4iFh9uJ7lcY6VfCA AxKu4MaejsCg17Os/xZsCAmJ25/T+3yb5zpsXNXBT7EfMAspmEAydYzNLml0vwGskdCI 519g== X-Received: by 10.181.13.148 with SMTP id ey20mr17287147wid.18.1426778516256; Thu, 19 Mar 2015 08:21:56 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id r3sm2394851wjw.7.2015.03.19.08.21.55 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 19 Mar 2015 08:21:55 -0700 (PDT) In-Reply-To: <0471cc2e-84d4-4a15-88b6-92a980e2949e@default> (Drew Adams's message of "Thu, 19 Mar 2015 08:11:41 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184019 Archived-At: Drew Adams 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. Oleh