GNU bug report logs -
#22723
25.0.91; temp-buffer-resize-mode disables shrink-window
Previous Next
Reported by: Eli Zaretskii <eliz <at> gnu.org>
Date: Wed, 17 Feb 2016 19:47:02 UTC
Severity: normal
Found in version 25.0.91
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22723 in the body.
You can then email your comments to 22723 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22723
; Package
emacs
.
(Wed, 17 Feb 2016 19:47:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 17 Feb 2016 19:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
To reproduce:
emacs -Q
M-x temp-buffer-resize-mode RET
C-h f shrink-window RET
M-x shrink-window RET
Result: nothing happens.
I realize that this is the result of temp-buffer-resize-mode taking
control on the dimensions of the *Help* window, but for me this is an
unintended consequence: I did want *Help* buffer resize itself when it
displays a new topic, but I certainly didn't expect to lose the
ability to resize my other windows. Moreover, doing nothing silently,
without any error message, sounds sub-optimal UI to me.
("Fixing" this is easy: just switch to the window displaying *Help*
and invoke shrink-window or enlarge-window from there -- from that
moment on the resizing commands will work from other windows as well.)
If the issue is not some unintended bug, then how about overriding
this behavior when the commands are invoked interactively? Failing
even that, can we at least have a prefix argument to override that
explicitly?
Thanks.
In GNU Emacs 25.0.91.18 (i686-pc-mingw32)
of 2016-02-17 built on HOME-C4E4A596F7
Repository revision: 2abcb06cab03cf9040348146fcc0e3e93ae24a58
Windowing system distributor 'Microsoft Corp.', version 5.1.2600
Configured using:
'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int
--with-modules 'CFLAGS=-O0 -gdwarf-4 -g3''
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS MODULES
Important settings:
value of $LANG: ENU
locale-coding-system: cp1255
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
temp-buffer-resize-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Temp-Buffer-Resize mode enabled
Type C-x 1 to delete the help window.
Scanning for dabbrevs...done
user-error: No dynamic expansion for ‘temp-buf’ found
Load-path shadows:
None found.
Features:
(shadow sort mail-extr dabbrev emacsbug message dired format-spec rfc822
mml mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra help-fns
help-mode easymenu cl-loaddefs pcase cl-lib cus-start cus-load time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
w32notify w32 multi-tty make-network-process emacs)
Memory information:
((conses 16 100797 6501)
(symbols 56 21615 0)
(miscs 48 40 107)
(strings 16 19377 5571)
(string-bytes 1 468866)
(vectors 16 12474)
(vector-slots 8 423274 4208)
(floats 8 170 84)
(intervals 40 290 143)
(buffers 856 12))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22723
; Package
emacs
.
(Thu, 18 Feb 2016 10:53:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 22723 <at> debbugs.gnu.org (full text, mbox):
> To reproduce:
>
> emacs -Q
> M-x temp-buffer-resize-mode RET
> C-h f shrink-window RET
> M-x shrink-window RET
>
> Result: nothing happens.
>
> I realize that this is the result of temp-buffer-resize-mode taking
> control on the dimensions of the *Help* window, but for me this is an
> unintended consequence: I did want *Help* buffer resize itself when it
> displays a new topic, but I certainly didn't expect to lose the
> ability to resize my other windows. Moreover, doing nothing silently,
> without any error message, sounds sub-optimal UI to me.
>
> ("Fixing" this is easy: just switch to the window displaying *Help*
> and invoke shrink-window or enlarge-window from there -- from that
> moment on the resizing commands will work from other windows as well.)
>
> If the issue is not some unintended bug, then how about overriding
> this behavior when the commands are invoked interactively? Failing
> even that, can we at least have a prefix argument to override that
> explicitly?
Some time ago I changed the behavior of ‘enlarge-window’ and
‘shrink-window’ to not report an error when the window could not be
resized as requested but to resize the window as much as allowed
instead. This was not a very good idea because according to the Emacs
manual these functions _are_ supposed to report an error in the
described case. I hopefully fixed that now.
The ‘temp-buffer-resize-mode’ bug you report here is just an indirect
consequence of that earlier bug. This issue should now have been fixed
as well. Please have a look.
I also fixed a bug with ‘adjust-window-trailing-edge’ causing it to not
report an error when there was no resizable window below (or on the
right) of the edge to adjust. Please check this as well.
Thanks, martin
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Fri, 19 Feb 2016 11:59:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
bug acknowledged by developer.
(Fri, 19 Feb 2016 11:59:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 22723-done <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 18 Feb 2016 11:51:45 +0100
> From: martin rudalics <rudalics <at> gmx.at>
>
> Some time ago I changed the behavior of ‘enlarge-window’ and
> ‘shrink-window’ to not report an error when the window could not be
> resized as requested but to resize the window as much as allowed
> instead. This was not a very good idea because according to the Emacs
> manual these functions _are_ supposed to report an error in the
> described case. I hopefully fixed that now.
>
> The ‘temp-buffer-resize-mode’ bug you report here is just an indirect
> consequence of that earlier bug. This issue should now have been fixed
> as well. Please have a look.
>
> I also fixed a bug with ‘adjust-window-trailing-edge’ causing it to not
> report an error when there was no resizable window below (or on the
> right) of the edge to adjust. Please check this as well.
Thanks, both issues seem to be fixed now.
I'm closing the bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 19 Mar 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 90 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.