[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: save-buffer in tar-mode
From: |
Kenichi Handa |
Subject: |
Re: save-buffer in tar-mode |
Date: |
Thu, 5 Feb 2004 11:17:44 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Tak Ota <address@hidden> writes:
>> Yes. tar-mode toggles enable-multibyte-characters on saving
>> a file by set-buffer-multibyte and that function discards
>> undo info. To fix it, we must record this toggling in
>> buffer-undo-list. I proposed it long ago but was rejected
>> at that time (I don't remember the reason, perhaps, just
>> because it's not worth to work on it).
> Thanks for the explanation. I think it should be fixed. Or, at least
> this unwelcome side effect should be mentioned (warned) in the doc
> string of set-buffer-multibyte where currently no mentioning about
> this hidden trap.
I added this sentence in the docstring.
If the multibyte flag was really changed, undo information of the
current buffer is cleared.
---
Ken'ichi HANDA
address@hidden