[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: vc-svn.el and "the underscore hack"
From: |
David Kastrup |
Subject: |
Re: Fwd: vc-svn.el and "the underscore hack" |
Date: |
Thu, 09 Nov 2006 02:00:54 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Kevin Rodgers <address@hidden> 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
- Re: Fwd: vc-svn.el and "the underscore hack", Stefan Monnier, 2006/11/01
- Re: Fwd: vc-svn.el and "the underscore hack", AriT93, 2006/11/01
- Re: Fwd: vc-svn.el and "the underscore hack", Richard Stallman, 2006/11/01
- Re: Fwd: vc-svn.el and "the underscore hack", Richard Stallman, 2006/11/05
- Re: Fwd: vc-svn.el and "the underscore hack", AriT93, 2006/11/07
- Re: Fwd: vc-svn.el and "the underscore hack", Chong Yidong, 2006/11/08
- Re: Fwd: vc-svn.el and "the underscore hack", David Kastrup, 2006/11/08
- Re: Fwd: vc-svn.el and "the underscore hack", Juanma Barranquero, 2006/11/08
- Re: Fwd: vc-svn.el and "the underscore hack", David Kastrup, 2006/11/08
- Re: Fwd: vc-svn.el and "the underscore hack", AriT93, 2006/11/08
- Re: Fwd: vc-svn.el and "the underscore hack", Richard Stallman, 2006/11/09
- Re: Fwd: vc-svn.el and "the underscore hack", Chong Yidong, 2006/11/08
- Re: Fwd: vc-svn.el and "the underscore hack", AriT93, 2006/11/08
- Re: Fwd: vc-svn.el and "the underscore hack", AriT93, 2006/11/09