From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: suggested feature -- console-mode frame title sets Xterm title Date: 15 Oct 2003 15:22:12 +0900 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: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066199206 23857 80.91.224.253 (15 Oct 2003 06:26:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2003 06:26:46 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, mbp@sourcefrog.net Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 15 08:26:44 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 1A9f7M-0002gs-00 for ; Wed, 15 Oct 2003 08:26:44 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9f7L-0006gg-00 for ; Wed, 15 Oct 2003 08:26:44 +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 1A9f3q-0007HS-FL for emacs-devel@quimby.gnus.org; Wed, 15 Oct 2003 02:23:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9f3j-0007G4-Pn for emacs-devel@gnu.org; Wed, 15 Oct 2003 02:22:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9f3C-00072D-Va for emacs-devel@gnu.org; Wed, 15 Oct 2003 02:22:58 -0400 Original-Received: from [210.143.35.52] (helo=TYO202.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9f3C-00071W-6r; Wed, 15 Oct 2003 02:22:26 -0400 Original-Received: from mailgate4.nec.co.jp (mailgate53.nec.co.jp [10.7.69.184]) by TYO202.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id h9F6MGl16765; Wed, 15 Oct 2003 15:22:16 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id h9F6MF020105; Wed, 15 Oct 2003 15:22:15 +0900 (JST) Original-Received: from edtmg01.lsi.nec.co.jp ([10.26.16.201]) by mailsv.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id h9F6MFA19938; Wed, 15 Oct 2003 15:22:15 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg01.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id PAA26563; Wed, 15 Oct 2003 15:22:14 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h9F6MC7Q007070; Wed, 15 Oct 2003 15:22:14 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id DD52F3723; Wed, 15 Oct 2003 15:22:12 +0900 (JST) Original-To: Eli Zaretskii System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 39 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:17107 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17107 Eli Zaretskii writes: > > If you're talking about the frame's name, what you would specify to > > switch frames, then I don't see why this is desirable. Always using > > the F name seems better. > > I thought about using the xterm's title as the frame's name. People > may wish to use the name displayed in the xterm's title because it's > more descriptive, and thuis more easily remembered, than F. In > effect, the string in the title could act as the frame's name, making > the use of set-frame-name unnecessary. (Which means, btw, that, if > Miles's suggestion is implemented, we should decide what to do with > set-frame-name: should it affect the xterm title or the F displayed > in the mode line [or both]). I really think it ought to work as close to the way X does as possible, with the F%d notation only used as (1) an abbreviated form displayed in the mode-line (since the `true name' is too long), and (2) possibly as a `shortcut name' allowed for switching-frame commands as I described earlier. In X, the displayed frame `title' is either the frame's name (set by set-frame-name), or if that's nil, a string computed using frame-title-format. select-frame-by-name actually seems to use the frame's title, not it's name. I see no reason _not_ to use this same model for ttys, and doing so would be a big win for consistency. If, as I described earlier, F%d notation were still be displayed in mode-lines, and usable for select-frame-by-name, the current tty behavior would also largely be preserved. I also think that the F%d stuff should work on X -- then there would be basically no difference between X and ttys in this area. -Miles -- `...the Soviet Union was sliding in to an economic collapse so comprehensive that in the end its factories produced not goods but bads: finished products less valuable than the raw materials they were made from.' [The Economist]