From: martin rudalics <rudalics@gmx.at>
To: bruce.connor.am@gmail.com, 21100@debbugs.gnu.org
Subject: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height
Date: Tue, 21 Jul 2015 13:07:19 +0200 [thread overview]
Message-ID: <55AE27E7.6030505@gmx.at> (raw)
In-Reply-To: <CAAdUY-+y2TXtELVpUxYZZdQG1HzqUHyMM4vOFO4KOAbppD7mjw@mail.gmail.com>
> 1. Split the frame into two windows, one above the other.
> 2. Make the bottom window very small.
> 3. With point in the larger window, run `C-h f point RET'
> 4. The bottom window increases in size to display the Help buffer.
I can't reproduce that here. Even with `temp-buffer-resize-mode'
enabled, the window doen't change its size because reused windows are
not resized. From the doc-string of `temp-buffer-resize-mode':
When Temp Buffer Resize mode is enabled, the windows in which we
show a temporary buffer are automatically resized in height to
fit the buffer's contents, but never more than
`temp-buffer-max-height' nor less than `window-min-height'.
A window is resized only if it has been specially created for the
buffer. Windows that have shown another buffer before are not
resized. A frame is resized only if `fit-frame-to-buffer' is
non-nil.
So what did you do to accomplish that resize?
> 5. Hit q in the help buffer.
> 6. The height of the bottom window is retored.
Here the size remains unchanged again.
> This does not happen if you split the frame into side-by-side windows,
> and make of them very narrow. In this case, the width of the window
> increases to display the help buffer,
For such behavior your `fit-window-to-buffer-horizontally' must be
non-nil, I presume.
> but it is not restored on quit.
It's true that `quit-restore-window' can't restore a previous width and
it should be fairly easy to fix that. But can you provide me a simple
scenario starting with emacs -Q so I can test it? I apparently forgot
how this is supposed to work.
martin
next prev parent reply other threads:[~2015-07-21 11:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-21 9:03 bug#21100: 25.0.50; quit-restore-window should also retore width, not just height Artur Malabarba
2015-07-21 11:07 ` martin rudalics [this message]
2015-07-21 12:31 ` Artur Malabarba
2015-07-21 12:47 ` martin rudalics
2015-07-21 13:32 ` Artur Malabarba
2015-07-21 17:04 ` martin rudalics
2015-07-21 21:33 ` Artur Malabarba
2015-07-21 22:48 ` martin rudalics
2015-07-22 10:37 ` martin rudalics
2015-07-22 12:33 ` Artur Malabarba
2015-08-24 8:16 ` martin rudalics
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=55AE27E7.6030505@gmx.at \
--to=rudalics@gmx.at \
--cc=21100@debbugs.gnu.org \
--cc=bruce.connor.am@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).