From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Manoj Srivastava Newsgroups: gmane.emacs.devel Subject: Re: Recent CVS Emacs breaks color-themes Date: Fri, 03 Oct 2008 10:36:24 -0500 Organization: Manoj Srivastava's Home Message-ID: <87ljx51yiv.fsf@anzu.internal.golden-gryphon.com> References: <87wsgq1bcd.fsf@anzu.internal.golden-gryphon.com> <48E6223D.4000605@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223048233 6872 80.91.229.12 (3 Oct 2008 15:37:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2008 15:37:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 03 17:38:10 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 1Klmj5-0003wS-J4 for ged-emacs-devel@m.gmane.org; Fri, 03 Oct 2008 17:37:56 +0200 Original-Received: from localhost ([127.0.0.1]:38256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Klmi2-0001WO-Ep for ged-emacs-devel@m.gmane.org; Fri, 03 Oct 2008 11:36:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Klmhx-0001Ut-MQ for emacs-devel@gnu.org; Fri, 03 Oct 2008 11:36:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Klmhw-0001Uh-6n for emacs-devel@gnu.org; Fri, 03 Oct 2008 11:36:44 -0400 Original-Received: from [199.232.76.173] (port=41289 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Klmhw-0001Ue-1D for emacs-devel@gnu.org; Fri, 03 Oct 2008 11:36:44 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:59427 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Klmhv-00012z-Is for emacs-devel@gnu.org; Fri, 03 Oct 2008 11:36:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Klmhp-0002DB-Fp for emacs-devel@gnu.org; Fri, 03 Oct 2008 15:36:37 +0000 Original-Received: from tiamat.golden-gryphon.com ([204.117.95.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Oct 2008 15:36:37 +0000 Original-Received: from srivasta by tiamat.golden-gryphon.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Oct 2008 15:36:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 131 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tiamat.golden-gryphon.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) (x86_64-pc-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAACYAAAAwCAMAAABKbPgaAAAAM1BMVEUAAADIjH/0rp1KPz79 0b+ic2nlpJc2Ly2AY17VlYb4uqi2gHQXFBN2WVXgno5iT02Xa2Nx+jaIAAACVElEQVQ4jeWU23bj IAxFLUAggQX6/6+dI9LGTpo+9mlYiXNhc3TnOP50naZE0tqvgEk+soutnNfQ8yPTWMTENhNrjI+Y +N7POVt8tAzpn2vJlsmttbyfrdkP7hx5iezteGzsbOts7xT+tC1mcG+LtRP2X/16bEQExuyx1uZW vscrAWUT8aE0aDBeBuw8nS5u4WgWyDCllOZUBeyWgbWbGrBsTDpTx0qpphlcYPcgJLvBXFClPMg5 6WH2JidLIAaDF5aAed7uPTH4bjw0bZvfajp2tHc1F+cBm+Vr9YomGSwNhbmcczYEWUu5MBpYvCLV F+ZIKwQfYB+CBXnIRQFvIRhK6l96PemsFLEPFxi+MPxiTYH0Ave1InPsIYes3NJb42ytBSmmysyj lIQYHJm6Im1WbQ0kWMesKFRFPKTDzJ3GhWUn2KWKEkWlKthoACLm2eWJQQh2qKbAUgQxa+8TVjn1 aySm8656ookCfCc5TRzvnZ6YOu3NpHg+uR5YuRkNF/b5IHq5Y7Ve6c2+sR4hqIZ3+5DCt3ukh8Eo vFIXVJxqfMdbkd/BF3YaQkB/2RIUHPMS7RLVAHefrYzWZVQ/ei4peBsROFLi90ltQyvF5I05t4Zs L4C9DODJ2AZCUf8UitGjCIdfx15QQkfZibTOGT3edxns5fY6F2rstKcTwiiaJnQwvYkdzTlaTqNH IkSmGdLrON45tGsMNDoSYr4bxH5emHEFaoFjKBahHXFXfLx9cR9p6ejJXihuxPz57gWHZkWovbPl 9gsU8eImtBi++3D+f+sfT/Mg79fyEz8AAAAASUVORK5CYII= X-URL: http://www.golden-gryphon.com/ Mail-Copies-To: never X-Face: #q.#]5@vq!Jz+E0t_/; Y^gTjR\T^"B'fbeuVGiyKrvbfKJl!^e|e:iu(kJ6c|QYB57LP*|t &YlP~HF/=h:GA6o6W@I#deQL-%#.6]!z:6Cj0kd#4]>*D, |0djf'CVlXkI, >aV4\}?d_KEqsN{Nnt7 78"OsbQ["56/!nisvyB/uA5Q.{)gm6?q.j71ww.>b9b]-sG8zNt%KkIa>xWg&1VcjZk[hBQ>]j~`Wq Xl,y1a!(>6`UM{~'X[Y_,Bv+}=L\SS*mA8=s;!=O`ja|@PEzb&i0}Qp,`Z\:6:OmRi* Cancel-Lock: sha1:X0Q0fjca1MBih4KYeZo3yB5C6N0= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:104327 Archived-At: On Fri, Oct 03 2008, martin rudalics wrote: >> On CVS emacs compiled today (and perhaps yesterday as well), > Does that mean it worked two days ago? Could you try to find the change > that caused the breakage? Yes, Romaines emacs-snapshot package for Debian is fine. >> running M-x color-theme- mucks up the fonts; in emacs lisp >> buffers like *scratch*, all commented characters show up as square >> boxes. Uncommenting them maks them show up. Not running the color-theme >> command does not mess up the display. >> >> I apologize for the lack of detail in this message, if this is >> not a known issue I can investigate in more detail and try to produce a >> minimal test case. OK, so I bisected. Starting with known good commit 9e3d5a56270b0cd513609c01cc98a62ff359de96, and known bad commit da77a08353a1409c523fae94757e3a03f18d1ed5, I bisected it down to --8<---------------cut here---------------start------------->8--- 8192914fbe2db76bca42fbf5ac97a369b1290312 is first bad commit commit 8192914fbe2db76bca42fbf5ac97a369b1290312 Author: Kenichi Handa Date: Wed Oct 1 12:36:42 2008 +0000 (font_matching_entity): Reflect ATTRS in font selection. (font_find_for_lface) [HAVE_NS]: Don't ignore case. :040000 040000 6ab3fe2a1bb9ccf33299398c095e5f093943fde4 adfe6a555afb76e964c8327f053a4a837b5c8ee2 M src --8<---------------cut here---------------end--------------->8--- Before then, I could use color-themes. After that commit, fonts get messed up. See below for what I mean by messed up. DETAILS: ------- The symptoms of the fault are: Emacs started with the following X resources in play: --8<---------------cut here---------------start------------->8--- *FontBackend: xft,x Emacs.FontBackend: xft,x emacs.font: DejaVu Sans Mono-9 --8<---------------cut here---------------end--------------->8--- Looking at the scratch buffer, and at the first commented line, ;; This buffer is for notes you don't want to save, and for Lisp evaluation. I see the line as: (typing in [] instead of the empty box) ;; [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] Doing describe-char on the first character (T). The characters are supposed to be in italics and red (from the color-themes). Note that it thinks there is no font available. --8<---------------cut here---------------start------------->8--- character: [] (84, #o124, #x54) preferred charset: [][][][][] (ASCII (ISO646 IRV)) code point: [][][][] syntax: w which means: word category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin r:Japanese roman buffer code: #x54 file code: #x54 (encoded by coding system utf-8) display: no font available Character code properties: [][][][][][][][][][][][][][] name: LATIN CAPITAL LETTER T general-category: Lu (Letter, Uppercase) There are text properties here: [][][][][][][][][][][][][][][][][][][][][][][][] [][][][][][][][][][][]t --8<---------------cut here---------------end--------------->8--- Now, uncomment the line. The line becomes visible (non italic, default color). --8<---------------cut here---------------start------------->8--- character: T (84, #o124, #x54) preferred charset: [][][][][] (ASCII (ISO646 IRV)) code point: [][][][] syntax: w which means: word category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin r:Japanese roman buffer code: #x54 file code: #x54 (encoded by coding system utf-8) display: by this font (glyph code) x:-dejavu-dejavu sans mono-medium-r-normal--12-87-100-100-c-73-iso10646-1 (#x54) Character code properties: [][][][][][][][][][][][][][] name: LATIN CAPITAL LETTER T general-category: Lu (Letter, Uppercase) There are text properties here: [][][][][][][][][][][]t --8<---------------cut here---------------end--------------->8--- And finally, this is what it looks like in older emacsen before the bad commit: --8<---------------cut here---------------start------------->8--- character: T (84, #o124, #x54) preferred charset: ascii (ASCII (ISO646 IRV)) code point: 0x54 syntax: w which means: word category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin r:Japanese roman buffer code: #x54 file code: #x54 (encoded by coding system utf-8) display: by this font (glyph code) xft:-unknown-DejaVu Sans Mono-normal-oblique-normal-*-12-*-*-*-m-0-iso10646-1 (#x37) Character code properties: customize what to show name: LATIN CAPITAL LETTER T general-category: Lu (Letter, Uppercase) There are text properties here: face font-lock-comment-face fontified t --8<---------------cut here---------------end--------------->8--- Should I send it in to the bug tracking system? manoj -- All things being equal, you are bound to lose. Manoj Srivastava 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C