unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31851: 26.1; Support a frame-wide bar similar to the mode line
@ 2018-06-15 20:44 Alex Branham
  2018-06-16  6:20 ` Eli Zaretskii
  2018-06-16  6:41 ` martin rudalics
  0 siblings, 2 replies; 7+ messages in thread
From: Alex Branham @ 2018-06-15 20:44 UTC (permalink / raw)
  To: 31851

severity: wishlist

It would be nice to have something similar to the mode line but that
doesn't get duplicated for every window. This would be nice to show (for
example) non-window-specific information like the time, number of new
emails/notifications, etc.

It would also be nice if the location was configurable (I'd personally
like it to be displayed across the top of the frame rather than the
bottom).

Thanks,
Alex





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

* bug#31851: 26.1; Support a frame-wide bar similar to the mode line
  2018-06-15 20:44 bug#31851: 26.1; Support a frame-wide bar similar to the mode line Alex Branham
@ 2018-06-16  6:20 ` Eli Zaretskii
  2018-06-16  6:41 ` martin rudalics
  1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2018-06-16  6:20 UTC (permalink / raw)
  To: Alex Branham; +Cc: 31851

> From: Alex Branham <alex.branham@gmail.com>
> Date: Fri, 15 Jun 2018 15:44:32 -0500
> 
> It would be nice to have something similar to the mode line but that
> doesn't get duplicated for every window. This would be nice to show (for
> example) non-window-specific information like the time, number of new
> emails/notifications, etc.

We already have that: it's called the tool bar.  Of course, if you use
a GTK or NS build, your Emacs is challenged, since the tool-bar
display is delegated to the toolkit.

Anyway, the way the tool bar is implemented in Emacs suggests the
implementation of the requested feature: a special window that
displays the contents of a Lisp string (which then could have other
display elements by way of display and other text properties).

Volunteers welcome.





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

* bug#31851: 26.1; Support a frame-wide bar similar to the mode line
  2018-06-15 20:44 bug#31851: 26.1; Support a frame-wide bar similar to the mode line Alex Branham
  2018-06-16  6:20 ` Eli Zaretskii
@ 2018-06-16  6:41 ` martin rudalics
  2018-06-17  0:55   ` Alex Branham
  1 sibling, 1 reply; 7+ messages in thread
From: martin rudalics @ 2018-06-16  6:41 UTC (permalink / raw)
  To: Alex Branham, 31851

 > It would be nice to have something similar to the mode line but that
 > doesn't get duplicated for every window. This would be nice to show (for
 > example) non-window-specific information like the time, number of new
 > emails/notifications, etc.
 >
 > It would also be nice if the location was configurable (I'd personally
 > like it to be displayed across the top of the frame rather than the
 > bottom).

You can use a side window, see section 28.19 "Side Windows" of the Elisp
manual, for that.

martin





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

* bug#31851: 26.1; Support a frame-wide bar similar to the mode line
  2018-06-16  6:41 ` martin rudalics
@ 2018-06-17  0:55   ` Alex Branham
  2018-06-17  7:53     ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Branham @ 2018-06-17  0:55 UTC (permalink / raw)
  To: martin rudalics; +Cc: 31851


On Sat 16 Jun 2018 at 01:41, martin rudalics <rudalics@gmx.at> wrote:

>> It would be nice to have something similar to the mode line but that
>> doesn't get duplicated for every window. This would be nice to show (for
>> example) non-window-specific information like the time, number of new
>> emails/notifications, etc.
>>
>> It would also be nice if the location was configurable (I'd personally
>> like it to be displayed across the top of the frame rather than the
>> bottom).
>
> You can use a side window, see section 28.19 "Side Windows" of the Elisp
> manual, for that.

Thanks for the suggestion. This looks similar to what I want, but it
doesn't look like there's a way to make it apply to all frames (like the
mode-line does), right?

Thanks,
Alex





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

* bug#31851: 26.1; Support a frame-wide bar similar to the mode line
  2018-06-17  0:55   ` Alex Branham
@ 2018-06-17  7:53     ` martin rudalics
  2021-09-02  7:54       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2018-06-17  7:53 UTC (permalink / raw)
  To: Alex Branham; +Cc: 31851

 >> You can use a side window, see section 28.19 "Side Windows" of the Elisp
 >> manual, for that.
 >
 > Thanks for the suggestion. This looks similar to what I want, but it
 > doesn't look like there's a way to make it apply to all frames (like the
 > mode-line does

... strictly spoken a mode-line "applies" to a buffer or a window but
not to a frame ...

), right?

It doesn't apply to all frames, right.  You have to add some code,
probably to 'after-make-frame-functions', to display such a side
window on every frame.

martin





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

* bug#31851: 26.1; Support a frame-wide bar similar to the mode line
  2018-06-17  7:53     ` martin rudalics
@ 2021-09-02  7:54       ` Lars Ingebrigtsen
  2021-09-02 15:54         ` Juri Linkov
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-02  7:54 UTC (permalink / raw)
  To: martin rudalics; +Cc: 31851, Alex Branham

martin rudalics <rudalics@gmx.at> writes:

>> Thanks for the suggestion. This looks similar to what I want, but it
>> doesn't look like there's a way to make it apply to all frames (like the
>> mode-line does

[...]

> It doesn't apply to all frames, right.  You have to add some code,
> probably to 'after-make-frame-functions', to display such a side
> window on every frame.

I think the conclusion here is that the Side Windows thing covers the
proposed use case, so I'm closing this bug report.

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





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

* bug#31851: 26.1; Support a frame-wide bar similar to the mode line
  2021-09-02  7:54       ` Lars Ingebrigtsen
@ 2021-09-02 15:54         ` Juri Linkov
  0 siblings, 0 replies; 7+ messages in thread
From: Juri Linkov @ 2021-09-02 15:54 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Alex Branham, 31851

> martin rudalics <rudalics@gmx.at> writes:
>
>>> Thanks for the suggestion. This looks similar to what I want, but it
>>> doesn't look like there's a way to make it apply to all frames (like the
>>> mode-line does
>
> [...]
>
>> It doesn't apply to all frames, right.  You have to add some code,
>> probably to 'after-make-frame-functions', to display such a side
>> window on every frame.
>
> I think the conclusion here is that the Side Windows thing covers the
> proposed use case, so I'm closing this bug report.

Actually, now there is a frame-wide bar similar to the mode line
that can be configured using tab-bar-format in tab-bar-mode.





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

end of thread, other threads:[~2021-09-02 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-15 20:44 bug#31851: 26.1; Support a frame-wide bar similar to the mode line Alex Branham
2018-06-16  6:20 ` Eli Zaretskii
2018-06-16  6:41 ` martin rudalics
2018-06-17  0:55   ` Alex Branham
2018-06-17  7:53     ` martin rudalics
2021-09-02  7:54       ` Lars Ingebrigtsen
2021-09-02 15:54         ` Juri Linkov

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