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:36:00 +0100 [thread overview]
Message-ID: <f7ccd24b0811140136p31208c8csb21a21b70b6bf2a1@mail.gmail.com> (raw)
In-Reply-To: <f7ccd24b0811140119q7866dad2n985ac0e8bfeae70d@mail.gmail.com>
On Fri, Nov 14, 2008 at 10:19, Juanma Barranquero <lekktu@gmail.com> wrote:
> Yes, it works as expected now.
To add more information: the difference in behavior between your
committed patch (let's call it v1) and the one you just sent (v2) is
related to defaulting to the selected window. I mean, with the
following defun
(defun my-quit-window ()
(interactive)
(quit-window nil (selected-window)))
and testing with
emacs -Q
C-h N
M-x occur <ENTER> emacs <ENTER>
C-x o
M-x quit-window <ENTER> ;; or M-x my-quit-window <ENTER>
In 22.X:
M-x quit-window => buries the buffer, keeps the window
M-x my-quit-window => buries the buffer, kills the window
In 23.X, v1
M-x quit-window => buries the buffer, keeps the window
M-x my-quit-window => buries the buffer, keeps the window
In 23.X, v2
M-x quit-window => buries the buffer, kills the window
M-x my-quit-window => buries the buffer, kills the window
So, basically the original `quit-window' had two different behaviors,
while your patches just have one.
Personally, I'm happy with the "kills the window" behavior, so v2
works for me. But perhaps other people expects quit-window to behave
as it did in 22.X.
Juanma
next prev parent reply other threads:[~2008-11-14 9:36 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
2008-11-14 9:36 ` Juanma Barranquero [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0811140136p31208c8csb21a21b70b6bf2a1@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).