From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Cotton Newsgroups: gmane.emacs.help Subject: I wish list-buffers used my current window when it listed my buffers Date: Wed, 14 Aug 2013 22:02:50 -0400 Message-ID: <0F190770-005F-4DEA-BE5F-4E235FC6BAD9@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376532801 2028 80.91.229.3 (15 Aug 2013 02:13:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2013 02:13:21 +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 Aug 15 04:13:23 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 1V9n3z-0005xO-B5 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 04:13:23 +0200 Original-Received: from localhost ([::1]:50910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9n3y-00008D-Bz for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 22:13:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9mu8-00068E-5C for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 22:03:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9mtq-0002UN-7b for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 22:03:11 -0400 Original-Received: from mail-qc0-x232.google.com ([2607:f8b0:400d:c01::232]:37546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9mtq-0002Te-0e for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 22:02:54 -0400 Original-Received: by mail-qc0-f178.google.com with SMTP id s1so122492qcw.37 for ; Wed, 14 Aug 2013 19:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=kn8FGNTiQpidPvZLc0NvVh+9hrPMk0uRQesPk6ZutGU=; b=gXY7nl8NH7/tPS4sYywXg+S1jdkqjUk1eRAHvrTjF6+ufLsYrlfN92R6qrtByCOj1r jsD5A9hmp4bACSYge/2Gs7y+XTczUWdwcGALryKpkeRe/CtWi5F8b1NuB+0HMRJDGPeh stPvIFhi4JSVJcXoUbM6Zb2aBCb6Ida1757GdHkQ1ODR5PskXrsJX2VQveAIL2AAaB42 8KWd9pxIuPy+j9USigg2o3MjKkvgGqubpY8y5M5bCdNqS5yVkhnTE/rv+1lA4NCHsrUj /H5LuQiDCnogrlyEvTlc9OoZ/lrI6oGTWuFypBXuTEJd5ykNzvEcu+IMgf3Yaz3DxSWA 7KMA== X-Received: by 10.224.30.71 with SMTP id t7mr6513150qac.105.1376532173039; Wed, 14 Aug 2013 19:02:53 -0700 (PDT) Original-Received: from [192.168.1.69] (108-249-80-59.lightspeed.chtnsc.sbcglobal.net. [108.249.80.59]) by mx.google.com with ESMTPSA id i1sm55072073qas.10.2013.08.14.19.02.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 19:02:52 -0700 (PDT) X-Mailer: Apple Mail (2.1508) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::232 X-Mailman-Approved-At: Wed, 14 Aug 2013 22:13:12 -0400 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:92895 Archived-At: I've always wished list-buffers used my current window when it listed my = buffers. I don't know why, but this rubbed me the wrong way immediately = when I learned the command, and I've never been able to shake it. Years ago I figured out a way to get what I wanted[1], but now I jump = from machine to machine and I'm always firing up emacs on distant = machines and immediately missing my little hack when I C-x C-b. = Continuing with C-x 0 seems like a lot of typing just to to begin = navigating to the buffer I'm looking for. Is there a simple way to get what I want when I'm running emacs away = from my customizations? [2][3] Thanks, Jay [1] I was inexperienced with emacs/elisp and I naively re-defun'd = 'list-buffers to switch to the buffer instead of creating a new window = and displaying it there. [2] I vaguely recall that there is a special variable for a list of = commands that shouldn't use new windows, but I also vaguely recall that = I used it and it stopped working for 'list-buffers. [3] I realize that, taken out of context, this is a laughably = complicated question and probably the holy grail of countless migrant = emacs users the world over. But here I'm just talking about how to get = my buffers to list in the same window, when, for instance, I'm using = somebody else's emacs process.