Ticket #48966

Doesn't work with Emacs29.1

Open Date: 2024-01-22 06:10 Last Update: 2024-05-09 02:40

Reporter:
Owner:
Type:
Status:
Open [Owner assigned]
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

大昔から Egg/FreeWnn を使っていた為に、2009年以来 tamago-tsunagi を使ってきましたが、 今回 Fedora 39 に上げたことで Emacs29.1 になり、 結果、tamago-tsunagi が動かなくなりました。

色々と引っ掛かりそうなところがあるようですが、 一番は buffer-has-markers-at が無くなってしまったことのようです。 ※ egg-cnv で使用している。

どうしたら良いものか?

Ticket History (3/5 Histories)

2024-01-22 06:10 Updated by: zic-osdn
  • New Ticket "Doesn't work with Emacs29.1" created
2024-01-29 23:12 Updated by: zic-osdn
  • Owner Update from (None) to itisango
  • Component Update from (None) to elisp
2024-05-08 05:55 Updated by: None
Comment

zic-osdn への返信

一番は buffer-has-markers-at が無くなってしまったことのようです。 ※ egg-cnv で使用している。

次の様な感じで代替できそうです。

(defun buffer-has-markers-at (position) "Return t if there are markers pointing at POSITION in the current buffer. The original function was obsolute since 24.3." (let ((tmp-ring mark-ring)) (while (and tmp-ring (not (= position (marker-position (car tmp-ring))))) (pop tmp-ring) ) tmp-ring))

あともしinactivate-current-input-method-function と inactivate-input-method について問題となる場合は以下を参照のこと

https://www.mail-archive.com/users-jp@freebsd.org/msg00229.html

2024-05-08 05:55 Updated by: None
Comment

zic-osdn への返信

一番は buffer-has-markers-at が無くなってしまったことのようです。 ※ egg-cnv で使用している。

次の様な感じで代替できそうです。

(defun buffer-has-markers-at (position) "Return t if there are markers pointing at POSITION in the current buffer. The original function was obsolute since 24.3." (let ((tmp-ring mark-ring)) (while (and tmp-ring (not (= position (marker-position (car tmp-ring))))) (pop tmp-ring) ) tmp-ring))

あともしinactivate-current-input-method-function と inactivate-input-method について問題となる場合は以下を参照のこと

https://www.mail-archive.com/users-jp@freebsd.org/msg00229.html

2024-05-09 02:40 Updated by: zic-osdn
Comment

コメント有難うございます。

頂いた修正を適用したところ、問題無く動いているように見えます。

助かりました。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login