GNU bug report logs - #41156
margins interfere with xterm-mouse-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Neil Okamoto <neil.okamoto@HIDDEN>; dated Sat, 9 May 2020 18:23:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to 'margins interfere with xterm-mouse-mode' from '26.3; 27.0.91; linum-mode interferes with xterm-mouse-mode' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 41156 <at> debbugs.gnu.org:


Received: (at 41156) by debbugs.gnu.org; 11 May 2020 17:14:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 11 13:14:54 2020
Received: from localhost ([127.0.0.1]:53140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jYC10-0001hN-Gm
	for submit <at> debbugs.gnu.org; Mon, 11 May 2020 13:14:54 -0400
Received: from mail-pf1-f181.google.com ([209.85.210.181]:46726)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <neil.okamoto@HIDDEN>) id 1jYC0y-0001h8-Uo
 for 41156 <at> debbugs.gnu.org; Mon, 11 May 2020 13:14:53 -0400
Received: by mail-pf1-f181.google.com with SMTP id 145so5010992pfw.13
 for <41156 <at> debbugs.gnu.org>; Mon, 11 May 2020 10:14:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=9IBPEh1DJ62xnJRxNFj64Wm0ZMHnaxRWigAtZ8kZ800=;
 b=j4KRvJVUZRS0JA9psD+RUCH9TcOhafoSOEJRC2Bb10ptxEYyOrmlrGICcsUN16TK9J
 3fYcyh/7TqeHWBqiXoncBkJGx+6lQ3Lvn57K6QU6Ee6T+sZVx4LPpwmaWIcxNfDrnJMK
 cr0nZxGUiFxew1cYoaJen7w045u8A/4sGQheh5eJE4Pp7v0l1ZMjChgXhMtY8xTKnvZp
 2Lw6Fa+a4EflnkTFA0yxe8q7aP4dWxfZTSUO6rvxMVnTYVWmpQHEZAtcG8SwrH9Qufsc
 fp6C423OiFesjBQWN6yXgtt6TbpNRl/c1sQQDsBRaCEgq/YEcUiX/kyav25+Zul8HuQ+
 IWow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=9IBPEh1DJ62xnJRxNFj64Wm0ZMHnaxRWigAtZ8kZ800=;
 b=em/fAnc+B9F1BQXrAEHwv+Nlvbe8pHcPz7RZDHf8ickyUim7qsfooZQS45Z+hosCHa
 DWablFI1vQgbjxIXJL6GAdI7oGgHd/GnKSTErodRW97XzX3wz14UUkHGUKd2ZdfjZkRR
 ldcPNMfNOyg+Jaoex1xxE0aaqx0T7/bBsou9ASaSS8B58dMv6KfKs008+gWCApHK56xv
 L+H6FMyCTw1Q0VAxHM5MkjqwV33S7vq/vqD5OmvhlnUAJXD07ouoFWTcEffuUFw7ZOWc
 KDu0saqt5ez03js9is9cNujY45jdg68Sjn+srsuskg5RitPeLeenFY44vfItFcRC22L2
 NvaA==
X-Gm-Message-State: AGi0PuZrRjcdmZcq9JbJbUXaK9uVPkXaGoKUGODlzPFgB4QBuIhNtdEU
 a70TcsWLaexKIbuycFN+WMDWddOL
X-Google-Smtp-Source: APiQypKeGge/N0BDjSbxVLwQcxQMvWBxF/ccIAO4J0xBgO3jPM0JVZQLYeiAJugPWSruxXkC3RkC3A==
X-Received: by 2002:a63:77ca:: with SMTP id
 s193mr10700640pgc.376.1589217286621; 
 Mon, 11 May 2020 10:14:46 -0700 (PDT)
Received: from ?IPv6:2601:646:4300:7bc0:9408:dbe5:ae22:fe2b?
 ([2601:646:4300:7bc0:9408:dbe5:ae22:fe2b])
 by smtp.gmail.com with ESMTPSA id i9sm9713025pfk.199.2020.05.11.10.14.46
 for <41156 <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 11 May 2020 10:14:46 -0700 (PDT)
From: Neil Okamoto <neil.okamoto@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Subject: Updated description
Message-Id: <BD02FFE2-9237-468F-9156-88F2AC888DD5@HIDDEN>
Date: Mon, 11 May 2020 10:14:45 -0700
To: 41156 <at> debbugs.gnu.org
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41156
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

After further testing, I wanted to clarify that this occurs even without =
linum-mode.  It occurs whenever there are window margins to either side =
of the vertical divider.

So, e.g.=20

$ emacs -nw -q
    M-x xterm-mouse-mode
    C-x b *scratch*
    C-x 3

    Use the mouse to drag the vertical divider right and left? Succeeds.

Now set a right margin on the left window:

    (set-window-margins (selected-window) 0 2)

    Use the mouse to drag the vertical divider to the left?
    Fails with the message =E2=80=9C<right-margin> <mouse-movement> is =
undefined=E2=80=9D

    (set-window-margins (selected-window) 0 0)

    And mouse-movement is permitted again.

Similarly, setting a left margin on the right window:

    (set-window-margins (selected-window) 2 0)

    Use the mouse to drag the vertical divider to the right?
    Fails with the message =E2=80=9C<left-margin> <mouse-movement> is =
