From unknown Tue Jun 24 05:14:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1802: 23.0.60; (with-ns) completion of font names does not work Reply-To: Benjamin Smith-Mannschott , 1802@debbugs.gnu.org Resent-From: "B. Smith-Mannschott" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 06 Jan 2009 13:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 1802 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123124762116925 (code B ref -1); Tue, 06 Jan 2009 13:20:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 6 Jan 2009 13:13:41 +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=1.3 required=4.0 tests=FOURLA,IMPRONONCABLE_1, MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-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 n06DDb8e016907 for ; Tue, 6 Jan 2009 05:13:38 -0800 Received: from mail.gnu.org ([199.232.76.166]:38962 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LKBjO-0000fX-1l for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 08:12:26 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LKBkU-0007mE-Sp for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 08:13:36 -0500 Received: from fg-out-1718.google.com ([72.14.220.159]:43412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKBkU-0007m4-EF for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 08:13:34 -0500 Received: by fg-out-1718.google.com with SMTP id l26so2974833fgb.30 for ; Tue, 06 Jan 2009 05:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:reply-to:subject :mime-version:date:x-mailer; bh=Gt/JXhSSKv+sEQiU07ZJwvPgjJz8SeKp/n9+XlGON6U=; b=WRzPvpIzZEBCIVi2OWgKpoZsJCPOVUl+6j2hva7xUw/gtLnMo2z8DaZJTEAd/tpdJ8 k6f2z7KTL/rlvMTHrdXG/+QMt3SwwEEdDkDCX3gSgYCOC/kyxvY2j4krB+odUDyQPI1x XdQYy9MKEyWxnhAM6Sf/RW9cKT70wI50pLUt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:reply-to :subject:mime-version:date:x-mailer; b=Tw65PnxXJcEELRWobKKRCA8qvPr3lTe0eB2sbbuE0Z+S/KVGxZdyIXaCciw3jSll3a KJDMPom4R+LrBd0SVSc2fLvAsVEbwPnHNEG9wbDp7Fmd9QviNBAT0Hmv+37WynByee4A /2E5XeHT/0FILBGB5MLgx8E/pahBIR87HBCzI= Received: by 10.86.3.4 with SMTP id 4mr12809547fgc.44.1231247612645; Tue, 06 Jan 2009 05:13:32 -0800 (PST) Received: from ?10.0.0.21? (91-115-16-34.adsl.highway.telekom.at [91.115.16.34]) by mx.google.com with ESMTPS id l19sm15341472fgb.29.2009.01.06.05.13.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Jan 2009 05:13:31 -0800 (PST) Message-Id: <38B33658-E872-4823-9C58-A654F5580B38@gmail.com> From: "B. Smith-Mannschott" To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 6 Jan 2009 14:13:28 +0100 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Observed Behavior ================= 1. M-x set-frame-font Prompts for a font name, but offers no completions. (Is the user meant to guess?) 2. M-x set-face-font Prompts for a font name, but offers only the following three values as possible completions: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default -apple-Monaco-medium-normal-normal-Regular-*-*-*-*-*-*-fontset- startup -ns-*-*-*-*-*-10-*-*-*-*-*-fontset-standard Expected Behavior ================= I would expect a complete list of the fonts current installed on the system to be offered for completion. This is the behavior on Windows and Linux as well as (Carbon)Emacs 22. Note ==== It's not that font selection is completely broken. e.g. Choosing a font from the font panel presented after selecting "Options >> Set Defalt Font..." does work after a fashion: it sets the default font for all windows of the currently focused frame. (Not, however, those of other frames.) Also, the following elisp code, will work: (set-face-attribute 'default nil :background "#ffffff" :foundry "apple" :family "consolas" :foreground "#000000" :height 120 :slant 'normal :weight 'normal :width 'semi-condensed)) See Also ======== The thread beginning with this message: http://lists.gnu.org/archive/html/help-gnu-emacs/2009-01/msg00046.html Configuration ============= - gcc --version | head -n 1 i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488) In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-01-06 on Meheadable.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t openwith-mode: t yas/minor-mode: t global-hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: f o n t SPC c o n t r o l SPC C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d s e l e c t i o n SPC q C-n C-n C-b C-b C-b C-b C-f C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-a C-k C-p C-p C-y C-o C-n C-n C-n C-k C-SPC C-n C-n C-n C-g C-e C-x C-s C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC ; ; SPC s o m e SPC o f SPC t h e s e SPC C-n SPC SPC SPC SPC SPC ; ; SPC p r o p e r t i e s SPC m a y C-n SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC ; ; SPC n o t SPC b e SPC n e c e s s a r y C-p C-p C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-a C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-b C-b C-k C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-k C-n C-k C-b C-b C-b C-b C-b C-k C-x C-s Recent messages: Mark saved where search started Mark set [2 times] Auto-saving...done Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt Mark set [2 times] Quit Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt Auto-saving...done Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt byte-code: Beginning of buffer [8 times] byte-code: Beginning of buffer From rgm@gnu.org Wed Jan 7 10:14:39 2009 Received: (at control) by emacsbugs.donarmstrong.com; 7 Jan 2009 18:14:39 +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.8 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, PHONENUMBER,VALID_BTS_CONTROL autolearn=no version=3.2.5-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 n07IEaLG004590 for ; Wed, 7 Jan 2009 10:14:38 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LKcuB-0007fP-G7; Wed, 07 Jan 2009 13:13:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18788.61635.416104.326747@fencepost.gnu.org> Date: Wed, 7 Jan 2009 13:13:23 -0500 From: Glenn Morris To: control severity 1729 minor reassign 1791 emacs,ns reassign 1801 emacs,ns reassign 1802 emacs,ns reassign 1803 emacs,ns reassign 1804 emacs,ns reassign 1815 spam unarchive 737 unarchive 1205 From unknown Tue Jun 24 05:14:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1802: 23.0.60; (with-ns) completion of font names does not work Reply-To: Adrian Robert , 1802@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Fri, 23 Jan 2009 10:50:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1802 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1802-submit@emacsbugs.donarmstrong.com id=B1802.123270737715105 (code B ref 1802); Fri, 23 Jan 2009 10:50:05 +0000 Received: (at 1802) by emacsbugs.donarmstrong.com; 23 Jan 2009 10:42:57 +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 mail-fx0-f15.google.com (mail-fx0-f15.google.com [209.85.220.15]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0NAgnpL015095 for <1802@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 02:42:50 -0800 Received: by fxm8 with SMTP id 8so1830014fxm.1 for <1802@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 02:42:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=v/kdZ+BSha2eEbKWuhu/IYo5Rxnkq0F0cEejd3ZQCe0=; b=xyaSy3sA2Q33Uzg2aZv6TrEb2r+HF/NphEBTE8y3YXpMy7aSgJqjAfJYyZhJArG5LF sKiHWfYZOgpXuULkMEkjVzEFtKgFMBCZ1YZhZNkYZ+XSSzvJ1nfFJQN0la6NG5dyGDS3 33/s22GHDohtwCsTh+PTSLOQvZYH3lBXOe/qw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=V29LWnepppfddCcYB47+Ylkg1YeSVgCsaP5K12rrlZnswK1VaNOT+Sn4gh/hjRS3MJ BAIAFenNqgLI+2VL5KJmojYZC5PC8KeYRHSxCxKcsfGPbd+M3PnIhRDZH45ce25tZM78 01hkA+lSTi+7Z0e+BsvO8SyBPFO/2oZ9sexTA= Received: by 10.223.109.200 with SMTP id k8mr1060859fap.44.1232707362017; Fri, 23 Jan 2009 02:42:42 -0800 (PST) Received: from ?192.168.1.101? (h006107.gprs.dnafinland.fi [87.93.6.107]) by mx.google.com with ESMTPS id 23sm10835630eya.43.2009.01.23.02.42.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jan 2009 02:42:40 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Benjamin Smith-Mannschott Content-Transfer-Encoding: 7bit From: Adrian Robert Date: Fri, 23 Jan 2009 12:42:39 +0200 To: 1802@debbugs.gnu.org X-Mailer: Apple Mail (2.753.1) I get the message 'Invalid font name: "*"' in the minibuffer when I try this. Some investigation seems to show this is generated in font.c before any NS-specific code is called. Can you try this in an X build of the same source and report whether it occurs there too? From unknown Tue Jun 24 05:14:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1802: 23.0.60; (with-ns) completion of font names does not work Reply-To: Glenn Morris , 1802@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Sat, 24 Jan 2009 01:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1802 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1802-submit@emacsbugs.donarmstrong.com id=B1802.12327590052330 (code B ref 1802); Sat, 24 Jan 2009 01:10:03 +0000 Received: (at 1802) by emacsbugs.donarmstrong.com; 24 Jan 2009 01:03:25 +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=-4.5 required=4.0 tests=HAS_BUG_NUMBER,PHONENUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-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 n0O13M96002324 for <1802@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 17:03:23 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LQWuC-0003MP-O9; Fri, 23 Jan 2009 20:01:48 -0500 From: Glenn Morris To: Adrian Robert Cc: 1802@debbugs.gnu.org, Chong Yidong References: X-Spook: Medco BCCI JSOFC3IP kilo class Blowfish Serbian e-cash AVN X-Ran: yVZ=7bir,&"lJ?hXwTBZQh!DCyK'%$OPkxufqb,}Rr`r@SS6*MdGcJ2>Bb+hM;A@`K"}|U X-Hue: cyan X-Attribution: GM Date: Fri, 23 Jan 2009 20:01:48 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Adrian Robert wrote: > I get the message 'Invalid font name: "*"' in the minibuffer when I > try this. Some investigation seems to show this is generated in > font.c before any NS-specific code is called. Can you try this in an > X build of the same source and report whether it occurs there too? Indeed (x-list-fonts "*") as called by set-frame-font throws an error for me ("Invalid font name *") in the current trunk on GNU/Linux. `cvs up -D2009-01-18 font.c' and this goes away, so perhaps it is the 2009-01-19 change to font_spec_from_name? (I don't think this is related to the original report.) From unknown Tue Jun 24 05:14:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1802: 23.0.60; (with-ns) completion of font names does not work Reply-To: Chong Yidong , 1802@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Sat, 24 Jan 2009 03:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1802 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1802-submit@emacsbugs.donarmstrong.com id=B1802.12327671793907 (code B ref 1802); Sat, 24 Jan 2009 03:25:03 +0000 Received: (at 1802) by emacsbugs.donarmstrong.com; 24 Jan 2009 03:19:39 +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=-1.5 required=4.0 tests=HAS_BUG_NUMBER,PHONENUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0O3JawH003901 for <1802@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 19:19:37 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 116B257E1FC; Fri, 23 Jan 2009 22:20:03 -0500 (EST) From: Chong Yidong To: Glenn Morris Cc: Adrian Robert , 1802@debbugs.gnu.org References: Date: Fri, 23 Jan 2009 22:20:03 -0500 In-Reply-To: (Glenn Morris's message of "Fri, 23 Jan 2009 20:01:48 -0500") Message-ID: <87skn9bdb0.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Glenn Morris writes: > (x-list-fonts "*") > > as called by set-frame-font throws an error for me ("Invalid font name > *") in the current trunk on GNU/Linux. Should be fixed now. From unknown Tue Jun 24 05:14:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Benjamin Smith-Mannschott Subject: bug#1802: closed (Re: (with-ns) completion of font names does not work) Message-ID: References: <38B33658-E872-4823-9C58-A654F5580B38@gmail.com> X-Gnu-PR-Message: they-closed 1802 X-Gnu-PR-Package: emacs,ns Reply-To: 1802@debbugs.gnu.org Date: Fri, 21 Oct 2011 22:38:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1319236681-9798-1" This is a multi-part message in MIME format... ------------=_1319236681-9798-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #1802: 23.0.60; (with-ns) completion of font names does not work which was filed against the emacs,ns package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 1802@debbugs.gnu.org. --=20 1802: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1802 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1319236681-9798-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1802-done) by debbugs.gnu.org; 21 Oct 2011 22:37:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHNim-0002Xe-C4 for submit@debbugs.gnu.org; Fri, 21 Oct 2011 18:37:48 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHNik-0002XS-Od for 1802-done@debbugs.gnu.org; Fri, 21 Oct 2011 18:37:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwHADbzoU5MCqLO/2dsb2JhbABDmiOOe4EGgW4BXD40JhgNnGWfWohABKEyhEU X-IronPort-AV: E=Sophos;i="4.69,388,1315195200"; d="scan'208";a="143661517" Received: from 76-10-162-206.dsl.teksavvy.com (HELO pastel.home) ([76.10.162.206]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 21 Oct 2011 18:36:24 -0400 Received: by pastel.home (Postfix, from userid 20848) id 9801659154; Fri, 21 Oct 2011 18:36:24 -0400 (EDT) From: Stefan Monnier To: 1802-done@debbugs.gnu.org Subject: Re: (with-ns) completion of font names does not work Message-ID: Date: Fri, 21 Oct 2011 18:36:24 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 1802-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) AFAIK the source of the problem has been fixed. It works under GNU/Linux, so I'll assume it also works for the NS port. If not, please re-open this bug or make a new one. Stefan ------------=_1319236681-9798-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 6 Jan 2009 13:13:41 +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=1.3 required=4.0 tests=FOURLA,IMPRONONCABLE_1, MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-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 n06DDb8e016907 for ; Tue, 6 Jan 2009 05:13:38 -0800 Received: from mail.gnu.org ([199.232.76.166]:38962 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LKBjO-0000fX-1l for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 08:12:26 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LKBkU-0007mE-Sp for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 08:13:36 -0500 Received: from fg-out-1718.google.com ([72.14.220.159]:43412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKBkU-0007m4-EF for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 08:13:34 -0500 Received: by fg-out-1718.google.com with SMTP id l26so2974833fgb.30 for ; Tue, 06 Jan 2009 05:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:reply-to:subject :mime-version:date:x-mailer; bh=Gt/JXhSSKv+sEQiU07ZJwvPgjJz8SeKp/n9+XlGON6U=; b=WRzPvpIzZEBCIVi2OWgKpoZsJCPOVUl+6j2hva7xUw/gtLnMo2z8DaZJTEAd/tpdJ8 k6f2z7KTL/rlvMTHrdXG/+QMt3SwwEEdDkDCX3gSgYCOC/kyxvY2j4krB+odUDyQPI1x XdQYy9MKEyWxnhAM6Sf/RW9cKT70wI50pLUt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:reply-to :subject:mime-version:date:x-mailer; b=Tw65PnxXJcEELRWobKKRCA8qvPr3lTe0eB2sbbuE0Z+S/KVGxZdyIXaCciw3jSll3a KJDMPom4R+LrBd0SVSc2fLvAsVEbwPnHNEG9wbDp7Fmd9QviNBAT0Hmv+37WynByee4A /2E5XeHT/0FILBGB5MLgx8E/pahBIR87HBCzI= Received: by 10.86.3.4 with SMTP id 4mr12809547fgc.44.1231247612645; Tue, 06 Jan 2009 05:13:32 -0800 (PST) Received: from ?10.0.0.21? (91-115-16-34.adsl.highway.telekom.at [91.115.16.34]) by mx.google.com with ESMTPS id l19sm15341472fgb.29.2009.01.06.05.13.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Jan 2009 05:13:31 -0800 (PST) Message-Id: <38B33658-E872-4823-9C58-A654F5580B38@gmail.com> From: "B. Smith-Mannschott" To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Reply-To: Benjamin Smith-Mannschott Subject: 23.0.60; (with-ns) completion of font names does not work Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 6 Jan 2009 14:13:28 +0100 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Observed Behavior ================= 1. M-x set-frame-font Prompts for a font name, but offers no completions. (Is the user meant to guess?) 2. M-x set-face-font Prompts for a font name, but offers only the following three values as possible completions: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default -apple-Monaco-medium-normal-normal-Regular-*-*-*-*-*-*-fontset- startup -ns-*-*-*-*-*-10-*-*-*-*-*-fontset-standard Expected Behavior ================= I would expect a complete list of the fonts current installed on the system to be offered for completion. This is the behavior on Windows and Linux as well as (Carbon)Emacs 22. Note ==== It's not that font selection is completely broken. e.g. Choosing a font from the font panel presented after selecting "Options >> Set Defalt Font..." does work after a fashion: it sets the default font for all windows of the currently focused frame. (Not, however, those of other frames.) Also, the following elisp code, will work: (set-face-attribute 'default nil :background "#ffffff" :foundry "apple" :family "consolas" :foreground "#000000" :height 120 :slant 'normal :weight 'normal :width 'semi-condensed)) See Also ======== The thread beginning with this message: http://lists.gnu.org/archive/html/help-gnu-emacs/2009-01/msg00046.html Configuration ============= - gcc --version | head -n 1 i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488) In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-01-06 on Meheadable.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t openwith-mode: t yas/minor-mode: t global-hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: f o n t SPC c o n t r o l SPC C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d s e l e c t i o n SPC q C-n C-n C-b C-b C-b C-b C-f C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-a C-k C-p C-p C-y C-o C-n C-n C-n C-k C-SPC C-n C-n C-n C-g C-e C-x C-s C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC ; ; SPC s o m e SPC o f SPC t h e s e SPC C-n SPC SPC SPC SPC SPC ; ; SPC p r o p e r t i e s SPC m a y C-n SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC ; ; SPC n o t SPC b e SPC n e c e s s a r y C-p C-p C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-a C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-b C-b C-k C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-k C-n C-k C-b C-b C-b C-b C-b C-k C-x C-s Recent messages: Mark saved where search started Mark set [2 times] Auto-saving...done Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt Mark set [2 times] Quit Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt Auto-saving...done Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt byte-code: Beginning of buffer [8 times] byte-code: Beginning of buffer ------------=_1319236681-9798-1--