all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deric Bytes <dericbytes@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: martin rudalics <rudalics@gmx.at>, 70041@debbugs.gnu.org
Subject: bug#70041: 30.0.50; mouse-autoselect-window causes unexpected scroll
Date: Thu, 28 Mar 2024 13:15:32 +0000	[thread overview]
Message-ID: <CAN1Bi_FZe9nXMNmz-Kgmsr_LxKPFWNhuNdMSPuikCs=0fMf+gw@mail.gmail.com> (raw)
In-Reply-To: <CAN1Bi_Eqp0m4Kba+RohK8tvkEvj2VoqH5PdupAxEjRGhuJWgFA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2693 bytes --]

Using the code below,

I noticed it works the first time.

emacs -q -mm -l test.el

I do M-x save-buffers-kill-terminal

then run

emacs -q -mm -l test.el

it has the described problem.

If I repeat this sequence, it works then does not work in that order every
time.

(let ((shell-cmd "ls -la")
      (output-buffer "my-buf")
      (default-directory "/scpx:bangmyhead@192.168.0.46:~/")
      (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 "~/readme.org")))


note: the other window opens horizontally.


On Thu, 28 Mar 2024 at 12:20, Deric Bytes <dericbytes@gmail.com> wrote:

> I have the same problem with lucid.
>
> On Thu, 28 Mar 2024 at 11:58, Deric Bytes <dericbytes@gmail.com> wrote:
>
>> [Sorry if duplicate, just saw message in last email that I should reply
>> to All]
>>
>> I have a reproducable example.
>>
>> -  `mouse-autoselect-window' does not make a difference.
>> -  need a tilda in the address
>> - need to be in full screen
>>
>> emacs -q -mm -l test.el
>>
>>
>>   (let ((shell-cmd "ls -la")
>>         (output-buffer "my-buf")
>>         (default-directory "/scpx:bangmyhead@192.168.0.46:~")
>>         (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")))
>>
>> On Thu, 28 Mar 2024 at 11:50, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>>> [Please use Reply All to reply, to keep the bug tracker CC'ed.]
>>>
>>> > From: Deric Bytes <dericbytes@gmail.com>
>>> > Date: Thu, 28 Mar 2024 10:55:33 +0000
>>> >
>>> > Eli, I tried with your code and I could not reproduce it. I tried my
>>> code and could not reproduce it. I tried
>>> > restarting emacs -q multiple times and I got the problem again whilst
>>> tweaking but I can not create a case that
>>> > reproduces every time.
>>> >
>>> > I always get it in my main config but that contains so much code and
>>> the code was written when I was totally
>>> > clueless and has been causing me problems for ages. I am happy to
>>> build with something other than GTK and
>>> > see if that fixes my main emacs config. What do you recommend?
>>>
>>> Sorry, I don't know what to recommend.  You could try some other
>>> toolkit, like Lucid, or maybe no toolkit at all.
>>>
>>> Martin, any ideas for how to reproduce this, or maybe what could be
>>> the problem?
>>>
>>

[-- Attachment #2: Type: text/html, Size: 4571 bytes --]

  reply	other threads:[~2024-03-28 13:15 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 [this message]
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
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_FZe9nXMNmz-Kgmsr_LxKPFWNhuNdMSPuikCs=0fMf+gw@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.