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
View this message in rfc822 format
> From: Deric Bytes <dericbytes <at> gmail.com>
> Date: Wed, 27 Mar 2024 23:16:26 +0000
>
> Expected behavour:
>
> Run the code below in emacs -Q. The 'my-buf' buffer should be showing
> the start of the buffer with contents of directory listing.
>
> Actual behaviour:
>
> The buffer appears empty, until buffer interaction. Page has scrolled to end and
> content dissappeared from sight even though the whole content can fit into the buffer.
>
> The expected behaviour happens when `mouse-autoselect-window' has it's
> default setting.
I cannot reproduce this here, FWIW. I get the expected behavior
without any "buffer interaction". But I'm not using the GTK+ build of
Emacs, and I did need to modify the recipe to use a remote directory I
can actually access (instead of "/scpx:bangmyhead <at> 192.168.0.46:"), and
used start-file-process-shell-command to avoid the need to specify the
shell's file name explicitly. Here's the recipe I tested:
(let ((shell-cmd "ls -la")
(output-buffer "my-buf")
(default-directory <REDACTED>)
(process-name "my-proc"))
(start-file-process-shell-command
process-name
(get-buffer-create output-buffer)
shell-cmd)
(switch-to-buffer output-buffer)
(with-current-buffer output-buffer
(goto-char (point-min))
(find-file-other-window "ooo")))
With the above recipe, I see the end of the listing (which is longer
than the window in my case). This is what I'd expect.
Can someone who uses the GTK build of the master branch reproduce the
problematic behavior?
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.