From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Using several frames on TTYs, switching them, terminology: [Is also: Tabbed buffers] Date: Sun, 27 Jan 2008 21:33:15 +0000 Message-ID: <20080127213315.GB5014@muc.de> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201468965 5771 80.91.229.12 (27 Jan 2008 21:22:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jan 2008 21:22:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 27 22:23:05 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 1JJExx-0000Xe-K5 for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2008 22:23:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJExW-0003oT-V5 for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2008 16:22:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJExT-0003oE-6T for emacs-devel@gnu.org; Sun, 27 Jan 2008 16:22:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJExS-0003o2-0S for emacs-devel@gnu.org; Sun, 27 Jan 2008 16:22:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJExR-0003nz-QV for emacs-devel@gnu.org; Sun, 27 Jan 2008 16:22:29 -0500 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JJExQ-0006BK-Of for emacs-devel@gnu.org; Sun, 27 Jan 2008 16:22:29 -0500 Original-Received: (qmail 46829 invoked by uid 3782); 27 Jan 2008 21:22:26 -0000 Original-Received: from acm.muc.de (p57AF6130.dip.t-dialin.net [87.175.97.48]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 27 Jan 2008 22:22:24 +0100 Original-Received: (qmail 8525 invoked by uid 1000); 27 Jan 2008 21:33:15 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:87661 Archived-At: Hi, Eli! On Sun, Jan 27, 2008 at 10:52:19PM +0200, Eli Zaretskii wrote: > > Date: Sun, 27 Jan 2008 19:55:38 +0000 > > From: Alan Mackenzie > > The mechanism for switching frames (C-x 5 o, repeated ad nauseam till > > you finally reach the frame you're looking for) is so broken as to be > > unusable, at least for me. > 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, and even match the names of the keys used to switch to them. :-) Trouble is, these names don't seem to be used on GUI Emacs (which I have to use at work). So there, I've enhanced my mode line to display the "Fn". Obviously, select-frame-by-name would need a binding if you were using it all the time. select-frame-by-number would be quite handy too, but even that would be too slow for me, even assuming a numeric prefix argument and a single-key binding. -- Alan Mackenzie (Nuremberg, Germany).