all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
Cc: Adam Porter <adam@alphapapa.net>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: tab-line-tab-modified: cool feature... not yet there
Date: Sun, 03 Oct 2021 20:17:10 +0300	[thread overview]
Message-ID: <87y27a6nah.fsf@mail.linkov.net> (raw)
In-Reply-To: <99A9E3F0-53EC-4D9C-8B9D-137D89A44D5C@gmail.com> (Pedro Andres Aranda Gutierrez's message of "Sun, 3 Oct 2021 07:25:34 +0200")

> Hi, I've seen a couple of ideas in the internet on how to spped his up. You
> could use the buffer-change hooks and defadvice on undo and would be much
> less than on every keypress, right? I think this could be a good compromise

Fortunately, it was much easier to implement this by adding
just these 3 lines to tab-line-format:

+                          (and (memq 'tab-line-tab-face-modified
+                                     tab-line-tab-face-functions)
+                               (buffer-file-name) (buffer-modified-p))))

So now this is fixed in the emacs-28 branch.



  reply	other threads:[~2021-10-03 17:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ilykpnqb.fsf@mail.linkov.net>
     [not found] ` <6764B7C0-D125-4E1C-B030-4D7FEAC02980@gmail.com>
2021-10-02  7:19   ` tab-line-tab-modified: cool feature... not yet there Adam Porter
2021-10-02 19:42     ` Juri Linkov
2021-10-03  5:25       ` Pedro Andres Aranda Gutierrez
2021-10-03 17:17         ` Juri Linkov [this message]
2021-10-04  5:10           ` Pedro Andres Aranda Gutierrez
2021-10-04  7:35           ` Pedro Andres Aranda Gutierrez
2021-09-26 10:20 Pedro Andres Aranda Gutierrez
2021-09-27 15:41 ` 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

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

  git send-email \
    --in-reply-to=87y27a6nah.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    --cc=paaguti@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 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.