From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: How start on a DIFFERENT buffer when start Emacs with MANY buffers at the same time? Date: Fri, 12 Jul 2013 22:27:26 +0200 Message-ID: <87mwpr5xsh.fsf@zigzag.favinet> References: <6410b46b-73c3-4bbe-803d-cb9599cccaf8@googlegroups.com> <87txjzvolz.fsf@VLAN-3434.student.uu.se> <4aaf33c1-8b0a-4399-a2db-ee54aed64839@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1373661468 21214 80.91.229.3 (12 Jul 2013 20:37:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2013 20:37:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Chris Seberino Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 12 22:37:49 2013 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 1Uxk69-0003zQ-EY for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 22:37:49 +0200 Original-Received: from localhost ([::1]:49038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxjvH-00015l-Vs for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 16:26:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uxjtf-0007OF-DK for help-gnu-emacs@gnu.org; Fri, 12 Jul 2013 16:24:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uxjte-0003cn-I6 for help-gnu-emacs@gnu.org; Fri, 12 Jul 2013 16:24:55 -0400 Original-Received: from smtp206.alice.it ([82.57.200.102]:58421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uxjte-0003cX-7c for help-gnu-emacs@gnu.org; Fri, 12 Jul 2013 16:24:54 -0400 Original-Received: from zigzag.favinet (79.40.16.60) by smtp206.alice.it (8.6.060.26) id 51DBE14600C85A04; Fri, 12 Jul 2013 22:24:52 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1UxjwG-0001F9-Lm; Fri, 12 Jul 2013 22:27:36 +0200 In-Reply-To: <4aaf33c1-8b0a-4399-a2db-ee54aed64839@googlegroups.com> (Chris Seberino's message of "Fri, 12 Jul 2013 12:04:17 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.102 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:92094 Archived-At: --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain () Chris Seberino () Fri, 12 Jul 2013 12:04:17 -0700 (PDT) What about simply adding a few (next-buffers) or (previous-buffers) at the end of your .emacs file? But what is the right amount? How about this: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=reverse-buffers.el Content-Transfer-Encoding: quoted-printable (let ((all (buffer-list)) one) (while (setq one (pop all)) (switch-to-buffer one)) (while (not buffer-file-name) (bury-buffer))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable then, presuming reverse-buffers.el is on =E2=80=98load-path=E2=80=99: --=-=-= Content-Type: application/x-sh Content-Disposition: inline; filename=o-emacs Content-Transfer-Encoding: base64 IyEvYmluL3NoCiMgKG9yZGVyZWQgZW1hY3MpCmV4ZWMgZW1hY3MgIiRAIiAtbCByZXZlcnNlLWJ1 ZmZlcnMuZWwK --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlHgZrEACgkQZwMiJEyAdQJBkACePFV7ccdL13MochPlezn1zFXn NUkAn0pkysrOJU+rCbR7zfeRFrvLR6H2 =yAZH -----END PGP SIGNATURE----- --==-=-=--