unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Le Wang <l26wang@gmail.com>
Cc: 9529@debbugs.gnu.org
Subject: bug#9529: `quit-window' should return the original window or nil if it was killed instead of nothing useful
Date: Mon, 19 Aug 2019 19:43:18 -0700	[thread overview]
Message-ID: <87v9uszhdl.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CAM=K+ip7HsYjxX-cYvw6sSJ-W6USzHgPiqF0W3nkP-gnDHD4+A@mail.gmail.com> (Le Wang's message of "Sat, 17 Sep 2011 19:50:59 +0800")

Le Wang <l26wang@gmail.com> writes:

> Currently this function works by side-effect only.  If it returned
> something useful, like the window that was moved away from, the user
> could do something useful like display some buffer in the original
> window.

(I'm going through old bug reports that have unfortunately gotten no
attention yet.)

I'm not sure I see a use case here.  If you're calling this from Emacs
Lisp code, then surely you already know what the window you're quitting
is, and can just use that.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-08-20  2:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-17 11:50 bug#9529: `quit-window' should return the original window or nil if it was killed instead of nothing useful Le Wang
2019-08-20  2:43 ` Lars Ingebrigtsen [this message]

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=87v9uszhdl.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=9529@debbugs.gnu.org \
    --cc=l26wang@gmail.com \
    /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).