From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ehud Karni" Newsgroups: gmane.emacs.devel Subject: Re: Auto-fill-mode bug: unbreakable space lost Date: Fri, 25 Mar 2005 19:23:26 +0200 Organization: Mivtach-Simon Insurance agencies Message-ID: <200503251723.j2PHNQln009118@beta.mvs.co.il> References: <87sm2kpw6z.fsf@jurta.org> Reply-To: ehud@unix.mvs.co.il NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8-i Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111771454 26944 80.91.229.2 (25 Mar 2005 17:24:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2005 17:24:14 +0000 (UTC) Cc: monnier@iro.umontreal.ca, gaetan.leurent@ens.fr, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 25 18:24:13 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DEsX8-0003bo-CO for ged-emacs-devel@m.gmane.org; Fri, 25 Mar 2005 18:23:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEsme-0001cP-RE for ged-emacs-devel@m.gmane.org; Fri, 25 Mar 2005 12:39:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DEsmU-0001cF-FQ for emacs-devel@gnu.org; Fri, 25 Mar 2005 12:39:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DEsmQ-0001bQ-J7 for emacs-devel@gnu.org; Fri, 25 Mar 2005 12:39:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEsmQ-0001bN-Gi for emacs-devel@gnu.org; Fri, 25 Mar 2005 12:39:30 -0500 Original-Received: from [193.16.147.12] (helo=unix.mvs.co.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DEsX6-0005cB-Th for emacs-devel@gnu.org; Fri, 25 Mar 2005 12:23:41 -0500 Original-Received: from beta.mvs.co.il (beta [10.253.0.3]) by unix.mvs.co.il (8.13.0/8.13.0) with ESMTP id j2PHNS6C005571 for ; Fri, 25 Mar 2005 19:23:28 +0200 Original-Received: from beta.mvs.co.il (localhost [127.0.0.1]) by beta.mvs.co.il (8.12.10/8.12.10) with ESMTP id j2PHNRrU009122 for ; Fri, 25 Mar 2005 19:23:27 +0200 Original-Received: (from root@localhost) by beta.mvs.co.il (8.12.10/8.12.10/Submit) id j2PHNQln009118; Fri, 25 Mar 2005 19:23:26 +0200 Original-To: juri@jurta.org In-reply-to: <87sm2kpw6z.fsf@jurta.org> (message from Juri Linkov on Thu, 24 Mar 2005 23:33:48 +0200) X-Mailer: Emacs 21.3.1 rmail (send-msg 1.108) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:35155 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35155 On Thu, 24 Mar 2005 23:33:48 +0200, Juri Linkov wrote: > > BTW, now Emacs highlights non-breaking space and soft hyphen only for > two charsets. Perhaps support for all other charsets should be added > to xdisp.c? I.e. to test for the following characters: > > iso8859-2: 0x920 0x92d > iso8859-3: 0x9a0 0x9ad > iso8859-4: 0xa20 0xa2d > iso8859-5: 0xe20 0xe2d > iso8859-6: 0xba0 0xbad > iso8859-7: 0xb20 0xb2d > iso8859-8: 0xc20 0xc2d > iso8859-9: 0xea0 0xead > iso8859-14: 0xfa0 0xfad > iso8859-15: 0xf20 0xf2d I second that. May be we should define the shift space (S-SPC) key to produce the non-breaking space in the current charset (I did it for Hebrew - iso8859-8). The definition for non-breaking hyphen (minus) can not be done this way, because shift hyphen produce underscore (_) (at least in US/Hebrew keyboard). Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D Better Safe Than Sorry