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 23:58:55 -0500 Organization: Manoj Srivastava's Home Message-ID: <87zlllyn00.fsf@anzu.internal.golden-gryphon.com> References: <87wsgq1bcd.fsf@anzu.internal.golden-gryphon.com> <48E6223D.4000605@gmx.at> <87ljx51yiv.fsf@anzu.internal.golden-gryphon.com> <48E64E88.4040305@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223096396 8864 80.91.229.12 (4 Oct 2008 04:59:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2008 04:59:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 04 07:00:31 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 1KlzFm-0000Tg-4N for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2008 07:00:30 +0200 Original-Received: from localhost ([127.0.0.1]:45153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlzEh-0004Ut-0Y for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2008 00:59:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlzEc-0004Uo-0m for emacs-devel@gnu.org; Sat, 04 Oct 2008 00:59:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlzEa-0004Uc-AM for emacs-devel@gnu.org; Sat, 04 Oct 2008 00:59:17 -0400 Original-Received: from [199.232.76.173] (port=38187 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlzEa-0004UZ-6O for emacs-devel@gnu.org; Sat, 04 Oct 2008 00:59:16 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:40847 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 1KlzEZ-0005vF-DA for emacs-devel@gnu.org; Sat, 04 Oct 2008 00:59:15 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KlzEU-0006Op-JG for emacs-devel@gnu.org; Sat, 04 Oct 2008 04:59:10 +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 ; Sat, 04 Oct 2008 04:59:10 +0000 Original-Received: from srivasta by tiamat.golden-gryphon.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2008 04:59:10 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 69 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tiamat.golden-gryphon.com User-Agent: Microsoft Gnus Express, Build 5.13 (5.13) 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:WybflUbBddOs5DLaJjMOLxKuTJI= 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:104339 Archived-At: On Fri, Oct 03 2008, Kenichi Handa wrote: > In article <48E64E88.4040305@gmx.at>, martin rudalics writes: > >> (font_matching_entity): Reflect ATTRS in font selection. >> (font_find_for_lface) [HAVE_NS]: Don't ignore case. > >> There's something strange with that change. The lines > >> ASET (spec, FONT_TYPE_INDEX, ftype); >> ASET (spec, FONT_SIZE_INDEX, size); > >> before line 2802 > >> font_add_log ("match", work, entity); > >> disappeared. I don't have the slightest idea whether that's of >> any importance. Moreover, "spec" should probably become "work" >> here. Handa-san? > > That disappearance is because of Adrian's change just a few > font_matching_entity now uses "work" and don't modify > "spec", the above two lines are not necessary. > > And, the code I checked in had a problem of not setting font > size of "work", but that is already fixed by Adrian too. > > By the way, Adrian, please add ChangeLog entry for them: > (Just saying "Fix previous change" is ok). > > So, I don't know what is wrong with the current code, and I > can't reproduce your problem even with this setting of > yours: > *FontBackend: xft,x > Emacs.FontBackend: xft,x > emacs.font: DejaVu Sans Mono-9 I have those settings in my X resources file for emacs wrt fonts. I start emacs on Debian with % emacs -Q I have /usr/local/share/emacs/site-lisp/emacs-snapshot/emacs-goodies-el/color-theme.elc The key strokes to see the issue are: --8<---------------cut here---------------start------------->8--- C-x b x l o a d - l i b r a r y c o l o r - t h e m e x c o l o r - t h e m e - d e e p - b l u e x v i e w - l o s s a g e --8<---------------cut here---------------end--------------->8--- The first C-x b puts me in the *scratch* buffer. Everything in the buffer is readable at that point. I load the color-theme package, and load the deep blue color theme, and now every character in the buffer is replaced by an square box. This happens every single time here. I can provide the color-theme.elc file (also found in the Debian package emacs-goodies) to help in debugging. I tried attaching the color-theme.el file, but the mail bounced (I suspect due to size)/ Please send me mail off-list if you want me to send you a copy of color-theme.el. manoj -- Death tugs at my ear and says: "Live, I am coming." Oliver Wendell Holmes, Sr. Manoj Srivastava 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C