[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56210: 29.0.50; Keyboard macros do not trigger after-change-function
From: |
Richard Hansen |
Subject: |
bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions |
Date: |
Mon, 27 Jun 2022 13:23:28 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 6/27/22 13:07, Richard Hansen wrote:
On 6/27/22 12:54, Eli Zaretskii wrote:
Your test calls with-current-buffer-window, which calls
temp-buffer-window-setup, which inhibits modification hooks:
Yup, that's it! If I set `inhibit-modification-hooks' back to nil
then it works. Thank you.
However, that doesn't explain why the original test code fails. If you add a
`(should (null inhibit-modification-hooks))` just before the call to
`execute-kbd-macro' it will not fail there.
But that original test code is incorrect anyway (the selected window is not
explicitly switched to the temporary buffer before running the keyboard macro),
so it doesn't really matter to me.
OpenPGP_signature
Description: OpenPGP digital signature
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, (continued)
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Eli Zaretskii, 2022/06/27
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Richard Hansen, 2022/06/27
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Eli Zaretskii, 2022/06/27
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Richard Hansen, 2022/06/27
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Lars Ingebrigtsen, 2022/06/28
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Eli Zaretskii, 2022/06/28
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Lars Ingebrigtsen, 2022/06/28
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions,
Richard Hansen <=
- bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions, Richard Hansen, 2022/06/29