unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] trunk r115327: Special mode buffers shouldn't query before exiting.
Date: Sun, 01 Dec 2013 12:02:22 -0500	[thread overview]
Message-ID: <jwvy5445wxw.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <E1Vn7uQ-0001rn-HZ@vcs.savannah.gnu.org> (Lars Ingebrigtsen's message of "Sun, 01 Dec 2013 14:22:06 +0000")

> -  (if (y-or-n-p "quit eww? ")
> -      (progn
> -	(setq eww-history nil)
> -	(kill-buffer (current-buffer)))))
> +  (setq eww-history nil)
> +  (kill-buffer (current-buffer)))
 
Actually, I think killing a buffer without querying is ... "cavalier".
As I said elsewhere, eww should probably inherit from `special-mode'
which would bind `q' to quit-window, IIRC: this doesn't query either and
avoids the loss of information but not killing the buffer.


        Stefan



           reply	other threads:[~2013-12-01 17:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1Vn7uQ-0001rn-HZ@vcs.savannah.gnu.org>]

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=jwvy5445wxw.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /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).