[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: face for non-ASCII characters (was: Translation of http status code
From: |
Lennart Borgman |
Subject: |
Re: face for non-ASCII characters (was: Translation of http status code to text) |
Date: |
Tue, 23 Mar 2010 17:28:01 +0100 |
2010/3/23 Ted Zlatanov <address@hidden>:
> On Tue, 23 Mar 2010 14:08:42 +0100 Lennart Borgman <address@hidden> wrote:
>
> ...
> LB> (defface markchars-face
> LB> '((t (:underline "light blue")))
> LB> "Face for `markchars-mode' char marking."
> LB> :group 'markchars)
>
> LB> (defconst markchars-keywords
> LB> `(
> LB> ("[[:nonascii:]]"
> LB> (0 (put-text-property (match-beginning 0) (match-end 0)
> LB> 'face 'markchars-face)))
> LB> ))
>
> This is what I was thinking of, and the effect should be subtle. The
> light blue underline is pretty good; it would be nice if it could be a
> choice between a few similarly well-chosen defaults (I'm hardly the one
> to provide them, though).
>
> I would make this an Emacs first-class option rather than an optional
> library. I think it's really useful.
Ok, since you found it useful I tried to finish it. See the attachment.
markchars.el
Description: Text document
- Re: Translation of http status code to text, (continued)
- Re: Translation of http status code to text, Stefan Monnier, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Sven Joachim, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Sven Joachim, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Juri Linkov, 2010/03/23
- Re: Translation of http status code to text, Lennart Borgman, 2010/03/23
- face for non-ASCII characters (was: Translation of http status code to text), Ted Zlatanov, 2010/03/23
- Re: face for non-ASCII characters (was: Translation of http status code to text),
Lennart Borgman <=
- Re: face for non-ASCII characters, Ted Zlatanov, 2010/03/23
- Re: face for non-ASCII characters, Florian Beck, 2010/03/23
- Re: Translation of http status code to text, Miles Bader, 2010/03/23
- highlighting non-ASCII characters (was: Translation of http status code to text), Ted Zlatanov, 2010/03/23
- RE: highlighting non-ASCII characters (was: Translation of http statuscode to text), Drew Adams, 2010/03/23
- Re: highlighting non-ASCII characters, Stefan Monnier, 2010/03/23
- RE: highlighting non-ASCII characters, Drew Adams, 2010/03/23
- Re: highlighting non-ASCII characters, Stefan Monnier, 2010/03/23
- Re: highlighting non-ASCII characters, Ted Zlatanov, 2010/03/23
- Re: highlighting non-ASCII characters, Stefan Monnier, 2010/03/23