From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Buffers relative order Date: Wed, 22 Jun 2011 19:49:38 +0200 Message-ID: <4E022B32.10804@alice.it> References: <4DFFC6A3.5010506@alice.it> <4E009EC8.90201@gmx.at> <4E00DBE8.1070309@alice.it> <4E01E119.4050607@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308765096 20534 80.91.229.12 (22 Jun 2011 17:51:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 17:51:36 +0000 (UTC) Cc: emacs To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 22 19:51:32 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZRaO-0001GT-9x for ged-emacs-devel@m.gmane.org; Wed, 22 Jun 2011 19:51:32 +0200 Original-Received: from localhost ([::1]:44659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZRaM-0004n2-Uc for ged-emacs-devel@m.gmane.org; Wed, 22 Jun 2011 13:51:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZRYf-0004Mf-Ms for emacs-devel@gnu.org; Wed, 22 Jun 2011 13:49:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZRYe-000462-P9 for emacs-devel@gnu.org; Wed, 22 Jun 2011 13:49:45 -0400 Original-Received: from smtp205.alice.it ([82.57.200.101]:56335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZRYe-00045m-A4 for emacs-devel@gnu.org; Wed, 22 Jun 2011 13:49:44 -0400 Original-Received: from [192.168.1.101] (79.56.127.89) by smtp205.alice.it (8.5.124.08) id 4DE63475020FA674; Wed, 22 Jun 2011 19:49:41 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <4E01E119.4050607@gmx.at> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140868 Archived-At: Il 22/06/2011 14.33, martin rudalics ha scritto: > > If there is an option I can set in my .emacs file to restore the > > behavior Emacs has always got, I will greatly appreciate... > > Let's see if the problem is really with the redefinition of > `next-buffer' and `previous-buffer'. Please, add the two following > functions two your .emacs and tell me whether the old behavior gets > restored. Oh yes! it seems the same original behavior! Thanks, Angelo. > > Thanks, martin > > > (defun next-buffer () > "Switch to the next buffer in cyclic order." > (interactive) > (let ((buffer (current-buffer))) > (switch-to-buffer (other-buffer buffer t)) > (bury-buffer buffer))) > > (defun previous-buffer () > "Switch to the previous buffer in cyclic order." > (interactive) > (switch-to-buffer (last-buffer (current-buffer) t)))