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: Fwd: vc-svn.el and "the underscore hack" Date: Thu, 09 Nov 2006 02:00:54 +0100 Message-ID: <85d57xfn7d.fsf@lola.goethe.zz> References: <17735.25691.286000.488074@gargle.gargle.HOWL> <17744.49420.800000.339491@gargle.gargle.HOWL> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163037558 19311 80.91.229.2 (9 Nov 2006 01:59:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2006 01:59:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 09 02:59:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GhzC2-0001jS-6A for ged-emacs-devel@m.gmane.org; Thu, 09 Nov 2006 02:59:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhzC1-00082P-Nn for ged-emacs-devel@m.gmane.org; Wed, 08 Nov 2006 20:59:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhzBj-0007zp-Au for emacs-devel@gnu.org; Wed, 08 Nov 2006 20:58:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhzBi-0007yZ-Dh for emacs-devel@gnu.org; Wed, 08 Nov 2006 20:58:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhzBi-0007yQ-7T for emacs-devel@gnu.org; Wed, 08 Nov 2006 20:58:42 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GhzBi-0002lx-F1 for emacs-devel@gnu.org; Wed, 08 Nov 2006 20:58:42 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GhzBh-0006Tv-DH; Wed, 08 Nov 2006 20:58:41 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 92CC61CE0FE1; Thu, 9 Nov 2006 02:00:54 +0100 (CET) Original-To: Kevin Rodgers In-Reply-To: (Kevin Rodgers's message of "Wed\, 08 Nov 2006 14\:23\:43 -0700") 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 Xref: news.gmane.org gmane.emacs.devel:61979 Archived-At: Kevin Rodgers writes: > Wouldn't it be simpler and more reliable to change > > (when (file-readable-p (expand-file-name ".svn" FILE)) > ;; refer to (expand-file-name ".svn" FILE) here > ...) > > to > > (let (svn-file) > (cond ((file-readable-p (setq svn-file (expand-file-name ".svn" FILE)))) > ((file-readable-p (setq svn-file (expand-file-name "_svn" FILE)))) > (t (setq svn-file nil))) > (when svn-file > ;; refer to svn-file here > ...)) > > and similarly for the file-directory-p and vc-insert-file calls? Does either work under VMS where `expand-file-name' does a different string manipulation than with Unix? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum