From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: `set-variable' should use :set Date: Thu, 21 Oct 2010 18:11:34 -0700 Message-ID: <033D7FA139144B03B1370B9E9C1113ED@us.oracle.com> References: <87d3r3qd44.fsf@catnip.gol.com> <871v7jqchc.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287709928 1644 80.91.229.12 (22 Oct 2010 01:12:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Oct 2010 01:12:08 +0000 (UTC) Cc: 'Emacs-Devel devel' To: "'Miles Bader'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 22 03:12:07 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P96Av-0000gT-2b for ged-emacs-devel@m.gmane.org; Fri, 22 Oct 2010 03:12:05 +0200 Original-Received: from localhost ([127.0.0.1]:54197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P96At-0005nq-UF for ged-emacs-devel@m.gmane.org; Thu, 21 Oct 2010 21:12:03 -0400 Original-Received: from [140.186.70.92] (port=51566 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P96Ao-0005nb-BM for emacs-devel@gnu.org; Thu, 21 Oct 2010 21:11:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P96An-0001dA-Dm for emacs-devel@gnu.org; Thu, 21 Oct 2010 21:11:58 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:44430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P96Am-0001cq-3c; Thu, 21 Oct 2010 21:11:56 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o9M1BqEb028920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Oct 2010 01:11:54 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o9M0rQ2q023446; Fri, 22 Oct 2010 01:11:51 GMT Original-Received: from abhmt009.oracle.com by acsmt355.oracle.com with ESMTP id 705550361287709896; Thu, 21 Oct 2010 18:11:36 -0700 Original-Received: from dradamslap1 (/10.159.232.14) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Oct 2010 18:11:35 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <871v7jqchc.fsf@catnip.gol.com> Thread-Index: ActxgtHQAZrcrJj8RI+sj4uQkV51jgAAesbw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131964 Archived-At: > Sounds reasonable to me.... > > BTW, my vague impression is that `set-variable' is pretty > lightly used, maybe because it's not that much more convenient > than just "M-: (setq..." > > Making this change might make it a much more useful command... That's also my vague impression. And I agree that this might help. However, I disagree that it is not that much more convenient than setq. For one thing, it respects the defcustom :type spec. For another, it uses a proper interactive spec. The type-checking in particular is a win, IMO. (FWIW, I use it often.)