unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54908: Make tabluated list tables more readable by adding some light column color to even columns
@ 2022-04-13 12:16 Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-13 16:11 ` bug#54908: Make tabluated list tables more readable by adding some light Denes Kis
  0 siblings, 1 reply; 4+ messages in thread
From: Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-13 12:16 UTC (permalink / raw)
  To: 54908

Since columns have no separating lines, nor different colors, tables are often hard to read when the values are close to each other due to column sizes:

                2m 26.0s       5m 0.0s savehist-autosave
             8h 8m 12.5s 1d 0h 0m 0.0s clean-buffer-list
            11h 8m 12.7s 1d 0h 0m 0.0s run-hooks
           18h 28m 12.5s 1d 0h 0m 0.0s recentf-cleanup
               59m 29.6s    1h 0m 0.0s url-cookie-write-file

Adding some light background color to even numbered columns could alleviate this, because then it's easier to see where a column ends and where the data of the next column begins.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#54908: Make tabluated list tables more readable by adding some light
  2022-04-13 12:16 bug#54908: Make tabluated list tables more readable by adding some light column color to even columns Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-04-13 16:11 ` Denes Kis
  2022-04-14  1:25   ` bug#54908: Make tabluated list tables more readable by adding some light column color to even columns Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Denes Kis @ 2022-04-13 16:11 UTC (permalink / raw)
  To: 54908@debbugs.gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 264 bytes --]

Attached a screenshot of an old experiment of mine which puts a 0.1 width space between columns emulating the separator line of other apps. Rows use alternating colors.

This solution can work for tabulated list mode too to separate columns better. See attachment.

[-- Attachment #1.2: Type: text/html, Size: 514 bytes --]

[-- Attachment #2: Capture.PNG --]
[-- Type: image/png, Size: 16500 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#54908: Make tabluated list tables more readable by adding some light column color to even columns
  2022-04-13 16:11 ` bug#54908: Make tabluated list tables more readable by adding some light Denes Kis
@ 2022-04-14  1:25   ` Lars Ingebrigtsen
  2022-04-14  4:48     ` Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-14  1:25 UTC (permalink / raw)
  To: Denes Kis; +Cc: 54908@debbugs.gnu.org

Denes Kis <laszlomail@protonmail.com> writes:

> Attached a screenshot of an old experiment of mine which puts a 0.1
> width space between columns emulating the separator line of other
> apps. Rows use alternating colors.

Looks very nice.  I was inspired to implement this for vtable (the
tabulated-list-mode alternative in Emacs 29), see

  https://lars.ingebrigtsen.no/2022/04/13/more-vtable-fun/

Implementing something like this in tabulated-list-mode would be nice,
too, but I think I'll leave that to somebody else.

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#54908: Make tabluated list tables more readable by adding some light column color to even columns
  2022-04-14  1:25   ` bug#54908: Make tabluated list tables more readable by adding some light column color to even columns Lars Ingebrigtsen
@ 2022-04-14  4:48     ` Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 4+ messages in thread
From: Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-14  4:48 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 54908@debbugs.gnu.org

>
> Looks very nice. I was inspired to implement this for vtable (the
> tabulated-list-mode alternative in Emacs 29), see

Interesting. I'll give that a try too.

> Implementing something like this in tabulated-list-mode would be nice,
> too, but I think I'll leave that to somebody else.

I guess with overlays it's just a matter of adding a 0.1 width space with  an after-string property to cells to make the separator lines appear properly. Assuming the table uses fixed-width fonts.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-14  4:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 12:16 bug#54908: Make tabluated list tables more readable by adding some light column color to even columns Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-13 16:11 ` bug#54908: Make tabluated list tables more readable by adding some light Denes Kis
2022-04-14  1:25   ` bug#54908: Make tabluated list tables more readable by adding some light column color to even columns Lars Ingebrigtsen
2022-04-14  4:48     ` Denes Kis via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).