unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58724: Consider showing the vertical border in the tab line
@ 2022-10-22 19:34 João Guerra
  2022-10-25 18:46 ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: João Guerra @ 2022-10-22 19:34 UTC (permalink / raw)
  To: 58724

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

The vertical border is not shown in the tab line. See
no-window-divider-mode.png for an example. On the other hand, the
window divider is (when using window-divider-mode). See
window-divider-mode.png for an example.

I think it would make sense to show the vertical border in the tab
line, since it is still part of the window. On the other hand, the
mode line is also part of the window but the vertical border is not
shown there. While it is possible to customize tab line to do this,
this is a minor UI detail that could be there from the start. Other
editors show their corresponding window dividers in their
corresponding tab line, which leads to a more consistent UI (albeit a
small detail).

[-- Attachment #2: window-divider-mode.png --]
[-- Type: image/png, Size: 2566 bytes --]

[-- Attachment #3: no-window-divider-mode.png --]
[-- Type: image/png, Size: 2340 bytes --]

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

* bug#58724: Consider showing the vertical border in the tab line
  2022-10-22 19:34 bug#58724: Consider showing the vertical border in the tab line João Guerra
@ 2022-10-25 18:46 ` Juri Linkov
  2022-10-29 12:59   ` João Guerra
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2022-10-25 18:46 UTC (permalink / raw)
  To: João Guerra; +Cc: 58724

> The vertical border is not shown in the tab line. See
> no-window-divider-mode.png for an example. On the other hand, the
> window divider is (when using window-divider-mode). See
> window-divider-mode.png for an example.
>
> I think it would make sense to show the vertical border in the tab
> line, since it is still part of the window. On the other hand, the
> mode line is also part of the window but the vertical border is not
> shown there.

This is the reason why the vertical border is not shown in the tab line -
for consistency with the mode line and the header line.

> While it is possible to customize tab line to do this,
> this is a minor UI detail that could be there from the start. Other
> editors show their corresponding window dividers in their
> corresponding tab line, which leads to a more consistent UI (albeit a
> small detail).

Patches welcome to show the vertical border everywhere:
in the mode line, header line, tab line.





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

* bug#58724: Consider showing the vertical border in the tab line
  2022-10-25 18:46 ` Juri Linkov
@ 2022-10-29 12:59   ` João Guerra
  2022-10-29 15:53     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: João Guerra @ 2022-10-29 12:59 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 58724

Is there a simple way to draw 1 pixel lines or 1 pixel spaces? I am
currently adding a vertical border in my tab-line customization with a
XPM, but that doesn't sound ideal. How's the original vertical border
drawn?





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

* bug#58724: Consider showing the vertical border in the tab line
  2022-10-29 12:59   ` João Guerra
@ 2022-10-29 15:53     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2022-10-29 15:53 UTC (permalink / raw)
  To: João Guerra; +Cc: 58724, juri

> Cc: 58724@debbugs.gnu.org
> From: João Guerra <joca.bt@gmail.com>
> Date: Sat, 29 Oct 2022 14:59:40 +0200
> 
> Is there a simple way to draw 1 pixel lines or 1 pixel spaces?

Not from Lisp, AFAIK.

> How's the original vertical border drawn?

See x_draw_vertical_window_border in xterm.c.

And note that any lines you draw on display need to be accounted for
it the layout code, as our display engine will most probably overwrite
it when you least expect it to.





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

end of thread, other threads:[~2022-10-29 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22 19:34 bug#58724: Consider showing the vertical border in the tab line João Guerra
2022-10-25 18:46 ` Juri Linkov
2022-10-29 12:59   ` João Guerra
2022-10-29 15:53     ` Eli Zaretskii

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).