From: Deric Bytes <dericbytes@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Eli Zaretskii <eliz@gnu.org>, 70041@debbugs.gnu.org
Subject: bug#70041: 30.0.50; mouse-autoselect-window causes unexpected scroll
Date: Tue, 2 Apr 2024 20:30:26 +0100 [thread overview]
Message-ID: <CAN1Bi_FpDwonSJa9wbWqxNgpNjkVHnmR5xN4R2votfGgvukdLg@mail.gmail.com> (raw)
In-Reply-To: <050c880c-a85f-4650-9b4b-140fb72b7067@gmx.at>
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
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@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
>
[-- Attachment #2: Type: text/html, Size: 1636 bytes --]
next prev parent reply other threads:[~2024-04-02 19:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-27 23:16 bug#70041: 30.0.50; mouse-autoselect-window causes unexpected scroll Deric Bytes
2024-03-28 6:53 ` Eli Zaretskii
[not found] ` <CAN1Bi_Hot8S6oauSyQ8saFSGJ7O1cSKmYopUHwT5iMeqqAQ7SA@mail.gmail.com>
2024-03-28 11:50 ` Eli Zaretskii
2024-03-28 11:58 ` Deric Bytes
2024-03-28 12:20 ` Deric Bytes
2024-03-28 13:15 ` Deric Bytes
2024-03-28 14:40 ` Deric Bytes
2024-03-28 14:44 ` Deric Bytes
2024-03-29 8:43 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-29 16:52 ` Deric Bytes
2024-03-29 17:47 ` Deric Bytes
2024-03-30 9:37 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-02 19:30 ` Deric Bytes [this message]
2024-04-06 10:23 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN1Bi_FpDwonSJa9wbWqxNgpNjkVHnmR5xN4R2votfGgvukdLg@mail.gmail.com \
--to=dericbytes@gmail.com \
--cc=70041@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.