unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: Wayne Harris <wharris1@protonmail.com>,
	Emacs developers <emacs-devel@gnu.org>
Subject: RE: Modernize frame-title-format: "%b - GNU Emacs"
Date: Fri, 28 Aug 2020 13:36:33 -0700 (PDT)	[thread overview]
Message-ID: <e7c00caa-8321-470b-87c9-271d1733da99@default> (raw)
In-Reply-To: <CAP_d_8VyoOHg7ZJgNiBOM3HBrHUjKWLv3XtwaPPJhwSiCWyt9g@mail.gmail.com>

> > > The name of the application in the title is useful. It helps you pick
> > > the Emacs window out of multiple applications operating on the same
> > > file. For example, a Dired buffer showing a directory and Thunar
> > > showing the same directory.
> > >
> > > This is important in contexts where the window contents are not
> > > visible, e.g. a taskbar showing minimized windows, or a
> > > tiling/tabbing/stacking window manager such as i3 showing a single
> > > window in the stack and the titles of all other windows in the same
> > > stack.
> >
> > The discussion is about the _default_ frame title.
> > Users can define their own title formatting.
> 
> Users should not have to customize the title for the common case.

100% agreement.

> Which I believe to be multiple applications on the desktop.

Sure.  But see below (you quoted, but didn't address).
Even if someone agrees that the app name should be
present, should it really be leftmost?  And how often
is the app name really helpful?

> > How common is the use of multiple applications
> > (in separate window-mgr windows) for the same
> > file or directory (or other argument)?

? How often, for the same file?  If you see only the
file or dir name, is it hard to know that the app is
Emacs?  Most of the time?

> > (Not a rhetorical question - that's never been my
> > experience.)
> >
> > Wrt your examples of a file or dir, showing the
> > buffer name should be even more specific, and
> > even better distinguish from some other app
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > window for the same file or dir, no?  Especially
> > if the other app puts its app name first in the
> > title.
> 
> All well-behaved applications in many desktops (Windows, XFCE, GNOME,
> KDE) show the document name and their own application name in the
> title bar.

I haven't argued that the app name shouldn't be included.
(But see the discussion about whether the app icon might
sometimes suffice.)

I argued to put the more specific info first, i.e.,
leftmost.  The app name is less specific than the file
name etc.

Imagine if every one of your browser windows had "Google
Chrome" or "Firefox" or "Internet Explorer" or "Brave"
as its leftmost text.  Imagine how useful/useless that
would be for picking a window out of a task-bar list,
a set of tabs, or any other list.  Imagine if every
mail-client window had the client name at the far left:
"Outlook" or whatever.

And in fact, at least in my environment (MS Windows),
it is NOT the case that "all well-behaved apps show...
the app name in the title bar".  Not if web browsers and
mail clients (and lots more) count as well-behaved, at
least.

The app name is totally missing from such window-mgr
windows.  And thank goodness, as that's the least
interesting info to show, especially when the full info
might get truncated (which happens for tabs etc.).

I do pick out an app by its icon.  I don't know, but
I'm guessing, that someone with specific accessibility
needs has an alternative for this, other than a
requirement that the app names appear as text.

What I see in the title bar for a Chrome or Brave or
Firefox or IE browser is this, from the left:

1. A site icon.  E.g. fancy "T" for New York Times site.
2. A page title, possibly with a subtitle.  E.g.
   "Opinion | Kenosha Tells Us More About Where the Right
    Is Headed Than the R.N.C. Did".

That means I can easily pick out that web page by its
app icon and page title.  Would you really prefer that
the frame title be something like this?

"Google Chrome <NYT icon> Opinion | Kenosha Tells Us More
About Where the Right Is Headed Than the R.N.C. Did"

Maybe I'm just misunderstanding you.  I hope so.

> It’s a convention, 

Maybe some places, i.e., for some apps.  I don't see
it for most apps, including web browsers and mail
client, on MS Windows.  (And you did mention "Windows.)

I do see it for some apps, but typically for apps that
have only one window.

> and it’s useful because this way
> application authors do not have to consider whether a document name
> alone is enough for the user to distinguish the window. Somebody has
> already thought this through and decided that both components are
> useful.

I take your point.  I don't consider it to override
all other considerations, but I guess it's one thing
to consider when rethinking what the default behavior
might be.  I'm glad you brought it up.



  reply	other threads:[~2020-08-28 20:36 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 [this message]
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.
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

  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=e7c00caa-8321-470b-87c9-271d1733da99@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=wharris1@protonmail.com \
    --cc=yuri.v.khan@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 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).