From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: url library and GnuTLS, and Emacs-issued certificates Date: Sat, 26 Mar 2011 21:52:04 -0400 Message-ID: References: <87mxkojpk4.fsf@lifelogs.com> <87hbawtbq7.fsf@stupidchicken.com> <878vw8hznm.fsf_-_@lifelogs.com> <87ei5xsvl6.fsf@lifelogs.com> <87hbatofix.fsf@stupidchicken.com> <87pqpegk61.fsf@lifelogs.com> <87ei5twj2q.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301190752 27918 80.91.229.12 (27 Mar 2011 01:52:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 01:52:32 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 27 03:52:28 2011 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 1Q3f9V-0006jV-UF for ged-emacs-devel@m.gmane.org; Sun, 27 Mar 2011 03:52:26 +0200 Original-Received: from localhost ([127.0.0.1]:58847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3f9R-0001Xn-Nt for ged-emacs-devel@m.gmane.org; Sat, 26 Mar 2011 21:52:21 -0400 Original-Received: from [140.186.70.92] (port=45845 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3f9M-0001RR-42 for emacs-devel@gnu.org; Sat, 26 Mar 2011 21:52:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3f9B-0003Xs-M5 for emacs-devel@gnu.org; Sat, 26 Mar 2011 21:52:06 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:36252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3f9B-0003Xo-EC for emacs-devel@gnu.org; Sat, 26 Mar 2011 21:52:05 -0400 Original-Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Q3f9A-0001H4-Ur; Sat, 26 Mar 2011 21:52:04 -0400 In-Reply-To: (Tom Tromey's message of "Sat, 26 Mar 2011 19:31:34 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:137735 Archived-At: Tom Tromey writes: > Ted> I also explicitly mention that file: URLs should be directory names > Ted> even though it's implicit otherwise because I guarantee you, people > Ted> will try it anyhow. > > Tom> I don't deeply care, but I think if something is documented as > Tom> using URLs, then it is fine to just require them. > > Chong> It's better not to allow file:// URLs here, because then we > Chong> have to deal with URL quoting for filenames. > > I don't understand. Does the URL package not handle this? I assume what you're proposing is to require file:// URLs, instead of ordinary file names, for the locations in `package-archives'. The problem with that is that everywhere else in Emacs where we let users specify file names, we use "ordinary" Emacs file names. It would be inconvenient for users to require them to remember how to do URL quoting if they want to specify a local directory for this particular variable. If what you meant, instead, was that we should support file:// URLs in *addition* to ordinary file names, I guess there is no harm doing that, as long as we allow ordinary file names too.