unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <snogglethorpe@gmail.com>
Cc: pogonyshev@gmx.net, emacs-devel@gnu.org,
	monnier@iro.umontreal.ca, miles@gnu.org
Subject: Re: Gnus not escaping NBSP and soft-hyphen
Date: Sat, 25 Jun 2005 07:22:28 +0900	[thread overview]
Message-ID: <fc339e4a05062415222d769bf0@mail.gmail.com> (raw)
In-Reply-To: <87psub7frg.fsf@jurta.org>

> >> This shows that show-trailing-whitespace is flexible enough to allow arbitrary
> >> customization, but escape-glyph is not.  There is a need for a buffer-local
> >> variable similar to show-trailing-whitespace to enable/disable highlighting
> >> of control characters and nbsp with escape-glyph face on a per-buffer basis.
> >
> > What's wrong with `show-nonbreak-space'?
> 
> 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 default
> 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
-- 
Do not taunt Happy Fun Ball.

      reply	other threads:[~2005-06-24 22:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-21 16:58 Gnus not escaping NBSP and soft-hyphen Gaëtan LEURENT
2005-06-21 18:38 ` Paul Pogonyshev
2005-06-21 19:21   ` Gaëtan LEURENT
2005-06-21 21:30     ` Stefan Monnier
2005-06-21 22:41       ` Gaëtan LEURENT
2005-06-22  0:14         ` Miles Bader
2005-06-22 13:32         ` Juri Linkov
2005-06-23  0:43           ` Miles Bader
2005-06-23 17:37             ` Kevin Rodgers
2005-06-24 16:37               ` Richard M. Stallman
2005-06-24 17:17                 ` Kevin Rodgers
2005-06-24 19:07                 ` Juri Linkov
2005-06-25 13:34                   ` Richard M. Stallman
2005-06-24 19:07             ` Juri Linkov
2005-06-24 22:22               ` Miles Bader [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc339e4a05062415222d769bf0@mail.gmail.com \
    --to=snogglethorpe@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=pogonyshev@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).