From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68985 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: nobreak-space totally gone Date: Thu, 10 Sep 2009 09:43:32 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87iqfq97xn.fsf@lifelogs.com> References: <87vdjw72i7.fsf@jidanni.org> <87ocpo726a.fsf_-_@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252593859 16015 80.91.229.12 (10 Sep 2009 14:44:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Sep 2009 14:44:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17402@lists.math.uh.edu Thu Sep 10 16:44:12 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mlksc-0000An-0E for ding-account@gmane.org; Thu, 10 Sep 2009 16:44:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1MlksT-0001Xo-Gq; Thu, 10 Sep 2009 09:44:01 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1MlksR-0001XT-Kz for ding@lists.math.uh.edu; Thu, 10 Sep 2009 09:43:59 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MlksQ-0007ef-W6 for ding@lists.math.uh.edu; Thu, 10 Sep 2009 09:43:59 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Mlkt2-0000Kq-00 for ; Thu, 10 Sep 2009 16:44:36 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MlksP-00006a-4m for ding@gnus.org; Thu, 10 Sep 2009 16:43:57 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Sep 2009 16:43:57 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Sep 2009 16:43:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:wPewLhcFb2RwI6TQ9JadKrP/krU= X-Spam-Score: -0.8 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68985 Archived-At: On Thu, 10 Sep 2009 20:43:31 +0900 Katsumi Yamaoka wrote: >>>>>> Katsumi Yamaoka wrote: >> Here's a workaround: >> (add-hook 'gnus-article-mode-hook >> (lambda () >> ;; Gnus sets it to nil in the article buffer locally. >> (setq nobreak-char-display t))) KY> [...] >>> x:-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1 (#xA0) KY> [...] >> Maybe it's a font problem; i.e., the cause might be that Sony's >> old font doesn't have NBSP. (I use exactly the same font.) KY> Another solution: KY> (set-fontset-font "-Fontset-Name-" '(160 . 160) "-Font-Spec-") KY> It makes Emacs use the font "-Font-Spec-" for only NBSP in KY> the fontset "-Fontset-Name-". I use: KY> (set-fontset-font KY> (face-attribute 'default :fontset) KY> '(160 . 160) KY> "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-iso8859-2") KY> And Emacs actually uses the font: KY> "-etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-2" Maybe there's a way to say "if the current font doesn't show NBSP, turn nobreak-char-display on"? Ted