From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Rose Newsgroups: gmane.emacs.devel Subject: customize face-font-family-alternatives detroys it's value Date: Sun, 07 Sep 2008 16:36:22 +0200 Message-ID: <48C3E6E6.20200@gmx.de> Reply-To: sebastian_rose@gmx.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220798177 28388 80.91.229.12 (7 Sep 2008 14:36:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 14:36:17 +0000 (UTC) To: "[emacs.devel]" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 07 16:37:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KcLO3-0004fw-2W for ged-emacs-devel@m.gmane.org; Sun, 07 Sep 2008 16:37:11 +0200 Original-Received: from localhost ([127.0.0.1]:34485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcLN3-0007z6-2J for ged-emacs-devel@m.gmane.org; Sun, 07 Sep 2008 10:36:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcLMr-0007xj-MC for emacs-devel@gnu.org; Sun, 07 Sep 2008 10:35:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcLMn-0007xG-H0 for emacs-devel@gnu.org; Sun, 07 Sep 2008 10:35:56 -0400 Original-Received: from [199.232.76.173] (port=38601 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcLMn-0007xD-Ci for emacs-devel@gnu.org; Sun, 07 Sep 2008 10:35:53 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:53425) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KcLMm-00038N-UD for emacs-devel@gnu.org; Sun, 07 Sep 2008 10:35:53 -0400 Original-Received: (qmail invoked by alias); 07 Sep 2008 14:35:50 -0000 Original-Received: from unknown (EHLO [10.129.154.164]) [92.116.154.164] by mail.gmx.net (mp064) with SMTP; 07 Sep 2008 16:35:50 +0200 X-Authenticated: #8529601 X-Provags-ID: V01U2FsdGVkX1+tUdlt3bmtpYwYRi912MN0E9SqLcNdkRFRZeFeqJ e2yhz0UlQnMXgD User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103630 Archived-At: Hi list, M-x customize RET face-font-alternatives distorts the value. It always displayes and saves '((DejaVu\ Sans\ Mono Courier\ New) (Arial Verdana Helvetica fixed)) I can set it to a correct value '(("DejaVu Sans Mono" "Courier New") ("Arial" "Verdana" "Helvetica" "fixed")) and save it correctly. But when I customize the same value again, and refuse to save it. Then I get this warning: >>>> Error setting face-font-family-alternatives: (wrong-type-argument stringp DejaVu\ Sans\ Mono) <<<< BTW: the documentation in customize for "face-font-family-alternatives" is wrong?? This is what it is (emacs-23 CVS, two days ago: Alist of alternative font family names. Hide Rest Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...). If fonts of family FAMILY can't be loaded, try ALTERNATIVE1, then ALTERNATIVE2 etc. This is misleading as a value like that triggers the same message (missing quotes). M-x emacs-version GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-09-06 on orgon Patch for the doc string: --- faces.el 2008-09-07 15:16:03.000000000 +0200 +++ lisp/faces.el 2008-09-07 15:16:38.000000000 +0200 @@ -74,7 +74,7 @@ ("Sans Serif" "helv" "helvetica" "arial" "fixed") ("helv" "helvetica" "arial" "fixed")) "*Alist of alternative font family names. -Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...). +Each element has the form (\"FAMILY\" \"ALTERNATIVE1\" \"ALTERNATIVE2\" ...). If fonts of family FAMILY can't be loaded, try ALTERNATIVE1, then ALTERNATIVE2 etc." :tag "Alternative font families to try"