From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: suggested feature -- console-mode frame title sets Xterm title Date: 14 Oct 2003 08:39:17 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87r8j9n6v4.fsf@blarg.net> <200206152147.g5FLlUB10968@aztec.santafe.edu> <20030929051617.GB7359@vexed.ozlabs.hp.com> <20031002063338.GA25969@vexed.ozlabs.hp.com> <20031003010404.GB1259@sourcefrog.net> <20031014035931.GH15872@vexed.ozlabs.hp.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066113662 31122 80.91.224.253 (14 Oct 2003 06:41:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 06:41:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 14 08:41:00 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9Irc-0004mv-00 for ; Tue, 14 Oct 2003 08:41:00 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9Irb-0001KW-00 for ; Tue, 14 Oct 2003 08:41:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9Ioy-00043M-E8 for emacs-devel@quimby.gnus.org; Tue, 14 Oct 2003 02:38:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9Ioe-00042b-8u for emacs-devel@gnu.org; Tue, 14 Oct 2003 02:37:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9Io8-0003iv-DM for emacs-devel@gnu.org; Tue, 14 Oct 2003 02:37:55 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1A9Io7-0003il-I3; Tue, 14 Oct 2003 02:37:23 -0400 Original-To: Martin Pool In-reply-to: <20031014035931.GH15872@vexed.ozlabs.hp.com> (message from Martin Pool on Tue, 14 Oct 2003 13:59:33 +1000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17077 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17077 > Date: Tue, 14 Oct 2003 13:59:33 +1000 > From: Martin Pool > > I'd guess the number of people using multiple frames on a text > terminal is fairly small, though non-zero. I do. Please note that some Emacs features, such as Speedbar, create their own dedicated frames, so if you use those features, you'll be using multiple frames on text-mode displays whether you want that or not. > I would also guess that > more than half the people using emacs in termcap mode are doing so > from some kind of terminal emulator under a window system (xterm, > putty, etc) and so could benefit from seeing the title. Sorry, I don't see how the latter follows from the former. Could you please explain? > If I had to decide, I would probably just remove the 'F%d' behaviour. > (Specifically, remove that indicator from the toolbar, and remove it > as the default name for tty frames.) This is a bit disturbing to > people who were accustomed to those features, but it does not really > remove any functionality, as they can still name frames by hand and > switch between them. I think it'd be annoying to force the user to set frame names manually. That is why I kept the old F1 name and generalized it to Fn back when I made multiple frames work on ttys. How about if we have an option that would cause Emacs to either use the F names (default) or the new names you implemented. If it uses F, that name will be displayed on the mode line, as today; otherwise, the name will be displayed in the xterm's title and be removed from the mode line. (I also think that the code that sets the xterm's title should test whether the required capability is supported, in case we run on something that is not an xterm at all.)