From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16024: 24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills original buffer Date: Sun, 9 Feb 2014 21:20:55 -0800 (PST) Message-ID: References: <76fd89bf-1c52-4fad-887c-55666f6392f2@default> <878utjehih.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392009737 26484 80.91.229.3 (10 Feb 2014 05:22:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 05:22:17 +0000 (UTC) Cc: 16024@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 06:22:23 2014 Return-path: Envelope-to: geb-bug-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 1WCjK2-0004VQ-QW for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 06:22:22 +0100 Original-Received: from localhost ([::1]:53480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCjK2-0004Pz-0D for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 00:22:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCjJq-0004PY-O3 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:22:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCjJi-0000yj-6P for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:22:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCjJi-0000yf-2f for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCjJh-00017p-IX for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 00:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 05:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16024 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 16024-submit@debbugs.gnu.org id=B16024.13920096634214 (code B ref 16024); Mon, 10 Feb 2014 05:22:01 +0000 Original-Received: (at 16024) by debbugs.gnu.org; 10 Feb 2014 05:21:03 +0000 Original-Received: from localhost ([127.0.0.1]:33587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCjIk-00015t-TB for submit@debbugs.gnu.org; Mon, 10 Feb 2014 00:21:03 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:45438) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCjIi-00015P-Mx for 16024@debbugs.gnu.org; Mon, 10 Feb 2014 00:21:01 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1A5KxjL027739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Feb 2014 05:21:00 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A5KwKX015428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Feb 2014 05:20:58 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A5KvEa021615; Mon, 10 Feb 2014 05:20:57 GMT In-Reply-To: <878utjehih.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85206 Archived-At: > > The attached patch makes `switch-to-buffer(-other-(window|frame))' > > with a prefix arg act analogously to `find-alternate-file': the > > buffer current before the switch is killed. >=20 > Hm... what's the use case? Just what it says: kill the current buffer and switch to another. Same use case as for `find-alternate-file', but for any buffer, not just a file buffer.