[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extended ascii characters in emacs lisp
From: |
Gregory Benjamin |
Subject: |
Re: Extended ascii characters in emacs lisp |
Date: |
Fri, 20 Apr 2012 16:06:45 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Apr 20, 2012 at 10:37:02PM +0100, Richard H Lee wrote:
> Hi (again),
>
> I'm using fill-column-indicator.el to set a column margin at column
> 80 in emacs. Currently it uses the pipe "|" symbol as the margin
> character.
>
> I would like to change it one of the extended ascii characters, e.g.
> the solid block / long vertical pipe. I can set it to standard ascii
> characters using:
>
> (setq fci-rule-character ?\101)
>
> e.g. this will set the character to "A". But if I go over 127 into
> extended-ascii, I get:
>
> Invalid read syntax: ?
>
> What is the emacs lisp syntax for extended ascii characters?
Instead of extended ascii, I just tried unicode, for example:
(ucs-insert "2503")┃
See Unicode standard 6.1 Box Drawing for other choices.
Best,
Greg