[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modify-syntax-entry and UTF8?
From: |
James Cloos |
Subject: |
Re: modify-syntax-entry and UTF8? |
Date: |
Mon, 21 May 2007 19:06:24 -0400 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
>>>>> "Geoffrey" == Geoffrey Alan Washburn <address@hidden> writes:
Geoffrey> Specifically I would like to do something like the following
Geoffrey> (modify-syntax-entry ?〈 "(〉")
Geoffrey> (modify-syntax-entry ?〉 ")〈")
Geoffrey> Which is happily accepted but does not correctly interpret
Geoffrey> matching pairs of angle brackets in a buffer.
Those angle brackets you have there are U+2329 LEFT-POINTING ANGLE
BRACKET and U+232A RIGHT-POINTING ANGLE which are CJK or wide
characters. I suspect you may have wanted the similar, narrow
characters ‹ and › which are U+2039 SINGLE LEFT-POINTING ANGLE QUOTATION
MARK and U+203A SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
Try these two lines instead:
(modify-syntax-entry ?‹ "(›")
(modify-syntax-entry ?› ")‹")
They may do what you want.
-JimC
--
James Cloos <address@hidden> OpenPGP: 1024D/ED7DAEA6
- modify-syntax-entry and UTF8?, Geoffrey Alan Washburn, 2007/05/21
- Re: modify-syntax-entry and UTF8?,
James Cloos <=
- Re: modify-syntax-entry and UTF8?, Geoffrey Alan Washburn, 2007/05/22
- Re: modify-syntax-entry and UTF8?, James Cloos, 2007/05/22
- Re: modify-syntax-entry and UTF8?, Geoffrey Alan Washburn, 2007/05/23
- Re: modify-syntax-entry and UTF8?, Stefan Monnier, 2007/05/23
- Re: modify-syntax-entry and UTF8?, Geoffrey Alan Washburn, 2007/05/25
- Re: modify-syntax-entry and UTF8?, Miles Bader, 2007/05/25
- Re: modify-syntax-entry and UTF8?, Geoffrey Alan Washburn, 2007/05/25
- Re: modify-syntax-entry and UTF8?, Geoffrey Alan Washburn, 2007/05/25
- Re: modify-syntax-entry and UTF8?, Miles Bader, 2007/05/25
- Re: modify-syntax-entry and UTF8?, Geoffrey Alan Washburn, 2007/05/25