From: Gregory Heytings via "Emacs development discussions." <emacs-devel@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Modernize frame-title-format: "%b - GNU Emacs"
Date: Mon, 31 Aug 2020 14:52:48 +0000 [thread overview]
Message-ID: <alpine.NEB.2.22.394.2008311649210453.7313@sdf.lonestar.org> (raw)
In-Reply-To: <CADwFkmm3GjVWbDcK7zEm0bwp1XDMBwXxisoceKTQvNygEtHtSA@mail.gmail.com>
>
>> The display engine calls the function which produces the frame's title
>> very frequently. You have just made redisplay much slower due to this
>> call (abbreviate-file-name is a large and complex function, and you
>> call Lisp on top of that), and caused most redisplay cycles prfoduce
>> more garbage. Is it really worth it?
>
> Thanks, I didn't know it was called very frequently. I think it's most
> definitely not worth slowing down redisplay. We should probably replace
> it with the "%b" we had before.
>
I'm not sure, but I think using `buffer-file-truename' (as I did in my
proposal) would eliminate the problems Eli mentioned. It is a
(buffer-local) variable, and it is set only once when a buffer is created.
next prev parent reply other threads:[~2020-08-31 14:52 UTC|newest]
Thread overview: 95+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 22:09 Modernize frame-title-format: "%b - GNU Emacs" Stefan Kangas
2020-08-26 22:37 ` Stefan Monnier
2020-08-26 23:12 ` Drew Adams
2020-08-27 5:28 ` Yuri Khan
2020-08-27 5:55 ` Stefan Kangas
2020-08-27 6:56 ` Yuri Khan
2020-08-27 14:52 ` Stefan Monnier
2020-08-27 15:04 ` tomas
2020-08-27 15:17 ` Stefan Monnier
2020-08-27 16:18 ` Stefan Kangas
2020-08-27 17:02 ` Yuri Khan
2020-08-27 17:28 ` Colin Baxter
2020-08-28 0:17 ` Wayne Harris via Emacs development discussions.
2020-08-28 4:44 ` Yuri Khan
2020-08-28 8:56 ` Ulrich Mueller
2020-08-28 19:03 ` Drew Adams
2020-08-28 19:55 ` Yuri Khan
2020-08-28 20:36 ` Drew Adams
2020-08-28 20:40 ` Thibaut Verron
2020-08-28 21:18 ` Drew Adams
2020-08-29 8:39 ` Yuri Khan
2020-08-29 16:35 ` Drew Adams
2020-08-29 17:01 ` Thibaut Verron
2020-08-29 18:25 ` Yuri Khan
2020-08-29 20:19 ` Drew Adams
2020-08-27 6:32 ` Alfred M. Szmidt
2020-08-27 7:20 ` Stefan Kangas
2020-08-27 8:00 ` Alfred M. Szmidt
2020-08-27 8:03 ` Alfred M. Szmidt
2020-08-27 14:35 ` Colin Baxter
2020-08-27 14:59 ` Stefan Kangas
2020-08-27 15:39 ` Alfred M. Szmidt
2020-08-28 1:04 ` James Cloos
2020-08-28 4:46 ` Yuri Khan
2020-08-28 19:09 ` Drew Adams
2020-08-28 19:22 ` Colin Baxter
2020-08-28 20:07 ` Drew Adams
2020-08-28 9:18 ` Stefan Kangas
2020-08-28 13:00 ` Alfred M. Szmidt
2020-08-29 23:08 ` James Cloos
2020-08-28 19:29 ` Tassilo Horn
2020-08-27 6:52 ` tomas
2020-08-27 9:07 ` Gregory Heytings via Emacs development discussions.
2020-08-27 9:14 ` Eli Zaretskii
2020-08-27 17:06 ` Pip Cet
2020-08-27 17:11 ` Eli Zaretskii
2020-08-27 17:36 ` Robert Pluim
2020-08-27 18:08 ` Drew Adams
2020-08-27 17:27 ` Ulrich Mueller
2020-08-27 17:52 ` Drew Adams
2020-08-28 22:06 ` Drew Adams
2020-08-28 23:39 ` Gregory Heytings via Emacs development discussions.
2020-08-29 1:20 ` Stefan Kangas
2020-08-30 23:59 ` Stefan Kangas
2020-08-31 7:58 ` Gregory Heytings via Emacs development discussions.
2020-08-31 14:19 ` Eli Zaretskii
2020-08-31 14:46 ` Stefan Kangas
2020-08-31 14:52 ` Gregory Heytings via Emacs development discussions. [this message]
2020-08-31 15:17 ` Eli Zaretskii
2020-08-31 15:48 ` Stefan Kangas
[not found] <<CADwFkmnhA7TNqVpgG3jvPL+_33gYRwSK0z2ddvDpYXUu9qw-EQ@mail.gmail.com>
[not found] ` <<E1kBBSl-0007bb-1K@fencepost.gnu.org>
[not found] ` <<CADwFkmmP_CwHk48=v2YQVG3ODMQsBjcqqnGU_8H-pMsw_4irrw@mail.gmail.com>
[not found] ` <<E1kBCpo-0006ol-R1@fencepost.gnu.org>
[not found] ` <<E1kBCsX-00049o-5Z@fencepost.gnu.org>
2020-08-27 15:05 ` Drew Adams
[not found] ` <<CADwFkmn2mJ2Mns3qyLUa-uWjOEB6zpSB=x3M9nK8q5gidn6iPg@mail.gmail.com>
[not found] ` <<E1kBJzg-0001FK-Eb@fencepost.gnu.org>
2020-08-27 15:51 ` Drew Adams
2020-08-27 15:59 ` Alfred M. Szmidt
2020-08-27 16:42 ` Thibaut Verron
2020-08-27 17:23 ` Alfred M. Szmidt
2020-08-27 17:50 ` Thibaut Verron
2020-08-27 18:15 ` Alfred M. Szmidt
2020-08-27 19:13 ` Thibaut Verron
2020-08-27 19:20 ` Yuri Khan
2020-08-27 17:49 ` Michael Albinus
2020-08-27 18:10 ` Alfred M. Szmidt
2020-08-27 18:19 ` Michael Albinus
2020-08-27 18:10 ` Drew Adams
2020-08-27 18:22 ` Michael Albinus
[not found] ` <<87a6yg9dyq.fsf@gmx.de>
[not found] ` <<E1kBMLt-00033R-SA@fencepost.gnu.org>
2020-08-27 18:14 ` Drew Adams
2020-08-27 18:19 ` Alfred M. Szmidt
2020-08-27 18:30 ` Michael Albinus
[not found] ` <<<87a6yg9dyq.fsf@gmx.de>
[not found] ` <<<E1kBMLt-00033R-SA@fencepost.gnu.org>
[not found] ` <<5f644f03-df12-4af0-8bd7-46152372df72@default>
[not found] ` <<E1kBMUM-0003xd-MI@fencepost.gnu.org>
2020-08-27 18:34 ` Drew Adams
2020-08-27 18:51 ` Michael Albinus
2020-08-27 20:01 ` Drew Adams
[not found] ` <<m3sgc7mvh8.fsf@carbon.jhcloos.org>
[not found] ` <<CADwFkmkOjpGh-=FKXkuX31Hcuzku3=QdHHXzRvtWs6gEkpAN1Q@mail.gmail.com>
[not found] ` <<E1kBdzV-0006sF-Ha@fencepost.gnu.org>
2020-08-28 19:16 ` Drew Adams
2020-08-31 5:26 ` Alfred M. Szmidt
2020-08-31 7:34 ` Gregory Heytings via Emacs development discussions.
2020-09-01 18:23 ` Alfred M. Szmidt
2020-08-31 12:02 ` Colin Baxter
[not found] ` <<83y2m01me0.fsf@gnu.org>
2020-08-27 15:10 ` Drew Adams
2020-08-27 15:14 ` tomas
2020-08-27 15:24 ` Drew Adams
2020-08-27 16:00 ` tomas
[not found] ` <<CADwFkmk1dtqB8jjSgUHY0u0cetCUkhsDLTWF7JFT+8dxiAa3WA@mail.gmail.com>
[not found] ` <<83y2lux5hm.fsf@gnu.org>
2020-08-31 14:53 ` Drew Adams
2020-08-31 20:00 ` Gregory Heytings via Emacs development discussions.
2020-09-01 3:22 ` Stefan Monnier
[not found] ` <b4cc3f5f-ef29-4b2c-b7f3-0a2572cd5869@default>
[not found] ` <alpine.NEB.2.22.394.2009011047360453.11413@sdf.lonestar.org>
2020-09-01 14:54 ` Drew Adams
2020-09-01 17:00 ` Gregory Heytings via Emacs development discussions.
2020-09-01 20:31 ` Stefan Monnier
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=alpine.NEB.2.22.394.2008311649210453.7313@sdf.lonestar.org \
--to=emacs-devel@gnu.org \
--cc=eliz@gnu.org \
--cc=ghe@sdf.org \
--cc=stefan@marxist.se \
/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.