GNU bug report logs - #41147
A modern frame-title-format

Previous Next

Package: emacs;

Reported by: Lars Ljung <lars <at> matholka.se>

Date: Sat, 9 May 2020 09:49:02 UTC

Severity: wishlist

Tags: patch

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41147 in the body.
You can then email your comments to 41147 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Sat, 09 May 2020 09:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ljung <lars <at> matholka.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 May 2020 09:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ljung <lars <at> matholka.se>
To: bug-gnu-emacs <at> gnu.org
Subject: A modern frame-title-format
Date: Sat, 9 May 2020 11:48:31 +0200
I suggest that frame-title-format is changed to something like this:

(multiple-frames "GNU Emacs - %b"
                 ("GNU Emacs"))

This would give Emacs a slightly more modern look.

The current use of invocation-name might be useful for Emacs developers 
running multiple versions, but it serves no purpose for normal users.

The current use of system-name has no real value when running Emacs 
locally, but perhaps it could be added to remote frames only.

Kind regards,
Lars Ljung




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Sat, 09 May 2020 09:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ljung <lars <at> matholka.se>
Cc: 41147 <at> debbugs.gnu.org
Subject: Re: bug#41147: A modern frame-title-format
Date: Sat, 09 May 2020 12:57:38 +0300
> From: Lars Ljung <lars <at> matholka.se>
> Date: Sat, 9 May 2020 11:48:31 +0200
> 
> The current use of system-name has no real value when running Emacs 
> locally, but perhaps it could be added to remote frames only.

Frames are never remote, only buffers are.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Sat, 09 May 2020 10:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ljung <lars <at> matholka.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 41147 <at> debbugs.gnu.org
Subject: Re: bug#41147: A modern frame-title-format
Date: Sat, 9 May 2020 12:11:36 +0200
Den 2020-05-09 kl. 11:57, skrev Eli Zaretskii:
>> From: Lars Ljung <lars <at> matholka.se>
>> Date: Sat, 9 May 2020 11:48:31 +0200
>>
>> The current use of system-name has no real value when running Emacs
>> locally, but perhaps it could be added to remote frames only.
> 
> Frames are never remote, only buffers are.
> 

I was thinking of the use case when DISPLAY is set to show frames on a 
different machine, e.g. when running over SSH with X forwarding. Then it 
could be useful to show system-name.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Sun, 10 May 2020 16:32:02 GMT) Full text and rfc822 format available.

Message #14 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ljung <lars <at> matholka.se>
To: 41147 <at> debbugs.gnu.org
Subject: bug#41147: A modern frame-title-format
Date: Sun, 10 May 2020 18:31:53 +0200
I did some research and as I understand it the GNOME guidelines 
recommends just "%b", even when there is only one frame.

Many programs use the style "%b - GNU Emacs". E.g. gvim, Gimp, Firefox, 
and LibreOffice.

Either way it seems popular to place the document name first, which 
makes sense.

GNOME 2: 
https://developer.gnome.org/hig-book/3.12/hig-book.html#primary-window-titles
GNOME 3: https://wiki.gnome.org/Design/HIG/ApplicationName




Severity set to 'wishlist' from 'normal' Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 25 May 2020 14:40:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Mon, 24 Aug 2020 00:58:02 GMT) Full text and rfc822 format available.

Message #19 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ljung <lars <at> matholka.se>
Cc: 41147 <at> debbugs.gnu.org
Subject: Re: bug#41147: A modern frame-title-format
Date: Sun, 23 Aug 2020 20:57:51 -0400
[Message part 1 (text/plain, inline)]
tags 41147 + patch
thanks

Lars Ljung <lars <at> matholka.se> writes:

> I did some research and as I understand it the GNOME guidelines recommends just
> "%b", even when there is only one frame.
>
> Many programs use the style "%b - GNU Emacs". E.g. gvim, Gimp, Firefox, and
> LibreOffice.

I think it makes sense to just do what other modern software does here.
If people want to do something more fancy, they can easily modify it
themselves.

How about the attached patch?  (NEWS and docs still needs updating.)

Best regards,
Stefan Kangas
[0001-Simplify-frame-title-format-to-be-more-modern.patch (text/x-diff, attachment)]

Added tag(s) patch. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Mon, 24 Aug 2020 00:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Mon, 24 Aug 2020 05:06:01 GMT) Full text and rfc822 format available.

