[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file-literally and save-buffer
From: |
Alfred M. Szmidt |
Subject: |
Re: find-file-literally and save-buffer |
Date: |
Wed, 28 Mar 2007 03:51:23 +0200 (CEST) |
>> >> | 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.
Sounds right, I've just installed the patch below to address it,
This supresses the question about reverting the buffer to a normal
mode when saving a file after using find-file-literally, is that
intended?
- 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, 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
- Re: find-file-literally and save-buffer,
Alfred M. Szmidt <=
- Re: find-file-literally and save-buffer, Stefan Monnier, 2007/03/27