From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: blank-mode.el Date: Wed, 14 Nov 2007 01:54:16 +0200 Organization: JURTA Message-ID: <8764054sef.fsf@jurta.org> References: <4736653E.7080504@ig.com.br> <47371847.9020507@gnu.org> <473772D7.2010509@ig.com.br> <878x545u92.fsf@jurta.org> <473798D6.6090004@ig.com.br> <4737A1B9.4030405@ig.com.br> <4738CADD.8070709@ig.com.br> <473994E5.9070308@ig.com.br> <4739D3C8.5020005@ig.com.br> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194998432 29796 80.91.229.12 (14 Nov 2007 00:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2007 00:00:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Vinicius Jose Latorre Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 14 01:00:36 2007 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 1Is5gJ-00010j-M2 for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2007 01:00:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is5g7-0004vV-EH for ged-emacs-devel@m.gmane.org; Tue, 13 Nov 2007 19:00:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Is5fX-0004jA-Dm for emacs-devel@gnu.org; Tue, 13 Nov 2007 18:59:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Is5fU-0004iA-LJ for emacs-devel@gnu.org; Tue, 13 Nov 2007 18:59:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is5fU-0004i7-I5 for emacs-devel@gnu.org; Tue, 13 Nov 2007 18:59:44 -0500 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Is5fT-00005Q-Mx for emacs-devel@gnu.org; Tue, 13 Nov 2007 18:59:44 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1Is5fR-0001E0-6W; Wed, 14 Nov 2007 01:59:41 +0200 In-Reply-To: <4739D3C8.5020005@ig.com.br> (Vinicius Jose Latorre's message of "Tue, 13 Nov 2007 13:41:44 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-Scanner-Signature: e35cef5ed21d82303c208435479e4a86 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1775 [Nov 14 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 19 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) 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:83147 Archived-At: > Here is a blank-mode version which it does not embed > face id for characters code above #x0FFFF. > > Also the default end of line display char is ?\u21B5. I think it is bad not to use face id for characters code above #x0FFFF, because when they are displayed with the same faces as surrounding text, they look as part of the buffer's text, and so this package defeats its own purpose to visualize blanks clearly with a special background color. And still this change doesn't help to avoid rectangle boxes that are displayed for ?\u21B5 with small fonts. There is a function `char-displayable-p' that could help, but it returns non-nil even when ?\u21B5 is displayed as an empty rectangle box, e.g.: (char-displayable-p ?\u21B5) returns when ?\u21B5 is displayed as an empty rectangle box: "-Misc-Fixed-Medium-R-SemiCondensed--12-110-75-75-C-60-ISO10646-1" returns when ?\u21B5 is displayed normally as an arrow: "-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1" -- Juri Linkov http://www.jurta.org/emacs/