From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zoran Rilak Newsgroups: gmane.emacs.bugs Subject: "Invalid face slant: roman" Date: Sat, 23 Feb 2008 21:54:35 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203835225 32451 80.91.229.12 (24 Feb 2008 06:40:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2008 06:40:25 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 07:40:50 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTAXT-0005Ba-Vk for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Feb 2008 07:40:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTAWx-00077I-Ry for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Feb 2008 01:40:11 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!p73g2000hsd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 40 Original-NNTP-Posting-Host: 75.60.172.83 Original-X-Trace: posting.google.com 1203832475 25188 127.0.0.1 (24 Feb 2008 05:54:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 24 Feb 2008 05:54:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p73g2000hsd.googlegroups.com; posting-host=75.60.172.83; posting-account=001MWAoAAABB6NIO3Gg0epkdUrs0BCPj User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.bug:44489 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17573 Archived-At: Hello, I've just checked out the latest Emacs 23.0.60 from the CVS trunk (as of 2008-02-23) and compiled it with fontconfig support (--enable-font- backend). When I try to use any of the fonts provided via fontconfig to customize default face, here's what happens: - the font loads and Emacs redraws itself correctly. - when I do a customize-face default, I see that it longer parses correctly in the custom-mode; instead of a list of checkboxes and values, I get a "Lisp expression:" field. - :slant is set to "roman" regardless of its former value (before changing :family). This goes for every fontconfig family I've tried so far. - If I save this customization and restart Emacs, I get a message "Invalid face slant: roman". The face does not get applied. - Also: sometimes my mode-line face will have its foreground reset to #000000 after applying the new default face. This wasn't an issue with an earlier Emacs 23.0, also from CVS (although that one I had to start with --enable-font-backend argument to get the fc backend; apparently no longer needed). I found this in lisp/ChangeLog: 2008-02-01 Kenichi Handa * faces.el (font-weight-table): Treat regular and normal as the same as medium. (font-slant-table): Add (roman . 100). Removing the (roman . 100) part from the font-slant-table does nothing interesting. I'm willing to tinker with the source code if someone has an idea what I should look at first. Thanks for your time, Zoran