all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "martin rudalics" <rudalics@gmx.at>
Cc: 1259@emacsbugs.donarmstrong.com
Subject: bug#1259: quit-window does not kill the window
Date: Fri, 14 Nov 2008 10:19:26 +0100	[thread overview]
Message-ID: <f7ccd24b0811140119q7866dad2n985ac0e8bfeae70d@mail.gmail.com> (raw)
In-Reply-To: <491D318C.80402@gmx.at>

On Fri, Nov 14, 2008 at 09:06, martin rudalics <rudalics@gmx.at> wrote:

> Sorry.  I apparently fail to understand what that function is supposed
> to do.

Truth be told, the docstring in 22.X wasn't very clear. The function
is called quit-window, but it talked about burying/killing the buffer,
and only off-handedly said:

"If window is non-nil, it specifies a window; we delete that window,
and the buffer that is killed or buried is the one in that window."

(Incidentally, that's the reason I defined quit-buffer-and-window in
the first place; with your changes, my function would be just an alias
for quit-window).

> Please try the version below and tell me whether it does what
> you want.

Yes, it works as expected now.

Thanks,

  Juanma






  reply	other threads:[~2008-11-14  9:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 16:40 bug#1259: quit-window does not kill the window Juanma Barranquero
2008-11-14  8:06 ` martin rudalics
2008-11-14  9:19   ` Juanma Barranquero [this message]
2008-11-14  9:36     ` Juanma Barranquero
2008-11-14 13:41       ` martin rudalics
2008-11-14 15:10         ` Juanma Barranquero
2008-11-15 10:00           ` martin rudalics
2008-11-15 11:22             ` Juanma Barranquero
     [not found]       ` <mailman.353.1226670617.26697.bug-gnu-emacs@gnu.org>
2008-11-14 17:03         ` Markus Triska
2008-11-15 10:00           ` martin rudalics

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=f7ccd24b0811140119q7866dad2n985ac0e8bfeae70d@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=1259@emacsbugs.donarmstrong.com \
    --cc=rudalics@gmx.at \
    /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.