all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 16024@debbugs.gnu.org
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)	[thread overview]
Message-ID: <c98e9053-d1cd-4c2b-ac31-eb7bd47f5cd3@default> (raw)
In-Reply-To: <878utjehih.fsf@building.gnus.org>

> > 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.





  reply	other threads:[~2014-02-10  5:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02  3:04 bug#16024: 24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills original buffer Drew Adams
2014-02-10  4:08 ` Lars Ingebrigtsen
2014-02-10  5:20   ` Drew Adams [this message]
2014-02-11 11:56     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c98e9053-d1cd-4c2b-ac31-eb7bd47f5cd3@default \
    --to=drew.adams@oracle.com \
    --cc=16024@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.