unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>
Subject: RE: special buffer frames again
Date: Thu, 3 May 2007 08:33:41 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICEEHEDMAA.drew.adams@oracle.com> (raw)
In-Reply-To: <jwvodl2nge5.fsf-monnier+gnu.emacs.help@gnu.org>

> And actually, someone who uses such a setup recently complained on
> emacs-devel about a change I made that caused the frame to be
> deleted rather than iconified, so frame deletion doesn't seem good
> either.  IIRC this someone was called "Drew Adams", maybe you know him ;-)

Please; we disagreed in that thread, including disagreeing about what was
said in the previous thread (!). Please don't spread confusion to a third
thread (and another mailing list) that has been about something different.
*Backtrace* is not the same kind of "temporary" buffer as *Completions*:
it's not obvious when someone is finished with *Backtrace*.

I was clear from the beginning (my bug report after your changes) about my
own preferences for the *Backtrace* frame:

1. Emacs 20 and 21 were fine for this - just leave the frame alone, and let
users delete it when they're done with it.

2. Your change to have automatic iconification was annoying.

3. After discussion/negotiation, I was OK with deleting the frame
automatically, instead of iconifying it - but I still prefer the Emacs 20/21
behavior here.

IOW, you preferred auto-iconification of *Backtrace*; I preferred leaving
the frame for me to delete explicitly (`C-k' or `C-0'), and the compromise
was to delete the frame whenever the user hits `q'.

Different buffers have different uses and different criteria of "done".
*Help*, for instance, should be left as is until the user explicitly quits
(`q'), at which point its standalone frame should be deleted, not iconified.
Quitting *Backtrace* with `q' isn't equivalent, IMO. It doesn't signal that
the user is finished debugging; it means only that s?he wants to quit that
particular debugging invocation and return to top level. A standalone
*Completions* frame should be deleted (not iconified) whenever completion is
finished (e.g. `RET').

People have different practices; one is not wrong and the other right. It
would be good to 1) have reasonable default behavior that reflects what many
or most people want, but also 2) let users customize the behavior easily.
Perhaps we can agree on at least that much, and then look for ways to do
that?

An unconfigurable compromise, such as that for *Backtrace*, is bound to be
unsatisfactory all around, even if the best possible compromise is found.
Both you and I should be able to get the behavior we like for something like
*Backtrace*, without individually hacking the bowels of the source code.
Likewise, for *Help*, *Completions*, and so on.

  reply	other threads:[~2007-05-03 15:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.65.1178053867.32220.help-gnu-emacs@gnu.org>
2007-05-03 14:21 ` special buffer frames again Stefan Monnier
2007-05-03 15:33   ` Drew Adams [this message]
     [not found] <mailman.54.1178045180.32220.help-gnu-emacs@gnu.org>
2007-05-01 19:33 ` Stefan Monnier
2007-05-01 21:04   ` Drew Adams
     [not found] <mailman.20.1177976428.32220.help-gnu-emacs@gnu.org>
2007-05-01  1:53 ` Tyler Smith
2007-05-01 17:02 ` Stefan Monnier
2007-05-01 18:11   ` Tyler Smith
2007-05-01 19:29     ` Stefan Monnier
2007-05-01 20:05       ` Tyler Smith
2007-05-01 18:38   ` Drew Adams
2007-04-30 19:33 Tyler Smith
2007-04-30 23:32 ` Drew Adams

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=DNEMKBNJBGPAOPIJOOICEEHEDMAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.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.
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).