GNU bug report logs -
#70041
30.0.50; mouse-autoselect-window causes unexpected scroll
Previous Next
Reported by: Deric Bytes <dericbytes <at> gmail.com>
Date: Wed, 27 Mar 2024 23:17:01 UTC
Severity: normal
Tags: unreproducible
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #41 received at 70041 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I can no longer reproduce this error.
I suddenly started getting a stack smash (emacs 30.0.50) when opening
tsx-ts-mode. I installed apt-get emacs 29.1 and had the same problem.
I deleted all traces of emacs and tree-sitter from my machine. I installed
from the latest source.
Everything works great, both with GTK and Lucid toolkits.
Thanks for your help.
On Sat, 30 Mar 2024 at 09:37, martin rudalics <rudalics <at> gmx.at> wrote:
> > What would you like me to test for on the window-scroll-hooks?
>
> Let's start with
>
> (defun foo (window start)
> "..."
> (with-current-buffer (get-buffer-create "*foo*")
> (let* ((buffer (window-buffer window))
> (max (with-current-buffer buffer (point-max))))
> (insert (format "window %s start %s point %s point-max %s\n"
> window start (window-point window) max)))))
>
> (add-hook 'window-scroll-functions 'foo)
>
> I suppose the problem you see is with windows where the value of 'point'
> is not that of 'point-max'. Let's find such a window in the buffer
> *foo* first.
>
> Thanks, martin
>
[Message part 2 (text/html, inline)]
This bug report was last modified 1 year and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.