unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Eval EXEC <execvy@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu
Date: Thu, 05 Sep 2024 07:11:45 +0200	[thread overview]
Message-ID: <8734meadm6.fsf@gnu.org> (raw)
In-Reply-To: <87y147v77e.fsf@gmail.com> (Eval EXEC's message of "Wed, 04 Sep 2024 22:12:21 +0800")

Eval EXEC <execvy@gmail.com> writes:

Hi,

> ```elisp
> (setq-default tab-bar-format
>               tab-bar-format-menu-bar
>               tab-bar-format-history
>               tab-bar-format-tabs
>               tab-bar-separator
>               tab-bar-format-add-tab
>               tab-bar-separator
>               tab-bar-format-align-right
>               tab-bar-format-global)
> ```

I've re-formatted your code so that it better shows what you did there:

(setq-default tab-bar-format tab-bar-format-menu-bar
              tab-bar-format-history tab-bar-format-tabs
              tab-bar-separator tab-bar-format-add-tab
              tab-bar-separator tab-bar-format-align-right
              tab-bar-format-global nil)

Like setq, setq-default receives pairs of variables and expressions.  So
you set

    tab-bar-format = tab-bar-format-menu-bar
    tab-bar-format-history = tab-bar-format-tabs
    ...
    tab-bar-format-global = nil

I guess you want something like

(setq-default tab-bar-format
              '(tab-bar-format-menu-bar
                tab-bar-format-history tab-bar-format-tabs
                tab-bar-separator tab-bar-format-add-tab
                tab-bar-separator tab-bar-format-align-right
                tab-bar-format-global))

HTH,
  Tassilo



  parent reply	other threads:[~2024-09-05  5:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 14:12 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu Eval EXEC
2024-09-04 14:31 ` Eli Zaretskii
2024-09-04 14:36   ` execvy
2024-09-04 14:40     ` Rich text in email Eli Zaretskii
2024-09-04 14:57       ` Eval EXEC
2024-09-04 14:36 ` 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu Po Lu
2024-09-05  5:11 ` Tassilo Horn [this message]
2024-09-05  6:26   ` Eval EXEC
2024-09-05  8:09     ` Eli Zaretskii
2024-09-05  8:11       ` Eval EXEC
2024-09-05  9:12         ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8734meadm6.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=execvy@gmail.com \
    /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 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).