From: Drew Adams <drew.adams@oracle.com>
To: 21303@debbugs.gnu.org
Subject: bug#21303: 25.0.50; incorrect doc string for `menu-set-font'
Date: Thu, 20 Aug 2015 08:39:49 -0700 (PDT) [thread overview]
Message-ID: <61a55802-cb3e-4743-b566-dbaedb12b07a@default> (raw)
`C-h k' and choose `Set Default Font' from menu-bar menu `Options'.
The doc string says "Interactively select a font and make it the default
on all existing frames."
This is wrong. The most important thing this command does is set the
font as the default for all FUTURE frames. The doc string gives the
impression that it sets the default font only for the EXISTING frames.
Perhaps someone misread the doc string of `set-frame-font' when writing
the doc string of `menu-set-font', seeing only that arg FRAMES = t means
"all existing graphical frames".
The most important part of the behavior (and the doc string) of
`set-frame-font' is that a non-nil FRAME arg "alter[s] the user's
Customization settings as though the font-related attributes of the
`default' face had been "set in this session", so that the font is
applied to future frames."
^^^^^^^^^^^^^^^^^^^^^^^^
Users of `menu-set-font' should have this info, above all.
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2015-07-31 on LEG570
Bzr revision: 8d332aeccab2208e6c6bd434738565e6abf12043
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --host=i686-pc-mingw32 --enable-checking=yes,glyphs'
next reply other threads:[~2015-08-20 15:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 15:39 Drew Adams [this message]
2015-08-21 13:34 ` bug#21303: 25.0.50; incorrect doc string for `menu-set-font' 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=61a55802-cb3e-4743-b566-dbaedb12b07a@default \
--to=drew.adams@oracle.com \
--cc=21303@debbugs.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).