undefined=E2=80=9D

    (set-window-margins (selected-window) 0 0)

    And mouse-movement is permitted again.






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41156; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 May 2020 18:22:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 09 14:22:03 2020
Received: from localhost ([127.0.0.1]:48375 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jXU6t-0003zg-0k
	for submit <at> debbugs.gnu.org; Sat, 09 May 2020 14:22:03 -0400
Received: from lists.gnu.org ([209.51.188.17]:33788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <neil.okamoto@HIDDEN>) id 1jXU6d-0003yv-N1
 for submit <at> debbugs.gnu.org; Sat, 09 May 2020 14:22:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39370)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <neil.okamoto@HIDDEN>)
 id 1jXU6d-0003K1-HN
 for bug-gnu-emacs@HIDDEN; Sat, 09 May 2020 14:21:47 -0400
Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:51535)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <neil.okamoto@HIDDEN>)
 id 1jXU6c-0000Q0-FS
 for bug-gnu-emacs@HIDDEN; Sat, 09 May 2020 14:21:47 -0400
Received: by mail-pj1-x102d.google.com with SMTP id mq3so5747923pjb.1
 for <bug-gnu-emacs@HIDDEN>; Sat, 09 May 2020 11:21:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=nfTMwSbjE+WRETvx1Wx0XABxSWeNbIuJd0pDznbne88=;
 b=p4uZaiD1I28N8EhFqEAz2kCpwGyNkEQjAgqQAntJs2+jOOBBJWmTiCRI/y+4lzSnRs
 8GHlHB3wCKGc0ZWaBP0Hu3AhR7SOwdKw818VHIb64+0HYf/ec2m1Yn+AWKSRjAHSqibq
 uWeXvT7/g6QXMVBy4U+rKMCvX/daMyZiDTzyEAt7lcq1OGTL3HxlPvVFaLDPc9298MSH
 8QqqzOwWzJnOxp32eodDo980VIdebIACXMldgdK81CmJqKezXu+RFkflvrCK51dT9ahq
 ApQSqCp/sZ1cxa63JJKPsGpCFMCpYPyMlpoOSCMqlZ/tvH/AGhv5VcxHHbC2atAxDbsC
 SdSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=nfTMwSbjE+WRETvx1Wx0XABxSWeNbIuJd0pDznbne88=;
 b=hY4LFhyUFn6wD2Xhn8nWSx83Wl95k8MR6+/CfwY1B/vdUTcB2L67ipxUJc9G0KkVIN
 a8qgHTlUxqRaDN3JC4FUalbo1Tl7DaponG6NQMAXOmR25G6KWYFwczK7Dae4Pak4OTl4
 z6Dw5burhedvPIQfg4SDSZVc3L1hjpJ9r0OU32tcOvSOF1LvvFQFIKo6qwee/2HSsikm
 fAFpzd3vcEYEDEEdFl3WwMkACfjLf80mElDBzriJ4T2yCZANVUjMSxa3/kEycxOwLKsn
 qunAFK2DEbhppdJjvt0GTySf6O+cWjz726Sb2c9cBL+cr0VV5WDYuKMAg2KkbJ542QEa
 h5DA==
X-Gm-Message-State: AGi0Pua6q4FWkoPJfCph9eBynJGAEhwedbN0Qc8YKuWzgUeocbxkSrPM
 1rPT916gAPy3qn+wWGYmub5mcWuF
X-Google-Smtp-Source: APiQypJhhr5+hhV+MtOLn5RLbhLxXIrRSkU0XlSwsCCUknKr79vtyF41dJaY/u7BVU5pvn8lBq2mSA==
X-Received: by 2002:a17:90a:5287:: with SMTP id
 w7mr13044683pjh.66.1589048504370; 
 Sat, 09 May 2020 11:21:44 -0700 (PDT)
Received: from ?IPv6:2601:646:4300:7bc0:b1a5:24ed:df6b:43ae?
 ([2601:646:4300:7bc0:b1a5:24ed:df6b:43ae])
 by smtp.gmail.com with ESMTPSA id n10sm4027496pgk.49.2020.05.09.11.21.42
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 09 May 2020 11:21:43 -0700 (PDT)
From: Neil Okamoto <neil.okamoto@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Subject: 26.3; 27.0.91; linum-mode interferes with xterm-mouse-mode
Message-Id: <2E809CFD-2C79-4529-BB68-4510A0F7C4D9@HIDDEN>
Date: Sat, 9 May 2020 11:21:40 -0700
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Received-SPF: pass client-ip=2607:f8b0:4864:20::102d;
 envelope-from=neil.okamoto@HIDDEN; helo=mail-pj1-x102d.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


You cannot drag the vertical boundary between windows to the right, if =
the righthand window has linum-mode active. I=E2=80=99ve confirmed this =
on Emacs 26.3 and 27.0.91. I have not tried earlier builds.

Steps to reproduce:

$ emacs -nw -q
    M-x xterm-mouse-mode
    C-x b *scratch*
    C-x 3

    Use the mouse to drag the vertical divider right and left? Succeeds.

Now enable linum-mode:

    M-x linum-mode

    Use the mouse to drag the vertical divider left? Succeeds.
    Use the mouse to drag the vertical divider right?
    Fails with the message "<left-margin> <mouse-movement> is undefined"


Thank you-=




Acknowledgement sent to Neil Okamoto <neil.okamoto@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#41156; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 May 2020 14:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.