GNU bug report logs - #16024
24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills original buffer

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 2 Dec 2013 03:05:01 UTC

Severity: normal

Tags: patch, wontfix

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 16024 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 16024 <at> debbugs.gnu.org
Subject: Re: bug#16024: 24.3.50;
 [PATCH] `switch-to-buffer*': prefix arg kills original buffer
Date: Tue, 11 Feb 2014 03:56:31 -0800
Drew Adams <drew.adams <at> oracle.com> 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/




This bug report was last modified 9 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.