From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Double slashes in config.h Date: Sun, 20 Mar 2005 19:30:13 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111343494 15566 80.91.229.2 (20 Mar 2005 18:31:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2005 18:31:34 +0000 (UTC) Cc: =?utf-8?q?L=C5=91rentey_K=C3=A1roly?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 20 19:31:33 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DD5CT-0002on-TA for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2005 19:30:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DD5TQ-0004iC-5Y for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2005 13:48:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DD5RX-0002xs-OR for emacs-devel@gnu.org; Sun, 20 Mar 2005 13:46:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DD5RS-0002vC-Mv for emacs-devel@gnu.org; Sun, 20 Mar 2005 13:46:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DD5RS-0002uV-0S for emacs-devel@gnu.org; Sun, 20 Mar 2005 13:46:26 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DD5C1-0005vG-EP for emacs-devel@gnu.org; Sun, 20 Mar 2005 13:30:29 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DD5Bu-0007E5-OM; Sun, 20 Mar 2005 13:30:23 -0500 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 20 Mar 2005 13:01:29 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34838 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34838 Richard Stallman writes: > --ansi may have other consequences, and I don't trust it. > Can we avoid generating these double-slashes? I have had a bit of experience with this stuff in the installation procedure of preview-latex and AUCTeX where several generated directory names were passed through or into Lisp and caused trouble. File name completion of directories in shells like bash adds the slash automatically, so it is far too optimistic to assume that users won't enter spurious slashes when specifying directory options. One can clean up those names manually. This is not necessarily trivial, given that one would also want to remove trailing backslashes on Windows. And the experience was that there were almost always oversights in that area whenever stuff got updated or rearranged. And those are more or less minor packages and Makefiles. So I'd say that it would be far too optimistic for a large project like Emacs to rely on no double-slashes creeping up anywhere. Yes, it can be done, but it is not something that works easily and can be resolved without recurring time and again by accident. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum