emacs-devel
[Top][All Lists]
Advanced

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

find-file-literally and save-buffer


From: Alfred M. Szmidt
Subject: find-file-literally and save-buffer
Date: Mon, 26 Mar 2007 13:59:10 +0200 (CEST)

Hey,

When you open a RMAIL (might occur with other modes as well) buffer
literally, and then try to save it, emacs just keeps asking if you
wish to save the file and visit it normally.  Answering `yes' doesn't
do anything, it keeps asking the same question.  Answering no will
just ask you if you want to discard the changes.

The message that one gets seems awfully long as well, 6 lines:

| The file %s is already visited normally,
| and you have edited the buffer.  Now you have asked to visit it literally,
| meaning no coding system handling, format conversion, or local variables.
| Emacs can only visit a file in one way at a time.
|
| Do you want to save the file, and visit it literally instead? 

To reproduce:

| emacs -Q
| M-x find-file-literally ~/RMAIL.empty RET
| C-u M-~   (not-modified t)
| C-x C-s   (save-buffer)

Answering y at this point has no effect, though if you keep it pressed for a 
while you get this message in *Messages*

| vc-check-master-templates: Lisp nesting exeeds `max-lisp-eval-depth'

RMAIL.empty was created with:

| C-u M-x rmail ~/RMAIL.empty RET
| s    (rmail-expunge-and-save)


There also seems to be no way to save the buffer, without visiting the
file normally.

Cheers.




reply via email to

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