From unknown Sun Jun 22 17:17:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21303: 25.0.50; incorrect doc string for `menu-set-font' 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: To: 21303@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144010491031061 (code B ref -1); Thu, 20 Aug 2015 21:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Aug 2015 21:08:30 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 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 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 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 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 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 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 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 MIME-Version: 1.0 Message-ID: <61a55802-cb3e-4743-b566-dbaedb12b07a@default> Date: Thu, 20 Aug 2015 08:39:49 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) `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' From unknown Sun Jun 22 17:17:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Drew Adams Subject: bug#21303: closed (Re: bug#21303: 25.0.50; incorrect doc string for `menu-set-font') Message-ID: References: <83r3mwix40.fsf@gnu.org> <61a55802-cb3e-4743-b566-dbaedb12b07a@default> X-Gnu-PR-Message: they-closed 21303 X-Gnu-PR-Package: emacs Reply-To: 21303@debbugs.gnu.org Date: Fri, 21 Aug 2015 13:35:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1440164105-386-1" This is a multi-part message in MIME format... ------------=_1440164105-386-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21303: 25.0.50; incorrect doc string for `menu-set-font' which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21303@debbugs.gnu.org. --=20 21303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21303 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1440164105-386-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21303-done) by debbugs.gnu.org; 21 Aug 2015 13:34:35 +0000 Received: from localhost ([127.0.0.1]:34287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSmSo-00005T-Pw for submit@debbugs.gnu.org; Fri, 21 Aug 2015 09:34:35 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:41251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSmSj-00004v-1E for 21303-done@debbugs.gnu.org; Fri, 21 Aug 2015 09:34:30 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NTF00L00PH0ER00@a-mtaout21.012.net.il> for 21303-done@debbugs.gnu.org; Fri, 21 Aug 2015 16:34:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTF00L7WPPF4RA0@a-mtaout21.012.net.il>; Fri, 21 Aug 2015 16:34:27 +0300 (IDT) Date: Fri, 21 Aug 2015 16:34:23 +0300 From: Eli Zaretskii Subject: Re: bug#21303: 25.0.50; incorrect doc string for `menu-set-font' In-reply-to: <61a55802-cb3e-4743-b566-dbaedb12b07a@default> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83r3mwix40.fsf@gnu.org> References: <61a55802-cb3e-4743-b566-dbaedb12b07a@default> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21303-done Cc: 21303-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 20 Aug 2015 08:39:49 -0700 (PDT) > From: Drew Adams > > `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. Thanks, fixed. ------------=_1440164105-386-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Aug 2015 21:08:30 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 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 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 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 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 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 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 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 MIME-Version: 1.0 Message-ID: <61a55802-cb3e-4743-b566-dbaedb12b07a@default> Date: Thu, 20 Aug 2015 08:39:49 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 25.0.50; incorrect doc string for `menu-set-font' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) `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' ------------=_1440164105-386-1--