From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: should frame names be unique? Date: Sat, 22 Mar 2008 12:55:05 -0400 Message-ID: References: <003d01c88b69$e16c0980$0600a8c0@us.oracle.com> <007001c88b92$1f99ac30$0600a8c0@us.oracle.com> <6FEC95CB-CC0A-4F60-A4FD-D35940E85607@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206204933 16401 80.91.229.12 (22 Mar 2008 16:55:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2008 16:55:33 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Drew Adams , 'Emacs-Devel' To: Damon Permezel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 22 17:56:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jd70d-0001vZ-8I for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2008 17:55:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd702-0001oV-G9 for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2008 12:55:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jd6zy-0001oI-Jr for emacs-devel@gnu.org; Sat, 22 Mar 2008 12:55:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jd6zu-0001mZ-28 for emacs-devel@gnu.org; Sat, 22 Mar 2008 12:55:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd6zt-0001mW-TT for emacs-devel@gnu.org; Sat, 22 Mar 2008 12:55:09 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jd6zq-0001oB-67; Sat, 22 Mar 2008 12:55:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApAFAIfW5EdMCrTo/2dsb2JhbACBW6Zg X-IronPort-AV: E=Sophos;i="4.25,539,1199682000"; d="scan'208";a="16398097" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 22 Mar 2008 12:55:05 -0400 Original-Received: from pastel.home ([76.10.180.232]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id CTZ61705; Sat, 22 Mar 2008 12:55:05 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 450047F5D; Sat, 22 Mar 2008 12:55:05 -0400 (EDT) In-Reply-To: <6FEC95CB-CC0A-4F60-A4FD-D35940E85607@mac.com> (Damon Permezel's message of "Sat, 22 Mar 2008 11:58:05 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93190 gmane.emacs.pretest.bugs:21652 Archived-At: >>>> What is the difference between those frames showing the same buffer >>>> (is it just to display two different parts of a buffer, if so do the >>>> various frames play different roles? Are they on different screens? >>>> Can you see their names in the title bar? ...) >> >>> I can't answer any of those questions. >> >> So you're not faced with this problem in practice. It's just >> a hypothetical issue? > Here is an example I tend to run into. I have a large frame where I am > doing most of my work. I have popped up two smaller frames to provide > reference to different parts of the same file. I wish to use the > buffers>frames> menu to select one of the three frames displaying portions > of the file. One, I am editing in, the other two, I have for reference. So you want to change frame-title-format so that the "same-name-frames" don't have the same name. A simple way to do that is the setting I suggested (which adds "F" to every frame name). > Not at all hypothetical, Your case didn't sound hypothetical indeed. Drew's does, tho. > although I am more inclined to use a keyboard > command, rather than the mouse, so somewhat contrived. What keyboard command would you use? One thing you may want to use is a variant of windmove.el that allows the same kind of movement but between frames. But that's typically better provided by the window-manager than by Emacs. Basically, frame names in GUIs are currently assumed to be pretty much "display only", so they don't matter and having them unique or not is of fairly low importance. This said, I wouldn't reject a patch that makes them unique, although I'd rather such a patch to only make them unique on a particular terminal, since I often access a single Emacs process from different terminals and would rather have most of my frames suddenly get all named "foo<2>" just because there's already a "foo" on some other terminal. Stefan