all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: [tab-bar] How to show something in the right side?
Date: Mon, 28 Jun 2021 13:16:16 +0100	[thread overview]
Message-ID: <87bl7q2nhr.fsf@ucl.ac.uk> (raw)
In-Reply-To: 875yy2ufyq.fsf@gmail.com

On Friday, 25 Jun 2021 at 10:22, Rodrigo Morales wrote:
> * The question
>
> Have any of you managed to insert some content in the right side of the
> tab-bar (the one that is shown when tab-bar-mode is enabled)?

I have the following:

#+begin_src emacs-lisp
  (setq display-time-day-and-date t)
  (display-time)
  (add-to-list 'tab-bar-format 'tab-bar-format-align-right t)
  (add-to-list 'tab-bar-format 'tab-bar-format-global t)
#+end_src 

which seems to automatically add the time/date display that appears in
the mode-line to the tab bar at the right.

I think that's all I had to do.

Emms track information is also meant to appear but only the first track
played does for some reason.  I have not had the (spare) time to figure
out why this is.

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.4.6 on Debian bullseye/sid




  parent reply	other threads:[~2021-06-28 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-25 15:22 [tab-bar] How to show something in the right side? Rodrigo Morales
2021-06-25 21:18 ` Stephen Berman
2021-06-28 12:16 ` Eric S Fraga [this message]
2021-06-28 12:17 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bl7q2nhr.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.