From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Allow specifying services as symbols? Date: Wed, 20 Oct 2010 11:36:00 -0400 Message-ID: References: <49549.130.55.132.18.1287523965.squirrel@webmail.lanl.gov> <8739s19648.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287588971 10635 80.91.229.12 (20 Oct 2010 15:36:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2010 15:36:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 20 17:36:09 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 1P8ai0-0004U7-Oe for ged-emacs-devel@m.gmane.org; Wed, 20 Oct 2010 17:36:09 +0200 Original-Received: from localhost ([127.0.0.1]:49194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8ai0-0003cg-75 for ged-emacs-devel@m.gmane.org; Wed, 20 Oct 2010 11:36:08 -0400 Original-Received: from [140.186.70.92] (port=39857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8ahu-0003cb-KY for emacs-devel@gnu.org; Wed, 20 Oct 2010 11:36:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8aht-0004vF-HG for emacs-devel@gnu.org; Wed, 20 Oct 2010 11:36:02 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:57813 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8aht-0004tq-El for emacs-devel@gnu.org; Wed, 20 Oct 2010 11:36:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgNAH2pvkxMCpO7/2dsb2JhbACTZ4x5enK/VIVKBJIb X-IronPort-AV: E=Sophos;i="4.57,356,1283745600"; d="scan'208";a="80221108" Original-Received: from 76-10-147-187.dsl.teksavvy.com (HELO ceviche.home) ([76.10.147.187]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 20 Oct 2010 11:36:00 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3069666112; Wed, 20 Oct 2010 11:36:00 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 20 Oct 2010 01:46:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:131892 Archived-At: >>> As more of a philosophical objection than anything, t is a symbol. >> Hmm, good catch. So's nil. > True. Perhaps this isn't a good idea after all. It's just come more > than a few times over the years that people are using 'nntp instead of > "nntp" and 'imap instead of "imap" and not understanding why they're > getting errors. Maybe signalling a clear error would be a better choice. > The issue came up as a customization user-side problem and I suggested > allowing symbols. Using symbols is consistent with many other Emacs > facilities (too many to list) that use symbols to enumerate a small set > of choices. It makes customization simpler and less error-prone for > software that uses `make-network-process'. It doesn't really cost We're talking about an argument to a function, so it's not directly related to customization. IOW if there's a problem with customization, it can be fixed elsewhere. Stefan