unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 46178@debbugs.gnu.org
Subject: bug#46178: 28.0.50; auto-resize-tool-bars / auto-resize-tab-bars grow-only
Date: Sat, 30 Jan 2021 16:27:11 +0100	[thread overview]
Message-ID: <e00c0cd1-7264-4ca4-46d6-49188f74898d@gmx.at> (raw)
In-Reply-To: <83o8h68q5t.fsf@gnu.org>

 >> That of 'recenter' does.  But since these options do not work out of the
 >> box (a user has to customize the option 'recenter-redisplay' too), it
 >> would be useful if the docs of 'auto-resize-tool-bars' and
 >> 'auto-resize-tab-bars' told so.  At the moment they just tell me to use
 >> M-x recenter or C-l.
 >
 > OK, I fixed that.

Thanks.  You won't believe it but yesterday this would have saved me
half an hour poking around with this.  Until then I didn't know that
'recenter' is now our moral equivalent of 'redisplay'.

You might also reconsider the Elisp manual entry where it says

      If this variable is non-‘nil’, the tool bar automatically resizes
      to show all defined tool bar items—but not larger than a quarter of
      the frame’s height.

I've been digging through Gerd's and Kim's rewrites of
'redisplay_tool_bar' and nowhere found a reference to that "quarter".
Did that ever work and when?

 >> We could stop mentioning 'grow-only' in the doc-strings and manuals and
 >> leave it in as an undocumented feature.
 >
 > You know me: I'm uneasy about downgrading features just because they
 > are awkward or inconvenient to document.

I stumbled across this feature because wrapping and unwrapping the tool
bar on Motif by changing the frame width shrinks the frame height for
inexplicable reasons until it is down to a few lines.  Lucid and
non-toolkit builds do not have this issue.  Currently, I just try to
understand the design considerations and whether they are responsible
for the behavior I see.

martin






  reply	other threads:[~2021-01-30 15:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 18:12 bug#46178: 28.0.50; auto-resize-tool-bars / auto-resize-tab-bars grow-only martin rudalics
2021-01-29 20:09 ` Eli Zaretskii
2021-01-30 10:18   ` martin rudalics
2021-01-30 14:17     ` Eli Zaretskii
2021-01-30 15:27       ` martin rudalics [this message]
2021-01-30 19:48         ` 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

  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=e00c0cd1-7264-4ca4-46d6-49188f74898d@gmx.at \
    --to=rudalics@gmx.at \
    --cc=46178@debbugs.gnu.org \
    --cc=eliz@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 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).