[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file-literally and save-buffer
From: |
Chong Yidong |
Subject: |
Re: find-file-literally and save-buffer |
Date: |
Tue, 27 Mar 2007 10:27:59 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) |
"Alfred M. Szmidt" <address@hidden> writes:
> >> | emacs -Q
> >> | M-x find-file-literally ~/RMAIL.empty RET
> >> | C-u M-~ (not-modified t)
> >> | C-x C-s (save-buffer)
>
> I think this might be related to me having my home directory under
> version control ... I think it is because vc-arch-file-source-p
> calls find-file-noselect, which in turn calls vc-arch-file-source-p,
> and so on...
Probably the fix is for vc-arch-file-source-p to check if
get-file-buffer is nil; if so, it should perform insert-file-contents
on a temp buffer, instead of visiting the file directly.
- find-file-literally and save-buffer, Alfred M. Szmidt, 2007/03/26
- Re: find-file-literally and save-buffer, Chong Yidong, 2007/03/26
- Re: find-file-literally and save-buffer, Chong Yidong, 2007/03/27
- Re: find-file-literally and save-buffer, Alfred M. Szmidt, 2007/03/27
- Re: find-file-literally and save-buffer, Alfred M. Szmidt, 2007/03/27
- Re: find-file-literally and save-buffer,
Chong Yidong <=
- Re: find-file-literally and save-buffer, Alfred M. Szmidt, 2007/03/27
- Re: find-file-literally and save-buffer, Stefan Monnier, 2007/03/27
- Re: find-file-literally and save-buffer, Alfred M. Szmidt, 2007/03/27
- Re: find-file-literally and save-buffer, Stefan Monnier, 2007/03/27