Message #24 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 41147 <at> debbugs.gnu.org, lars <at> matholka.se
Subject: Re: bug#41147: A modern frame-title-format
Date: Mon, 24 Aug 2020 08:05:20 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sun, 23 Aug 2020 20:57:51 -0400
> Cc: 41147 <at> debbugs.gnu.org
> 
> I think it makes sense to just do what other modern software does here.
> If people want to do something more fancy, they can easily modify it
> themselves.

There's no way to customize what "emacs -Q" produces, though, and the
patch changes that as well.

> How about the attached patch?  (NEWS and docs still needs updating.)

I think we need a broader user poll before we make such a change.  An
opinion of a couple of people is not enough.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Mon, 24 Aug 2020 11:34:02 GMT) Full text and rfc822 format available.

Message #27 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 41147 <at> debbugs.gnu.org, lars <at> matholka.se
Subject: Re: bug#41147: A modern frame-title-format
Date: Mon, 24 Aug 2020 07:33:21 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

>> I think it makes sense to just do what other modern software does here.
>> If people want to do something more fancy, they can easily modify it
>> themselves.
>
> There's no way to customize what "emacs -Q" produces, though, and the
> patch changes that as well.
>
>> How about the attached patch?  (NEWS and docs still needs updating.)
>
> I think we need a broader user poll before we make such a change.  An
> opinion of a couple of people is not enough.

OK, I'll send this question to emacs-devel when I find some time.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Thu, 27 Aug 2020 09:38:02 GMT) Full text and rfc822 format available.

Message #30 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 41147 <at> debbugs.gnu.org, lars <at> matholka.se
Subject: Re: bug#41147: A modern frame-title-format
Date: Thu, 27 Aug 2020 02:37:07 -0700
Stefan Kangas <stefan <at> marxist.se> writes:

> OK, I'll send this question to emacs-devel when I find some time.

Now sent to emacs-devel:
https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00886.html




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Fri, 11 Sep 2020 20:34:02 GMT) Full text and rfc822 format available.

Message #33 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 41147 <at> debbugs.gnu.org, lars <at> matholka.se
Subject: Re: bug#41147: A modern frame-title-format
Date: Fri, 11 Sep 2020 13:33:14 -0700
[Message part 1 (text/plain, inline)]
Stefan Kangas <stefan <at> marxist.se> writes:

> Now sent to emacs-devel:
> https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00886.html

After a long round of bike-shedding, the result of the discussion was
that 'invocation-name' is not important, whereas a subset of users
argued strongly in favor of 'system-name'.

While I think the latter is superfluous and better added in an Init file
or site file, I think adding the buffer name and replacing
'invocation-name' with "GNU Emacs" is already a step forward.

I therefore suggest to install the attached patch.
[0001-Improve-frame-title-format-and-icon-title-format.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Sat, 12 Sep 2020 06:08:01 GMT) Full text and rfc822 format available.

Message #36 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 41147 <at> debbugs.gnu.org, lars <at> matholka.se
Subject: Re: bug#41147: A modern frame-title-format
Date: Sat, 12 Sep 2020 09:07:50 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Fri, 11 Sep 2020 13:33:14 -0700
> Cc: lars <at> matholka.se, 41147 <at> debbugs.gnu.org
> 
> After a long round of bike-shedding, the result of the discussion was
> that 'invocation-name' is not important, whereas a subset of users
> argued strongly in favor of 'system-name'.
> 
> While I think the latter is superfluous and better added in an Init file
> or site file, I think adding the buffer name and replacing
> 'invocation-name' with "GNU Emacs" is already a step forward.
> 
> I therefore suggest to install the attached patch.

Thanks, please go ahead.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41147; Package emacs. (Sun, 13 Sep 2020 16:38:01 GMT) Full text and rfc822 format available.

Message #39 received at 41147 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 41147 <at> debbugs.gnu.org, lars <at> matholka.se
Subject: Re: bug#41147: A modern frame-title-format
Date: Sun, 13 Sep 2020 09:37:31 -0700
close 41147 28.1
thanks

Eli Zaretskii <eliz <at> gnu.org> writes:

>> I therefore suggest to install the attached patch.
>
> Thanks, please go ahead.

Thanks.  Now pushed to master as commit 817dd54649.




bug marked as fixed in version 28.1, send any further explanations to 41147 <at> debbugs.gnu.org and Lars Ljung <lars <at> matholka.se> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 13 Sep 2020 16:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 12 Oct 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.