From unknown Sat Aug 16 23:45:12 2025 X-Loop: don@donarmstrong.com Subject: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts Reply-To: "Drew Adams" , 1562@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 13 Dec 2008 19:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1562 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122919496924106 (code B ref -1); Sat, 13 Dec 2008 19:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 104; hammy, 149; neutral, 237; spammy, 2. spammytokens:0.987-1--iso88591, 0.987-1--pertinent hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--nil X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,BAYES_00,HTML_MESSAGE, NEXTPART,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Dec 2008 19:02:49 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBDJ2dof024087 for ; Sat, 13 Dec 2008 11:02:40 -0800 Received: from mx10.gnu.org ([199.232.76.166]:58779) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LBZkT-0002ph-TG for emacs-pretest-bug@gnu.org; Sat, 13 Dec 2008 14:01:58 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LBZl5-00042a-5o for emacs-pretest-bug@gnu.org; Sat, 13 Dec 2008 14:02:37 -0500 Received: from acsinet11.oracle.com ([141.146.126.233]:17890) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBZl3-00042Q-Rh for emacs-pretest-bug@gnu.org; Sat, 13 Dec 2008 14:02:35 -0500 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBDJ3Wqj016274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 13 Dec 2008 19:03:34 GMT Received: from acsmt700.oracle.com (acsmt700.oracle.com [141.146.40.70]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBDJ2Z1N006160 for ; Sat, 13 Dec 2008 19:02:36 GMT Received: from dradamslap1 (/141.144.80.117) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Dec 2008 11:02:24 -0800 From: "Drew Adams" To: Date: Sat, 13 Dec 2008 11:02:30 -0800 Message-ID: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_001F_01C95D12.4B3A5B80" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcldVVjJf+JTwzpeSRiGtAPcIDHHdQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt700.oracle.com [141.146.40.70] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.494406C4.001B:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit See bug #119. Both I and Jason have sent followups to this bug, but they do not appear in the Outstanding bugs list, AFAICT. This bug is Outstanding. It was mistakenly put in the "Resolved" (closed?) list. The bug still exists. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' Below is the last mail I sent about this bug. Attached are other mails that seem to be missing from the bug tracker. -----Original Message----- From: Drew Adams Sent: Friday, November 28, 2008 2:36 PM To: 'Stephen Berman' Cc: 119@debbugs.gnu.org Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts > > This bug seems still not to be fixed, and I cannot even > > find it listed in the bugs database: > > http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=emacs. > > > > What is that status of this bug? Is there some other bugs > > page where this appears? > > On the above page you can find it by clicking on either of > the links in "See the _archived reports_ or _archived and > unarchived reports_", i.e., > http://debbugs.gnu.org/cgi/pkgreport.cgi?orderi > ng=normal;archive=1;package=emacs;repeatmerged=1 > or > http://debbugs.gnu.org/cgi/pkgreport.cgi?orderi ng=normal;archive=both;package=emacs;repeatmerged=1 > > Also, you can find it from http://debbugs.gnu.org/ > by typing "119" in the textbox below "Find a bug by number:" and > clicking the "Find" button. 1. Ah, thank you. I'd propose that a search field be added also to this page: http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=emacs, and that search there be limited to bugs that are in the Emacs package. That page seems to be the main entry point for Emacs bugs. It makes sense to have a search field there, IMO. 2. I and Jason have sent followups to this bug that do not appear in the bug-report page (the archived bugs page cited above). What happened to them? I have attached them to this mail. ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYj5v-0004ai-Ot for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:33 -0400 Received: from rgminet04.oracle.com (rgminet04.oracle.com [148.87.113.121]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF8QsC000620 for ; Thu, 28 Aug 2008 09:08:26 -0600 Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SEuqTD023354 for <119@emacsbugs.donarmstrong.com>; Thu, 28 Aug 2008 07:56:53 -0700 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m7SEuiow007475; Thu, 28 Aug 2008 08:56:44 -0600 Received: (at 119) by emacsbugs.donarmstrong.com; 28 Aug 2008 14:57:02 +0000 Received: from localhost ([127.0.0.1]:56398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj62-0004cW-5r for drew.adams@oracle.com; Thu, 28 Aug 2008 11:07:38 -0400 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rgminet04.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF7dAn020021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Aug 2008 09:07:59 -0600 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYj5z-0004cC-6e for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:35 -0400 Received: from rgmgw1.us.oracle.com by acsmt355.oracle.com with ESMTP id 11769149451219936107; Thu, 28 Aug 2008 08:08:27 -0700 Received: from acsmt354.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 08:08:43 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 07:56:43 -0700 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SF7TJe027482; Thu, 28 Aug 2008 08:07:29 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.121993542223450 (code B ref 119); Thu, 28 Aug 2008 15:05:07 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7SF58pq026218; Thu, 28 Aug 2008 08:05:08 -0700 Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7SEuhUW018791; Thu, 28 Aug 2008 08:56:43 -0600 Received: from rzlab.ucr.edu ([138.23.92.77]:39973) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYj5v-0005I0-85 for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Received: from [199.232.76.173] (port=48451 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj5v-0004af-Jz for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: "'Jason Rumney'" , <119@debbugs.gnu.org> Cc: "Emacs-Devel" References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com><001501c90866$8e1b4cd0$c2b22382@us.oracle.com><48B5E61F.5030606@gnu.org> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Thu, 28 Aug 2008 06:56:48 -0800 Message-ID: <002301c9091e$4c9ee380$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C95D12.4B332F90" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , In-Reply-To: <48B5E61F.5030606@gnu.org> Thread-Index: AckIns1c2jJ3d4JMTgKtMDiy6T2eZQAfyCNA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C95D12.4B332F90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > > FYI - This bug appears to be fixed in the Emacs 23 pretest > > (22.2.91). > > It is not an Emacs 23 pretest. It is an Emacs 22.3 pretest, > which is why bugs that have only ever been apparent in the > trunk are not present in this pretest. Oh, darn. I guess that means that these problems still are in Emacs 23. And this also explains the "return" to the Emacs 22 icon that I noticed. Please then disregard all my mails from yesterday about Emacs 23 bugs that I thought had been fixed. Sorry for the confusion. ------=_NextPart_000_000A_01C95D12.4B332F90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

> > FYI - This bug appears to be fixed in the = Emacs 23 pretest
> > (22.2.91).
>
> It is not an Emacs 23 pretest. It is an Emacs = 22.3 pretest,
> which is why bugs that have only ever been = apparent in the
> trunk are not present in this pretest.

Oh, darn. I guess that means that these problems still = are in Emacs 23. And this
also explains the "return" to the Emacs 22 = icon that I noticed.

Please then disregard all my mails from yesterday = about Emacs 23 bugs that I
thought had been fixed. Sorry for the = confusion.





------=_NextPart_000_000A_01C95D12.4B332F90-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from unknown (HELO [172.16.0.12]) ([124.82.236.150]) by smtp.f2s.tiscali.co.uk with ESMTP; 28 Aug 2008 00:42:05 +0100 Received: from rgmgw1.us.oracle.com by acsmt354.oracle.com with ESMTP id 11751322681219880536; Wed, 27 Aug 2008 16:42:16 -0700 Received: from acsmt354.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 Aug 2008 16:44:10 -0700 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by agminet03.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RNg7g6013892 for ; Wed, 27 Aug 2008 18:42:13 -0500 Received: from agminet03.oracle.com (agminet03.oracle.com [141.146.126.230]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RNgF0r001811 for ; Wed, 27 Aug 2008 17:42:15 -0600 Return-Path: From: "Jason Rumney" To: "Drew Adams" , <119@debbugs.gnu.org> References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> <001501c90866$8e1b4cd0$c2b22382@us.oracle.com> Subject: Re: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Wed, 27 Aug 2008 15:41:19 -0800 Message-ID: <48B5E61F.5030606@gnu.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C95D12.4B381190" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <001501c90866$8e1b4cd0$c2b22382@us.oracle.com> Thread-Index: AckIns1c2jJ3d4JMTgKtMDiy6T2eZQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C95D12.4B381190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Drew Adams wrote: > FYI - This bug appears to be fixed in the Emacs 23 pretest (22.2.91). > It is not an Emacs 23 pretest. It is an Emacs 22.3 pretest, which is why bugs that have only ever been apparent in the trunk are not present in this pretest. ------=_NextPart_000_000E_01C95D12.4B381190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: bug#119: modify-frame-parameters in Emacs 23 for = fonts

Drew Adams wrote:
> FYI - This bug appears to be fixed in the Emacs = 23 pretest (22.2.91).
>  

It is not an Emacs 23 pretest. It is an Emacs 22.3 = pretest, which is why
bugs that have only ever been apparent in the trunk = are not present in
this pretest.

------=_NextPart_000_000E_01C95D12.4B381190-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYOxM-0006Or-3C for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:37:21 -0400 Received: from agminet03.oracle.com (agminet03.oracle.com [141.146.126.230]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RHblCJ005158 for ; Wed, 27 Aug 2008 11:37:48 -0600 Received: from agminet01.oracle.com (agminet01.oracle.com [141.146.126.228]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RH1cjJ010070 for <119@emacsbugs.donarmstrong.com>; Wed, 27 Aug 2008 10:01:39 -0700 Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m7RH1Vse014108 for <119@emacsbugs.donarmstrong.com>; Wed, 27 Aug 2008 12:01:31 -0500 Received: (at 119) by emacsbugs.donarmstrong.com; 27 Aug 2008 17:01:42 +0000 Received: from localhost ([127.0.0.1]:57255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYOxd-0006f2-Bq for drew.adams@oracle.com; Wed, 27 Aug 2008 13:37:37 -0400 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by agminet03.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RHbbKL011400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Aug 2008 12:37:44 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYOxR-0006Tr-Vm for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:37:26 -0400 Received: from rgmgw1.us.oracle.com by acsmt358.oracle.com with ESMTP id 11743567141219858671; Wed, 27 Aug 2008 12:37:51 -0500 Received: from acsmt357.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 Aug 2008 10:37:57 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 Aug 2008 10:01:30 -0700 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RHRTGI018896; Wed, 27 Aug 2008 10:27:29 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.121985650210076 (code B ref 119); Wed, 27 Aug 2008 17:10:05 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7RHA5VQ012869; Wed, 27 Aug 2008 10:10:05 -0700 Received: from acsmt700.oracle.com (acsmt700.oracle.com [141.146.40.70]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7RH1UvW029306 for <119@emacsbugs.donarmstrong.com>; Wed, 27 Aug 2008 11:01:30 -0600 Received: from rzlab.ucr.edu ([138.23.92.77]:44239) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYOoC-0005b7-KO for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:27:53 -0400 Received: from [199.232.76.173] (port=41830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYOxL-0006OI-Jl for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:37:19 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: <119@debbugs.gnu.org> References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Wed, 27 Aug 2008 09:01:31 -0800 Message-ID: <001501c90866$8e1b4cd0$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C95D12.4B381190" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , In-Reply-To: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> Thread-Index: Acj4tFi2CqS0Is7gTcKwPtn/G8EAMwPsgbeQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C95D12.4B381190 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit FYI - This bug appears to be fixed in the Emacs 23 pretest (22.2.91). Thanks very much. > From: Drew Adams Sent: Thursday, August 07, 2008 10:38 AM > > This bug is marked fixed, but it has not been fixed. > Jason marked it as fixed on 2008-05-08, with this note: > > I've marked this as fixed, since the bug reported will > be fixed when font-backend is merged. > I will not close it at this time though, as valid points > about documentation were raised. > > Then, on 2008-06-12, I received a mail saying that it was > closed. In any case, it is *not* fixed - I see the same > thing in this recent build: > > GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) > of 2008-08-01 on LENNART-69DE564 > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4) --no-opt --cflags > -Ic:/g/include -fno-crossjumping' > > There are two things that might be the problem: > > (1) `modify-frame-parameters' changes the `font' parameter behind your > back from the value you provide `modify-frame-parameters': > > (modify-frame-parameters frame > (list (cons 'font "-outline-Lucida Console-normal-normal-\ > normal-mono-15-*-*-*-c-*-iso8859-1"))) > > The `font' frame parameter is then: > > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > *-*-*-c-*-fontset-auto8" > > IOW, iso8859-1 gets replaced by fontset-auto8. > > (2) `x-list-fonts' returns nil when passed such a font (i.e. with > fontset-auto8). > > This breaks my code. Though the frame and the font appear normal, > `x-list-fonts' does not recognize such a font. My code changes the > font name to use a different size (e.g. changes 15 to 14), but it > checks that `x-list-fonts' recognizes the font name before trying to > use it. And `x-list-fonts' does not recognize the name (with > "fontset-auto8") that `modify-frame-parameters' establishes behind the > scene. > > The font that I provide to `modify-frame-parameters' is recognized by > `x-list-fonts', and it has the same appearance, but it never appears > as the frame parameter in this context because > `modify-frame-parameters' substitutes a different name. > > > Below is the pertinent part of the original bug report. The symptom is > the same, but the font that `modify-frame-parameters' substitutes is > slightly different. > > Back in April, it substituted: > "-outline-lucida console-normal-roman-normal-mono-15-\ > *-*-*-*-*-fontset-startup" > > Now it substitutes: > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > *-*-*-c-*-fontset-auto8" > > Neither is recognized by `x-list-fonts'. > > --------8<---------2008-04-05 report ------------------- > > (frame-parameter nil 'font) -> > "-*-Lucida Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1" > > (modify-frame-parameters > nil > (list > (cons > 'font > "-*-Lucida Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1"))) > > (frame-parameter nil 'font) -> > "-outline-lucida > console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup" > > What's that about? In Emacs 20, 21, and 22, the result is > just the font I > specified. > > I have code that zooms frames (font size). I change just the > point size in the > font spec, using `x-decompose-font-name' and > `x-compose-font-name'. I check that > the result is a legitimate font using `x-list-fonts'. If not, > I increase or > decrease the increment until I find the font that works with > the closest size. > > [Yes, I know there are other ways to adjust font size, but > I've found that this > method is flexible for users and provides certain benefits.] > > My code no longer works without change, because after one call to > `modify-frame-parameters' the font is no longer something > recognized by > `x-list-fonts'. I can comment out the part that iterates > until it finds a size > that works (recognized by `x-list-fonts'). That works, but > I'm still curious > about this. (Is there perhaps a bug in `x-list-fonts' or in > `modify-frame-parameters'?) ------=_NextPart_000_0012_01C95D12.4B381190 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

FYI - This bug appears to be fixed in the Emacs 23 = pretest (22.2.91).

Thanks very much.


> From: Drew Adams Sent: Thursday, August 07, 2008 = 10:38 AM
>
> This bug is marked fixed, but it has not been = fixed.
> Jason marked it as fixed on 2008-05-08, with = this note:
>
>   I've marked this as fixed, since the = bug reported will
>   be fixed when font-backend is = merged.
>   I will not close it at this time = though, as valid points
>   about documentation were = raised.
>
> Then, on 2008-06-12, I received a mail saying = that it was
> closed. In any case, it is *not* fixed - I see = the same
> thing in this recent build:
>
> GNU Emacs 23.0.60.1 = (i386-mingw-nt5.1.2600)
>  of 2008-08-01 on LENNART-69DE564
> Windowing system distributor `Microsoft Corp.', = version 5.1.2600
> configured using `configure --with-gcc (3.4) = --no-opt --cflags
>  -Ic:/g/include -fno-crossjumping'
>
> There are two things that might be the = problem:
>
> (1) `modify-frame-parameters' changes the `font' = parameter behind your
> back from the value you provide = `modify-frame-parameters':
>
> (modify-frame-parameters frame
>   (list (cons 'font = "-outline-Lucida Console-normal-normal-\
> = normal-mono-15-*-*-*-c-*-iso8859-1")))
>
> The `font' frame parameter is then:
>
> "-outline-Lucida = Console-normal-normal-normal-mono-15-\
> *-*-*-c-*-fontset-auto8"
>
> IOW, iso8859-1 gets replaced by = fontset-auto8.
>
> (2) `x-list-fonts' returns nil when passed such = a font (i.e. with
> fontset-auto8).
>
> This breaks my code. Though the frame and the = font appear normal,
> `x-list-fonts' does not recognize such a font. = My code changes the
> font name to use a different size (e.g. changes = 15 to 14), but it
> checks that `x-list-fonts' recognizes the font = name before trying to
> use it. And `x-list-fonts' does not recognize = the name (with
> "fontset-auto8") that = `modify-frame-parameters' establishes behind the
> scene.
>
> The font that I provide to = `modify-frame-parameters' is recognized by
> `x-list-fonts', and it has the same appearance, = but it never appears
> as the frame parameter in this context = because
> `modify-frame-parameters' substitutes a = different name.
>
>
> Below is the pertinent part of the original bug = report. The symptom is
> the same, but the font that = `modify-frame-parameters' substitutes is
> slightly different.
>
> Back in April, it substituted:
> "-outline-lucida = console-normal-roman-normal-mono-15-\
> *-*-*-*-*-fontset-startup"
>
> Now it substitutes:
> "-outline-Lucida = Console-normal-normal-normal-mono-15-\
> *-*-*-c-*-fontset-auto8"
>
> Neither is recognized by `x-list-fonts'.
>
> --------8<---------2008-04-05 report = -------------------
>
> (frame-parameter nil 'font) ->
> "-*-Lucida = Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1"
>
> (modify-frame-parameters
>  nil
>  (list
>   (cons
>    'font
>    "-*-Lucida = Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1")))
>
> (frame-parameter nil 'font) ->
> "-outline-lucida
> = console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup"
>
> What's that about? In Emacs 20, 21, and 22, the = result is
> just the font I
> specified.
>
> I have code that zooms frames (font size). I = change just the
> point size in the
> font spec, using `x-decompose-font-name' and =
> `x-compose-font-name'. I check that
> the result is a legitimate font using = `x-list-fonts'. If not,
> I increase or
> decrease the increment until I find the font = that works with
> the closest size.
>
> [Yes, I know there are other ways to adjust font = size, but
> I've found that this
> method is flexible for users and provides = certain benefits.]
>
> My code no longer works without change, because = after one call to
> `modify-frame-parameters' the font is no longer = something
> recognized by
> `x-list-fonts'. I can comment out the part that = iterates
> until it finds a size
> that works (recognized by `x-list-fonts'). That = works, but
> I'm still curious
> about this. (Is there perhaps a bug in = `x-list-fonts' or in
> `modify-frame-parameters'?)





------=_NextPart_000_0012_01C95D12.4B381190-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m77ICi2F014955 for <119@emacsbugs.donarmstrong.com>; Thu, 7 Aug 2008 13:12:45 -0500 Received: from agminet04.oracle.com (agminet04.oracle.com [141.146.126.231]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m77IS6OV020489 for ; Thu, 7 Aug 2008 12:28:06 -0600 Received: from agminet01.oracle.com (agminet01.oracle.com [141.146.126.228]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77ICpY6003247 for <119@emacsbugs.donarmstrong.com>; Thu, 7 Aug 2008 11:12:53 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Aug 2008 10:38:02 -0700 Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7789QLF031999 for <119@emacsbugs.donarmstrong.com>; Thu, 7 Aug 2008 12:12:43 -0600 Received: from rgmgw1.us.oracle.com by acsmt358.oracle.com with ESMTP id 11302773131218133687; Thu, 07 Aug 2008 13:28:07 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRACv-0005C4-Gi for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:29 -0400 Received: from localhost ([127.0.0.1]:33501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRADK-0005Ui-Fg for drew.adams@oracle.com; Thu, 07 Aug 2008 14:27:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRACt-0005B6-3h for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:28 -0400 Received: from acsmt357.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Aug 2008 11:28:20 -0700 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by agminet04.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m77IRste001558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 7 Aug 2008 13:28:03 -0500 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77IRNIx007700; Thu, 7 Aug 2008 11:27:23 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.12181327753253 (code B ref 119); Thu, 07 Aug 2008 18:20:04 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m77IK4Np005010; Thu, 7 Aug 2008 11:20:04 -0700 Received: from [199.232.76.173] (port=50484 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRACs-0005At-U8 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:26 -0400 Received: from inet-141-146-46-1.oracle.com by acsmt354.oracle.com with ESMTP id 11300089941218130683; Thu, 07 Aug 2008 10:38:03 -0700 Received: (at 119) by emacsbugs.donarmstrong.com; 7 Aug 2008 18:12:55 +0000 Received: from rzlab.ucr.edu ([138.23.92.77]:57678) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRACs-0002B0-FU for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:26 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: <119@debbugs.gnu.org> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Thu, 7 Aug 2008 09:38:04 -0800 Message-ID: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C95D12.4B3A5B80" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , Thread-Index: Acj4tFi2CqS0Is7gTcKwPtn/G8EAMw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C95D12.4B3A5B80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This bug is marked fixed, but it has not been fixed. Jason marked it as fixed on 2008-05-08, with this note: I've marked this as fixed, since the bug reported will be fixed when font-backend is merged. I will not close it at this time though, as valid points about documentation were raised. Then, on 2008-06-12, I received a mail saying that it was closed. In any case, it is *not* fixed - I see the same thing in this recent build: GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-01 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' There are two things that might be the problem: (1) `modify-frame-parameters' changes the `font' parameter behind your back from the value you provide `modify-frame-parameters': (modify-frame-parameters frame (list (cons 'font "-outline-Lucida Console-normal-normal-\ normal-mono-15-*-*-*-c-*-iso8859-1"))) The `font' frame parameter is then: "-outline-Lucida Console-normal-normal-normal-mono-15-\ *-*-*-c-*-fontset-auto8" IOW, iso8859-1 gets replaced by fontset-auto8. (2) `x-list-fonts' returns nil when passed such a font (i.e. with fontset-auto8). This breaks my code. Though the frame and the font appear normal, `x-list-fonts' does not recognize such a font. My code changes the font name to use a different size (e.g. changes 15 to 14), but it checks that `x-list-fonts' recognizes the font name before trying to use it. And `x-list-fonts' does not recognize the name (with "fontset-auto8") that `modify-frame-parameters' establishes behind the scene. The font that I provide to `modify-frame-parameters' is recognized by `x-list-fonts', and it has the same appearance, but it never appears as the frame parameter in this context because `modify-frame-parameters' substitutes a different name. Below is the pertinent part of the original bug report. The symptom is the same, but the font that `modify-frame-parameters' substitutes is slightly different. Back in April, it substituted: "-outline-lucida console-normal-roman-normal-mono-15-\ *-*-*-*-*-fontset-startup" Now it substitutes: "-outline-Lucida Console-normal-normal-normal-mono-15-\ *-*-*-c-*-fontset-auto8" Neither is recognized by `x-list-fonts'. --------8<---------2008-04-05 report ------------------- (frame-parameter nil 'font) -> "-*-Lucida Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1" (modify-frame-parameters nil (list (cons 'font "-*-Lucida Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1"))) (frame-parameter nil 'font) -> "-outline-lucida console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup" What's that about? In Emacs 20, 21, and 22, the result is just the font I specified. I have code that zooms frames (font size). I change just the point size in the font spec, using `x-decompose-font-name' and `x-compose-font-name'. I check that the result is a legitimate font using `x-list-fonts'. If not, I increase or decrease the increment until I find the font that works with the closest size. [Yes, I know there are other ways to adjust font size, but I've found that this method is flexible for users and provides certain benefits.] My code no longer works without change, because after one call to `modify-frame-parameters' the font is no longer something recognized by `x-list-fonts'. I can comment out the part that iterates until it finds a size that works (recognized by `x-list-fonts'). That works, but I'm still curious about this. (Is there perhaps a bug in `x-list-fonts' or in `modify-frame-parameters'?) ------=_NextPart_000_0016_01C95D12.4B3A5B80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

This bug is marked fixed, but it has not been = fixed.
Jason marked it as fixed on 2008-05-08, with this = note:

  I've marked this as fixed, since the bug = reported will
  be fixed when font-backend is merged.
  I will not close it at this time though, as = valid points
  about documentation were raised.

Then, on 2008-06-12, I received a mail saying that it = was
closed. In any case, it is *not* fixed - I see the = same
thing in this recent build:

GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-08-01 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', = version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt = --cflags
 -Ic:/g/include -fno-crossjumping'

There are two things that might be the problem:

(1) `modify-frame-parameters' changes the `font' = parameter behind your
back from the value you provide = `modify-frame-parameters':

(modify-frame-parameters frame
  (list (cons 'font "-outline-Lucida = Console-normal-normal-\
normal-mono-15-*-*-*-c-*-iso8859-1")))

The `font' frame parameter is then:

"-outline-Lucida = Console-normal-normal-normal-mono-15-\
*-*-*-c-*-fontset-auto8"

IOW, iso8859-1 gets replaced by fontset-auto8.

(2) `x-list-fonts' returns nil when passed such a font = (i.e. with
fontset-auto8).

This breaks my code. Though the frame and the font = appear normal,
`x-list-fonts' does not recognize such a font. My = code changes the
font name to use a different size (e.g. changes 15 to = 14), but it
checks that `x-list-fonts' recognizes the font name = before trying to
use it. And `x-list-fonts' does not recognize the = name (with
"fontset-auto8") that = `modify-frame-parameters' establishes behind the
scene.

The font that I provide to `modify-frame-parameters' = is recognized by
`x-list-fonts', and it has the same appearance, but = it never appears
as the frame parameter in this context because
`modify-frame-parameters' substitutes a different = name.


Below is the pertinent part of the original bug = report. The symptom is
the same, but the font that `modify-frame-parameters' = substitutes is
slightly different.

Back in April, it substituted:
"-outline-lucida = console-normal-roman-normal-mono-15-\
*-*-*-*-*-fontset-startup"

Now it substitutes:
"-outline-Lucida = Console-normal-normal-normal-mono-15-\
*-*-*-c-*-fontset-auto8"

Neither is recognized by `x-list-fonts'.

--------8<---------2008-04-05 report = -------------------

(frame-parameter nil 'font) ->
"-*-Lucida = Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1"

(modify-frame-parameters
 nil
 (list
  (cons
   'font
   "-*-Lucida = Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1")))

(frame-parameter nil 'font) ->
"-outline-lucida = console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup"

What's that about? In Emacs 20, 21, and 22, the result = is just the font I
specified.

I have code that zooms frames (font size). I change = just the point size in the
font spec, using `x-decompose-font-name' and = `x-compose-font-name'. I check that
the result is a legitimate font using `x-list-fonts'. = If not, I increase or
decrease the increment until I find the font that = works with the closest size.

[Yes, I know there are other ways to adjust font size, = but I've found that this
method is flexible for users and provides certain = benefits.]

My code no longer works without change, because after = one call to
`modify-frame-parameters' the font is no longer = something recognized by
`x-list-fonts'. I can comment out the part that = iterates until it finds a size
that works (recognized by `x-list-fonts'). That = works, but I'm still curious
about this. (Is there perhaps a bug in `x-list-fonts' = or in
`modify-frame-parameters'?)





------=_NextPart_000_0016_01C95D12.4B3A5B80-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYj5v-0004ai-Ot for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:33 -0400 Received: from rgminet04.oracle.com (rgminet04.oracle.com [148.87.113.121]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF8QsC000620 for ; Thu, 28 Aug 2008 09:08:26 -0600 Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SEuqTD023354 for <119@emacsbugs.donarmstrong.com>; Thu, 28 Aug 2008 07:56:53 -0700 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m7SEuiow007475; Thu, 28 Aug 2008 08:56:44 -0600 Received: (at 119) by emacsbugs.donarmstrong.com; 28 Aug 2008 14:57:02 +0000 Received: from localhost ([127.0.0.1]:56398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj62-0004cW-5r for drew.adams@oracle.com; Thu, 28 Aug 2008 11:07:38 -0400 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rgminet04.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF7dAn020021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Aug 2008 09:07:59 -0600 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYj5z-0004cC-6e for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:35 -0400 Received: from rgmgw1.us.oracle.com by acsmt355.oracle.com with ESMTP id 11769149451219936107; Thu, 28 Aug 2008 08:08:27 -0700 Received: from acsmt354.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 08:08:43 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 07:56:43 -0700 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SF7TJe027482; Thu, 28 Aug 2008 08:07:29 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.121993542223450 (code B ref 119); Thu, 28 Aug 2008 15:05:07 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7SF58pq026218; Thu, 28 Aug 2008 08:05:08 -0700 Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7SEuhUW018791; Thu, 28 Aug 2008 08:56:43 -0600 Received: from rzlab.ucr.edu ([138.23.92.77]:39973) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYj5v-0005I0-85 for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Received: from [199.232.76.173] (port=48451 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj5v-0004af-Jz for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: "'Jason Rumney'" , <119@debbugs.gnu.org> Cc: "Emacs-Devel" References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com><001501c90866$8e1b4cd0$c2b22382@us.oracle.com><48B5E61F.5030606@gnu.org> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Thu, 28 Aug 2008 06:56:48 -0800 Message-ID: <002301c9091e$4c9ee380$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C95D12.4B3A5B80" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , In-Reply-To: <48B5E61F.5030606@gnu.org> Thread-Index: AckIns1c2jJ3d4JMTgKtMDiy6T2eZQAfyCNA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C95D12.4B3A5B80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > > FYI - This bug appears to be fixed in the Emacs 23 pretest > > (22.2.91). > > It is not an Emacs 23 pretest. It is an Emacs 22.3 pretest, > which is why bugs that have only ever been apparent in the > trunk are not present in this pretest. Oh, darn. I guess that means that these problems still are in Emacs 23. And this also explains the "return" to the Emacs 22 icon that I noticed. Please then disregard all my mails from yesterday about Emacs 23 bugs that I thought had been fixed. Sorry for the confusion. ------=_NextPart_000_001A_01C95D12.4B3A5B80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

> > FYI - This bug appears to be fixed in the = Emacs 23 pretest
> > (22.2.91).
>
> It is not an Emacs 23 pretest. It is an Emacs = 22.3 pretest,
> which is why bugs that have only ever been = apparent in the
> trunk are not present in this pretest.

Oh, darn. I guess that means that these problems still = are in Emacs 23. And this
also explains the "return" to the Emacs 22 = icon that I noticed.

Please then disregard all my mails from yesterday = about Emacs 23 bugs that I
thought had been fixed. Sorry for the = confusion.





------=_NextPart_000_001A_01C95D12.4B3A5B80-- ------=_NextPart_000_001F_01C95D12.4B3A5B80-- From unknown Sat Aug 16 23:45:12 2025 X-Loop: don@donarmstrong.com Subject: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts Reply-To: Glenn Morris , 1562@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 13 Dec 2008 20:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1562 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1562-submit@emacsbugs.donarmstrong.com id=B1562.122920124922074 (code B ref 1562); Sat, 13 Dec 2008 20:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 34; neutral, 48; spammy, 1. spammytokens:0.907-7--discuss hammytokens:0.000-+--emacs, 0.000-+--23060, 0.000-+--23.0.60, 0.000-+--Emacs, 0.000-+--H*r:140.186.70 X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1562) by emacsbugs.donarmstrong.com; 13 Dec 2008 20:47:29 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBDKlPdG022060 for <1562@emacsbugs.donarmstrong.com>; Sat, 13 Dec 2008 12:47:27 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LBbNs-00074s-TF; Sat, 13 Dec 2008 15:46:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18756.7988.521109.362142@fencepost.gnu.org> Date: Sat, 13 Dec 2008 15:46:44 -0500 From: Glenn Morris To: 1562@debbugs.gnu.org In-Reply-To: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> References: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> Please try to be concise. It seems your mail can be summarized as: "I still see bug 119". The 5 attachments would seem to consist of a misunderstanding about Emacs 22.3 not being Emacs 23.1. To address your off-topic comments, it would seem bugs cannot be modified when archived. (This is not the place to discuss the operation of the bug tracker.) From unknown Sat Aug 16 23:45:12 2025 X-Loop: don@donarmstrong.com Subject: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts Reply-To: "Drew Adams" , 1562@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 13 Dec 2008 21:30:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1562 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1562-submit@emacsbugs.donarmstrong.com id=B1562.122920331132487 (code B ref 1562); Sat, 13 Dec 2008 21:30:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 21; hammy, 88; neutral, 86; spammy, 3. spammytokens:0.909-+--among, 0.897-6--discuss, 0.855-+--show hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--H*M:oracle X-Spam-Status: No, score=-8.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1562) by emacsbugs.donarmstrong.com; 13 Dec 2008 21:21:51 +0000 Received: from rgminet12.oracle.com (rcsinet12.oracle.com [148.87.113.124]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBDLLmHW032471 for <1562@emacsbugs.donarmstrong.com>; Sat, 13 Dec 2008 13:21:49 -0800 Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBDLLQIN011177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Dec 2008 21:21:27 GMT Received: from acsmt705.oracle.com (acsmt705.oracle.com [141.146.40.83]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBDLM3A6010926; Sat, 13 Dec 2008 21:22:04 GMT Received: from dradamslap1 (/141.144.80.117) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Dec 2008 13:21:37 -0800 From: "Drew Adams" To: "'Glenn Morris'" , <1562@debbugs.gnu.org> References: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> <18756.7988.521109.362142@fencepost.gnu.org> Date: Sat, 13 Dec 2008 13:21:44 -0800 Message-ID: <007301c95d68$ccb0f1a0$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <18756.7988.521109.362142@fencepost.gnu.org> Thread-Index: AcldZmdslW+rzzELSzCF77iyZij+lwAAG9rA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt705.oracle.com [141.146.40.83] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.49442762.01D3:SCFSTAT928724,ss=1,fgs=0 > From: Glenn Morris Sent: Saturday, December 13, 2008 12:47 PM > Please try to be concise. It seems your mail can be summarized as: > > "I still see bug 119". Fine. I already sent mail saying that, and it didn't seem to show up. But if the message has now been successfully passed (by creating a new bug), then that's good. > The 5 attachments would seem to consist of a misunderstanding about > Emacs 22.3 not being Emacs 23.1. Yes. I included them to point out the problem of updates to the bug not getting recorded. You can ignore them, now that the message has been delivered. Sorry for that noise. > To address your off-topic comments, it would seem bugs cannot be > modified when archived. (This is not the place to discuss the > operation of the bug tracker.) I don't know what the problem was, but what you say makes sense. I hope this bug gets reopened and finds its place again among the Outstanding bugs. I will send email about the tracker problem to emacs-devel. Thx. From unknown Sat Aug 16 23:45:12 2025 X-Loop: don@donarmstrong.com Subject: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts Reply-To: Jason Rumney , 1562@debbugs.gnu.org Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:33:54 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1562 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122926615023805 (code B ref -1); Wed, 17 Dec 2008 06:33:54 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 14 Dec 2008 14:49:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=unavailable version=3.2.3-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBEEn7xZ023799 for ; Sun, 14 Dec 2008 06:49:09 -0800 Received: from mail.gnu.org ([199.232.76.166]:34906 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LBsGf-0000Hb-QI for emacs-pretest-bug@gnu.org; Sun, 14 Dec 2008 09:48:26 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LBsHJ-00042b-Vx for emacs-pretest-bug@gnu.org; Sun, 14 Dec 2008 09:49:06 -0500 Received: from ti-out-0910.google.com ([209.85.142.188]:65492) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBsHJ-000427-GY for emacs-pretest-bug@gnu.org; Sun, 14 Dec 2008 09:49:05 -0500 Received: by ti-out-0910.google.com with SMTP id u5so1587288tia.10 for ; Sun, 14 Dec 2008 06:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ha+cndB+LUr1ai37HfRfDIMAQ+dxHx8We+6kBj4TMo0=; b=GBbXrMyFjl3M+5D3pkorPCBkDfBFZHj+5/6MmyCKqOrwxdjkdCrs7YlyJPYTDa9QDy vqbuyppPv2ap6+kip2NJA796qrtQUxysD7bCU4Kp9yA6c1edu9kV+l0BhijbpZe2kmqT xLOmBELkTGZi0BA0KKNZ37qst8oeWymeEIDuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=XCVaCYi4fAjAbiPnzcT/E0UDWzibWSoL5NE8ezNV/60MLNTkxsB2u4Gcx0OaySrshG 90MtPjy6ooteM6uv4eA2eGKRPfQ+KKRXSIdRFev/p7//7/0AcfeOnAS7QJUoD9/Kd9UE wXku3lHy1V6yZD+FTQDWxtx27EUSYQStssf9o= Received: by 10.110.93.12 with SMTP id q12mr8632370tib.24.1229266142241; Sun, 14 Dec 2008 06:49:02 -0800 (PST) Received: from ?192.168.1.3? ([118.100.162.156]) by mx.google.com with ESMTPS id 25sm6095596tif.6.2008.12.14.06.48.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 14 Dec 2008 06:49:01 -0800 (PST) Sender: Jason Rumney Message-ID: <49451CBD.50108@gnu.org> Date: Sun, 14 Dec 2008 22:48:29 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Drew Adams , 1562@debbugs.gnu.org CC: emacs-pretest-bug@gnu.org References: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> In-Reply-To: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-CrossAssassin-Score: 2 Drew Adams wrote: > > There are two things that might be the problem: > > (1) `modify-frame-parameters' changes the `font' parameter behind your > back from the value you provide `modify-frame-parameters': > > (modify-frame-parameters frame > (list (cons 'font "-outline-Lucida Console-normal-normal-\ > normal-mono-15-*-*-*-c-*-iso8859-1"))) > > The `font' frame parameter is then: > > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > *-*-*-c-*-fontset-auto8" > > IOW, iso8859-1 gets replaced by fontset-auto8. > I don't see this. Please try with emacs -Q. > (2) `x-list-fonts' returns nil when passed such a font (i.e. with > fontset-auto8). > Not a bug. From unknown Sat Aug 16 23:45:12 2025 X-Loop: don@donarmstrong.com Subject: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts Reply-To: "Drew Adams" , 1562@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:34:08 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1562 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122927582632403 (code B ref -1); Wed, 17 Dec 2008 06:34:08 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 14 Dec 2008 17:30:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.6 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, IMPRONONCABLE_2,NEXTPART autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBEHUNdt032366 for ; Sun, 14 Dec 2008 09:30:24 -0800 Received: from mail.gnu.org ([199.232.76.166]:37822 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LBumj-00054O-Ix for emacs-pretest-bug@gnu.org; Sun, 14 Dec 2008 12:29:41 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LBunN-0006d0-A6 for emacs-pretest-bug@gnu.org; Sun, 14 Dec 2008 12:30:21 -0500 Received: from rcsinet12.oracle.com ([148.87.113.124]:63311 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBunE-0006cF-Dy; Sun, 14 Dec 2008 12:30:12 -0500 Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBEHTiMF021593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 14 Dec 2008 17:29:45 GMT Received: from acsmt707.oracle.com (acsmt707.oracle.com [141.146.40.85]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBEHULRm026186; Sun, 14 Dec 2008 17:30:23 GMT Received: from dradamslap1 (/141.144.72.6) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 14 Dec 2008 09:29:55 -0800 From: "Drew Adams" To: "'Jason Rumney'" , <1562@debbugs.gnu.org> Cc: References: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> <49451CBD.50108@gnu.org> Date: Sun, 14 Dec 2008 09:30:03 -0800 Message-ID: <000a01c95e11$99e69410$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000B_01C95DCE.8BC35410" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <49451CBD.50108@gnu.org> Thread-Index: Acld+1H1G/p2teAMSsahfCToke0e1QAEkodw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt707.oracle.com [141.146.40.85] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.49454295.0015:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-CrossAssassin-Score: 2 This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C95DCE.8BC35410 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > > (1) `modify-frame-parameters' changes the `font' parameter > > behind your back from the value you provide > > `modify-frame-parameters': > > > > (modify-frame-parameters frame > > (list (cons 'font "-outline-Lucida Console-normal-normal-\ > > normal-mono-15-*-*-*-c-*-iso8859-1"))) > > > > The `font' frame parameter is then: > > > > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > > *-*-*-c-*-fontset-auto8" > > > > IOW, iso8859-1 gets replaced by fontset-auto8. > > I don't see this. Please try with emacs -Q. See attached file, bug-zoom.el. emacs -Q, then load the file or eval it a sexp at a time if you want to see the initial font name etc. After loading, (frame-parameter nil 'font) gives "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-iso8859-1" Then do `C-u 5 M-x enlarge-font'. (frame-parameter nil 'font) gives "-outline-Lucida Console-normal-normal-normal-mono-19-*-*-*-c-*-iso8859-1" which is correct. Then do `C-u -5 M-x enlarge-font'. (frame-parameter nil 'font) gives "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-fontset-auto1" which is NOT correct. The code calls `modify-frame-parameters' with the same 14-point font name that was returned initially, and which ends in "-iso8859-1", not "-fontset-auto1". But that's not what the `font' parameter value is after the `modify-frame-parameters' call. `M-x debug-on-entry enlarge-font', and you will see, just after this call (notice that the font name passed as argument is correct): Debugger entered--returning value: nil modify-frame-parameters(# ((font . "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-iso8859-1"))) that (frame-parameter nil 'font) gives "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-fontset-auto1" which is wrong. (I also tried using `copy-sequence' to ensure that the string passed is a new one etc. No improvement.) Initially, I thought perhaps it had something to do with the call to `query-fontset' in the commented-out piece of code in `enlarged-font-name', since `query-fontset' returns a string with "-fontset-auto1" at the end. But the bug remains, even with that code commented out. Note too that over time, "-fontset-auto1" becomes "-fontset-auto2", and so on. The bug seems to be in `modify-frame-parameters'. FWIW, let me be clear why I would like this bug fixed. While waiting for the fix, I hacked the code for Emacs 23 to just modify the :height attribute for the `default' face. That is what most people do, to zoom a frame. That does not give as many font/frame size possibilities as my code does - it is not as flexible. So yes, I know there is a rudimentary workaround, but I would like this code to work again, as it does in Emacs 20, 21, and 22. It doesn't seem right that `modify-frame-parameters' modifies a frame differently from what you tell it to do. ------=_NextPart_000_000B_01C95DCE.8BC35410 Content-Type: application/octet-stream; name="bug-zoom.el" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bug-zoom.el" (modify-frame-parameters nil (list (cons=20 'font "-*-Lucida Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1"))) (frame-parameter nil 'font) (defun enlarge-font (&optional increment frame) "Increase size of font in FRAME by INCREMENT. Interactively, INCREMENT is given by the prefix argument. Optional FRAME parameter defaults to current frame." (interactive "p") (setq frame (or frame (selected-frame))) (let ((fontname (cdr (assq 'font (frame-parameters frame)))) (count 100)) (setq fontname (enlarged-font-name fontname frame increment)) (while (and (not (x-list-fonts fontname)) (wholenump (setq count (1- = count)))) (setq fontname (enlarged-font-name fontname frame increment))) (unless (x-list-fonts fontname) (error "Cannot change font size")) (modify-frame-parameters frame (list (cons 'font fontname))) ;; Update faces that want a bold or italic version of the default = font. (frame-update-faces frame))) (defun enlarged-font-name (fontname frame increment) "FONTNAME, after enlarging font size of FRAME by INCREMENT. FONTNAME is the font of FRAME." ;; (when (query-fontset fontname) ;; (let ((ascii (assq 'ascii (aref (fontset-info fontname frame) = 2)))) ;; (when ascii (setq fontname (nth 2 ascii))))) (let ((xlfd-fields (x-decompose-font-name fontname))) (unless xlfd-fields (error "Cannot decompose font name")) (let ((new-size (+ (string-to-number (aref xlfd-fields = xlfd-regexp-pixelsize-subnum)) increment))) (unless (> new-size 0) (error "New font size is too small: %s" = new-size)) (aset xlfd-fields xlfd-regexp-pixelsize-subnum (number-to-string = new-size))) ;; Set point size & width to "*", so frame width will adjust to new = font size (aset xlfd-fields xlfd-regexp-pointsize-subnum "*") (aset xlfd-fields xlfd-regexp-avgwidth-subnum "*") (x-compose-font-name xlfd-fields))) ------=_NextPart_000_000B_01C95DCE.8BC35410-- From unknown Sat Aug 16 23:45:12 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1562: bug#119: modify-frame-parameters in Emacs 23 for fonts Reply-To: "Drew Adams" , 1562@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 22 Dec 2008 21:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1562 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1562-submit@emacsbugs.donarmstrong.com id=B1562.122998238610386 (code B ref 1562); Mon, 22 Dec 2008 21:55:05 +0000 Received: (at 1562) by emacsbugs.donarmstrong.com; 22 Dec 2008 21:46:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL6 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from acsinet11.oracle.com (acsinet11.oracle.com [141.146.126.233]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBMLkHKi010348; Mon, 22 Dec 2008 13:46:18 -0800 Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBMLlMKl006347 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Dec 2008 21:47:24 GMT Received: from acsmt707.oracle.com (acsmt707.oracle.com [141.146.40.85]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBMLkafr002445; Mon, 22 Dec 2008 21:46:38 GMT Received: from dradamslap1 (/24.5.135.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Dec 2008 13:46:06 -0800 From: "Drew Adams" To: <119@debbugs.gnu.org>, <1562@debbugs.gnu.org> References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com><00ab01c951a1$a7a235e0$0200a8c0@us.oracle.com> <00ac01c951a5$bd86edc0$0200a8c0@us.oracle.com> Date: Mon, 22 Dec 2008 13:46:22 -0800 Message-ID: <000601c9647e$bbd00980$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <00ac01c951a5$bd86edc0$0200a8c0@us.oracle.com> Thread-Index: Acj4tFi2CqS0Is7gTcKwPtn/G8EAMxY7NoRgAAEEBMAEtg8WcA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt707.oracle.com [141.146.40.85] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010202.49500AA0.007B:SCFSTAT928724,ss=1,fgs=0 I sent this bug report update 2008-11-28. It never showed up in the bug tracker, AFAICT. I'm guessing that bug #119 was merged with bug #1562, but this message never showed up for either #119 or #1562. It seems that #119 is still closed and archived, but #1562 is still open (?). I thought that I sent a message to control@debbugs.gnu.org with this body, but either I didn't or that did not reopen the bug. reopen 119 stop I just tried that again, using the formula that Don gave: unarchive 119 forcemerge 119 1562 reopen 119 thanks In any case, the bug is still open. > From: Drew Adams Sent: Friday, November 28, 2008 2:08 PM > To: 119@emacsbugs.donarmstrong.com > Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts > > Perhaps I should have added that the detailed symptoms are > the same as before: > > (1) `modify-frame-parameters' changes the `font' parameter behind > your back from the value you provide `modify-frame-parameters': > (modify-frame-parameters frame > (list (cons 'font "-outline-Lucida Console-normal-normal-\ > normal-mono-15-*-*-*-c-*-iso8859-1"))) > > The `font' frame parameter is then: > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > *-*-*-c-*-fontset-auto8" > ^^^^^^^^^^^^^ > > IOW, iso8859-1 gets replaced by fontset-auto8. > > (2) `x-list-fonts' returns nil when passed such a font (i.e. with > fontset-auto8). > > > > From: Drew Adams Sent: Friday, November 28, 2008 1:38 PM > > This bug seems still not to be fixed, and I cannot even find > > it listed in the bugs database: > > http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=emacs. > > > > What is that status of this bug? Is there some other bugs > > page where this appears? > > > > AFAICT, this bug persists; it was not fixed by merging the > > font-backend. Marking it as fixed seems to have been premature. > > > > Thx - Drew > > > > > From: Drew Adams Sent: Thursday, August 07, 2008 10:38 AM > > > This bug is marked fixed, but it has not been fixed. > > > Jason marked it as fixed on 2008-05-08, with this note: > > > > > > I've marked this as fixed, since the bug reported will > > > be fixed when font-backend is merged. > > > I will not close it at this time though, as valid points > > > about documentation were raised. > > > > > > Then, on 2008-06-12, I received a mail saying that it was > > > closed. In any case, it is *not* fixed - I see the same > > > thing in this recent build: > > > > > > GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) > > > of 2008-08-01 on LENNART-69DE564 > > > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > > > configured using `configure --with-gcc (3.4) --no-opt --cflags > > > -Ic:/g/include -fno-crossjumping' > > > > > > There are two things that might be the problem: > > > > > > (1) `modify-frame-parameters' changes the `font' parameter > > behind your > > > back from the value you provide `modify-frame-parameters': > > > > > > (modify-frame-parameters frame > > > (list (cons 'font "-outline-Lucida Console-normal-normal-\ > > > normal-mono-15-*-*-*-c-*-iso8859-1"))) > > > > > > The `font' frame parameter is then: > > > > > > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > > > *-*-*-c-*-fontset-auto8" > > > > > > IOW, iso8859-1 gets replaced by fontset-auto8. > > > > > > (2) `x-list-fonts' returns nil when passed such a font (i.e. with > > > fontset-auto8). > > > > > > This breaks my code. Though the frame and the font appear normal, > > > `x-list-fonts' does not recognize such a font. My code changes the > > > font name to use a different size (e.g. changes 15 to 14), but it > > > checks that `x-list-fonts' recognizes the font name > before trying to > > > use it. And `x-list-fonts' does not recognize the name (with > > > "fontset-auto8") that `modify-frame-parameters' establishes > > behind the > > > scene. > > > > > > The font that I provide to `modify-frame-parameters' is > > recognized by > > > `x-list-fonts', and it has the same appearance, but it > never appears > > > as the frame parameter in this context because > > > `modify-frame-parameters' substitutes a different name. > > > > > > > > > Below is the pertinent part of the original bug report. The > > symptom is > > > the same, but the font that `modify-frame-parameters' > substitutes is > > > slightly different. > > > > > > Back in April, it substituted: > > > "-outline-lucida console-normal-roman-normal-mono-15-\ > > > *-*-*-*-*-fontset-startup" > > > > > > Now it substitutes: > > > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > > > *-*-*-c-*-fontset-auto8" > > > > > > Neither is recognized by `x-list-fonts'. > > > > > > --------8<---------2008-04-05 report ------------------- > > > > > > (frame-parameter nil 'font) -> > > > "-*-Lucida Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1" > > > > > > (modify-frame-parameters > > > nil > > > (list > > > (cons > > > 'font > > > "-*-Lucida Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1"))) > > > > > > (frame-parameter nil 'font) -> > > > "-outline-lucida > > > console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup" > > > > > > What's that about? In Emacs 20, 21, and 22, the result is > > > just the font I > > > specified. > > > > > > I have code that zooms frames (font size). I change just the > > > point size in the > > > font spec, using `x-decompose-font-name' and > > > `x-compose-font-name'. I check that > > > the result is a legitimate font using `x-list-fonts'. If not, > > > I increase or > > > decrease the increment until I find the font that works with > > > the closest size. > > > > > > [Yes, I know there are other ways to adjust font size, but > > > I've found that this > > > method is flexible for users and provides certain benefits.] > > > > > > My code no longer works without change, because after one call to > > > `modify-frame-parameters' the font is no longer something > > > recognized by > > > `x-list-fonts'. I can comment out the part that iterates > > > until it finds a size > > > that works (recognized by `x-list-fonts'). That works, but > > > I'm still curious > > > about this. (Is there perhaps a bug in `x-list-fonts' or in > > > `modify-frame-parameters'?) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From jasonrumney@gmail.com Tue Dec 30 07:54:15 2008 Received: (at control) by emacsbugs.donarmstrong.com; 30 Dec 2008 15:54:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUFs8aL028816 for ; Tue, 30 Dec 2008 07:54:10 -0800 Received: by ti-out-0910.google.com with SMTP id b6so3878343tic.1 for ; Tue, 30 Dec 2008 07:54:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=XWY9NFYbDLLXTC9m1pLcTWJndx2EMV7gLS+TuNXZGRs=; b=Jcl1ERBaTI7GoEvCNMu9RuACPm3jVqBBLPV6L4+8MZQW8N9TRzeYAW0avq50xqylUh XiJwPcnmxHuO4JahB+19YFNsqxyC6/vHg10aG9ehLf1+71E7cHB8jvbuyy6KS+WQPiUH xDoBeazmY9Ke3PGaLa8rwTb80gtm03G4ie++A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=qurNxvoDPNcfId6lBtOZE4oNsXy4cIIIyLhDkHyJnnhV7E97SgGELpTTub639tLVq8 sORvTYsRQqhQ29ohofASTO79QAD/6LIYgaiRuVmEPg7QAVLQeKLCCthhKhmsApcXtUIy 6Jr+agYABssZTQYxOuMwOIn80wfeM69AnwyVM= Received: by 10.110.70.17 with SMTP id s17mr1867428tia.23.1230652447668; Tue, 30 Dec 2008 07:54:07 -0800 (PST) Received: from ?192.168.249.26? ([118.101.232.139]) by mx.google.com with ESMTPS id b4sm4920616tic.2.2008.12.30.07.54.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 07:54:06 -0800 (PST) Sender: Jason Rumney Message-ID: <495A43FE.5070700@f2s.com> Date: Tue, 30 Dec 2008 23:53:34 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: resurrect bug#119 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CrossAssassin-Score: 2 unarchive 119 reopen 119 merge 119 1562 From jasonrumney@gmail.com Tue Dec 30 08:03:47 2008 Received: (at control) by emacsbugs.donarmstrong.com; 30 Dec 2008 16:03:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUG3icr031307 for ; Tue, 30 Dec 2008 08:03:45 -0800 Received: by ti-out-0910.google.com with SMTP id b6so3880336tic.1 for ; Tue, 30 Dec 2008 08:03:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=qy55M8+A2l11x+0/WpPTrRoxNzFlY49VTv580CX7R2k=; b=n+rJrX+M7Y37YK+KuYUPfLFA/9DQ6y3WH1+MA4b1nmMgvT0uNX94Evgd/lWM9tC6Lp XsjHyQp0D0yNJ132SC9bePVxqu1rgcL8PwnGJN8emQuwS0WkUPHqHY9vU3kp2INFZbCc vRvjBvp/ZIf0syJzPoKgB1K18koNOZeyfbdTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Nmc/wxs3/DUtaDIpobasegUhdcEFrz9CbI8aMIlmVTnW/vc6T3tnIGpTVxUX6wED3w clj93DtVQ6eF9XbGRZN2B2qNXA1odI0rmwJ92W1FBINOnebWVVylPbt5H+nAPunz/Mbr QGZ69C3ba1SiQLvVRN7oClpPS93DaDjUtzdq0= Received: by 10.110.61.18 with SMTP id j18mr23127879tia.49.1230653023973; Tue, 30 Dec 2008 08:03:43 -0800 (PST) Received: from ?192.168.249.26? ([118.101.232.139]) by mx.google.com with ESMTPS id d1sm1814324tid.4.2008.12.30.08.03.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 08:03:42 -0800 (PST) Sender: Jason Rumney Message-ID: <495A4642.1010109@gnu.org> Date: Wed, 31 Dec 2008 00:03:14 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: bug 119 windows only Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit reassign 119 emacs,w32 From jasonrumney@gmail.com Tue Dec 30 15:44:02 2008 Received: (at control) by emacsbugs.donarmstrong.com; 30 Dec 2008 23:44:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUNhxQG020530 for ; Tue, 30 Dec 2008 15:44:00 -0800 Received: by ti-out-0910.google.com with SMTP id b6so3947038tic.1 for ; Tue, 30 Dec 2008 15:43:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=UGBqgYD3CuXxIS9xudcgJaZ+IYmw7qf0qyUa+kJDmcU=; b=a1HxjPZpaSZMiQwp5AsY3l3ATKsH/fHimYZnVNEoQRopy8R80OvXykyuViTt5N5Fwa dRycw183GTj1esAyDV1OE0oW2ToAx9vgIYWYR4qsR2lfDfC0llxpO6z4UjkUUq5OlSTg RfXojX/OiXa+YRvsGSkIOKsC3r1BBIn/r4sM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=pOVxDWeINM1XXXEy95wOv3XO0u2CDMPsWM5AvRZPboCAhJs6jdwlqWSFtXLeUIFrLa WEmgwlW0iKHY/ZPbih3scc+81wjXSYPB6bGZqnBjEs8z7LGthYpSwc81rxNn9Rausk9V DqN5dYlPo0xQskW+Xg/fzGFX26i3ApJvLLPFI= Received: by 10.110.105.5 with SMTP id d5mr19039604tic.47.1230680638834; Tue, 30 Dec 2008 15:43:58 -0800 (PST) Received: from ?192.168.249.26? ([118.101.232.139]) by mx.google.com with ESMTPS id d1sm5795071tid.24.2008.12.30.15.43.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 15:43:58 -0800 (PST) Sender: Jason Rumney Message-ID: <495AB21D.8050509@gnu.org> Date: Wed, 31 Dec 2008 07:43:25 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: bug#117 no longer reproducible Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit tags 119 +unreproducible +moreinfo From jasonrumney@gmail.com Wed Dec 31 17:43:10 2008 Received: (at control) by emacsbugs.donarmstrong.com; 1 Jan 2009 01:43:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n011h6a3028637 for ; Wed, 31 Dec 2008 17:43:08 -0800 Received: by ti-out-0910.google.com with SMTP id b6so4305711tic.1 for ; Wed, 31 Dec 2008 17:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=JNjuwVv1xthrdP7EDymMbWwMDcn4S5lTbKJIpCjmYp4=; b=B8P+91DgFgoUNNYILSCWpEwroaOueDGuxEZ/R+R5qYcwuJzNEG7dmq9ZXLYq7/k74v nuSKGk+UcEenkHvaLTi5K23Kp9UAwx7yyWk5nU4doTEYmb63lgs6TqPyCtDNEswW5Lh4 dlrqUNesH8uDmgPbu+jMnGIFCc9NTOQadFqKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=uJxyL+sFiUSvZGmERJpydA8hXnMiwxbGAki77jI3i9Xyn6+UFx+W7CppLS5YouQOm5 AB3AoSW3JkTxYTN8hcfsOcPXl1d9Dg+8AOpEQGijWycTps+ei4Dd4A98WmVPbtlFBCTW IMCJmfIWURYuZfogCY2TFARAiTQyXnpVMFWRY= Received: by 10.110.105.10 with SMTP id d10mr15845064tic.38.1230774186127; Wed, 31 Dec 2008 17:43:06 -0800 (PST) Received: from ?192.168.249.27? ([118.101.235.115]) by mx.google.com with ESMTPS id w12sm1954636tib.13.2008.12.31.17.43.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Dec 2008 17:43:05 -0800 (PST) Sender: Jason Rumney Message-ID: <495C1F8C.1030208@gnu.org> Date: Thu, 01 Jan 2009 09:42:36 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: bug#119 not fixed Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit notfixed 119 found 119 23.0.60 From jasonrumney@gmail.com Wed Dec 31 17:45:08 2008 Received: (at control) by emacsbugs.donarmstrong.com; 1 Jan 2009 01:45:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n011j4Ow028798 for ; Wed, 31 Dec 2008 17:45:06 -0800 Received: by ti-out-0910.google.com with SMTP id b6so4305964tic.1 for ; Wed, 31 Dec 2008 17:45:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=k47i0nZSaHLJdgt2b3qo/bMpu4nDbYrSKbVmvvKDbpw=; b=MlEkyZzaBWt0ivGw6H7Jsec+fk1xzDJ+ZG9PGoJvhq1jMKPzJqS02uLDLRwL/zvmd2 R696TJIYBCI2nx3Xejnq+fY1xYXm/sJSIBcKk6316qjT5jbfYeqlJwUAYNKaaWsCXAi5 Ovk8fqK8kuxZc8x9LkoWzuhyw/FuuNStgrV/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=wpEyy0qgxut90fsWK3Lt9b69UE0TZlLZIxGgOrOW629IibhMO/MbuAuEts7Z5gH+Cc 3Pjr3rBugBaJ5qA0JHeEZQx7cDPuVv1PFd5kJQ4Re64WH04f9o2gMHS0g8qJmXNlKF+o KSqZCE2gYn9qcqp/GCFeB5WLKqGB2vt3sitqY= Received: by 10.110.14.3 with SMTP id 3mr5768571tin.51.1230774304065; Wed, 31 Dec 2008 17:45:04 -0800 (PST) Received: from ?192.168.249.27? ([118.101.235.115]) by mx.google.com with ESMTPS id d1sm2211049tid.4.2008.12.31.17.45.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Dec 2008 17:45:02 -0800 (PST) Sender: Jason Rumney Message-ID: <495C2002.9090202@gnu.org> Date: Thu, 01 Jan 2009 09:44:34 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: tag for reopened 117 mistakenly added to 119 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit tags 119 -unreproducible From unknown Sat Aug 16 23:45:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#1562 closed by Jason Rumney (Re: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts) Message-ID: References: <495C2629.40504@gnu.org> <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> X-Emacs-PR-Message: they-closed 1562 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: fixed Reply-To: 1562@debbugs.gnu.org Date: Thu, 01 Jan 2009 02:20:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1230776404-5475-1" This is a multi-part message in MIME format... ------------=_1230776404-5475-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,w32 package: #1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts It has been closed by Jason Rumney . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Jason Rumney by replying to this email. --=20 1562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1562 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1230776404-5475-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1562-done) by emacsbugs.donarmstrong.com; 1 Jan 2009 02:11:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n012BKcR004153 for <1562-done@emacsbugs.donarmstrong.com>; Wed, 31 Dec 2008 18:11:21 -0800 Received: by ti-out-0910.google.com with SMTP id b6so4309282tic.1 for <1562-done@emacsbugs.donarmstrong.com>; Wed, 31 Dec 2008 18:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=CvHqsLzbsL2hduBS49iImII6pD7D564x83sCi+5i6W8=; b=D4R6L2MyHRCsb5GKZXfvABcM1mRbSzC5oalPaYX9dvErv6E0wQ9WKfVx/xOmokSNHC v9nPrBLkn71rnFPAOr5/n2ZtP3xoj7CXpjRXbB4gf885q7BU+8uJeb5mRUU5YR4lewWI oQS0GRZQQdTbtDNjA6THiUxPbiYUguQlkSZdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=U9XztnTF9r1e7ieZU7VEmlm9xPxRvsLCluZBdu4pfwTpzC21Go7wBM+Dn7dYreKczW 5xeGPbO/MGSdpqNnT8Y2SW2sxscApkb0r2ym554uhJdRp73QkB5KoETErOtqDBFG8wh/ TKg23f2Sy4tZjSL/Zn8YBGjoGlgiML1ZMF8EM= Received: by 10.110.41.17 with SMTP id o17mr2385081tio.12.1230775879537; Wed, 31 Dec 2008 18:11:19 -0800 (PST) Received: from ?192.168.249.27? ([118.101.235.115]) by mx.google.com with ESMTPS id w12sm5583910tib.33.2008.12.31.18.11.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Dec 2008 18:11:18 -0800 (PST) Sender: Jason Rumney Message-ID: <495C2629.40504@gnu.org> Date: Thu, 01 Jan 2009 10:10:49 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Drew Adams CC: 1562-done@debbugs.gnu.org Subject: Re: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts References: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> <49451CBD.50108@gnu.org> <000a01c95e11$99e69410$0200a8c0@us.oracle.com> In-Reply-To: <000a01c95e11$99e69410$0200a8c0@us.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Drew Adams wrote: > After loading, (frame-parameter nil 'font) gives > "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-iso8859-1" > > Then do `C-u 5 M-x enlarge-font'. (frame-parameter nil 'font) gives > "-outline-Lucida Console-normal-normal-normal-mono-19-*-*-*-c-*-iso8859-1" > which is correct. > > Then do `C-u -5 M-x enlarge-font'. (frame-parameter nil 'font) gives > "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-fontset-auto1" > which is NOT correct. > I have fixed this now, x_new_font in w32term.c had not been updated in line with xterm.c. ------------=_1230776404-5475-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From drew.adams@oracle.com Sat Dec 13 11:02:49 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 104; hammy, 149; neutral, 237; spammy, 2. spammytokens:0.987-1--iso88591, 0.987-1--pertinent hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--nil X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,BAYES_00,HTML_MESSAGE, NEXTPART,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Dec 2008 19:02:49 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBDJ2dof024087 for ; Sat, 13 Dec 2008 11:02:40 -0800 Received: from mx10.gnu.org ([199.232.76.166]:58779) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LBZkT-0002ph-TG for emacs-pretest-bug@gnu.org; Sat, 13 Dec 2008 14:01:58 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LBZl5-00042a-5o for emacs-pretest-bug@gnu.org; Sat, 13 Dec 2008 14:02:37 -0500 Received: from acsinet11.oracle.com ([141.146.126.233]:17890) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBZl3-00042Q-Rh for emacs-pretest-bug@gnu.org; Sat, 13 Dec 2008 14:02:35 -0500 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBDJ3Wqj016274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 13 Dec 2008 19:03:34 GMT Received: from acsmt700.oracle.com (acsmt700.oracle.com [141.146.40.70]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBDJ2Z1N006160 for ; Sat, 13 Dec 2008 19:02:36 GMT Received: from dradamslap1 (/141.144.80.117) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Dec 2008 11:02:24 -0800 From: "Drew Adams" To: Subject: 23.0.60; modify-frame-parameters in Emacs 23 for fonts Date: Sat, 13 Dec 2008 11:02:30 -0800 Message-ID: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_001F_01C95D12.4B3A5B80" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcldVVjJf+JTwzpeSRiGtAPcIDHHdQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt700.oracle.com [141.146.40.70] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.494406C4.001B:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit See bug #119. Both I and Jason have sent followups to this bug, but they do not appear in the Outstanding bugs list, AFAICT. This bug is Outstanding. It was mistakenly put in the "Resolved" (closed?) list. The bug still exists. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' Below is the last mail I sent about this bug. Attached are other mails that seem to be missing from the bug tracker. -----Original Message----- From: Drew Adams Sent: Friday, November 28, 2008 2:36 PM To: 'Stephen Berman' Cc: 119@debbugs.gnu.org Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts > > This bug seems still not to be fixed, and I cannot even > > find it listed in the bugs database: > > http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=emacs. > > > > What is that status of this bug? Is there some other bugs > > page where this appears? > > On the above page you can find it by clicking on either of > the links in "See the _archived reports_ or _archived and > unarchived reports_", i.e., > http://debbugs.gnu.org/cgi/pkgreport.cgi?orderi > ng=normal;archive=1;package=emacs;repeatmerged=1 > or > http://debbugs.gnu.org/cgi/pkgreport.cgi?orderi ng=normal;archive=both;package=emacs;repeatmerged=1 > > Also, you can find it from http://debbugs.gnu.org/ > by typing "119" in the textbox below "Find a bug by number:" and > clicking the "Find" button. 1. Ah, thank you. I'd propose that a search field be added also to this page: http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=emacs, and that search there be limited to bugs that are in the Emacs package. That page seems to be the main entry point for Emacs bugs. It makes sense to have a search field there, IMO. 2. I and Jason have sent followups to this bug that do not appear in the bug-report page (the archived bugs page cited above). What happened to them? I have attached them to this mail. ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYj5v-0004ai-Ot for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:33 -0400 Received: from rgminet04.oracle.com (rgminet04.oracle.com [148.87.113.121]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF8QsC000620 for ; Thu, 28 Aug 2008 09:08:26 -0600 Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SEuqTD023354 for <119@emacsbugs.donarmstrong.com>; Thu, 28 Aug 2008 07:56:53 -0700 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m7SEuiow007475; Thu, 28 Aug 2008 08:56:44 -0600 Received: (at 119) by emacsbugs.donarmstrong.com; 28 Aug 2008 14:57:02 +0000 Received: from localhost ([127.0.0.1]:56398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj62-0004cW-5r for drew.adams@oracle.com; Thu, 28 Aug 2008 11:07:38 -0400 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rgminet04.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF7dAn020021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Aug 2008 09:07:59 -0600 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYj5z-0004cC-6e for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:35 -0400 Received: from rgmgw1.us.oracle.com by acsmt355.oracle.com with ESMTP id 11769149451219936107; Thu, 28 Aug 2008 08:08:27 -0700 Received: from acsmt354.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 08:08:43 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 07:56:43 -0700 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SF7TJe027482; Thu, 28 Aug 2008 08:07:29 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.121993542223450 (code B ref 119); Thu, 28 Aug 2008 15:05:07 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7SF58pq026218; Thu, 28 Aug 2008 08:05:08 -0700 Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7SEuhUW018791; Thu, 28 Aug 2008 08:56:43 -0600 Received: from rzlab.ucr.edu ([138.23.92.77]:39973) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYj5v-0005I0-85 for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Received: from [199.232.76.173] (port=48451 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj5v-0004af-Jz for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: "'Jason Rumney'" , <119@debbugs.gnu.org> Cc: "Emacs-Devel" References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com><001501c90866$8e1b4cd0$c2b22382@us.oracle.com><48B5E61F.5030606@gnu.org> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Thu, 28 Aug 2008 06:56:48 -0800 Message-ID: <002301c9091e$4c9ee380$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C95D12.4B332F90" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , In-Reply-To: <48B5E61F.5030606@gnu.org> Thread-Index: AckIns1c2jJ3d4JMTgKtMDiy6T2eZQAfyCNA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C95D12.4B332F90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > > FYI - This bug appears to be fixed in the Emacs 23 pretest > > (22.2.91). > > It is not an Emacs 23 pretest. It is an Emacs 22.3 pretest, > which is why bugs that have only ever been apparent in the > trunk are not present in this pretest. Oh, darn. I guess that means that these problems still are in Emacs 23. And this also explains the "return" to the Emacs 22 icon that I noticed. Please then disregard all my mails from yesterday about Emacs 23 bugs that I thought had been fixed. Sorry for the confusion. ------=_NextPart_000_000A_01C95D12.4B332F90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

> > FYI - This bug appears to be fixed in the = Emacs 23 pretest
> > (22.2.91).
>
> It is not an Emacs 23 pretest. It is an Emacs = 22.3 pretest,
> which is why bugs that have only ever been = apparent in the
> trunk are not present in this pretest.

Oh, darn. I guess that means that these problems still = are in Emacs 23. And this
also explains the "return" to the Emacs 22 = icon that I noticed.

Please then disregard all my mails from yesterday = about Emacs 23 bugs that I
thought had been fixed. Sorry for the = confusion.





------=_NextPart_000_000A_01C95D12.4B332F90-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from unknown (HELO [172.16.0.12]) ([124.82.236.150]) by smtp.f2s.tiscali.co.uk with ESMTP; 28 Aug 2008 00:42:05 +0100 Received: from rgmgw1.us.oracle.com by acsmt354.oracle.com with ESMTP id 11751322681219880536; Wed, 27 Aug 2008 16:42:16 -0700 Received: from acsmt354.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 Aug 2008 16:44:10 -0700 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by agminet03.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RNg7g6013892 for ; Wed, 27 Aug 2008 18:42:13 -0500 Received: from agminet03.oracle.com (agminet03.oracle.com [141.146.126.230]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RNgF0r001811 for ; Wed, 27 Aug 2008 17:42:15 -0600 Return-Path: From: "Jason Rumney" To: "Drew Adams" , <119@debbugs.gnu.org> References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> <001501c90866$8e1b4cd0$c2b22382@us.oracle.com> Subject: Re: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Wed, 27 Aug 2008 15:41:19 -0800 Message-ID: <48B5E61F.5030606@gnu.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C95D12.4B381190" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <001501c90866$8e1b4cd0$c2b22382@us.oracle.com> Thread-Index: AckIns1c2jJ3d4JMTgKtMDiy6T2eZQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C95D12.4B381190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Drew Adams wrote: > FYI - This bug appears to be fixed in the Emacs 23 pretest (22.2.91). > It is not an Emacs 23 pretest. It is an Emacs 22.3 pretest, which is why bugs that have only ever been apparent in the trunk are not present in this pretest. ------=_NextPart_000_000E_01C95D12.4B381190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: bug#119: modify-frame-parameters in Emacs 23 for = fonts

Drew Adams wrote:
> FYI - This bug appears to be fixed in the Emacs = 23 pretest (22.2.91).
>  

It is not an Emacs 23 pretest. It is an Emacs 22.3 = pretest, which is why
bugs that have only ever been apparent in the trunk = are not present in
this pretest.

------=_NextPart_000_000E_01C95D12.4B381190-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYOxM-0006Or-3C for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:37:21 -0400 Received: from agminet03.oracle.com (agminet03.oracle.com [141.146.126.230]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RHblCJ005158 for ; Wed, 27 Aug 2008 11:37:48 -0600 Received: from agminet01.oracle.com (agminet01.oracle.com [141.146.126.228]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RH1cjJ010070 for <119@emacsbugs.donarmstrong.com>; Wed, 27 Aug 2008 10:01:39 -0700 Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m7RH1Vse014108 for <119@emacsbugs.donarmstrong.com>; Wed, 27 Aug 2008 12:01:31 -0500 Received: (at 119) by emacsbugs.donarmstrong.com; 27 Aug 2008 17:01:42 +0000 Received: from localhost ([127.0.0.1]:57255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYOxd-0006f2-Bq for drew.adams@oracle.com; Wed, 27 Aug 2008 13:37:37 -0400 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by agminet03.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7RHbbKL011400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Aug 2008 12:37:44 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYOxR-0006Tr-Vm for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:37:26 -0400 Received: from rgmgw1.us.oracle.com by acsmt358.oracle.com with ESMTP id 11743567141219858671; Wed, 27 Aug 2008 12:37:51 -0500 Received: from acsmt357.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 Aug 2008 10:37:57 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 Aug 2008 10:01:30 -0700 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RHRTGI018896; Wed, 27 Aug 2008 10:27:29 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.121985650210076 (code B ref 119); Wed, 27 Aug 2008 17:10:05 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7RHA5VQ012869; Wed, 27 Aug 2008 10:10:05 -0700 Received: from acsmt700.oracle.com (acsmt700.oracle.com [141.146.40.70]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7RH1UvW029306 for <119@emacsbugs.donarmstrong.com>; Wed, 27 Aug 2008 11:01:30 -0600 Received: from rzlab.ucr.edu ([138.23.92.77]:44239) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYOoC-0005b7-KO for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:27:53 -0400 Received: from [199.232.76.173] (port=41830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYOxL-0006OI-Jl for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2008 13:37:19 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: <119@debbugs.gnu.org> References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Wed, 27 Aug 2008 09:01:31 -0800 Message-ID: <001501c90866$8e1b4cd0$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C95D12.4B381190" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , In-Reply-To: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> Thread-Index: Acj4tFi2CqS0Is7gTcKwPtn/G8EAMwPsgbeQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C95D12.4B381190 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit FYI - This bug appears to be fixed in the Emacs 23 pretest (22.2.91). Thanks very much. > From: Drew Adams Sent: Thursday, August 07, 2008 10:38 AM > > This bug is marked fixed, but it has not been fixed. > Jason marked it as fixed on 2008-05-08, with this note: > > I've marked this as fixed, since the bug reported will > be fixed when font-backend is merged. > I will not close it at this time though, as valid points > about documentation were raised. > > Then, on 2008-06-12, I received a mail saying that it was > closed. In any case, it is *not* fixed - I see the same > thing in this recent build: > > GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) > of 2008-08-01 on LENNART-69DE564 > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4) --no-opt --cflags > -Ic:/g/include -fno-crossjumping' > > There are two things that might be the problem: > > (1) `modify-frame-parameters' changes the `font' parameter behind your > back from the value you provide `modify-frame-parameters': > > (modify-frame-parameters frame > (list (cons 'font "-outline-Lucida Console-normal-normal-\ > normal-mono-15-*-*-*-c-*-iso8859-1"))) > > The `font' frame parameter is then: > > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > *-*-*-c-*-fontset-auto8" > > IOW, iso8859-1 gets replaced by fontset-auto8. > > (2) `x-list-fonts' returns nil when passed such a font (i.e. with > fontset-auto8). > > This breaks my code. Though the frame and the font appear normal, > `x-list-fonts' does not recognize such a font. My code changes the > font name to use a different size (e.g. changes 15 to 14), but it > checks that `x-list-fonts' recognizes the font name before trying to > use it. And `x-list-fonts' does not recognize the name (with > "fontset-auto8") that `modify-frame-parameters' establishes behind the > scene. > > The font that I provide to `modify-frame-parameters' is recognized by > `x-list-fonts', and it has the same appearance, but it never appears > as the frame parameter in this context because > `modify-frame-parameters' substitutes a different name. > > > Below is the pertinent part of the original bug report. The symptom is > the same, but the font that `modify-frame-parameters' substitutes is > slightly different. > > Back in April, it substituted: > "-outline-lucida console-normal-roman-normal-mono-15-\ > *-*-*-*-*-fontset-startup" > > Now it substitutes: > "-outline-Lucida Console-normal-normal-normal-mono-15-\ > *-*-*-c-*-fontset-auto8" > > Neither is recognized by `x-list-fonts'. > > --------8<---------2008-04-05 report ------------------- > > (frame-parameter nil 'font) -> > "-*-Lucida Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1" > > (modify-frame-parameters > nil > (list > (cons > 'font > "-*-Lucida Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1"))) > > (frame-parameter nil 'font) -> > "-outline-lucida > console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup" > > What's that about? In Emacs 20, 21, and 22, the result is > just the font I > specified. > > I have code that zooms frames (font size). I change just the > point size in the > font spec, using `x-decompose-font-name' and > `x-compose-font-name'. I check that > the result is a legitimate font using `x-list-fonts'. If not, > I increase or > decrease the increment until I find the font that works with > the closest size. > > [Yes, I know there are other ways to adjust font size, but > I've found that this > method is flexible for users and provides certain benefits.] > > My code no longer works without change, because after one call to > `modify-frame-parameters' the font is no longer something > recognized by > `x-list-fonts'. I can comment out the part that iterates > until it finds a size > that works (recognized by `x-list-fonts'). That works, but > I'm still curious > about this. (Is there perhaps a bug in `x-list-fonts' or in > `modify-frame-parameters'?) ------=_NextPart_000_0012_01C95D12.4B381190 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

FYI - This bug appears to be fixed in the Emacs 23 = pretest (22.2.91).

Thanks very much.


> From: Drew Adams Sent: Thursday, August 07, 2008 = 10:38 AM
>
> This bug is marked fixed, but it has not been = fixed.
> Jason marked it as fixed on 2008-05-08, with = this note:
>
>   I've marked this as fixed, since the = bug reported will
>   be fixed when font-backend is = merged.
>   I will not close it at this time = though, as valid points
>   about documentation were = raised.
>
> Then, on 2008-06-12, I received a mail saying = that it was
> closed. In any case, it is *not* fixed - I see = the same
> thing in this recent build:
>
> GNU Emacs 23.0.60.1 = (i386-mingw-nt5.1.2600)
>  of 2008-08-01 on LENNART-69DE564
> Windowing system distributor `Microsoft Corp.', = version 5.1.2600
> configured using `configure --with-gcc (3.4) = --no-opt --cflags
>  -Ic:/g/include -fno-crossjumping'
>
> There are two things that might be the = problem:
>
> (1) `modify-frame-parameters' changes the `font' = parameter behind your
> back from the value you provide = `modify-frame-parameters':
>
> (modify-frame-parameters frame
>   (list (cons 'font = "-outline-Lucida Console-normal-normal-\
> = normal-mono-15-*-*-*-c-*-iso8859-1")))
>
> The `font' frame parameter is then:
>
> "-outline-Lucida = Console-normal-normal-normal-mono-15-\
> *-*-*-c-*-fontset-auto8"
>
> IOW, iso8859-1 gets replaced by = fontset-auto8.
>
> (2) `x-list-fonts' returns nil when passed such = a font (i.e. with
> fontset-auto8).
>
> This breaks my code. Though the frame and the = font appear normal,
> `x-list-fonts' does not recognize such a font. = My code changes the
> font name to use a different size (e.g. changes = 15 to 14), but it
> checks that `x-list-fonts' recognizes the font = name before trying to
> use it. And `x-list-fonts' does not recognize = the name (with
> "fontset-auto8") that = `modify-frame-parameters' establishes behind the
> scene.
>
> The font that I provide to = `modify-frame-parameters' is recognized by
> `x-list-fonts', and it has the same appearance, = but it never appears
> as the frame parameter in this context = because
> `modify-frame-parameters' substitutes a = different name.
>
>
> Below is the pertinent part of the original bug = report. The symptom is
> the same, but the font that = `modify-frame-parameters' substitutes is
> slightly different.
>
> Back in April, it substituted:
> "-outline-lucida = console-normal-roman-normal-mono-15-\
> *-*-*-*-*-fontset-startup"
>
> Now it substitutes:
> "-outline-Lucida = Console-normal-normal-normal-mono-15-\
> *-*-*-c-*-fontset-auto8"
>
> Neither is recognized by `x-list-fonts'.
>
> --------8<---------2008-04-05 report = -------------------
>
> (frame-parameter nil 'font) ->
> "-*-Lucida = Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1"
>
> (modify-frame-parameters
>  nil
>  (list
>   (cons
>    'font
>    "-*-Lucida = Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1")))
>
> (frame-parameter nil 'font) ->
> "-outline-lucida
> = console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup"
>
> What's that about? In Emacs 20, 21, and 22, the = result is
> just the font I
> specified.
>
> I have code that zooms frames (font size). I = change just the
> point size in the
> font spec, using `x-decompose-font-name' and =
> `x-compose-font-name'. I check that
> the result is a legitimate font using = `x-list-fonts'. If not,
> I increase or
> decrease the increment until I find the font = that works with
> the closest size.
>
> [Yes, I know there are other ways to adjust font = size, but
> I've found that this
> method is flexible for users and provides = certain benefits.]
>
> My code no longer works without change, because = after one call to
> `modify-frame-parameters' the font is no longer = something
> recognized by
> `x-list-fonts'. I can comment out the part that = iterates
> until it finds a size
> that works (recognized by `x-list-fonts'). That = works, but
> I'm still curious
> about this. (Is there perhaps a bug in = `x-list-fonts' or in
> `modify-frame-parameters'?)





------=_NextPart_000_0012_01C95D12.4B381190-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m77ICi2F014955 for <119@emacsbugs.donarmstrong.com>; Thu, 7 Aug 2008 13:12:45 -0500 Received: from agminet04.oracle.com (agminet04.oracle.com [141.146.126.231]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m77IS6OV020489 for ; Thu, 7 Aug 2008 12:28:06 -0600 Received: from agminet01.oracle.com (agminet01.oracle.com [141.146.126.228]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77ICpY6003247 for <119@emacsbugs.donarmstrong.com>; Thu, 7 Aug 2008 11:12:53 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Aug 2008 10:38:02 -0700 Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7789QLF031999 for <119@emacsbugs.donarmstrong.com>; Thu, 7 Aug 2008 12:12:43 -0600 Received: from rgmgw1.us.oracle.com by acsmt358.oracle.com with ESMTP id 11302773131218133687; Thu, 07 Aug 2008 13:28:07 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRACv-0005C4-Gi for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:29 -0400 Received: from localhost ([127.0.0.1]:33501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRADK-0005Ui-Fg for drew.adams@oracle.com; Thu, 07 Aug 2008 14:27:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRACt-0005B6-3h for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:28 -0400 Received: from acsmt357.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Aug 2008 11:28:20 -0700 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by agminet04.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m77IRste001558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 7 Aug 2008 13:28:03 -0500 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77IRNIx007700; Thu, 7 Aug 2008 11:27:23 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.12181327753253 (code B ref 119); Thu, 07 Aug 2008 18:20:04 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m77IK4Np005010; Thu, 7 Aug 2008 11:20:04 -0700 Received: from [199.232.76.173] (port=50484 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRACs-0005At-U8 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:26 -0400 Received: from inet-141-146-46-1.oracle.com by acsmt354.oracle.com with ESMTP id 11300089941218130683; Thu, 07 Aug 2008 10:38:03 -0700 Received: (at 119) by emacsbugs.donarmstrong.com; 7 Aug 2008 18:12:55 +0000 Received: from rzlab.ucr.edu ([138.23.92.77]:57678) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRACs-0002B0-FU for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 14:27:26 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: <119@debbugs.gnu.org> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Thu, 7 Aug 2008 09:38:04 -0800 Message-ID: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C95D12.4B3A5B80" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , Thread-Index: Acj4tFi2CqS0Is7gTcKwPtn/G8EAMw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C95D12.4B3A5B80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This bug is marked fixed, but it has not been fixed. Jason marked it as fixed on 2008-05-08, with this note: I've marked this as fixed, since the bug reported will be fixed when font-backend is merged. I will not close it at this time though, as valid points about documentation were raised. Then, on 2008-06-12, I received a mail saying that it was closed. In any case, it is *not* fixed - I see the same thing in this recent build: GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-01 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' There are two things that might be the problem: (1) `modify-frame-parameters' changes the `font' parameter behind your back from the value you provide `modify-frame-parameters': (modify-frame-parameters frame (list (cons 'font "-outline-Lucida Console-normal-normal-\ normal-mono-15-*-*-*-c-*-iso8859-1"))) The `font' frame parameter is then: "-outline-Lucida Console-normal-normal-normal-mono-15-\ *-*-*-c-*-fontset-auto8" IOW, iso8859-1 gets replaced by fontset-auto8. (2) `x-list-fonts' returns nil when passed such a font (i.e. with fontset-auto8). This breaks my code. Though the frame and the font appear normal, `x-list-fonts' does not recognize such a font. My code changes the font name to use a different size (e.g. changes 15 to 14), but it checks that `x-list-fonts' recognizes the font name before trying to use it. And `x-list-fonts' does not recognize the name (with "fontset-auto8") that `modify-frame-parameters' establishes behind the scene. The font that I provide to `modify-frame-parameters' is recognized by `x-list-fonts', and it has the same appearance, but it never appears as the frame parameter in this context because `modify-frame-parameters' substitutes a different name. Below is the pertinent part of the original bug report. The symptom is the same, but the font that `modify-frame-parameters' substitutes is slightly different. Back in April, it substituted: "-outline-lucida console-normal-roman-normal-mono-15-\ *-*-*-*-*-fontset-startup" Now it substitutes: "-outline-Lucida Console-normal-normal-normal-mono-15-\ *-*-*-c-*-fontset-auto8" Neither is recognized by `x-list-fonts'. --------8<---------2008-04-05 report ------------------- (frame-parameter nil 'font) -> "-*-Lucida Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1" (modify-frame-parameters nil (list (cons 'font "-*-Lucida Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1"))) (frame-parameter nil 'font) -> "-outline-lucida console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup" What's that about? In Emacs 20, 21, and 22, the result is just the font I specified. I have code that zooms frames (font size). I change just the point size in the font spec, using `x-decompose-font-name' and `x-compose-font-name'. I check that the result is a legitimate font using `x-list-fonts'. If not, I increase or decrease the increment until I find the font that works with the closest size. [Yes, I know there are other ways to adjust font size, but I've found that this method is flexible for users and provides certain benefits.] My code no longer works without change, because after one call to `modify-frame-parameters' the font is no longer something recognized by `x-list-fonts'. I can comment out the part that iterates until it finds a size that works (recognized by `x-list-fonts'). That works, but I'm still curious about this. (Is there perhaps a bug in `x-list-fonts' or in `modify-frame-parameters'?) ------=_NextPart_000_0016_01C95D12.4B3A5B80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

This bug is marked fixed, but it has not been = fixed.
Jason marked it as fixed on 2008-05-08, with this = note:

  I've marked this as fixed, since the bug = reported will
  be fixed when font-backend is merged.
  I will not close it at this time though, as = valid points
  about documentation were raised.

Then, on 2008-06-12, I received a mail saying that it = was
closed. In any case, it is *not* fixed - I see the = same
thing in this recent build:

GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-08-01 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', = version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt = --cflags
 -Ic:/g/include -fno-crossjumping'

There are two things that might be the problem:

(1) `modify-frame-parameters' changes the `font' = parameter behind your
back from the value you provide = `modify-frame-parameters':

(modify-frame-parameters frame
  (list (cons 'font "-outline-Lucida = Console-normal-normal-\
normal-mono-15-*-*-*-c-*-iso8859-1")))

The `font' frame parameter is then:

"-outline-Lucida = Console-normal-normal-normal-mono-15-\
*-*-*-c-*-fontset-auto8"

IOW, iso8859-1 gets replaced by fontset-auto8.

(2) `x-list-fonts' returns nil when passed such a font = (i.e. with
fontset-auto8).

This breaks my code. Though the frame and the font = appear normal,
`x-list-fonts' does not recognize such a font. My = code changes the
font name to use a different size (e.g. changes 15 to = 14), but it
checks that `x-list-fonts' recognizes the font name = before trying to
use it. And `x-list-fonts' does not recognize the = name (with
"fontset-auto8") that = `modify-frame-parameters' establishes behind the
scene.

The font that I provide to `modify-frame-parameters' = is recognized by
`x-list-fonts', and it has the same appearance, but = it never appears
as the frame parameter in this context because
`modify-frame-parameters' substitutes a different = name.


Below is the pertinent part of the original bug = report. The symptom is
the same, but the font that `modify-frame-parameters' = substitutes is
slightly different.

Back in April, it substituted:
"-outline-lucida = console-normal-roman-normal-mono-15-\
*-*-*-*-*-fontset-startup"

Now it substitutes:
"-outline-Lucida = Console-normal-normal-normal-mono-15-\
*-*-*-c-*-fontset-auto8"

Neither is recognized by `x-list-fonts'.

--------8<---------2008-04-05 report = -------------------

(frame-parameter nil 'font) ->
"-*-Lucida = Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1"

(modify-frame-parameters
 nil
 (list
  (cons
   'font
   "-*-Lucida = Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1")))

(frame-parameter nil 'font) ->
"-outline-lucida = console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup"

What's that about? In Emacs 20, 21, and 22, the result = is just the font I
specified.

I have code that zooms frames (font size). I change = just the point size in the
font spec, using `x-decompose-font-name' and = `x-compose-font-name'. I check that
the result is a legitimate font using `x-list-fonts'. = If not, I increase or
decrease the increment until I find the font that = works with the closest size.

[Yes, I know there are other ways to adjust font size, = but I've found that this
method is flexible for users and provides certain = benefits.]

My code no longer works without change, because after = one call to
`modify-frame-parameters' the font is no longer = something recognized by
`x-list-fonts'. I can comment out the part that = iterates until it finds a size
that works (recognized by `x-list-fonts'). That = works, but I'm still curious
about this. (Is there perhaps a bug in `x-list-fonts' = or in
`modify-frame-parameters'?)





------=_NextPart_000_0016_01C95D12.4B3A5B80-- ------=_NextPart_000_001F_01C95D12.4B3A5B80 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYj5v-0004ai-Ot for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:33 -0400 Received: from rgminet04.oracle.com (rgminet04.oracle.com [148.87.113.121]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF8QsC000620 for ; Thu, 28 Aug 2008 09:08:26 -0600 Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SEuqTD023354 for <119@emacsbugs.donarmstrong.com>; Thu, 28 Aug 2008 07:56:53 -0700 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m7SEuiow007475; Thu, 28 Aug 2008 08:56:44 -0600 Received: (at 119) by emacsbugs.donarmstrong.com; 28 Aug 2008 14:57:02 +0000 Received: from localhost ([127.0.0.1]:56398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj62-0004cW-5r for drew.adams@oracle.com; Thu, 28 Aug 2008 11:07:38 -0400 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rgminet04.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7SF7dAn020021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Aug 2008 09:07:59 -0600 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYj5z-0004cC-6e for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:35 -0400 Received: from rgmgw1.us.oracle.com by acsmt355.oracle.com with ESMTP id 11769149451219936107; Thu, 28 Aug 2008 08:08:27 -0700 Received: from acsmt354.oracle.com (/141.146.46.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 08:08:43 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Aug 2008 07:56:43 -0700 Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SF7TJe027482; Thu, 28 Aug 2008 08:07:29 -0700 Received: via spool by 119-submit@emacsbugs.donarmstrong.com id=B119.121993542223450 (code B ref 119); Thu, 28 Aug 2008 15:05:07 +0000 Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7SF58pq026218; Thu, 28 Aug 2008 08:05:08 -0700 Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m7SEuhUW018791; Thu, 28 Aug 2008 08:56:43 -0600 Received: from rzlab.ucr.edu ([138.23.92.77]:39973) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYj5v-0005I0-85 for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Received: from [199.232.76.173] (port=48451 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYj5v-0004af-Jz for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 11:07:31 -0400 Return-Path: Reply-To: "Drew Adams" , <119@debbugs.gnu.org> From: "Drew Adams" Sender: To: "'Jason Rumney'" , <119@debbugs.gnu.org> Cc: "Emacs-Devel" References: <001c01c8f8b4$594cb460$c2b22382@us.oracle.com><001501c90866$8e1b4cd0$c2b22382@us.oracle.com><48B5E61F.5030606@gnu.org> Subject: bug#119: modify-frame-parameters in Emacs 23 for fonts Date: Thu, 28 Aug 2008 06:56:48 -0800 Message-ID: <002301c9091e$4c9ee380$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C95D12.4B3A5B80" X-Mailer: Microsoft Office Outlook 11 List-Help: List-Unsubscribe: , List-Subscribe: , In-Reply-To: <48B5E61F.5030606@gnu.org> Thread-Index: AckIns1c2jJ3d4JMTgKtMDiy6T2eZQAfyCNA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C95D12.4B3A5B80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > > FYI - This bug appears to be fixed in the Emacs 23 pretest > > (22.2.91). > > It is not an Emacs 23 pretest. It is an Emacs 22.3 pretest, > which is why bugs that have only ever been apparent in the > trunk are not present in this pretest. Oh, darn. I guess that means that these problems still are in Emacs 23. And this also explains the "return" to the Emacs 22 icon that I noticed. Please then disregard all my mails from yesterday about Emacs 23 bugs that I thought had been fixed. Sorry for the confusion. ------=_NextPart_000_001A_01C95D12.4B3A5B80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable bug#119: modify-frame-parameters in Emacs 23 for fonts

> > FYI - This bug appears to be fixed in the = Emacs 23 pretest
> > (22.2.91).
>
> It is not an Emacs 23 pretest. It is an Emacs = 22.3 pretest,
> which is why bugs that have only ever been = apparent in the
> trunk are not present in this pretest.

Oh, darn. I guess that means that these problems still = are in Emacs 23. And this
also explains the "return" to the Emacs 22 = icon that I noticed.

Please then disregard all my mails from yesterday = about Emacs 23 bugs that I
thought had been fixed. Sorry for the = confusion.





------=_NextPart_000_001A_01C95D12.4B3A5B80-- ------=_NextPart_000_001F_01C95D12.4B3A5B80-- ------------=_1230776404-5475-1-- From unknown Sat Aug 16 23:45:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#119 closed by Jason Rumney (Re: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts) Message-ID: References: <495C2629.40504@gnu.org> <000201c8978c$69739fe0$0200a8c0@us.oracle.com> X-Emacs-PR-Message: they-closed 119 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: fixed Reply-To: 119@debbugs.gnu.org Date: Thu, 01 Jan 2009 02:20:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1230776405-5475-3" This is a multi-part message in MIME format... ------------=_1230776405-5475-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,w32 package: #1562: modify-frame-parameters in Emacs 23 for fonts It has been closed by Jason Rumney . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Jason Rumney by replying to this email. --=20 1562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1562 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1230776405-5475-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1562-done) by emacsbugs.donarmstrong.com; 1 Jan 2009 02:11:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n012BKcR004153 for <1562-done@emacsbugs.donarmstrong.com>; Wed, 31 Dec 2008 18:11:21 -0800 Received: by ti-out-0910.google.com with SMTP id b6so4309282tic.1 for <1562-done@emacsbugs.donarmstrong.com>; Wed, 31 Dec 2008 18:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=CvHqsLzbsL2hduBS49iImII6pD7D564x83sCi+5i6W8=; b=D4R6L2MyHRCsb5GKZXfvABcM1mRbSzC5oalPaYX9dvErv6E0wQ9WKfVx/xOmokSNHC v9nPrBLkn71rnFPAOr5/n2ZtP3xoj7CXpjRXbB4gf885q7BU+8uJeb5mRUU5YR4lewWI oQS0GRZQQdTbtDNjA6THiUxPbiYUguQlkSZdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=U9XztnTF9r1e7ieZU7VEmlm9xPxRvsLCluZBdu4pfwTpzC21Go7wBM+Dn7dYreKczW 5xeGPbO/MGSdpqNnT8Y2SW2sxscApkb0r2ym554uhJdRp73QkB5KoETErOtqDBFG8wh/ TKg23f2Sy4tZjSL/Zn8YBGjoGlgiML1ZMF8EM= Received: by 10.110.41.17 with SMTP id o17mr2385081tio.12.1230775879537; Wed, 31 Dec 2008 18:11:19 -0800 (PST) Received: from ?192.168.249.27? ([118.101.235.115]) by mx.google.com with ESMTPS id w12sm5583910tib.33.2008.12.31.18.11.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Dec 2008 18:11:18 -0800 (PST) Sender: Jason Rumney Message-ID: <495C2629.40504@gnu.org> Date: Thu, 01 Jan 2009 10:10:49 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Drew Adams CC: 1562-done@debbugs.gnu.org Subject: Re: bug#1562: 23.0.60; modify-frame-parameters in Emacs 23 for fonts References: <001e01c95d55$595d9b80$0200a8c0@us.oracle.com> <49451CBD.50108@gnu.org> <000a01c95e11$99e69410$0200a8c0@us.oracle.com> In-Reply-To: <000a01c95e11$99e69410$0200a8c0@us.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Drew Adams wrote: > After loading, (frame-parameter nil 'font) gives > "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-iso8859-1" > > Then do `C-u 5 M-x enlarge-font'. (frame-parameter nil 'font) gives > "-outline-Lucida Console-normal-normal-normal-mono-19-*-*-*-c-*-iso8859-1" > which is correct. > > Then do `C-u -5 M-x enlarge-font'. (frame-parameter nil 'font) gives > "-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-fontset-auto1" > which is NOT correct. > I have fixed this now, x_new_font in w32term.c had not been updated in line with xterm.c. ------------=_1230776405-5475-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From monnier@iro.umontreal.ca Sat Apr 5 20:04:50 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Status: No, score=1.0 required=4.0 tests=AWL,FOURLA,UNPARSEABLE_RELAY autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 6 Apr 2008 03:04:50 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m3634kNJ020066 for ; Sat, 5 Apr 2008 20:04:47 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvACAPfa90fO+J/WdGdsb2JhbACBXI94ASpWlxs X-IronPort-AV: E=Sophos;i="4.25,610,1199682000"; d="scan'208";a="17882536" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 05 Apr 2008 23:04:40 -0400 Received: from pastel.home ([206.248.159.214]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id MHK17240 for ; Sat, 05 Apr 2008 23:04:40 -0400 Received: by pastel.home (Postfix, from userid 20848) id EDB4D8898; Sat, 5 Apr 2008 23:04:39 -0400 (EDT) Resent-Message-ID: Resent-To: submit@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Sat, 05 Apr 2008 23:04:39 -0400 X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id EA3E92CFA0D for ; Sat, 5 Apr 2008 22:18:14 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 2268F3B8AA7 for ; Sat, 5 Apr 2008 22:18:08 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiKSN-0003a9-RQ for monnier@iro.umontreal.ca; Sat, 05 Apr 2008 22:18:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiKS4-0003Xh-5B for emacs-devel@gnu.org; Sat, 05 Apr 2008 22:17:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiKS2-0003Vh-QM for emacs-devel@gnu.org; Sat, 05 Apr 2008 22:17:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiKS2-0003VY-N6 for emacs-devel@gnu.org; Sat, 05 Apr 2008 22:17:46 -0400 Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JiKS2-0008Mf-Ba for emacs-devel@gnu.org; Sat, 05 Apr 2008 22:17:46 -0400 Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m362HhkO022617 for ; Sat, 5 Apr 2008 21:17:43 -0500 Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m360qkFn021960 for ; Sat, 5 Apr 2008 20:17:43 -0600 Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3640497161207448262; Sat, 05 Apr 2008 19:17:42 -0700 Received: from dradamslap1 (/141.144.64.62) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 05 Apr 2008 19:17:42 -0700 From: "Drew Adams" To: Date: Sat, 5 Apr 2008 19:17:49 -0700 Message-ID: <000201c8978c$69739fe0$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AciXjGkUccqyuRqdSruVv1GJrJHlAA== X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Subject: modify-frame-parameters in Emacs 23 for fonts X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org I'm using this: GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-04-04 on LENNART-69DE564. (frame-parameter nil 'font) -> "-*-Lucida Console-normal-r-*-*-14-*-96-96-c-*-iso8859-1" (modify-frame-parameters nil (list (cons 'font "-*-Lucida Console-normal-r-*-*-15-*-96-96-c-*-iso8859-1"))) (frame-parameter nil 'font) -> "-outline-lucida console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup" What's that about? In Emacs 20, 21, and 22, the result is just the font I specified. I have code that zooms frames (font size). I change just the point size in the font spec, using `x-decompose-font-name' and `x-compose-font-name'. I check that the result is a legitimate font using `x-list-fonts'. If not, I increase or decrease the increment until I find the font that works with the closest size. [Yes, I know there are other ways to adjust font size, but I've found that this method is flexible for users and provides certain benefits.] My code no longer works without change, because after one call to `modify-frame-parameters' the font is no longer something recognized by `x-list-fonts'. I can comment out the part that iterates until it finds a size that works (recognized by `x-list-fonts'). That works, but I'm still curious about this. (Is there perhaps a bug in `x-list-fonts' or in `modify-frame-parameters'?) I couldn't find anything that helps me understand this in the manuals. I haven't tried to dig through any code. Can someone light my lantern about this? I looked in NEWS also, and saw something about a font backend (I didn't follow the threads here about that). But I couldn't find anything in the Elisp or Emacs manuals about "backend" or "back?end", except for version-control back ends. A NEWS entry also says this: "the configure option `--disable-font-backend' (also available as a run-time option)." But I can't find any such option (variable) with `backend' or `back-end' in its name (except for `vc-handled-backends'). I see, in both NEWS and in my frames, a parameter named `font-backend', but I have no idea what it is. For me, its value is (font-backend uniscribe gdi), FWIW. Finding the function `fontp' mentioned in NEWS (but not in the Elisp manual, alas), I also tried that in place of `x-list-fonts'. But it too does not indicate that "-outline-lucida console-normal-roman-normal-mono-15-*-*-*-*-*-fontset-startup" is a legitimate font. I see font terms in NEWS that I don't see explained in the manual: font-entity object, font-spec object, font property value. I also see functions mentioned, such as `font-font', that my Emacs does not recognize. Are they perhaps only for X? This whole area is a murky one, for me. Do others feel that this stuff is explained well enough - in either the manuals or NEWS? Am I the only dummy about this? Is this is a hidden subject for some secret club? ;-) If not, how about some explanation? ------------=_1230776405-5475-3--