From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16024: 24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills original buffer Date: Tue, 11 Feb 2014 03:56:31 -0800 Message-ID: <87ha85kgls.fsf@building.gnus.org> 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 X-Trace: ger.gmane.org 1392119950 4159 80.91.229.3 (11 Feb 2014 11:59:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2014 11:59:10 +0000 (UTC) Cc: 16024@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 11 12:59:17 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 1WDBzh-0008P4-Kr for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Feb 2014 12:59:17 +0100 Original-Received: from localhost ([::1]:32903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDBzh-0008VD-1A for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Feb 2014 06:59:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDBzZ-0008V5-Nv for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 06:59:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDBzS-00010D-Rp for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 06:59:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDBzS-000109-P5 for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 06:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WDBzS-0001M1-H8 for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 06:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Feb 2014 11:59:02 +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.13921198845115 (code B ref 16024); Tue, 11 Feb 2014 11:59:02 +0000 Original-Received: (at 16024) by debbugs.gnu.org; 11 Feb 2014 11:58:04 +0000 Original-Received: from localhost ([127.0.0.1]:45941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDByW-0001KQ-1Q for submit@debbugs.gnu.org; Tue, 11 Feb 2014 06:58:04 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:43771) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDByU-0001KI-B8 for 16024@debbugs.gnu.org; Tue, 11 Feb 2014 06:58:02 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WDByF-0006vW-Dn; Tue, 11 Feb 2014 12:57:47 +0100 In-Reply-To: (Drew Adams's message of "Sun, 9 Feb 2014 21:20:55 -0800 (PST)") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WDByF-0006vW-Dn MailScanner-NULL-Check: 1392724668.14261@f+Nl2Uc2rHG2yaLddaRDBA 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:85372 Archived-At: Drew Adams writes: >> > 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. >> >> 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. Adding a prefix to a gazillion buffer switching commands (to kill the buffer you're in) doesn't seem like a "use case". -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/