From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Gnus not escaping NBSP and soft-hyphen Date: Sat, 25 Jun 2005 07:22:28 +0900 Message-ID: References: <200506212138.47101.pogonyshev@gmx.net> <87oe9yh45k.fsf@jurta.org> <87psub7frg.fsf@jurta.org> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1119651902 4044 80.91.229.2 (24 Jun 2005 22:25:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2005 22:25:02 +0000 (UTC) Cc: pogonyshev@gmx.net, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 25 00:24:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DlwY0-0002Cw-Kb for ged-emacs-devel@m.gmane.org; Sat, 25 Jun 2005 00:21:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dlwf7-0005Jf-LM for ged-emacs-devel@m.gmane.org; Fri, 24 Jun 2005 18:28:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dlwd1-0004HR-AD for emacs-devel@gnu.org; Fri, 24 Jun 2005 18:26:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dlwcx-0004FP-3v for emacs-devel@gnu.org; Fri, 24 Jun 2005 18:26:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dlwcw-0004EZ-Lu for emacs-devel@gnu.org; Fri, 24 Jun 2005 18:26:22 -0400 Original-Received: from [64.233.184.199] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dlwcm-0000YH-NS for emacs-devel@gnu.org; Fri, 24 Jun 2005 18:26:12 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so163078wri for ; Fri, 24 Jun 2005 15:22:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UN6xHlJ+hfCX9wd8/OBYkhXu5xMV9K3XDtXcpEv4yPRJPPpqcfFPkoLnK04qLBJdLzr9yEoXYLS1OiKSAkzd9jM4cQ+KQ4IwBaEo5CTqAwhGVYC/kiFl07kIFjI6j4LTsLG2UanihKn5y/V/i8wVXj6HrIjtEewLesfwqbQ+tgU= Original-Received: by 10.54.59.22 with SMTP id h22mr40935wra; Fri, 24 Jun 2005 15:22:28 -0700 (PDT) Original-Received: by 10.54.19.31 with HTTP; Fri, 24 Jun 2005 15:22:28 -0700 (PDT) Original-To: Juri Linkov In-Reply-To: <87psub7frg.fsf@jurta.org> Content-Disposition: inline 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:39464 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39464 > >> This shows that show-trailing-whitespace is flexible enough to allow a= rbitrary > >> customization, but escape-glyph is not. There is a need for a buffer-= local > >> variable similar to show-trailing-whitespace to enable/disable highlig= hting > >> of control characters and nbsp with escape-glyph face on a per-buffer = basis. > > > > What's wrong with `show-nonbreak-space'? >=20 > I thought that two new face variables (e.g. `escape-glyph-face' and > `nobreak-space-face') would be useful to imitate buffer-local faces. > I guess users might want to use different faces for control characters > or nbsp in different buffers, or to set `escape-glyph-face' to the defaul= t > face to not highlight control characters in some buffers. A "face variable" isn't flexible enough, as it wouldn't allow the "preceeding escape character" variant. As for normal escape-characters, why are they important enough to warrant a separate variable controlling their appearance? Typical "pretty" text doesn't contain them at all (and if they occur, it's an error). -Miles --=20 Do not taunt Happy Fun Ball.