From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: How to toggle to buffer previously selected ? Date: Fri, 08 Feb 2008 09:27:52 -0500 Organization: I need to put my ORGANIZATION here. Message-ID: <8763wz8n94.fsf@W0053328.mgh.harvard.edu> References: <38b2ab8a0802070245i5f7246fdq7389dcd857ffe175@mail.gmail.com> <873as5ujer.fsf@member.fsf.org> <38b2ab8a0802070746w2e182ef1i531ddb1cc180d8e6@mail.gmail.com> <8763x0egr7.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202488855 1680 80.91.229.12 (8 Feb 2008 16:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2008 16:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 17:41:17 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNWHl-0002ze-W9 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Feb 2008 17:41:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNWHJ-0000f0-6j for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Feb 2008 11:40:41 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.freenet.de!news.tiscali.de!uio.no!quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 70 Original-NNTP-Posting-Host: w0053328.mgh.harvard.edu Original-X-Trace: plato.harvard.edu 1202485575 21009 132.183.29.121 (8 Feb 2008 15:46:15 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Fri, 8 Feb 2008 15:46:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:44A0nIUZVzbx5r1kqAvXU53tsCU= Original-Xref: shelby.stanford.edu gnu.emacs.help:155961 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51337 Archived-At: "Francis Moreau" writes: > On Feb 7, 2008 7:57 PM, Tassilo Horn wrote: >> "Francis Moreau" writes: >> > Hmm it doesn't do exactly what I described: you need to specify a window > number. Most often I just enter "M-%%<(- number-of-windows 1> C-x o", however this is pretty much the same as window-number (which I'm very happy to find out about). Another thing I do pretty often is just re-split the windows. For example -------------------- | | | | | | | | | | 1 | 2 | | | | | | | | | | -------------------- C-x 1 in window 2 -------------------- | | | | | | | 2 | | | | | | | -------------------- C-x 3 C-x o C-x b # -------------------- | | | | | | | | | | 2 | 1 | | | | | | | | | | -------------------- Window configurations are not sacred and manipulating them is easy. I could make this into "exchange-windows" but it's easy enough as it is (the above takes about 1 second on a slow day). > It's weird that we can't do this almost trivial windows back and forth > selection. Usually I've found that these trivial things are difficult or have not been implemented because it's better to do something else. However, Emacs is all about freedom, so do it! Joel -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109