From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: wanted: someone to integrate frame-resizing code
Date: 28 May 2004 18:08:40 -0400 [thread overview]
Message-ID: <jwvvfigfc30.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <MEEKKIABFKKDFJMPIOEBGECPCEAA.drew.adams@oracle.com>
I have no time to look into that and I'd rather wait for after-21.4 to
integrate any such functionality. In any case, I do use a setup whee this
would be useful, so here are my comments:
- if special-display-buffer-names or special-display-regexp specifies
specific sizes, it should still be obeyed.
- resizing existing frames is risky: you want to make sure you don't undo
what the user did manually. So I'd refrain from doing it except for
frames where the user specifically asked for it. Maybe you could allow
resizing existing frames when they get deiconified, but even that sounds
risky.
- resizing frames showing the content of a file is probably not
a great idea. More generally, if the elisp code doesn't call
shrink-window-if-larger-than-buffer, it's likely that the frame's size
shouldn't be changed either.
- don't enlarge the frame to be larger than the user's screen (which might
be significantly smaller than what x-display-pixel-height claims).
Stefan
next prev parent reply other threads:[~2004-05-28 22:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-28 21:10 wanted: someone to integrate frame-resizing code Drew Adams
2004-05-28 22:08 ` Stefan Monnier [this message]
2004-05-29 1:21 ` Drew Adams
2004-05-30 21:11 ` Stefan Monnier
2004-06-01 0:34 ` automatic frame-resizing 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvvfigfc30.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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.
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.