木村です。
From: Tatsuya Kinoshita <
ta...@vega.ocn.ne.jp>
Subject: Re: [mew-ja] Native compilationを有効にしたEmacsでMewが正常に動かない
Date: Mon, 30 Aug 2021 23:34:47 +0900 (JST)
> Debianのemacs-snapshot <
http://emacs.secretsauce.net/>でも同じような
> 状況です。~/.emacs.d/eln-cache配下のファイルが生成されないよう、mew*.el
> ファイルに「-*-no-native-compile: t;-*-」を記載して回避しています。
情報ありがとうございます。GNU Emacs Lisp Reference Manualの
"Compilation of Lisp to Native Code"のsectionに
----------------------------------------------------------------------
A non-‘nil’ file-local variable binding of ‘no-byte-compile’ (see
Byte Compilation) also disables the native compilation of that file.
In addition, a similar variable ‘no-native-compile’ disables just the
native compilation of the file.
----------------------------------------------------------------------
という記述がありますが、これの後者の方をMewの全ての.elファイルに対して
行うわけですね。
手元でソースコードにパッチをあててみたところ、mew*.elがnative compile
されなくなり、その結果最初のメールで挙げた問題が発生しなくなることを確
認しました。
---
木村 康浩