From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Using several frames on TTYs, switching them, terminology: [Is also: Tabbed buffers] Date: Mon, 28 Jan 2008 06:15:14 +0200 Message-ID: References: <18330.23354.579245.68671@kahikatea.snap.net.nz> <87ejc5sf4l.fsf@catnip.gol.com> <18330.29609.396872.678539@kahikatea.snap.net.nz> <87wspxqwjv.fsf@catnip.gol.com> <20080127195538.GA5014@muc.de> <20080127213315.GB5014@muc.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1201493730 30629 80.91.229.12 (28 Jan 2008 04:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jan 2008 04:15:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 28 05:15:50 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 1JJLPS-00075P-2Z for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2008 05:15:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJLP0-0005gE-Q8 for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2008 23:15:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJLOx-0005eY-0E for emacs-devel@gnu.org; Sun, 27 Jan 2008 23:15:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJLOv-0005dq-BS for emacs-devel@gnu.org; Sun, 27 Jan 2008 23:15:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJLOv-0005dj-76 for emacs-devel@gnu.org; Sun, 27 Jan 2008 23:15:17 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJLOv-0006xN-90 for emacs-devel@gnu.org; Sun, 27 Jan 2008 23:15:17 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-220-9.inter.net.il [83.130.220.9]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IZL26857 (AUTH halo1); Mon, 28 Jan 2008 06:12:46 +0200 (IST) In-reply-to: <20080127213315.GB5014@muc.de> (message from Alan Mackenzie on Sun, 27 Jan 2008 21:33:15 +0000) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:87679 Archived-At: > Date: Sun, 27 Jan 2008 21:33:15 +0000 > Cc: emacs-devel@gnu.org > From: Alan Mackenzie > > > A solution has been in existence for that problem for a very long time: > > give your frame a name with "M-x set-frame-name RET FOO RET", then > > select it with "M-x select-frame-by-name RET FOO RET". Puff! problem > > gone. > > Hmm. I'm not imaginative enough with names. ;-) Having to keep coming > up with names for new frames (probably, by putting the question in > after-make-frame-functions) would be intolerably annoying. > > The names F1, F2, .... are good enough for me You don't _have_ to invent names if you have no trouble remembering which one of them holds what. select-frame-by-name is happy with the Fn names as well. I usually name the frames by what I'm doing there: "Mail" for reading mail, "Foo" for some project Foo I'm working on, etc. But that's me. > Obviously, select-frame-by-name would need a binding if you were using it > all the time. Me, I don't need any binding: command history is good enough in that I never have to type the command's name more than once. But if you need a binding, by all means do it. > select-frame-by-number would be quite handy too It would only save you one keystroke (2 vs F2 with selection by name), and would be unreliable, since a frame can be given any name, not just Fn. > but even that would be too slow for me, even assuming a numeric > prefix argument and a single-key binding. Look, this subthread started with your complaint about the need to step through all the frames with "C-x 5 o" repeated ad nauseam. Surely, what I suggested is faster than that!