bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5345: Password asked when visiting a file in a lightweight checkout


From: Michael Albinus
Subject: bug#5345: Password asked when visiting a file in a lightweight checkout
Date: Sun, 10 Jan 2010 20:07:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> > Can handling as a remote file name be disabled?
>> > The code path in question makes sense when the file is local, if the
>> > file is remote, then just running the corresponding bzr command won't
>> > make a difference.
>> 
>> Adding "/:" at the top of the file name is one way. Another (maybe more
>> common) is let-binding `file-name-handler-alist' to nil.
>
> But the latter is too gross, isn't it?  `file-name-handler-alist'
> could hold anything, not just handlers for remote files.

You do it only when you are sure it does not hurt. Wrapping a call to
`file-exists-p', for example.

Best regards, Michael.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]