1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Don't claim that the default height is precisely 36 characters

* doc/emacs/cmdargs.texi (Window Size X):
* doc/man/emacs.1.in: Be more vague about what the default height
is (bug#33921).
This commit is contained in:
Lars Ingebrigtsen 2019-10-13 00:49:09 +02:00
parent 5fffed6e88
commit b37fa09337
2 changed files with 8 additions and 6 deletions

View file

@ -1053,11 +1053,12 @@ specifies a window 164 columns wide, enough for two ordinary width
windows side by side, and 55 lines tall. windows side by side, and 55 lines tall.
The default frame width is 80 characters and the default height is The default frame width is 80 characters and the default height is
36 lines. You can omit either the width or the height or both. If between 35 and 40 lines, depending on the OS and the window manager.
you start the geometry with an integer, Emacs interprets it as the You can omit either the width or the height or both. If you start the
width. If you start with an @samp{x} followed by an integer, Emacs geometry with an integer, Emacs interprets it as the width. If you
interprets it as the height. Thus, @samp{81} specifies just the start with an @samp{x} followed by an integer, Emacs interprets it as
width; @samp{x45} specifies just the height. the height. Thus, @samp{81} specifies just the width; @samp{x45}
specifies just the height.
If you start the geometry with @samp{+} or @samp{-}, that introduces If you start the geometry with @samp{+} or @samp{-}, that introduces
an offset, which means both sizes are omitted. Thus, @samp{-3} an offset, which means both sizes are omitted. Thus, @samp{-3}

View file

@ -280,7 +280,8 @@ The geometry specification is in the standard X format; see
.BR X (7) .BR X (7)
for more information. for more information.
The width and height are specified in characters; the default for GUI The width and height are specified in characters; the default for GUI
frames is 80 by 36. frames is a width of 80 and a height between 35 and 40, depending on
the OS and the window manager.
See the Emacs manual, section "Options for Window Size and Position", See the Emacs manual, section "Options for Window Size and Position",
for information on how window sizes interact for information on how window sizes interact
with selecting or deselecting the tool bar and menu bar. with selecting or deselecting the tool bar and menu bar.