From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#14659: 24.3.50; `modify-frame-parameters' raises error for font returned by `xs-list-fonts' Date: Tue, 18 Jun 2013 14:26:34 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371590831 8767 80.91.229.3 (18 Jun 2013 21:27:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2013 21:27:11 +0000 (UTC) To: 14659@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 18 23:27:11 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Up3Qk-0001fw-Uy for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2013 23:27:11 +0200 Original-Received: from localhost ([::1]:47344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up3Qk-0003Sj-Gk for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2013 17:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up3Qe-0003Mj-6R for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 17:27:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up3Qd-0005UL-1L for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 17:27:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up3Qc-0005UH-Kp for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Up3Qc-0003xx-BW for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2013 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14659 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137159080915210 (code B ref -1); Tue, 18 Jun 2013 21:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jun 2013 21:26:49 +0000 Original-Received: from localhost ([127.0.0.1]:53956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up3QO-0003xG-NX for submit@debbugs.gnu.org; Tue, 18 Jun 2013 17:26:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40230) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up3QN-0003wv-11 for submit@debbugs.gnu.org; Tue, 18 Jun 2013 17:26:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up3QH-0005HH-0z for submit@debbugs.gnu.org; Tue, 18 Jun 2013 17:26:41 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up3QG-0005H0-UE for submit@debbugs.gnu.org; Tue, 18 Jun 2013 17:26:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up3QE-0002ul-PT for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 17:26:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up3QD-0005AJ-KW for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 17:26:38 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:25055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up3QD-00058l-EA for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 17:26:37 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5ILQXj9028549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 18 Jun 2013 21:26:34 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5ILQZGh016152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Jun 2013 21:26:36 GMT Original-Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5ILQZ0v016125 for ; Tue, 18 Jun 2013 21:26:35 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75317 Archived-At: Not sure there is a bug here, but I think so. (x-list-fonts "*") returns a list containing this XLFD font name (and two other names that are similar): "-outline-DFKai-SB-normal-normal-normal-script-*-*-*-*-c-*-iso8859-1". That is not a valid XFLD name (e.g., it contains 15, not 14, hyphens). And this error is raised by `modify-frame-parameters': Debugger entered--Lisp error: (error "Font `-outline-DFKai-SB-normal-normal= -normal-script-*-*-*-*-c-*-iso8859-1' is not defined") modify-frame-parameters(# ((font . "-outl= ine-DFKai-SB-normal-normal-normal-script-*-*-*-*-c-*-iso8859-1"))) Should `xs-list-fonts' return only valid XFLD font names? Or is the current behavior correct on all counts? Note that I can use this font otherwise. E.g., in emacs -Q I can S-mouse-1, `Change Buffer Font', choose `DFKai-SB', and the font is used OK. That uses `x-select-font'. So perhaps the bug is with `modify-frame-parameters' (?). In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-06-17 on ODIEONE Bzr revision: 113024 eliz@gnu.org-20130617163040-8hmzci370q4argze Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs CFLAGS=3D-O0 -g3 LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include'