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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16024 in the body.
You can then email your comments to 16024 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16024; Package emacs. (Mon, 02 Dec 2013 03:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 02 Dec 2013 03:05:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills original buffer
Date: Sun, 1 Dec 2013 19:04:14 -0800 (PST)
[Message part 1 (text/plain, inline)]
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.

In GNU Emacs 24.3.50.2 (i686-pc-mingw32)
 of 2013-11-28 on LEG570
Bzr revision: 115271 rgm <at> gnu.org-20131128203155-qjc1xsp19z2k64b2
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
[window-2013-12-01.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16024; Package emacs. (Mon, 10 Feb 2014 04:11:01 GMT) Full text and rfc822 format available.

Message #8 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: Sun, 09 Feb 2014 20:08:54 -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?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16024; Package emacs. (Mon, 10 Feb 2014 05:22:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 16024 <at> debbugs.gnu.org
Subject: RE: bug#16024: 24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills
 original buffer
Date: Sun, 9 Feb 2014 21:20:55 -0800 (PST)
> > 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16024; Package emacs. (Tue, 11 Feb 2014 11:59:02 GMT) Full text and rfc822 format available.

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/




Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 13 Jul 2014 01:44:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 16024 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 24 Feb 2016 03:45:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Mar 2016 11:24:04 GMT) Full text and rfc822 format available.

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.