From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?B?SvxyZ2VuIEhhcnRtYW5u?= Newsgroups: gmane.emacs.help Subject: RE: How to bring previous-buffer to cycle through the full list of buffers Date: Mon, 11 May 2015 09:54:08 +0200 Message-ID: References: , , , <554B4533.5070103@easy-emacs.de>, , , , <554C5145.3030500@easy-emacs.de>, , <554F45EF.7020402@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431330879 31546 80.91.229.3 (11 May 2015 07:54:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2015 07:54:39 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 11 09:54:30 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YriXl-0000ep-BJ for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 09:54:29 +0200 Original-Received: from localhost ([::1]:35969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YriXk-0004JD-PK for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 03:54:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YriXW-0004J3-Fj for help-gnu-emacs@gnu.org; Mon, 11 May 2015 03:54:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YriXR-00054S-Gz for help-gnu-emacs@gnu.org; Mon, 11 May 2015 03:54:14 -0400 Original-Received: from dub004-omc4s23.hotmail.com ([157.55.2.98]:60781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YriXR-00054I-C2 for help-gnu-emacs@gnu.org; Mon, 11 May 2015 03:54:09 -0400 Original-Received: from DUB124-W17 ([157.55.2.73]) by DUB004-OMC4S23.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 11 May 2015 00:54:08 -0700 X-TMN: [9btCaGSI4J3eALoX1gGf5pS7QAgpobR1] X-Originating-Email: [juergen_hartmann_@hotmail.com] Importance: Normal In-Reply-To: <554F45EF.7020402@easy-emacs.de> X-OriginalArrivalTime: 11 May 2015 07:54:08.0582 (UTC) FILETIME=[A91A1E60:01D08BBF] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 157.55.2.98 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104362 Archived-At: @ Andreas Roehler: Thank you for your continuous effort in this topic:=0A= =0A= >> Actually=2C the intention is not to alter the windows configuration at a= ll=2C=0A= >> but to change the buffer that one of the windows shows. The latter shoul= d be=0A= >> done by a keystroke that cycles through the whole list of buffers.=0A= >>=0A= >> [...]=0A= >> =0A= >> So it would be great if somebody would know of a command that does that = or if=0A= >> somebody could outline a way to configure=2C alter=2C or advice the comm= and=0A= >> previous-buffer to include all the buffers in its scope.=0A= > =0A= > In use here is the following:=0A= >=0A= > (defun letztpuffer ()=0A= >=A0=A0=A0 " "=0A= >=A0=A0=A0 (interactive)=0A= >=A0=A0=A0 (switch-to-buffer (other-buffer)))=0A= >=0A= > (global-set-key [(meta +)] 'letztpuffer)=0A= >=0A= > Just replace other-buffer...=0A= >=0A= > Andreas=0A= =0A= This function toggles between the current and the other buffer=2C so it can= not=0A= be used to reach all the buffers in the global list unless there are just t= wo=0A= of them.=0A= =0A= Unfortunately I don't have a clue by what other-buffer should be replaced t= o=0A= get the desired cycling behavior that includes all buffers.=0A= =0A= Juergen=0A= =0A= =