[mew-dist 29650] Re: i や s 時に emacs がセグメントエラーになる場合がある

Kan Sasaki sasaki at example.com
2013年 11月 30日 (土) 15:24:38 JST


From: Hideyoshi ARAKIDA <arakida at example.com>
Subject: [mew-dist 29649] Re: i や s 時に emacs がセグメントエラーになる場合がある
Date: Sat, 30 Nov 2013 07:27:59 +0900 (JST)

> この Content-Transfer-Encoding: 8bit で emacs が落ちる問題は
> 手元の linux で試した感じだと,少なくとも正式版の emacs 24.3 では
> 起らないようなので,開発版での何らかの仕様変更 (enbug?) が
> 影響しているのでしょうかね?

もう少し調べてみると、revno: 115033 で cache-long-scans のデフォルト値
が t に変更されてから、この症状が出るようですね。

------------------------------------------------------------
revno: 115033
fixes bug: http://debbugs.gnu.org/15797
committer: Eli Zaretskii <eliz at example.com>
branch nick: trunk
timestamp: Fri 2013-11-08 12:21:35 +0200
message:
  Switch cache-long-scans to t by default.
  
   src/xdisp.c (message_dolog): Make sure the *Messages* buffer has its
   cache-long-scans disabled, since we don't want to call
   prepare_to_modify_buffer (in insert_1_both) for each message we
   display.
   src/buffer.h (bset_cache_long_scans): New INLINE function, moved
   from buffer.c.  Improve commentary to the buffer field setter
   functions.
   src/buffer.c (bset_cache_long_scans): Static function deleted.
   Improve commentary to the buffer field setter functions.
   (init_buffer_once): Default for cache-long-scans changed to t.
   (Bug#15797)


とりあえず、scan で落ちるのは (setq-default cache-long-scans nil) して
おけば回避できるようです。

-- 
Fusion Communications Corp.
佐々木  寛  sasaki at example.com


Mew-dist メーリングリストの案内