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 16:10:26 +0100
On Fri, Nov 14, 2008 at 14:41, martin rudalics <rudalics <at> gmx.at> wrote:

> Deleting the window iff it's explicitly specified strikes me as
> non-intuitive.

I think quit-window conflates two interfaces, one for humans that does
not kill the window, and another for elisp that allows killing it;
that second interface does not need to be "interactively intuitive",
but certainly is not illogical (the programmer is taking the pain to
explicitly pass a window instead of using the default, after all). I
just happened to be using interactively the second interface.

> Anyway, the version below should do that.
>
> Please give it another try.

It works as expected now for quit-window and my-quit-window.

I've only tested my common use of the function, though: single frame,
one window (plus the one killed by quit-window).

Thanks for fixing this,

  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.