GNU bug report logs - #54905
Allow in tabulated lists to resize columns with the mouse

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; Severity: wishlist; Reported by: Kiss Dénes <laszlomail@HIDDEN>; dated Wed, 13 Apr 2022 12:00:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 54905) by debbugs.gnu.org; 15 Apr 2022 11:19:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 15 07:19:10 2022
Received: from localhost ([127.0.0.1]:58219 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfJyo-00008J-1i
	for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 07:19:10 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50498)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nfJym-000083-EM
 for 54905 <at> debbugs.gnu.org; Fri, 15 Apr 2022 07:19:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=K78UGBY3ZJYXGmM5OtqngIEARlmgtVx1RCYx+3KQORU=; b=jwqjMGae4FLslJpckfy4xaFMB8
 JEshWRPRY9SOtvaXznQ0lnNZPTV2lYJbQH9+h1eqegVzsJGi3/o13xZPRTt5bGYEpmwPt7QI4qIEI
 KBebvKvIr6bisTmjUNspgYNqDT5zMEUqP0tMA1TIRq4LYdpo7wXdft9tEaNIGQPOePyk=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nfJyd-0001Ci-ER; Fri, 15 Apr 2022 13:19:01 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
 <87zgknin1d.fsf@HIDDEN> <87v8vbimw6.fsf@HIDDEN>
 <877d7q4wol.fsf@HIDDEN> <87bkx2iwfe.fsf@HIDDEN>
 <87sfqehd8x.fsf@HIDDEN> <8735ie4oge.fsf@HIDDEN>
Date: Fri, 15 Apr 2022 13:18:58 +0200
In-Reply-To: <8735ie4oge.fsf@HIDDEN> (Robert Pluim's message of "Fri, 15
 Apr 2022 12:42:57 +0200")
Message-ID: <87a6cmh9wd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Robert Pluim <rpluim@HIDDEN> writes: > - I can drag to
 resize the column, but I need to start the drag on the > name of the column,
 not the space next to it Yes, that's by design... the header space has a
 different dragging action on the non-text parts. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, Eli Zaretskii <eliz@HIDDEN>,
 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Robert Pluim <rpluim@HIDDEN> writes:

> - I can drag to resize the column, but I need to start the drag on the
>   name of the column, not the space next to it

Yes, that's by design...  the header space has a different dragging
action on the non-text parts.

> - The little triangle indicating the sort order is right next to the
>   name of the column, I=CA=BCd expect it be nearer the divider to the rig=
ht
>   of the name

That indeed looks nicer, but if the final column is wider than the frame
(which is common), then it won't be displayed at all.

But I guess it could determine the width of the frame and clamp it to
that point...

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 54905) by debbugs.gnu.org; 15 Apr 2022 10:54:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 15 06:54:21 2022
Received: from localhost ([127.0.0.1]:58183 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfJan-0007tI-I9
	for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 06:54:21 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50234)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nfJam-0007t6-EH
 for 54905 <at> debbugs.gnu.org; Fri, 15 Apr 2022 06:54:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=cZjgZd7wKNT33Dkc6/UsVJMyBPYcoO2mrDHLsE2LRV4=; b=Qv55zc658bpEWmuXhzhA9ZaM56
 ywZyBGc/hUBrQqYsqY2bhRu6AyAqy5VHcYZoMYAJJ+c3d1NLJ3EtVXWlqgkNOlCJc3ZWdFCMj2fKM
 z7GpsXctdMVTaqqG2CdrKLX4vcAZScWUemICy8nnNYqr9P0lZRRgNQNCIwZ6fCMCH46Y=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nfJad-00012M-5o; Fri, 15 Apr 2022 12:54:13 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
 <87zgknin1d.fsf@HIDDEN> <87v8vbimw6.fsf@HIDDEN>
 <877d7q4wol.fsf@HIDDEN> <87bkx2iwfe.fsf@HIDDEN>
 <87sfqehd8x.fsf@HIDDEN> <8735ie4oge.fsf@HIDDEN>
