From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin Newsgroups: gmane.emacs.help Subject: Re: How to change between buffers? Date: Sat, 19 Nov 2005 22:39:02 +0100 Organization: none Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132436481 30825 80.91.229.2 (19 Nov 2005 21:41:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2005 21:41:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 22:41:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EdaRb-0008MH-GM for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 22:40:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdaRa-0007RE-V2 for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 16:40:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Original-Newsgroups: gnu.emacs.help X-Shakespeare: "O, beware, my lord, of jealousy; It is the green-eyed monster, which doth mock the meat it feeds on." -- Othello, III.3 User-Agent: Emacs Gnus Cancel-Lock: sha1:xwOA4teuB+3CREY7FvGcqVvHqrE= Original-Lines: 54 Original-NNTP-Posting-Date: 19 Nov 2005 22:39:06 MET Original-NNTP-Posting-Host: 1c588350.newsread2.arcor-online.net Original-X-Trace: DXC=GhMU0SHBX7^kVRFeeUa4iQQ5U85hF6f; TjW\KbG]kaMXA@_25la3nbR@bgaP0<_2B]MCJ_oMjhL5YbfHL8K:ej\XbWoWITGh6mX Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:135579 Original-To: help-gnu-emacs@gnu.org 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:31176 Archived-At: "ED" == Edward Dodge writes: ED> Newsgroups: gnu.emacs.help ED> Date: 17 Nov 2005 11:10:35 -0700 ED> Organization: Pending Review by Mr. Travis Bickle ED> ED> Paminu writes: ED> >> I have split my emacs in two buffers. Are there some kind of keyboard >> shortcut that shifts between a buffer that has been split in two? ED> ED> In EMACS-speak, a buffer cannot be split because it's not a display ED> element. Here's the definitions that are used in EMACsia: ED> ED> buffer - any file that is open in EMACS. ED> window - any view of a buffer ED> frame - the X-window in which one or more EMACS windows reside ED> ED> -- ED> Edward Dodge ED> ED> __o ED> _`\(,_ ED> (_)/ (_) --- --- ED> hi, look at the result of C-h b (runs the command describe-bindings). you will find C-x o runs the command other-window there is also the command bury-buffer is an interactive built-in function. (bury-buffer &optional BUFFER) Put BUFFER at the end of the list of all buffers. There it is the least likely candidate for `other-buffer' to return; thus, the least likely buffer for M-x switch-to-buffer to select by default. If BUFFER is nil or omitted, bury the current buffer. Also, if BUFFER is nil or omitted, remove the current buffer from the selected window if it is displayed there. you may bind it to key of your choice. have fun martin -- parozusa at web dot de