unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCHES] Minor patches for Remember, Minibuffer and Tab Bar
Date: Tue, 05 Jan 2021 20:58:44 +0200	[thread overview]
Message-ID: <87o8i3i523.fsf@mail.linkov.net> (raw)
In-Reply-To: <CH2PR01MB587905EB8149C34AD85FEA578BF00@CH2PR01MB5879.prod.exchangelabs.com> (Gabriel do Nascimento Ribeiro's message of "Sat, 05 Dec 2020 01:26:25 -0300")

> Here are some suggestions of minor patches. Hope it's useful in some
> way.
>
> This patch:
>   - adds a trailing space to minibuffer depth indicator, so it has some
>   distance from minibuffer prompt

It hard-codes the space character, but it would be more user-friendly to
allow customization of its format string with a new user option with such
the default value: "[%d]".

> This patch:
>   - adds a new option 'tab-bar-history-buttons-show' to control
>   visibility of tab-bar-history back and forward buttons, similar to
>   'tab-bar-new-button-show' and 'tab-bar-close-button-show'

Thanks, now your patch is pushed to master.

> This patch:
>   - adds a new option 'tab-bar-tab-name-format-function' to let user
>   specify a custom function to format the final string of tab
>   name. This would be useful in many cases, for example, to add custom
>   properties/faces to final tab name or to trim spaces in case
>   'tab-bar-rename-tab' has trailing spaces. It could also fix a trailing
>   space when 'tab-bar-tab-hints' is set to  true and
>   'tab-bar-tab-name-function' returns an empty string

Now a more general option 'tab-bar-tab-name-format-function'
is pushed to master that allows easier customization for the
format of tab names.



  parent reply	other threads:[~2021-01-05 18:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05  4:26 [PATCHES] Minor patches for Remember, Minibuffer and Tab Bar Gabriel do Nascimento Ribeiro
2020-12-05 16:03 ` Drew Adams
2020-12-05 16:57   ` Gabriel do Nascimento Ribeiro
2020-12-05 17:08     ` Drew Adams
2020-12-05 20:30   ` Juri Linkov
2020-12-05 21:52     ` Drew Adams
2020-12-05 21:58       ` Juri Linkov
2020-12-05 22:48         ` Drew Adams
2021-01-05 18:58 ` Juri Linkov [this message]
2021-01-05 23:52   ` Gabriel do Nascimento Ribeiro
2021-01-06 18:28     ` Juri Linkov

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=87o8i3i523.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=emacs-devel@gnu.org \
    --cc=gabriel376@hotmail.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).