[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64439: 28.2; auto-fill-mode gets turned on all over the place
From: |
David Howells |
Subject: |
bug#64439: 28.2; auto-fill-mode gets turned on all over the place |
Date: |
Mon, 03 Jul 2023 18:48:41 +0100 |
Eli Zaretskii <eliz@gnu.org> wrote:
> Try evaluating this:
>
> (defun my-watcher (_symbol new-value operation where)
> (error "auto-fill-mode: %s %s %s" new-value operation where))
> (add-variable-watcher 'auto-fill-function 'my-watcher)
> (debug-on-entry 'my-watcher)
>
> and run your sessions with this. Whenever auto-fill-mode is turned
> on, you will get a backtrace.
I restarted emacs and added the above. I was editing some C code, pressed
enter and got:
Debugger entered--entering a function:
* my-watcher(auto-fill-function nil set nil)
newline(nil 1)
funcall-interactively(newline nil 1)
command-execute(newline)
auto-fill-mode didn't seem to turn on, though - I'm not sure if that's to be
expected. It's also not the first time I pressed enter in that buffer.
David
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, David Howells, 2023/07/03
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Eli Zaretskii, 2023/07/03
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place,
David Howells <=
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Eli Zaretskii, 2023/07/03
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Jim Porter, 2023/07/09
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Eli Zaretskii, 2023/07/09
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Jim Porter, 2023/07/09
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Eli Zaretskii, 2023/07/10
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Jim Porter, 2023/07/10
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Michael Albinus, 2023/07/10
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Stefan Monnier, 2023/07/10
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Jim Porter, 2023/07/10
- bug#64439: 28.2; auto-fill-mode gets turned on all over the place, Jim Porter, 2023/07/10