all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: view mode: `q' does not delete frame
Date: Sat, 3 Dec 2005 07:37:31 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEKECPAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87ek4ugr21.fsf-monnier+emacs@gnu.org>

    >> I would prefer, of course, that if pop-up-frames = non-nil,
    the behavior of
    >> view-remove-frame-by-deleting would follow automatically (by
    default).

    > Well, I'm not sure about this: is it really true that someone who
    > wants view-mode to create a frame for every new buffer in view mode
    > would like such frame to automatically go away when they quite view
    > mode?

    To "go away"?  Probably. But "to delete"?  No.

    I know Drew always wants to delete such frames because his
    window-manager and use pattern make it inconvenient to have
    too many iconified windows.

    OTOH with my window manager and my usage pattern, it's the
    reverse: deleting frames is a major pain in the rear because
    when they are re-created, I have to manually place them
    again (and set various other attributes like size,
    set of workspaces they should appear in, ...).

    So we should have a function to "make a frame go away"
    (probably bury-buffer or quit-window or both) and use that,
    and then make this function customizable so that we can
    decide whether to delete or to iconify.

I agree with Stefan. Iconifying is terrible in Windows and frame
deletion/creation is instantaneous. Other platforms can be the other way
around. And users can prefer one or the other behavior.

If frame invisibility were not bugged, I think that would be a good general
solution (i.e. good candidate for the default value). But it is bugged. For
quite a while (Emacs 19 or 20) I made frames invisible instead of iconifying
or deleting them - when bugs don't raise their ugly heads, it's an elegant
solution. Most of the time spent creating a frame (at least back then, on
Unix) was apparently spent defining it, not displaying it, so making an
invisible frame visible again was instantaneous - and it returns to the same
place it last was, with the same properties (which is Stefan's main problem
with frame deletion and re-creation, IIUC).

If others agree with Stefan and I, the next question would be the default
value for quitting. I obviously vote for frame deletion (e.g. via
quit-window), and I'm sure Stefan votes for frame iconification (e.g. via
bury-buffer). As long as this is an option, the default value is of course
not that important.

(BTW - The problem with iconification on Windows is not just the presence of
numerous unneeded icons; it's the distraction of the animated iconification:
the frame visibly streams to become an icon - it doesn't just disappear and
an icon appear.)

Thanks for looking into this. Perhaps, after the release, we can look at
fixing frame invisibility, so that could be used in cases like this. (I
don't know - perhaps it's already been looked at and deemed unfixable.)

  reply	other threads:[~2005-12-03 15:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-09  3:56 quitting help buffer Drew Adams
2005-09-09 12:50 ` Richard M. Stallman
2005-09-09 16:05   ` Drew Adams
2005-09-10  8:14     ` Richard M. Stallman
2005-12-01  0:44       ` view mode: `q' does not delete frame Drew Adams
2005-12-01  1:16         ` Drew Adams
2005-12-01 20:42         ` Eli Zaretskii
2005-12-02  1:57           ` Drew Adams
2005-12-03  9:55             ` Eli Zaretskii
2005-12-03 15:08               ` Stefan Monnier
2005-12-03 15:37                 ` Drew Adams [this message]
2005-12-03 21:35                   ` Stefan Monnier
2005-12-03 22:46                     ` Drew Adams
2005-12-02 18:21           ` Richard M. Stallman
2005-12-03 12:08           ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICCEKECPAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.