Date: Fri, 15 Apr 2022 12:54:10 +0200
In-Reply-To: <8735ie4oge.fsf@HIDDEN> (Robert Pluim's message of "Fri, 15
 Apr 2022 12:42:57 +0200")
Message-ID: <87ee1yhb1p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Robert Pluim <rpluim@HIDDEN> writes: > Debugger
 entered--Lisp
 error: (wrong-type-argument stringp > (:background "#303030" :foreground
 "#ffffff")) I'd forgotten to push. Try again. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, Eli Zaretskii <eliz@HIDDEN>,
 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Robert Pluim <rpluim@HIDDEN> writes:

> Debugger entered--Lisp error: (wrong-type-argument stringp
> (:background "#303030" :foreground "#ffffff"))

I'd forgotten to push.  Try again.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 54905) by debbugs.gnu.org; 15 Apr 2022 10:43:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 15 06:43:07 2022
Received: from localhost ([127.0.0.1]:58175 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfJPv-0007WW-At
	for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 06:43:07 -0400
Received: from mail-wm1-f51.google.com ([209.85.128.51]:41895)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1nfJPt-0007W1-0N
 for 54905 <at> debbugs.gnu.org; Fri, 15 Apr 2022 06:43:05 -0400
Received: by mail-wm1-f51.google.com with SMTP id
 o20-20020a05600c511400b0038ebbbb2ad8so4846790wms.0
 for <54905 <at> debbugs.gnu.org>; Fri, 15 Apr 2022 03:43:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=dgaQZWZm7xBETg/uIXZ9u/zcdpPQQuQX+OSSg/CIEMo=;
 b=A2Ij+Is2HZHJFo/yfVqPirgQI1thlWV6STCSojYOi4jUkNp5AguGUx/hO5n7+Mtaqb
 DdHBFpN3Z9LqhoEQsmBjUHFoRCldadd96lkxVeYbi5lruqpiph8HtbnZWJkGPBDti9CE
 nD0J0kwvWoUf/wVJMRmqQbUld5ia1B6UXVImhX2xlLlSHq7J9JkEzBn5jz/Lr35XkPS0
 TQqXFo0CcfWqeqqzVN33UGyOxKlpv0vWBbKwRg1JBZacihXWFA8z3lep4BCRasBPdqmv
 whhyJnf33N1UdUNoy57TmFld16opcwC55qq+Bk6Nel4Q/T+1zBHjRCC5Hnoebq123eKp
 l+ZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=dgaQZWZm7xBETg/uIXZ9u/zcdpPQQuQX+OSSg/CIEMo=;
 b=m5Y922M+i0UaOVcbUqRuBWyxVARLzsgmMsb+hZoGy9ZOJdLOhJupI0zu+grVejMu17
 C0xU+LIQNxIF7j9byi67npmSZmnkD/g0qr1huPC/O02+QVtqyPOIUsHrfAnrqr9PsrL2
 2SR6HRUerjvoN1LtkojsmbGMNYOGEnsMpOUdw/nO77Q7kgLCCDCEu2d0sK7yQgq4ndo9
 w7fkn9p1Z0+F6FuSoRoJW6m397lFYHRbp5fAOCYik7FQgjYukJzmzMMoIf/lo2Bt5Bz/
 Hmx/hGzBQkPpVF7a2oH6X2Ou9UspgtMevhPYGSkhdr8e5pqsZZnzGwawg9oViOAH+E56
 OYqQ==
X-Gm-Message-State: AOAM530IefcNE26mwgFFfImJF6YEm7DQ06C/hQmdM7I0XMzG6pprkCZ+
 89Nvr7RqVAI0I0YPYEX5k803mSKSpAs=
X-Google-Smtp-Source: ABdhPJz35roNfT5g9+CmsdWU0tmore95mO151/oNmtdMhcUHf1W4YWR2IcR64donRHbUALIFOBD/Bw==
X-Received: by 2002:a1c:7408:0:b0:38e:b7af:c503 with SMTP id
 p8-20020a1c7408000000b0038eb7afc503mr2810942wmc.58.1650019378610; 
 Fri, 15 Apr 2022 03:42:58 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb50:6bcf:459f:fd5a:a5e3])
 by smtp.gmail.com with ESMTPSA id
 a11-20020a056000188b00b00204109f7826sm4399869wri.28.2022.04.15.03.42.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 15 Apr 2022 03:42:58 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
 <87zgknin1d.fsf@HIDDEN> <87v8vbimw6.fsf@HIDDEN>
 <877d7q4wol.fsf@HIDDEN> <87bkx2iwfe.fsf@HIDDEN>
 <87sfqehd8x.fsf@HIDDEN>
Date: Fri, 15 Apr 2022 12:42:57 +0200
In-Reply-To: <87sfqehd8x.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri,
 15 Apr 2022 12:06:38 +0200")
Message-ID: <8735ie4oge.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, Eli Zaretskii <eliz@HIDDEN>,
 54905 <at> debbugs.gnu.org
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 (-)

>>>>> On Fri, 15 Apr 2022 12:06:38 +0200, Lars Ingebrigtsen <larsi@HIDDEN=
> said:

    Lars> Lars Ingebrigtsen <larsi@HIDDEN> writes:
    >> And the divider could definitely be
    >> draggable (and I'll do that now), but in most setups the divider will
    >> only be a couple of pixels wide, making dragging it very difficult.

    Lars> Here's the test vtable I'm twiddling now (you need an up-to-date =
trunk
    Lars> to make it work).  You can drag the divider, but it's so narrow t=
hat
    Lars> it's very annoying to attempt to do so...

Debugger entered--Lisp error: (wrong-type-argument stringp (:background "#3=
03030" :foreground "#ffffff"))
  xw-color-values((:background "#303030" :foreground "#ffffff") nil)
  color-values((:background "#303030" :foreground "#ffffff") nil)
  color-name-to-rgb((:background "#303030" :foreground "#ffffff"))
  vtable--color-blend((:background "#303030" :foreground "#ffffff") (:backg=
round "#202020" :foreground "#00ffff"))
  vtable--compute-colors(((:background "#303030" :foreground "#ffffff") (:b=
ackground "#505050" :foreground "#808080")) ((:background "#202020" :foregr=
ound "#00ffff") (:background "#808080" :foreground "#008080")))
  make-vtable(:columns ((:name "Name" :width 20) "Size" "File") :objects (#=
<buffer *vtable*> #<buffer *scratch*> #<buffer  *Minibuf-1*> #<buffer 1> #<=
buffer *info*> #<buffer *Help*> #<buffer  *Minibuf-0*> #<buffer *Messages*>=
 #<buffer  *Echo Area 0*> #<buffer  *Echo Area 1*> #<buffer  *eldoc for tes=
t-vtable*> #<buffer  *string-pixel-width*>) :row-colors ((:background "#303=
030" :foreground "#ffffff") (:background "#505050" :foreground "#808080")) =
:column-colors ((:background "#202020" :foreground "#00ffff") (:background =
"#808080" :foreground "#008080")) :divider-width 0.1 :getter (closure (t) (=
object column vtable) (let* ((val (vtable-column vtable column))) (cond ((e=
qual val '"Name") (let nil (buffer-name object))) ((equal val '"Size") (let=
 nil (buffer-size object))) ((equal val '"File") (let nil (or (buffer-file-=
name object) "")))))))
  (let ((inhibit-read-only t)) (make-vtable :columns '((:name "Name" :width=
 20) "Size" "File") :objects (buffer-list) :row-colors '((:background "#303=
030" :foreground "#ffffff") (:background "#505050" :foreground "#808080")) =
:column-colors '((:background "#202020" :foreground "#00ffff") (:background=
 "#808080" :foreground "#008080")) :divider-width 0.1 :getter #'(lambda (ob=
