GNU bug report logs - #21932
24.3.1; tabulated-list-mode minor bugs and feature requests

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: Ken Raeburn <raeburn@HIDDEN>; dated Mon, 16 Nov 2015 08:15:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 16 Nov 2015 08:14:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 16 03:14:52 2015
Received: from localhost ([127.0.0.1]:39479 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZyEw7-0004MY-JS
	for submit <at> debbugs.gnu.org; Mon, 16 Nov 2015 03:14:51 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43551)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <raeburn@HIDDEN>) id 1ZyEw5-0004MQ-FR
 for submit <at> debbugs.gnu.org; Mon, 16 Nov 2015 03:14:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1ZyEw4-0003hw-GW
 for submit <at> debbugs.gnu.org; Mon, 16 Nov 2015 03:14:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45299)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1ZyEw4-0003hs-DU
 for submit <at> debbugs.gnu.org; Mon, 16 Nov 2015 03:14:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53555)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1ZyEw3-0000I6-Ay
 for bug-gnu-emacs@HIDDEN; Mon, 16 Nov 2015 03:14:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1ZyEw0-0003gM-56
 for bug-gnu-emacs@HIDDEN; Mon, 16 Nov 2015 03:14:47 -0500
Received: from mail-yk0-x231.google.com ([2607:f8b0:4002:c07::231]:36589)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1ZyEvz-0003fl-TT
 for bug-gnu-emacs@HIDDEN; Mon, 16 Nov 2015 03:14:44 -0500
Received: by ykdr82 with SMTP id r82so226242135ykd.3
 for <bug-gnu-emacs@HIDDEN>; Mon, 16 Nov 2015 00:14:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=raeburn_org.20150623.gappssmtp.com; s=20150623;
 h=from:content-type:content-transfer-encoding:date:subject:to
 :message-id:mime-version;
 bh=s7Pyih35KkeS3htYXdz1LURKO1c4Ug/bmKGzR/vbrlA=;
 b=z/FbWRcYEvJnnFkRGWsp/dMma/5r7M5saAOm5cozn1Ib/yw4nKjCzm8c0SqpxlCT7J
 zit6hgS9sS2qm1egIax7ZTKA4mWMdwo15Gi/kLMGkZUaX3x2dDK6iunHcEZ2MoJeG+WX
 Y0xv/cMfDu3jNFfVmbVKlaxA9hGGEmzXQM9f2m/ZdKBUu8sJM/FgQW4/5C9bzrR/wWSR
 oxtPXciX2w+HGsszU/rq9GhfiAB2eSHO+ePiL/hyP8ySkAD+I6Y1FThe5/Nf1Qx5FlQn
 QCDbyM6njv+hknj4nmwevKp7o4iB+WyERowkFuvYeBReoNSXgDcP1kIHIkZQBlhkDVoB
 oXKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:content-type:content-transfer-encoding:date
 :subject:to:message-id:mime-version;
 bh=s7Pyih35KkeS3htYXdz1LURKO1c4Ug/bmKGzR/vbrlA=;
 b=O1zLiVNwD/hJ5JC1cwBlF5BcYJC9kvHuPjcVgj5dzgCLfwYv5tzGyV+FsCdCdkxct/
 yxrbyu+DPdxQmmmXZXRdPfY84B6hVbl6sU61FEMnpxDH/nM3frEwEXBpktsByGJ/nhcE
 GYlvBRJ+dIHP2zWK9Ny6f6HqbZaN0Du9FdqtLT67RT6hAviwnxTeKX8amWXDOMr5l4jB
 I7n80QZeUBmmI2SiLzHPx00OMISEqHG3+XPrvQk8egu+9IDO/5rtwM0+cr4sk42uYd4x
 MbwWnaSCh2d+Mk+/7Jc2n2ycF19PqY3NaB01KkIsZhi8wIlf1n80jg+DxouKr2fpUzH3
 aEBA==
X-Gm-Message-State: ALoCoQmGKiQMbsHfoHdWUXIOM1GrCa2W/r3ttelu5wQlgQ2jVmsfS2+xIDMva7TQVcmA0Mtg+HMF
X-Received: by 10.13.244.1 with SMTP id d1mr37506115ywf.84.1447661681765;
 Mon, 16 Nov 2015 00:14:41 -0800 (PST)
Received: from [192.168.17.111] (c-66-31-203-101.hsd1.ma.comcast.net.
 [66.31.203.101])
 by smtp.gmail.com with ESMTPSA id h67sm33662065ywe.32.2015.11.16.00.14.41
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Mon, 16 Nov 2015 00:14:41 -0800 (PST)
From: Ken Raeburn <raeburn@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Date: Mon, 16 Nov 2015 03:14:39 -0500
Subject: 24.3.1; tabulated-list-mode minor bugs and feature requests
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Message-Id: <4E4694C1-5FE9-4E04-8859-746413B315D9@HIDDEN>
Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\))
X-Mailer: Apple Mail (2.3096.5)
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -5.0 (-----)

Tabulated list mode is quite a nice helper for viewing information.  =
I=E2=80=99ve used it to throw together various simple modes for =
debugging other Emacs code or for work =E2=80=94 listing Emacs timers, =
listing Emacs frames and which displays they=E2=80=99re on, listing my =
Perforce workspaces with descriptions.

In using it, I have run across a few minor issues, and have a few =
enhancements I=E2=80=99d like to see.

1) Tabulated list mode doesn=E2=80=99t line the columns up properly if =
you use C-x C=E2=80=94 or C-x C-+ to alter the text size.  The columns =
are not lined up consistently, though in the mode I=E2=80=99m writing =
right now, some of them do seem to stay lined up with the headers if I =
shrink the text.

2) When changing the text size, the text of the header line is =
unchanged.  If this is intentional, then the number of characters in =
each column should be adjusted up or down to compensate, so that entry =
columns aren=E2=80=99t too wide, and aren=E2=80=99t truncated to a much =
narrower width than necessary.  I would guess it=E2=80=99s accidental, =
though.

3) Tabulated list mode doesn=E2=80=99t line the columns up properly if =
you use variable-pitch-mode.  This one is hard, I=E2=80=99m sure, =
because the same buffer could simultaneously be displayed on multiple =
displays that support different fonts, and on terminals that don=E2=80=99t=
 support anything but one fixed-width font.  If we don=E2=80=99t =
truncate each string to the shortest length useable across all frames =
displaying the buffer based on font metrics and the specific text to be =
displayed, which would probably look kind of ugly (=E2=80=A6but might =
not?), then I think we need the display engine to make the choice where =
to truncate rather than the Lisp code.

4) On most graphical displays it should be capable of using the Unicode =
ellipsis code point U+2026 instead of taking up three columns with dots; =
that would give us back two columns of text on such displays.  Again, =
this would be potentially displaying different amounts of text, as well =
as different ellipses, on different displays.

5) Adjustable column widths: Many table-based GUIs I=E2=80=99ve seen let =
the user grab the dividing line between headers and drag it left or =
right to alter a field=E2=80=99s width, sometimes with limits to how =
wide or narrow the field is allowed to be.  It wouldn=E2=80=99t work for =
every case, but when there is a padding space between column headers, =
perhaps it can be given mouse bindings similar to the way =
mouse-drag-vertical-line works.

Ken=




Acknowledgement sent to Ken Raeburn <raeburn@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#21932; 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 Nov 2019 12:00:02 UTC

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