From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: substitute-in-file-name and "$" Date: Sun, 06 Jul 2003 14:20:35 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <848yrb6e3w.fsf@lucy.is.informatik.uni-duisburg.de> References: <200307052358.h65NwLs06030@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057494098 26741 80.91.224.249 (6 Jul 2003 12:21:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2003 12:21:38 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jul 06 14:21:37 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Z8WO-0006xB-00 for ; Sun, 06 Jul 2003 14:21:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Z8fl-0003SF-00 for ; Sun, 06 Jul 2003 14:31:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Z8WI-00019y-Sv for emacs-devel@quimby.gnus.org; Sun, 06 Jul 2003 08:21:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Z8Vy-00010t-4f for emacs-devel@gnu.org; Sun, 06 Jul 2003 08:21:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Z8Vt-0000sj-Ii for emacs-devel@gnu.org; Sun, 06 Jul 2003 08:21:06 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Z8VY-0000Jo-TK for emacs-devel@gnu.org; Sun, 06 Jul 2003 08:20:45 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Z8Uu-0006sR-00 for ; Sun, 06 Jul 2003 14:20:04 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Z8Us-0006sF-00 for ; Sun, 06 Jul 2003 14:20:02 +0200 Original-Lines: 20 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:8rjQMRf4+5bvNdgo1AI1Cv723pM= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15409 Luc Teirlinck writes: > In as far as (2) is concerned, the documentation string of > `my-favorite-file-function' should clearly point out what operations > it is going to perform on filename. IMHO this is dangerous. Now you are saying that docstrings should specify "I invoke substitute-in-file-name" or "I do not invoke substitute-in-file-name". Tomorrow, docstrings should say "I invoke/do not invoke mumblefoo". Clearly, down that path lies madness. I think that some policy is called for. Alas, I don't have the foggiest what that policy ought to look like. Another alternative is to change things such that substitute-in-file-name is idempotent. -- ~/.signature