ject column vtable) (let* ((val (vtable-column vtable column))) (cond ((equ=
al val ...) (let nil ...)) ((equal val ...) (let nil ...)) ((equal val ...)=
 (let nil ...)))))) nil)
  test-vtable()
  eval((test-vtable) t)

If I just ignrore the colours:

- I don=CA=BCt see a divider at all (this is a GTK build under
  X). Increasing divider-width had no effect. Actually, that=CA=BCs not
  true: the divider is just the same colour as the header-line
- I can drag to resize the column, but I need to start the drag on the
  name of the column, not the space next to it
- The little triangle indicating the sort order is right next to the
  name of the column, I=CA=BCd expect it be nearer the divider to the right
  of the name

Robert
--=20




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

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


Received: (at 54905) by debbugs.gnu.org; 15 Apr 2022 10:06:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 15 06:06:51 2022
Received: from localhost ([127.0.0.1]:58156 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfIqp-0004EB-2u
	for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 06:06:51 -0400
Received: from quimby.gnus.org ([95.216.78.240]:49806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nfIqm-0004Dx-Hp
 for 54905 <at> debbugs.gnu.org; Fri, 15 Apr 2022 06:06:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=xpecnofooIwv0/SOUffFO7qIIedMStv1dihco4UNHRk=; b=J5S473zQDKdi+4CHpDiwyFGuEZ
 GJjvNxnzE4XQmbf8akdskqqJt6mXb8jL7AtcqiCDY/j53MqfHq79yI+5H8clE4+syPLDpPEETwXpF
 q4uFaWKcoc+vg0D0x0YHT60jNSN6eV1Sfz+8Vd/aIXj74Cuwscu6ouUCxe/seOwxOw9E=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nfIqd-0000eJ-6r; Fri, 15 Apr 2022 12:06:41 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
 <87zgknin1d.fsf@HIDDEN> <87v8vbimw6.fsf@HIDDEN>
 <877d7q4wol.fsf@HIDDEN> <87bkx2iwfe.fsf@HIDDEN>
Date: Fri, 15 Apr 2022 12:06:38 +0200
In-Reply-To: <87bkx2iwfe.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri,
 15 Apr 2022 10:27:01 +0200")
Message-ID: <87sfqehd8x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Lars Ingebrigtsen <larsi@HIDDEN> writes: > And the divider
 could definitely be > draggable (and I'll do that now), but in most setups
 the divider will > only be a couple of pixels wide, making dragging it very
 difficult. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, Eli Zaretskii <eliz@HIDDEN>,
 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> And the divider could definitely be
> draggable (and I'll do that now), but in most setups the divider will
> only be a couple of pixels wide, making dragging it very difficult.

Here's the test vtable I'm twiddling now (you need an up-to-date trunk
to make it work).  You can drag the divider, but it's so narrow that
it's very annoying to attempt to do so...

(defun test-vtable ()
  (when (get-buffer "*vtable*")
    (kill-buffer "*vtable*"))
  (switch-to-buffer "*vtable*")
  (setq truncate-lines t)
  (special-mode)
  (let ((inhibit-read-only t))
    (make-vtable
     :columns '((:name "Name" :width 20) "Size" "File")
     :objects (buffer-list)
     :row-colors '((:background "#303030" :foreground "#ffffff")
		   (:background "#505050" :foreground "#808080"))
     :column-colors '((:background "#202020" :foreground "#00ffff")
		      (:background "#808080" :foreground "#008080"))
     :divider-width 0.1
     :getter (lambda (object column vtable)
               (pcase (vtable-column vtable column)
		 ("Name" (buffer-name object))
		 ("Size" (buffer-size object))
		 ("File" (or (buffer-file-name object) "")))))
    nil))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 54905) by debbugs.gnu.org; 15 Apr 2022 08:27:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 15 04:27:14 2022
Received: from localhost ([127.0.0.1]:58081 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfHIP-0007hO-Sy
	for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 04:27:14 -0400
Received: from quimby.gnus.org ([95.216.78.240]:48968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nfHIN-0007h8-Oe
 for 54905 <at> debbugs.gnu.org; Fri, 15 Apr 2022 04:27:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=j95u403VPQuPOHECHnwzFNNn908SFifisOEWfCB7ZJ4=; b=TSeHxUfyO9uH81qM0SmznNc3IM
 cAgppLRhtgx0Ylf0Quvup/v7rKnJGmbrgiHqWl84XmGdbXznJLs4MSKBiZipGIX+MuhEHa3Utw92k
 wiKOUN5N1xIVf8QY/IXDcpj6d6BEqQXo4uqHaaoVOsCcmFGn6p0Wn5Sa5tDoDutRD2ow=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nfHIE-0008KY-BG; Fri, 15 Apr 2022 10:27:04 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
 <87zgknin1d.fsf@HIDDEN> <87v8vbimw6.fsf@HIDDEN>
 <877d7q4wol.fsf@HIDDEN>
Date: Fri, 15 Apr 2022 10:27:01 +0200
In-Reply-To: <877d7q4wol.fsf@HIDDEN> (Robert Pluim's message of "Fri, 15
 Apr 2022 09:45:14 +0200")
Message-ID: <87bkx2iwfe.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Robert Pluim <rpluim@HIDDEN> writes: > How do you resize
 the last column then? Or does dragging the empty > space work? You can't
 resize the last column with the mouse (but then again, the last column usually
 doesn't have a limited size). 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, Eli Zaretskii <eliz@HIDDEN>,
 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Robert Pluim <rpluim@HIDDEN> writes:

> How do you resize the last column then? Or does dragging the empty
> space work?

You can't resize the last column with the mouse (but then again, the
last column usually doesn't have a limited size).

In vtable, there's a separator and a divider, both after the column, and
those could be draggable.  These aren't currently displayed after the
last column, but we could do that so that there'd be something to drag.
(But that will make the display uglier.)

However, the separator is currently just added to the padding, so it
can't be dragged...  but we could alter the rendering so that it's a
separate entity allowing dragging.  And the divider could definitely be
draggable (and I'll do that now), but in most setups the divider will
only be a couple of pixels wide, making dragging it very difficult.

We could also have some sort of resize action on the context menu, but
yuck.

We have a lot of options here.  :-)  But none of them are obviously,
like, good.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 54905) by debbugs.gnu.org; 15 Apr 2022 07:45:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 15 03:45:25 2022
Received: from localhost ([127.0.0.1]:58052 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfGdw-0004E7-OU
	for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 03:45:24 -0400
Received: from mail-wr1-f42.google.com ([209.85.221.42]:35603)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1nfGdv-0004Dp-6e
 for 54905 <at> debbugs.gnu.org; Fri, 15 Apr 2022 03:45:23 -0400
Received: by mail-wr1-f42.google.com with SMTP id k22so9768551wrd.2
 for <54905 <at> debbugs.gnu.org>; Fri, 15 Apr 2022 00:45:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version; bh=xAbcNlxu30ucicg4kUZ/ysNQj19B6mFvKezsCs3ifI0=;
 b=T8Pk+rm0klHeYnJ1h2ET3k0oXJRVGVKidPOy7fYREP/jTiHxRO5VGOeLiBXm+axePb
 GCRCtsMBPHC+7jEr0z/saP1LfEsHst8PkIBy6iLd9a3+xk6sNR/blgOlHChrMFBTGHqp
 SD5zhutgSxDnW5zSFoA8doMbmaBMe7X5HBIAlkL83kO9dffFGneuvVOLseeiZ3vn5Gfu
 3O4jiZEP7AX2StsPoC82o29/9ehrSfNS1ztS1GkpJ1ccBhRuiMRMPCW/fJzjKQOjWGti
 9Qc015GcDsvE7BO51K87IFb2jMtQHdgmkj0V4ahDTqHzccGcjYbpmv79zRT+YcR6vfGD
 J7mA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version;
 bh=xAbcNlxu30ucicg4kUZ/ysNQj19B6mFvKezsCs3ifI0=;
 b=aicjv2Pk5OZ2jVQInL5jXoQAOWL5sI3IibD+V+mIus4L/l+q9a4C6EH5rbUZ7OlSBd
 hXyhHbJfcXJpyDC5PjvVStyUaK8ZMa58BI9V1DehzpntllyrVzYnvRnniZeup/PK4j0k
 D7g6QMQQhdQFgFMPP9uo3dwGg1Kdm5AO9XsLA9YVdCUGqrLdh6NMu+mVmKOOAO3ornol
 3qjZpRKFj8dxqoL+FSBqLECnS72jMfML4gNGeBNZuoYH5tqq1tZL1qvcPgwOsWfhpeaL
 xLcSIbxm1DKnBzQ28shEEtDdy9QXbdN4To5JzVXZ8kyIpPseidyRGH3aINkCKhlAfwKd
 0wKA==
X-Gm-Message-State: AOAM5308CHIncolTNNxqnC/u5ry2Uv6R0VUJYq5PCxvmlXtrmLuINgR5
 GbpkdMW1ohplUQpvG0OwXC66ULypVDA=
X-Google-Smtp-Source: ABdhPJwJZoUfqWblvnJjVCmJR/FlU8LcxrTlRGpYdo6iY9+Ho2yP4KFngqZ9xD0g55F9PlmQaEua7Q==
X-Received: by 2002:a05:6000:1009:b0:207:a8fc:cf78 with SMTP id
 a9-20020a056000100900b00207a8fccf78mr4577592wrx.484.1650008716644; 
 Fri, 15 Apr 2022 00:45:16 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb50:6bcf:459f:fd5a:a5e3])
 by smtp.gmail.com with ESMTPSA id
 u1-20020a056000038100b00207a578e9d4sm3576089wrf.89.2022.04.15.00.45.15
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 15 Apr 2022 00:45:16 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
 <87zgknin1d.fsf@HIDDEN> <87v8vbimw6.fsf@HIDDEN>
Date: Fri, 15 Apr 2022 09:45:14 +0200
In-Reply-To: <87v8vbimw6.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 14 Apr 2022 19:40:41 +0200")
Message-ID: <877d7q4wol.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, Eli Zaretskii <eliz@HIDDEN>,
 54905 <at> debbugs.gnu.org
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 (-)

>>>>> On Thu, 14 Apr 2022 19:40:41 +0200, Lars Ingebrigtsen <larsi@HIDDEN> said:

    Lars> Lars Ingebrigtsen <larsi@HIDDEN> writes:
    >> So I've now implemented this in vtable,

    Lars> (Although I implemented this by dragging the name of the column after
    Lars> the one you want to resize...  which may not be logical, but I'm not
    Lars> sure what else to drag, unless we put a drag glyph in each column in the
    Lars> header line just to have something to drag, which would be logical but
    Lars> ugly.)

How do you resize the last column then? Or does dragging the empty
space work?

Robert
-- 




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

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


Received: (at 54905) by debbugs.gnu.org; 14 Apr 2022 17:40:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 14 13:40:52 2022
Received: from localhost ([127.0.0.1]:57296 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nf3Se-0006Qa-2i
	for submit <at> debbugs.gnu.org; Thu, 14 Apr 2022 13:40:52 -0400
Received: from quimby.gnus.org ([95.216.78.240]:43018)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nf3Sc-0006QI-Fo
 for 54905 <at> debbugs.gnu.org; Thu, 14 Apr 2022 13:40:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=I+SBfQG33j5JgGfFAPH086XIGsUfgaSJnX3hB7Dmyb8=; b=CROdQgUUXJZXxQF7ATMDu0rF2E
 XHhKd9+6xp6d24n06OCu4nMMjepdamr/FSjP3PkKEgb1/oOw2itn690FCpv7twTM5uX08SbHl77y5
 LuLRJ/rSrxdYnUU156+QOEXv2i83D3jYUjske5BuglLWDfSHzulrNfvU8K8BpBOeaaY4=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nf3SU-000571-6u; Thu, 14 Apr 2022 19:40:44 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
 <87zgknin1d.fsf@HIDDEN>
Date: Thu, 14 Apr 2022 19:40:41 +0200
In-Reply-To: <87zgknin1d.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 14 Apr 2022 19:37:34 +0200")
Message-ID: <87v8vbimw6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Lars Ingebrigtsen <larsi@HIDDEN> writes: > So I've now
 implemented
 this in vtable, (Although I implemented this by dragging the name of the
 column after the one you want to resize... which may not be logical, but I'm
 not sure what else to drag, unless we put a drag glyph in each col [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> So I've now implemented this in vtable,

(Although I implemented this by dragging the name of the column after
the one you want to resize...  which may not be logical, but I'm not
sure what else to drag, unless we put a drag glyph in each column in the
header line just to have something to drag, which would be logical but
ugly.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 54905) by debbugs.gnu.org; 14 Apr 2022 17:37:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 14 13:37:49 2022
Received: from localhost ([127.0.0.1]:57288 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nf3Ph-0006L2-BN
	for submit <at> debbugs.gnu.org; Thu, 14 Apr 2022 13:37:49 -0400
Received: from quimby.gnus.org ([95.216.78.240]:42976)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nf3Pf-0006Kj-0R
 for 54905 <at> debbugs.gnu.org; Thu, 14 Apr 2022 13:37:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=RuhLheZ99uV7RPVFOR9Iojc/5R3/xRBIOI13fA2hv+I=; b=RS37fb7OpBbnWLVyEO4e+CCRPi
 eWs7bUF5hg1qN4FPfI5HklBzt4TYii9y3mmlVcfTera2gx0AqdS3BlCg7opYDi0TmMPQ9u4GrMQzW
 MpNsvV+0Sv1Ju+2BBT9u1GByqQkWljxtdMrQkal1OngEL42ebTVC1OtEJS3+iXOdmsqk=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nf3PV-00054Y-2f; Thu, 14 Apr 2022 19:37:39 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
 <878rs7k4r7.fsf@HIDDEN> <83o81337tz.fsf@HIDDEN>
Date: Thu, 14 Apr 2022 19:37:34 +0200
In-Reply-To: <83o81337tz.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 14 Apr
 2022 20:15:04 +0300")
Message-ID: <87zgknin1d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > That's because we
 intervene, 
 AFAICT. Type "C-h c", then drag the > mouse on the header-line, and see what
 Emacs tells you about that. By ignoring down-mouse-1 on the draggable elements
 in the header line, drag-mouse-1 works just as you'd expect. Thanks for the
 help. Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> That's because we intervene, AFAICT.  Type "C-h c", then drag the
> mouse on the header-line, and see what Emacs tells you about that.

By ignoring down-mouse-1 on the draggable elements in the header line,
drag-mouse-1 works just as you'd expect.  Thanks for the help.

So I've now implemented this in vtable, and implementing it in
tabulated-list-mode should be easy enough as well, if somebody wants to
attempt that.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 54905) by debbugs.gnu.org; 14 Apr 2022 17:15:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 14 13:15:02 2022
Received: from localhost ([127.0.0.1]:57274 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nf33e-0005hw-2h
	for submit <at> debbugs.gnu.org; Thu, 14 Apr 2022 13:15:02 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55480)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nf33c-0005hP-8I
 for 54905 <at> debbugs.gnu.org; Thu, 14 Apr 2022 13:15:01 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37068)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nf33W-0007YF-UT; Thu, 14 Apr 2022 13:14:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=QRt+yEh34P/jNLf8i5YbcbT0co12w7lk+PkISgRAAAU=; b=ZuQlEKbeG+T+
 n+jtxaPp3510dDXcOZD3AB8/5IZi6BHAxhGZUxZdM+bj3cV1nHyocL3JcPtnDB5sM4CSkPKm8SLVP
 +9dYrn6sveyZWPBUt+bikwQT2M3qUkXODXC/HWAET85jpJBlu41LOZPRdtl/pPO2FJf0jP8eVxvU2
 k7QR0MunvNTNBWGjPqH0DVknCzkQW/zyYYONS6qpymz/SjtNUlkXkDM1F5F+O6eej1uPuNE4WJSg1
 Qkc3k4yJaxh75pG24CKxKe9Y+00OBwx+eO+J9jtGwjpl7EIPFsqhMsP0FAh09NuIXt89xNRrUikWE
 dN09hUc1NrM+9e43LJYXYA==;
Received: from [87.69.77.57] (port=2741 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nf33W-0006Mp-Dr; Thu, 14 Apr 2022 13:14:54 -0400
Date: Thu, 14 Apr 2022 20:15:04 +0300
Message-Id: <83o81337tz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <878rs7k4r7.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 14 Apr 2022 18:29:32 +0200)
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN> <878rs7k4r7.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, 54905 <at> debbugs.gnu.org
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: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: laszlomail@HIDDEN,  54905 <at> debbugs.gnu.org
> Date: Thu, 14 Apr 2022 18:29:32 +0200
> 
> Yes, this doesn't seem to work:
> 
> (keymap-local-set "<header-line> <drag-mouse-1>" #'foo)
> (defun foo (e)
>   (interactive "e")
>   (message "Hello %S %S"
> 	   (posn-x-y (event-start e)) (posn-x-y (event-end e))))
> 
> Dragging something in the header line does not call this function.

That's because we intervene, AFAICT.  Type "C-h c", then drag the
mouse on the header-line, and see what Emacs tells you about that.




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

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


Received: (at 54905) by debbugs.gnu.org; 14 Apr 2022 16:29:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 14 12:29:44 2022
Received: from localhost ([127.0.0.1]:57071 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nf2Lo-0004Ga-DQ
	for submit <at> debbugs.gnu.org; Thu, 14 Apr 2022 12:29:44 -0400
Received: from quimby.gnus.org ([95.216.78.240]:42400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nf2Lm-0004GI-N5
 for 54905 <at> debbugs.gnu.org; Thu, 14 Apr 2022 12:29:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=3KaWAkc+BsJ7c00DWP+NvUbE7j6bnDJVHlBwdsHvCp0=; b=oyn6nRruZR5+Zks3u+w4dJRcLb
 GGE32Hg6XBsl9IWEVrxS5erIE3RIxfRj+dbaf/F288/tQkKAfbT2zOR8NfFrPATQyxsDM2UG0MEkW
 18/7H05BB18XSrIpad3NegOkBo/Nbsqfd9MPpaIM08s3tVudLS9W/iW4LATjGoXyr4H0=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nf2Ld-0004C9-GF; Thu, 14 Apr 2022 18:29:36 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN> <83tuav3aqy.fsf@HIDDEN>
Date: Thu, 14 Apr 2022 18:29:32 +0200
In-Reply-To: <83tuav3aqy.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 14 Apr
 2022 19:12:05 +0300")
Message-ID: <878rs7k4r7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > What's wrong with
 drag-mouse-1
 etc.? Or am I misunderstanding the > question? No, that was exactly what
 I was looking for. :-/ I was getting some weird results when I tried using
 it, so I assumed that it didn't quite work, but I tried it again now, and
 it seems to work fine. I [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> What's wrong with drag-mouse-1 etc.?  Or am I misunderstanding the
> question?

No, that was exactly what I was looking for.  :-/  I was getting some
weird results when I tried using it, so I assumed that it didn't quite
work, but I tried it again now, and it seems to work fine.  I may have
been getting confused by the binding(s) that already exists in
header-line -- there's a bunch of different bindings for down (etc.)
there...

Yes, this doesn't seem to work:

(keymap-local-set "<header-line> <drag-mouse-1>" #'foo)
(defun foo (e)
  (interactive "e")
  (message "Hello %S %S"
	   (posn-x-y (event-start e)) (posn-x-y (event-end e))))

Dragging something in the header line does not call this function.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 54905) by debbugs.gnu.org; 14 Apr 2022 16:12:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 14 12:12:03 2022
Received: from localhost ([127.0.0.1]:57046 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nf24h-0003ml-II
	for submit <at> debbugs.gnu.org; Thu, 14 Apr 2022 12:12:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54560)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nf24f-0003m7-DX
 for 54905 <at> debbugs.gnu.org; Thu, 14 Apr 2022 12:12:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35880)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nf24a-0003Jm-6e; Thu, 14 Apr 2022 12:11:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=Vq0pBN5NEByFDLa4OGv3KgQr8ovJUJnShw+s40WMmA0=; b=que+QgixwfO6thsEsZjq
 rQ9stM7UWKYOjqIqsGbi3qJXL3o0j5qEzbJ7w6ll9+jYvlSk5uh6iTrIAIZidduWpyQAS7a0YKy9G
 JL3OLoPC5NplTwfcoG75B9jpHATi5JdG2ggKye2mf3G0cTbMrpkRjwtb8fwbJ920V9HuUJjO+UWI+
 i4VuXAzBFg+IwzEYaXCHW5Xc/ODseA242o5fbbAJ82xIrYigu7oOH8yEkz0VaqNu65hulL430ERdQ
 ddKvKXhrCi2AbIyN3MxmakkOhOHpz006hvVw1NbkqAzOK8hFAuhxwEVwx8lHMLsajENL+LAReLaZg
 rqGrR36BDLtAtA==;
Received: from [87.69.77.57] (port=2800 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nf24Z-00005q-JS; Thu, 14 Apr 2022 12:11:55 -0400
Date: Thu, 14 Apr 2022 19:12:05 +0300
Message-Id: <83tuav3aqy.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87o813lq1j.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 14 Apr 2022 16:04:24 +0200)
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 <87o813lq1j.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: laszlomail@HIDDEN, 54905 <at> debbugs.gnu.org
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: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Thu, 14 Apr 2022 16:04:24 +0200
> Cc: 54905 <at> debbugs.gnu.org
> 
> Kiss Dénes <laszlomail@HIDDEN> writes:
> 
> > I'm not a fan of using the mouse in general, but when during browsing
> > tables you want to resize columns, it is more natural to grab some
> > handle with the mouse at the edge of the column and drag to resize it,
> > than doing it from the keyboard.
> 
> Yes, that would be very nice.
> 
> Does anybody know the state of Emacs' mouse dragging support for
> something like this?  Do we still need to...  er...  bind down-mouse-1
> and then write all the code to do stuff outselves with track-mouse?  Or
> has Emacs grown some more high-level code to bind dragging events?

What's wrong with drag-mouse-1 etc.?  Or am I misunderstanding the
question?




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

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


Received: (at 54905) by debbugs.gnu.org; 14 Apr 2022 14:04:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 14 10:04:36 2022
Received: from localhost ([127.0.0.1]:56841 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nf05L-0006Xj-OF
	for submit <at> debbugs.gnu.org; Thu, 14 Apr 2022 10:04:35 -0400
Received: from quimby.gnus.org ([95.216.78.240]:40824)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nf05K-0006XV-9Y
 for 54905 <at> debbugs.gnu.org; Thu, 14 Apr 2022 10:04:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=6WWXDH+p7TDExHMnQz/HJXyFAUzP2FNTzPUKCxzto5k=; b=pvHh+965C+ANjFn4equt3bpaIg
 k5Q+Tie2P9M36pn3XiDbZI3ClVhcx+7sk/oaiKNpgCiflpW5cMoexAUttwG3paLAiteequAC32iok
 vrC6JemWllUXXcjt9G8+Ip8DQGKYXBq8VKrFJ68HcduLmVIOau5C01aGtbskoQS1eyIU=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nf05B-0002GL-3Y; Thu, 14 Apr 2022 16:04:27 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Kiss =?utf-8?Q?D=C3=A9nes?= <laszlomail@HIDDEN>
Subject: Re: bug#54905: Allow in tabulated lists to resize columns with the
 mouse
References: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
Date: Thu, 14 Apr 2022 16:04:24 +0200
In-Reply-To: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
 ("Kiss =?utf-8?Q?D=C3=A9nes=22's?= message of "Wed, 13 Apr 2022 11:59:45
 +0000")
Message-ID: <87o813lq1j.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Kiss Dénes <laszlomail@HIDDEN> writes: > I'm not
   a fan of using the mouse in general, but when during browsing > tables you
    want to resize columns, it is more natural to grab some > handle with the
    mouse at the edge of the column and drag [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54905
Cc: 54905 <at> debbugs.gnu.org
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: -3.3 (---)

Kiss D=C3=A9nes <laszlomail@HIDDEN> writes:

> I'm not a fan of using the mouse in general, but when during browsing
> tables you want to resize columns, it is more natural to grab some
> handle with the mouse at the edge of the column and drag to resize it,
> than doing it from the keyboard.

Yes, that would be very nice.

Does anybody know the state of Emacs' mouse dragging support for
something like this?  Do we still need to...  er...  bind down-mouse-1
and then write all the code to do stuff outselves with track-mouse?  Or
has Emacs grown some more high-level code to bind dragging events?

I tried looking around a bit, but didn't see anything obvious, but I may
well be missing something.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54905; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 13 Apr 2022 11:59:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 13 07:59:56 2022
Received: from localhost ([127.0.0.1]:51902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nebfA-0003qu-9v
	for submit <at> debbugs.gnu.org; Wed, 13 Apr 2022 07:59:56 -0400
Received: from lists.gnu.org ([209.51.188.17]:56814)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <laszlomail@HIDDEN>) id 1nebf8-0003qk-R1
 for submit <at> debbugs.gnu.org; Wed, 13 Apr 2022 07:59:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49136)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <laszlomail@HIDDEN>)
 id 1nebf8-0002Tw-JM
 for bug-gnu-emacs@HIDDEN; Wed, 13 Apr 2022 07:59:54 -0400
Received: from mail-4325.protonmail.ch ([185.70.43.25]:40547)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <laszlomail@HIDDEN>)
 id 1nebf6-0006lL-Rj
 for bug-gnu-emacs@HIDDEN; Wed, 13 Apr 2022 07:59:54 -0400
Date: Wed, 13 Apr 2022 11:59:45 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1649851190;
 bh=USSUtmTYEiwmkrE+drQN8sYCGuZOF+fczEj9jSbzXeU=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject:
 Reply-To:Feedback-ID:Message-ID;
 b=VtpocdX5VnDM2LKvKtshFg0wdqvYZJ+bI1fPHh+EERFHvYyzmcaTFS6crX9cWs+x2
 kLKqG+PD0H5aLCZVzwZU9Eju28d948CnVG6NuDdwQN+rvDlb1A/+JmVjSUOh1kf1mU
 pAwm8lgY++liGvN4scHk6Q/QzgpRWlX6ovtfGRnOtzPd9bS/eE1xdR1XVV9WwiGNO3
 G300sq+bbN/GwMv1H1t34FTFBqBFpOrXxbDeJgQnBhuweX5xMmcsir7MkZckQGjGEL
 3cK0IJzh/0z/Da+KoO7ruS1Odux/2DjAOQmoG+GkVM6qZtnMeSJxtn+7gU1lawTrXl
 Ons8h2RgXev2g==
To: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
From: =?utf-8?Q?Kiss_D=C3=A9nes?= <laszlomail@HIDDEN>
Subject: Allow in tabulated lists to resize columns with the mouse
Message-ID: <nYa4V22658ZrjsS_3EPYBoFWlJi6QcH4oo9TK-Ir_QLwIjmClGvpjOwnrWN0ylDgqLlWrJXJk4Eooo2KjjSrGH8DY3A2FWIG0sR-PTYZG1Q=@protonmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1_iPjWLJvw9jaJ68fXikLhfOXznwyZA5iGAt3BUBFydls"
Received-SPF: pass client-ip=185.70.43.25;
 envelope-from=laszlomail@HIDDEN; helo=mail-4325.protonmail.ch
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,
 HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.2 (/)
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>
Reply-To: =?utf-8?Q?Kiss_D=C3=A9nes?= <laszlomail@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This is a multi-part message in MIME format.

--b1_iPjWLJvw9jaJ68fXikLhfOXznwyZA5iGAt3BUBFydls
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

SSdtIG5vdCBhIGZhbiBvZiB1c2luZyB0aGUgbW91c2UgaW4gZ2VuZXJhbCwgYnV0IHdoZW4gZHVy
aW5nIGJyb3dzaW5nIHRhYmxlcyB5b3Ugd2FudCB0byByZXNpemUgY29sdW1ucywgaXQgaXMgbW9y
ZSBuYXR1cmFsIHRvIGdyYWIgc29tZSBoYW5kbGUgd2l0aCB0aGUgbW91c2UgYXQgdGhlIGVkZ2Ug
b2YgdGhlIGNvbHVtbiBhbmQgZHJhZyB0byByZXNpemUgaXQsIHRoYW4gZG9pbmcgaXQgZnJvbSB0
aGUga2V5Ym9hcmQuCgpJdCBpcyB0aGUgbm9ybSBpbiBHVUkgdGFibGUgYXBwcywgc28gaXQgd291
bGQgYmUgZ3JlYXQgaWYgZW1hY3MgY291bGQgYWxzbyBwcm92aWRlIGEgd2F5IHRvIGRvIGl0LCBl
LmcuIGJ5IHB1dHRpbmcgc29tZSBncmFwaGljYWwgaGFuZGxlIGNoYXJhY3RlciBhZnRlciB0aGUg
Y29sdW1uIG5hbWUgd2hpY2ggY291bGQgYmUgZ3JhYmJlZCBhbmQgZHJhZ2dlZCB3aXRoIHRoZSBt
b3VzZSB0byBjaGFuZ2UgY29sdW1uIHNpemUu

--b1_iPjWLJvw9jaJ68fXikLhfOXznwyZA5iGAt3BUBFydls
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64

PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IGFyaWFsOyBmb250LXNpemU6IDE0cHg7IGNvbG9yOiBy
Z2IoMzQsIDM0LCAzNCk7Ij5JJ20gbm90IGEgZmFuIG9mIHVzaW5nIHRoZSBtb3VzZSBpbiBnZW5l
cmFsLCBidXQgd2hlbiBkdXJpbmcgYnJvd3NpbmcgdGFibGVzIHlvdSB3YW50IHRvIHJlc2l6ZSBj
b2x1bW5zLCBpdCBpcyBtb3JlIG5hdHVyYWwgdG8gZ3JhYiBzb21lIGhhbmRsZSB3aXRoIHRoZSBt
b3VzZSBhdCB0aGUgZWRnZSBvZiB0aGUgY29sdW1uIGFuZCBkcmFnIHRvIHJlc2l6ZSBpdCwgdGhh
biBkb2luZyBpdCBmcm9tIHRoZSBrZXlib2FyZC48L2Rpdj48ZGl2IHN0eWxlPSJmb250LWZhbWls
eTogYXJpYWw7IGZvbnQtc2l6ZTogMTRweDsgY29sb3I6IHJnYigzNCwgMzQsIDM0KTsiPjxicj48
L2Rpdj48ZGl2IHN0eWxlPSJmb250LWZhbWlseTogYXJpYWw7IGZvbnQtc2l6ZTogMTRweDsgY29s
b3I6IHJnYigzNCwgMzQsIDM0KTsiPkl0IGlzIHRoZSBub3JtIGluIEdVSSB0YWJsZSBhcHBzLCBz
byBpdCB3b3VsZCBiZSBncmVhdCBpZiBlbWFjcyBjb3VsZCBhbHNvIHByb3ZpZGUgYSB3YXkgdG8g
ZG8gaXQsIGUuZy4gYnkgcHV0dGluZyBzb21lIGdyYXBoaWNhbCBoYW5kbGUgY2hhcmFjdGVyIGFm
dGVyIHRoZSBjb2x1bW4gbmFtZSB3aGljaCBjb3VsZCBiZSBncmFiYmVkIGFuZCBkcmFnZ2VkIHdp
dGggdGhlIG1vdXNlIHRvIGNoYW5nZSBjb2x1bW4gc2l6ZS48YnI+PC9kaXY+


--b1_iPjWLJvw9jaJ68fXikLhfOXznwyZA5iGAt3BUBFydls--





Acknowledgement sent to Kiss Dénes <laszlomail@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#54905; 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: Fri, 15 Apr 2022 11:30:02 UTC

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