Emacs 30.0.31で日本語の変換候補の表示が遅延する
状況
Emacs 29.4からEmacs 30.0.90までのどこかで問題が混入している
コミット数は6058
$ git rev-list --first-parent --count emacs-29.4...emacs-30.0.90
$ 6058
二分探索で原因となったコミットを探す
中間にあるコミットを見つける方法
$ git rev-list --first-parent emacs-29.4...emacs-30.0.90 | sed -n '2028p'
by chatgpt
make前の./configureは不要かも
make実行時に同様のスクリプトが走っていそう
フォントの設定を調べる方法
(face-font 'default nil ?開)
hanやcjk-miscの挙動が変わり kanaは変わっていないから、この辺りの変更によるものなのかなー
二分探索
1515
af57516ed8991ea6238f1ec4907f9ce751cadb27
emacs-30.0.90~1515
Thu Apr 11 20:09:49 2024 +0300
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ NG
2027
b868690feff44c7242c942490d1d8bc6d2811fa2
emacs-30.0.90~2027
Fri Feb 23 10:18:17 2024 +0800
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ NG
3229
11e42b405ca222a037b7b3d215ef5d14a97ab929
emacs-30.0.90~3229
Mon Oct 30 23:36:54 2023 -0700
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ NG
3829
7572620da292d5e4ab5ca9a24cd9b4b853f035eb
emacs-30.0.90~3829
Fri Sep 8 15:11:10 2023 +0300
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ NG
4130
c1a45041d66fc479f9b7b94475236d1c2d5001fe
emacs-30.0.90~4130
Thu Aug 17 07:27:14 2023 +0000
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ NG
4281
fce3815921c845798d87bebb5423f19fd7141a11
emacs-30.0.90~4281
Tue Aug 8 20:02:17 2023 -0400
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ NG
4318
aae436c81ce5a993c35331badf9b1cb14611b8fc
message: * msdos/sed1v2.inp: Fix last change.
emacs-30.0.90~4318
Mon Aug 7 16:45:27 2023 +0800
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ NG
4323(not二分探索)
c71a520d1da636a722cf87b46534ca3b5aafbc7b
emacs-30.0.90~4323
Mon Aug 7 08:51:11 2023 +0800
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
kuranari.icon これはNGのはず
→ NG
4324(not二分探索)
18e7bc87521e3c48b819cfe4a113f532ba905561
emacs-30.0.90~4324
Sun Aug 6 20:39:10 2023 +0200
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
kuranari.iconこれはOKのはず
→ OK
4327
400df210ce0cc1ee0113b14a5ad92764d148c620
message: [HEAD] Fix last change of 'delete-file'
emacs-30.0.90~4327
Sun Aug 6 17:03:26 2023 +0300
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ OK
4337
1fc95b23a6929f1eff749795ae83ffd77a481f54
emacs-30.0.90~4337
Sat Aug 5 18:18:31 2023 +0200
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ OK
4356
d7eb09b7076ea25ce2294a9c126c68b7ea290d44
emacs-30.0.90~4356
Fri Aug 4 03:17:50 2023 -0400
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ OK
4432
6479e8758d9b20736afce35c5e2b2b334c47593b
emacs-30.0.90~4432
Fri Jul 28 18:35:20 2023 +0200
GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-18
→ OK
https://scrapbox.io/files/66eadd7914eb77001cf72b5c.png