GNU bug report logs - #1259
quit-window: does it quit the wrong buffer?

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Mon, 27 Oct 2008 01:30:02 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "martin rudalics" <rudalics <at> gmx.at>
Cc: 1259 <at> debbugs.gnu.org
Subject: bug#1259: quit-window does not kill the window
Date: Fri, 14 Nov 2008 10:19:26 +0100
On Fri, Nov 14, 2008 at 09:06, martin rudalics <rudalics <at> 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




This bug report was last modified 16 years and 285 days ago.

Previous Next


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