From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: tiny changes to url-cookie.el Date: Tue, 28 Jun 2005 00:17:17 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119933241 20874 80.91.229.2 (28 Jun 2005 04:34:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2005 04:34:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 06:33:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dn7mo-0007aJ-N1 for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 06:33:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dn7ua-0004Kv-KK for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 00:41:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dn7pL-0001V1-0H for emacs-devel@gnu.org; Tue, 28 Jun 2005 00:36:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dn7pD-0001QH-5x for emacs-devel@gnu.org; Tue, 28 Jun 2005 00:35:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dn7pA-0001DS-Fr for emacs-devel@gnu.org; Tue, 28 Jun 2005 00:35:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dn7cx-0004We-9E for emacs-devel@gnu.org; Tue, 28 Jun 2005 00:23:15 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Dn7XB-0000jA-4a; Tue, 28 Jun 2005 00:17:17 -0400 Original-To: Klaus Straubinger In-reply-to: (message from Klaus Straubinger on Mon, 27 Jun 2005 17:01:56 +0200 (CEST)) 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:39731 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39731 In short, the PATH argument is meant to be the local part of the internet site because sites maybe want to set and retrieve different cookies for different parts of their site. In that case, we shouldn't call it a "path"; GNU convention is to use that term only for lists of directories to search. So I changed those argument names just now. I also added a doc string which I could figure out partly. But many functions in that file don't have doc strings, and need them. Or the doc strings are very sketchy and not clear. Therefore, I think the two lines above should be replaced by (real-fname (url-filename (if proxy-obj proxy-obj url))) and no change to url-cookie-retrieve should be necessary. Sorry for the confusion. Thanks. I will install that change, hoping you're right. (It is done more cleanly using `or' instead of `if'.)