From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Juri Linkov <juri@linkov.net>
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, 3 Oct 2021 07:25:34 +0200 [thread overview]
Message-ID: <99A9E3F0-53EC-4D9C-8B9D-137D89A44D5C@gmail.com> (raw)
In-Reply-To: <87wnmvdx0t.fsf@mail.linkov.net>
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
Best, /PA
Enviado desde mi iPad
El 2 oct 2021, a las 21:42, Juri Linkov <juri@linkov.net> escribió:
>>>> Thanks, now everything is clear. The problem is that it changes the color
>>>> of the tab only after you switch to another buffer. I don't know whether
>>>> the author Adam (Cc'ed) intended this. It makes sense not to change
>>>> the color of the current tab immediately to not distract the user.
>>>
>>> I don’t know if changing the colour in the tab distracts or confuses. At
>>> least it seems to confuse me ;-) I would expect the tab to change at the
>>> same time as the mode-line in order to have consistent information on the
>>> screen. I don’t like to be told different things by the tab line and the
>>> mode line ;-)
>>
>> The patch I submitted doesn't have any effect on how or when the
>> tab-line is updated. I've also noticed the effect you describe, that
>> the tab-line doesn't update until I change to another buffer, but ISTM
>> that that's an orthogonal issue. The tab-bar does update with
>> redisplay, while the tab-line seems to only update on buffer-switch,
>> or something like that. If the tab-line should update with redisplay,
>> I guess that could be done. I guess it might be relevant to redisplay
>> performance, but Juri should know about that; maybe that's why it
>> doesn't already do that.
>
> Indeed, it's related to redisplay performance, so it was optimized by caching
> to update the tab-line only on buffer switching, not on every key press.
next prev parent reply other threads:[~2021-10-03 5:25 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 [this message]
2021-10-03 17:17 ` Juri Linkov
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=99A9E3F0-53EC-4D9C-8B9D-137D89A44D5C@gmail.com \
--to=paaguti@gmail.com \
--cc=adam@alphapapa.net \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
/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.