[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special Characters
From: |
Emanuel Berg |
Subject: |
Re: Special Characters |
Date: |
Tue, 11 Aug 2015 04:33:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Emanuel Berg <embe8573@student.uu.se> writes:
> Ian Baylis <ibay0918@gmail.com> writes:
>
>> I have a file that has special characters in it.
>> When I open the file in Emacs an ' is represented
>> like: \200\231 or just \231 What type of characters
>> are they and is there a list of those characters
>> I can use as reference for the future.
>
> Move point, then use `describe-char' - I have
>
> (defalias 'what-char 'describe-char)
>
> (OT: should that be sharp-quoted as well?)
>
> I think "what-char" is neat as it is faster to type
> and consistent with `what-face' etc.
(defun what-face (pos)
(interactive "d")
(let*((point (point))
(face (or (get-char-property point 'face)
(get-char-property point 'read-cf-name) )))
(if face (message " Face: %s" face)
(message " No face at %d." pos) )))
--
underground experts united
http://user.it.uu.se/~embe8573
Re: Special Characters, Ian Zimmerman, 2015/08/10
Re: Special Characters, Eli Zaretskii, 2015/08/10
Message not available
Re: Special Characters, Yuri Khan, 2015/08/11