From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#2994: Recent change to font.c:font_load_for_lface affects variable-pitch face in the modeline Date: Tue, 14 Apr 2009 18:40:14 +0200 Message-ID: References: <8763h7xqni.fsf@catnip.gol.com> Reply-To: Juanma Barranquero , 2994@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239729037 16988 80.91.229.12 (14 Apr 2009 17:10:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2009 17:10:37 +0000 (UTC) Cc: 2994@emacsbugs.donarmstrong.com To: Miles Bader Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 19:11:56 2009 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 1Ltm5s-0003Pu-1C for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2009 19:06:44 +0200 Original-Received: from localhost ([127.0.0.1]:35129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltm4T-0004vx-Ky for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2009 13:05:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ltm3E-0004ig-Uz for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 13:04:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ltm39-0004gK-LY for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 13:03:59 -0400 Original-Received: from [199.232.76.173] (port=48545 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltm38-0004fm-V8 for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 13:03:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51843) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ltm37-0004K1-To for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 13:03:54 -0400 Original-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 n3EH3oJn028644; Tue, 14 Apr 2009 10:03:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3EGj6Da023397; Tue, 14 Apr 2009 09:45:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juanma Barranquero Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 14 Apr 2009 16:45:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2994 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2994-submit@emacsbugs.donarmstrong.com id=B2994.123972724322686 (code B ref 2994); Tue, 14 Apr 2009 16:45:06 +0000 Original-Received: (at 2994) by emacsbugs.donarmstrong.com; 14 Apr 2009 16:40:43 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-ew0-f178.google.com (mail-ew0-f178.google.com [209.85.219.178]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3EGeeH4022666 for <2994@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 09:40:41 -0700 Original-Received: by ewy26 with SMTP id 26so3180966ewy.1 for <2994@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 09:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=FD4EKVK3/Oe0Wp7YQ5CrQ6eHDyGSGr3fcLk93RpShSg=; b=td1Cog4Y0bQraGrFMGtRgt5GHMNbwP6lwS4cvbXp0EjHldT84u6PBbUANDX4gc9ZIV ltycta7imp62oCxvKcuW/4obb0c96izZ+Yb3RVLUhaZdaip1PV9D0w+5RXJ51hnEYZUR eLetdypaANndrQqIQKxRftCAfY2JwC1oZIp8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=KPpPh3Xsgp6yAK8KANJCwmL7rW6UMfwVim5ZEjy+w6ExQ259hfxK+19LMEgqAF+/dv kE8q3nPo6gyR6k77KJfsFk8nfxvDfTJo/Idm1rtCzG5yVhwYLgJoX84y7jF131D9QZ76 6TUgwlenqoe0IflgA06yIJ7DFji3kDaIkgd+0= Original-Received: by 10.210.105.8 with SMTP id d8mr3118705ebc.51.1239727234088; Tue, 14 Apr 2009 09:40:34 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 14 Apr 2009 13:03:59 -0400 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:27177 Archived-At: > On Tue, Apr 14, 2009 at 16:21, Miles Bader wrote: > >> Are you sure that's wrong? All in all, it seems a bug. After emacs -Q, I set the face for variable-pitch to DejaVu Sans: M-: (set-face-font 'variable-pitch "-outline-DejaVu Sans-normal-normal-normal-sans-13-*-*-*-p-*-iso10646-1") and describe-face agrees: M-x describe-face variable-pitch Face: variable-pitch (sample) (customize this face) Documentation: The basic variable-pitch face. Defined in `faces.el'. Family: DejaVu Sans Foundry: outline Width: normal Height: 98 Weight: normal Slant: normal Foreground: unspecified Background: unspecified Underline: unspecified Overline: unspecified Strike-through: unspecified Box: unspecified Inverse: unspecified Stipple: unspecified Font: # Fontset: unspecified Inherit: unspecified However, I start a buffer in fundamental-mode, insert a variable-pitch space: C-x b test M-: (insert (propertize " " 'face 'variable-pitch)) and it is in FreeIdgSerif, according to `describe-char': character: SPC (32, #o40, #x20) preferred charset: ascii (ASCII (ISO646 IRV)) code point: 0x20 syntax: which means: whitespace category: .:Base, a:ASCII, l:Latin buffer code: #x20 file code: #x20 (encoded by coding system iso-latin-1-dos) display: by this font (glyph code) uniscribe:-outline-FreeIdgSerif-normal-normal-normal-serif-13-*-*-*-p-*-iso10646-1 (#x02) Character code properties: customize what to show name: SPACE general-category: Zs (Separator, Space) There are text properties here: face variable-pitch Juanma