vine-users ML アーカイブ



[vine-users:082271] Re: emacsのundo info

  • From: 野宮 賢 / NOMIYA Masaru <nomiya@xxxxxxxxxxxxxxxx>
  • Subject: [vine-users:082271] Re: emacsのundo info
  • Date: Tue, 12 Mar 2013 17:00:56 +0900
野宮です.

In the Message; 

  Subject    : [vine-users:082270] emacsのundo info
  Message-ID : <513ED939.3020603@xxxxxxxxxxxxxxxx>
  Date & Time: Tue, 12 Mar 2013 16:28:57 +0900

Katsuya Kobayashi <katsuyak@xxxxxxxxxxxxxxxx> has written:

> 少し大きめのlatexファイル(130kbくらい)をemacsを使って文章を書いている
> と、しばらくしてemacsの動作が急に緩慢になり、下の警告を出して来ます。
[...]
> 以下、emacsからの警告

> Warning (undo): Buffer `編集中のファイル名.tex' undo info was 12670496
> bytes long.
> The undo info was discarded because it exceeded `undo-outer-limit'.

> This is normal if you executed a command that made a huge change
> to the buffer.  In that case, to prevent similar problems in the
> future, set `undo-outer-limit' to a value that is large enough to
> cover the maximum size of normal changes you expect a single
> command to make, but not so large that it might exceed the
> maximum memory allotted to Emacs.

> If you did not execute any such command, the situation is
> probably due to a bug and you should report it.

> You can disable the popping up of this buffer by adding the entry
> (undo discard-info) to the user option `warning-suppress-types',
> which is defined in the `warnings' library.

(eval undo-outer-limit)

を評価すると,幾つになりますか? もしかしたら80000(byte)では?

.emacs に

(setq undo-outer-limit 30000000)

と設定すれば,警告は出ない筈です.

---
┏━━┓彡 野宮  賢             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ 「先端技術の開発は、優れた頭脳を持つ人間が集中しないと成功しない。
         しかし、技術開発と、それが何をもたらすかを考えることは別だ。
         一人の人間に二つは望めない。」                 -- M. Crichton --
_______________________________________________
vine-users mailing list
vine-users@xxxxxxxxxxxxxxxxxxxx
http://listserv.linux.or.jp/mailman/listinfo/vine-users