From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#21932: 24.3.1; tabulated-list-mode minor bugs and feature requests Date: Mon, 16 Nov 2015 03:14:39 -0500 Message-ID: <4E4694C1-5FE9-4E04-8859-746413B315D9@raeburn.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447705131 23566 80.91.229.3 (16 Nov 2015 20:18:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2015 20:18:51 +0000 (UTC) To: 21932@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 16 21:18:40 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZyQEZ-0005J8-Oz for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Nov 2015 21:18:40 +0100 Original-Received: from localhost ([::1]:48771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyQEZ-0001xX-C8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Nov 2015 15:18:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyEwO-0000UI-4H for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 03:15:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyEwJ-0003js-5X for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 03:15:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyEwJ-0003jm-2c for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 03:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZyEwI-0004NI-Ns for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 03:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Nov 2015 08:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.144766169216779 (code B ref -1); Mon, 16 Nov 2015 08:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Nov 2015 08:14:52 +0000 Original-Received: from localhost ([127.0.0.1]:39479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyEw7-0004MY-JS for submit@debbugs.gnu.org; Mon, 16 Nov 2015 03:14:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43551) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyEw5-0004MQ-FR for submit@debbugs.gnu.org; Mon, 16 Nov 2015 03:14:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyEw4-0003hw-GW for submit@debbugs.gnu.org; Mon, 16 Nov 2015 03:14:49 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyEw4-0003hs-DU for submit@debbugs.gnu.org; Mon, 16 Nov 2015 03:14:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyEw3-0000I6-Ay for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 03:14:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyEw0-0003gM-56 for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 03:14:47 -0500 Original-Received: from mail-yk0-x231.google.com ([2607:f8b0:4002:c07::231]:36589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyEvz-0003fl-TT for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 03:14:44 -0500 Original-Received: by ykdr82 with SMTP id r82so226242135ykd.3 for ; 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) Original-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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108763 Archived-At: 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=