From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#21303: 25.0.50; incorrect doc string for `menu-set-font' Date: Thu, 20 Aug 2015 08:39:49 -0700 (PDT) Message-ID: <61a55802-cb3e-4743-b566-dbaedb12b07a@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1440104967 8955 80.91.229.3 (20 Aug 2015 21:09:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2015 21:09:27 +0000 (UTC) To: 21303@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 23:09:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZSX5E-0006em-2V for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2015 23:09:12 +0200 Original-Received: from localhost ([::1]:37079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSX5D-0003Kj-3V for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2015 17:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSX58-0003Jq-OL for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 17:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSX54-0004w6-OG for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 17:09:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSX54-0004vy-LL for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 17:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZSX54-00085j-Bh for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 17:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2015 21:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21303 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144010491031061 (code B ref -1); Thu, 20 Aug 2015 21:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Aug 2015 21:08:30 +0000 Original-Received: from localhost ([127.0.0.1]:33872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSX4X-00084v-E1 for submit@debbugs.gnu.org; Thu, 20 Aug 2015 17:08:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56914) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSX4W-00084m-03 for submit@debbugs.gnu.org; Thu, 20 Aug 2015 17:08:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSX4R-0004ml-QZ for submit@debbugs.gnu.org; Thu, 20 Aug 2015 17:08:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSX4R-0004mh-OE for submit@debbugs.gnu.org; Thu, 20 Aug 2015 17:08:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSRwc-0007db-Lt for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 11:40:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSRwX-0005i8-Co for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 11:39:58 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:35173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSRwX-0005hn-6Z for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 11:39:53 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7KFdp9N026662 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 20 Aug 2015 15:39:51 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t7KFdpWc008738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 20 Aug 2015 15:39:51 GMT Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t7KFdpi8022584 for ; Thu, 20 Aug 2015 15:39:51 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105607 Archived-At: `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 =3D 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=3Di686-pc-mingw32 --enable-checking=3Dyes,glyphs'