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: Thu, 7 May 2015 16:42:50 +0200 Message-ID: References: , <554B4533.5070103@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 1431009799 24318 80.91.229.3 (7 May 2015 14:43:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 14:43:19 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 07 16:43:10 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 1YqN14-0001pZ-8j for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2015 16:43:10 +0200 Original-Received: from localhost ([::1]:51537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqN13-0006Nl-JC for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2015 10:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqN0o-0006NS-GO for help-gnu-emacs@gnu.org; Thu, 07 May 2015 10:42:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqN0l-0003OR-3K for help-gnu-emacs@gnu.org; Thu, 07 May 2015 10:42:54 -0400 Original-Received: from dub004-omc4s30.hotmail.com ([157.55.2.105]:58422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqN0k-0003Mx-Rs for help-gnu-emacs@gnu.org; Thu, 07 May 2015 10:42:51 -0400 Original-Received: from DUB124-W11 ([157.55.2.72]) by DUB004-OMC4S30.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 7 May 2015 07:42:50 -0700 X-TMN: [DrnSrv1YG915MR1bULH8IJ4dJsibNZ1W] X-Originating-Email: [juergen_hartmann_@hotmail.com] Importance: Normal In-Reply-To: <554B4533.5070103@easy-emacs.de> X-OriginalArrivalTime: 07 May 2015 14:42:50.0115 (UTC) FILETIME=[176C1D30:01D088D4] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 157.55.2.105 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:104272 Archived-At: Thank you=2C Andreas Roehler=2C for your suggestion:=0A= =0A= > Not exactly what you are asking for:=0A= >=0A= > AFAIU it's about to jump back to a certain buffer.=0A= =0A= Not exactly=2C I meant cycling through all available buffers.=0A= =0A= > In use here are a kind of hard-coded registers.=0A= >=0A= > Like that:=0A= >=0A= > (defun gehe-zu-register-x (&optional arg)=0A= > "With C-u: Puffer merken"=0A= > (interactive "P")=0A= > (if arg=0A= > (progn=0A= > (window-configuration-to-register ?x)=0A= > (message "%s" "Fenster mit \[C-kp-1] oder \\C-x j x erreichbar"))=0A= > (jump-to-register ?x)=0A= > (delete-other-windows)=0A= > (message "%s" "Mit Arg.: Puffer merken")))=0A= >=0A= > =3B=3B=3B=3B=3B=0A= >=0A= > (global-set-key [(control kp-1)] 'gehe-zu-register-x)=0A= >=0A= > I.e. C-u C-kp-1 stores it.=0A= =0A= This implements a nice bookmark functionality. But as said before=2C my foc= us=0A= is on cycling trough all buffers. It is very much like previous-buffer alre= ady=0A= does=2C but it should bring up all buffers.=0A= =0A= The background is that I typically have a more or less fixed arrangement of= =0A= windows--one larger one on the right half of the screen to do the actual ed= it=0A= stuff=2C some smaller ones in a vertical split of the left hand side--and j= ust=0A= want to quickly alter the buffer that any of these windows shows.=0A= =0A= Of course one could use switch-to-buffer and enter the respective buffer's= =0A= name=2C but if there are not so much buffers it is faster to quickly cycle= =0A= through all of them until the right one is shown.=0A= =0A= > HTH=2C=0A= >=0A= > Andreas=0A= =0A= Thank you very much.=0A= =0A= Juergen=0A= =0A= =