emacs-devel
[Top][All Lists]
Advanced

[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 08:36:51 +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:
> Recently I realized that undo information was discarded as soon as
> executing save-buffer in a buffer which was opened from tar-mode.
> tar-subfile-save-buffer at a glance didn't lead me to exactly where it
> discarded undo information.  Anyway, is this an intended behavior?

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).

---
Ken'ichi HANDA
address@hidden





reply via email to

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