From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Pool Newsgroups: gmane.emacs.devel Subject: Re: suggested feature -- console-mode frame title sets Xterm title Date: Wed, 15 Oct 2003 12:47:11 +1000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20031015024709.GC18244@vexed.ozlabs.hp.com> References: <20030929051617.GB7359@vexed.ozlabs.hp.com> <20031002063338.GA25969@vexed.ozlabs.hp.com> <20031003010404.GB1259@sourcefrog.net> <20031014035931.GH15872@vexed.ozlabs.hp.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066189284 10831 80.91.224.253 (15 Oct 2003 03:41:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2003 03:41:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 15 05:41:22 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 1A9cXK-000557-00 for ; Wed, 15 Oct 2003 05:41:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9cXK-00061k-00 for ; Wed, 15 Oct 2003 05:41:22 +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 1A9cMB-0004pn-BQ for emacs-devel@quimby.gnus.org; Tue, 14 Oct 2003 23:29:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9bkc-0003ss-FA for emacs-devel@gnu.org; Tue, 14 Oct 2003 22:51:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9bhA-0002za-Hd for emacs-devel@gnu.org; Tue, 14 Oct 2003 22:47:59 -0400 Original-Received: from [192.6.86.111] (helo=sngrel7.hp.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9bh5-0002xS-Jh; Tue, 14 Oct 2003 22:47:27 -0400 Original-Received: from XAUBRG2.AUS.HP.COM (xaubrg2.aus.hp.com [15.23.69.43]) by sngrel7.hp.com (Postfix) with SMTP id 892E156C; Wed, 15 Oct 2003 10:47:17 +0800 (SGP) Original-Received: from 15.23.69.43 by XAUBRG2.AUS.HP.COM (InterScan E-Mail VirusWall NT); Wed, 15 Oct 2003 12:47:16 +1000 Original-Received: from XAUBRG2.AUS.HP.COM (localhost [127.0.0.1]) by XAUBRG2.AUS.HP.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id TTGLVAMK; Wed, 15 Oct 2003 12:47:16 +1000 Original-Received: from 16.176.65.49 by XAUBRG2.AUS.HP.COM (InterScan E-Mail VirusWall NT); Wed, 15 Oct 2003 12:47:16 +1000 Original-Received: from mbp by vexed with local (Exim 3.36 #1 (Debian)) id 1A9bgt-0004nX-00; Wed, 15 Oct 2003 12:47:11 +1000 Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: X-GPG: 1024D/A0B3E88B: AFAC578F 1841EE6B FD95E143 3C63CA3F A0B3E88B User-Agent: Mutt/1.5.4i 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:17100 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17100 On 14 Oct 2003, Richard Stallman wrote: > I've thought about this and I can't think of a completely satisfactory > way to reconcile the differences between window-system and text frames > in the existing documented behaviour. > > A frame has a name field and a title field. > select-frame-by-name uses the name field. > Can't this feature operate in a way that avoids > changing the name field? The code uses the name and title fields inconsistently. In particular, frame-title-format actually sets the f->name field, which is copied by x_set_title() into the f->title. We could clean it up but I didn't originally want to make such a large change. > Adding a new field to the frame structure is ok. > Can you solve it that way? I think so. -- Martin