unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arthur Miller <arthur.miller@live.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 51975@debbugs.gnu.org
Subject: bug#51975: 29.0.50; fit-frame-to-buffer calculates frame width incorrectly on X11 with Gtk 3
Date: Fri, 19 Nov 2021 20:39:54 +0100	[thread overview]
Message-ID: <AM9PR09MB4977B5C144C8E9545F5D5D64969C9@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <29b24ad2-04cb-4969-978b-63a686279c8c@gmx.at> (martin rudalics's message of "Fri, 19 Nov 2021 19:12:23 +0100")

martin rudalics <rudalics@gmx.at> writes:

>> The function calculates frame width one column too small in regard to
>> displayed buffer which results in text being wrapped around and extra line added
>> to the frame.
>
> See
>
> ‘no-special-glyphs’
>      If this is non-‘nil’, it suppresses the display of any truncation
>      and continuation glyphs (*note Truncation::) for all buffers
>      displayed by this frame.  This is useful to eliminate such glyphs
>      when fitting a frame to its buffer via ‘fit-frame-to-buffer’ (*note
>      Resizing Windows::).
>
> in section 30.4.3.4 Layout Parameters of the Elisp manual.
>
> martin

Indeed, it was it. With this parameter set to 't fit-frame-to-buffer works
correctly, so I guess it is not a bug. Sorry for the noise.





  parent reply	other threads:[~2021-11-19 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19 15:20 bug#51975: 29.0.50; fit-frame-to-buffer calculates frame width incorrectly on X11 with Gtk 3 Arthur Miller
2021-11-19 18:12 ` martin rudalics
2021-11-19 19:22   ` Arthur Miller
2021-11-19 19:39   ` Arthur Miller [this message]
2021-11-19 19:51     ` 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=AM9PR09MB4977B5C144C8E9545F5D5D64969C9@AM9PR09MB4977.eurprd09.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=51975@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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).