From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Deric Bytes Newsgroups: gmane.emacs.bugs Subject: bug#70041: 30.0.50; mouse-autoselect-window causes unexpected scroll Date: Thu, 28 Mar 2024 11:58:55 +0000 Message-ID: References: <86r0fuhmo6.fsf@gnu.org> <861q7uh8xk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001874060614b74075" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27549"; mail-complaints-to="usenet@ciao.gmane.io" Cc: martin rudalics , 70041@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 13:00:38 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rpoQw-0006y6-D9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 13:00:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpoQe-0004oA-Qk; Thu, 28 Mar 2024 08:00:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpoQO-0004ni-NF for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 08:00:06 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpoQL-0006VI-P4 for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 08:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpoQM-0001JB-C7 for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 08:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Deric Bytes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70041 X-GNU-PR-Package: emacs Original-Received: via spool by 70041-submit@debbugs.gnu.org id=B70041.17116271564756 (code B ref 70041); Thu, 28 Mar 2024 12:00:02 +0000 Original-Received: (at 70041) by debbugs.gnu.org; 28 Mar 2024 11:59:16 +0000 Original-Received: from localhost ([127.0.0.1]:39269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpoPc-0001Ee-2c for submit@debbugs.gnu.org; Thu, 28 Mar 2024 07:59:16 -0400 Original-Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:57820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpoPa-0001EA-36 for 70041@debbugs.gnu.org; Thu, 28 Mar 2024 07:59:14 -0400 Original-Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2d109e82bd0so11093471fa.3 for <70041@debbugs.gnu.org>; Thu, 28 Mar 2024 04:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711627147; x=1712231947; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p4BtDj5f7TH2x1z8rdnbrCIX/1lMwYLhpfvJ55JQqwQ=; b=CfGwkglM8d/yR2RoxVrOW5AZmtTL/9dmaRGaavG9fn2kqO/AhghRCrPmApzgR3S06h l9M2kzkdFohyb3oH7aj2dWN/ScHHVcsfc32kiVn8oMnHvZpeHZJUwoDo9nPkGfAo8u6r tFy+xqipCCKlld2CVKj2hChgPd2Il6mi8vI2+Wb9lqIyqhmvUrhMOeVPb2HHYlHQ6Wu1 kMoNhtC+ttd+2eSIyu01z0Fmzr7y7v5MjyzSCjeePjAoy+rY9Uq6Nuwe3Wid3z39tRnt h5x5SGArYa1cGr7dxZ0oPLNf73hhAJFWRdDW5wrWMcsWB3J5+DXMvm50wyCwLps9OII2 l7bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711627147; x=1712231947; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=p4BtDj5f7TH2x1z8rdnbrCIX/1lMwYLhpfvJ55JQqwQ=; b=Zrxg+8cmlo23WKF4Ziw0GjSosWTaJ8u/XdyDLl4pDMk1IE9BcLZQQUfMVlKZHsSsq2 GPqxpy+i+2ZoMGsR7Pvn4ls9iqqszix2cBkTO15agvgv7OnGgWYiyE7HwMlpQDLlpDzl oYWOnhvLsSrnhZ/KW142TQLymh0bY2nKQnXwURGV0eUgmLCA2LfcZzws0k8mZMmDRTdN mlmscL0IQfcyDlW/ZKek/QA4aJCEGTiJbBRU/cajFH3rLTiLV2LATBr9PI8KRqtcqjxl n1nfvLEUS9FLCG6VIRkVm/ojfkERJwR4xQ4qqWaaknfuAtygQ7kVLt54TQO6On/4UD1s 3n0A== X-Forwarded-Encrypted: i=1; AJvYcCWVt6eRlO6NuNn3ezjsEp6d23cElKOvlQZYkJfrSXXox3tbvgKpsafRbFrtvSlrFMXczfkenq4CbP+BYT8MR9Vu0FvGJm0= X-Gm-Message-State: AOJu0YyeOHuG17x3dBy5fqsw3ekcF+wLIeAH23wO7jJNrgKnmHwmTaMD uHUjT00Ff9z+DIHQFtl+tpnEebBAfnFSI+ftC3Yr/Lp6ToqBROC2HiVz9SrkajCaLjA+PNxVJAk IJ0pR0e3hJTaZWwWqnrFwRFGBjgw= X-Google-Smtp-Source: AGHT+IFxfee5EYgAJltCna7MCuWBQ0MtxL1ehgbC9y+sOfJRL/9EmpbDpwGk31aALlVsGpoBdBh2XtBSL7cxgD2x/ws= X-Received: by 2002:a2e:9c02:0:b0:2d7:fed:b37a with SMTP id s2-20020a2e9c02000000b002d70fedb37amr175122lji.7.1711627147176; Thu, 28 Mar 2024 04:59:07 -0700 (PDT) In-Reply-To: <861q7uh8xk.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282220 Archived-At: --0000000000001874060614b74075 Content-Type: text/plain; charset="UTF-8" [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 wrote: > [Please use Reply All to reply, to keep the bug tracker CC'ed.] > > > From: Deric Bytes > > 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? > --0000000000001874060614b74075 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
[Sorry if duplicate, just saw message in last email t= hat I should reply to All]

I have a reproducable example.

-=C2=A0 `mouse-autoselect-window' does not make a difference.=
-=C2=A0 need a tilda in the address
- need to be in fu= ll screen

emacs -q -mm -l test.el


=C2=A0 (let ((shell-cmd &q= uot;ls -la")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (output-buffer "my-bu= f")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (default-directory "/sc= px:bangmyhead@192.168.0.46:~")
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 (process-name "my-proc"))
=C2=A0 =C2=A0 (sta= rt-file-process-shell-command
=C2=A0 =C2=A0 =C2=A0process-name
=C2=A0= =C2=A0 =C2=A0(get-buffer-create output-buffer)
=C2=A0 =C2=A0 =C2=A0shel= l-cmd)
=C2=A0 =C2=A0 (switch-to-buffer output-buffer)
=C2=A0 =C2=A0 (= with-current-buffer output-buffer
=C2=A0 =C2=A0 =C2=A0 (goto-char (point= -min))
=C2=A0 =C2=A0 =C2=A0 (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 c= ode 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 t= he code was written when I was totally
> clueless and has been causing me problems for ages. I am happy to buil= d with something other than GTK and
> see if that fixes my main emacs config. What do you recommend?=C2=A0 <= br>
Sorry, I don't know what to recommend.=C2=A0 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?
--0000000000001874060614b74075--