Wednesday, March 3, 2010

Re: math, utf-8, and windows

On 03/03/10 17:17, Charles Campbell wrote:
> Hello,
>
> I've written a math keymap and menu plugin
[...]

P.S. after installing the vimball and starting to read the helpfile:

1):help mathmenu.txt gives an error, E21 (Cannot make changes,
'modifiable' is off), because its modeline contains :fenc=utf-8: which
would (temporarily) set 'modified'. The display is correct but I have
enc=utf-8 fencs=ucs-bom,utf-8,latin1 so the file would be treated as
UTF-8 even without the modeline. (Note that this modeline changes
'fileencoding' _after_ the file has been read, which is too late if it
has been read wrong by virtue of 'encoding' and/or 'fileencodings'.)

2) On the two lines containing the "grouping symbols" B< and B> (lines
158 and 159 of the helpfile), the second column is displayed erratically
in konsole (with Andale Mono 8) but not in gvim (with Bitstream Ver(a
Sans Mono 8): moving the cursor vertically over these lines shifts their
second parts left or right by one character cell depending on the cursor
column. According to http://www.unicode.org/charts/PDF/U2300.pdf the
codepoints U+2329 and U+232A are "deprecated for mathematical use" (in
favour of U+27E8 and U+27E9 IIUC) "because of their canonical
equivalence to CJK punctuation". (Indeed, in gvim 7.2.385 with
GTK2/Gnome2 GUI, these two symbols are shown as "wide CJK" glyphs: when
the cursor is on them its width doubles.)


Best regards,
Tony.
--
College is like a woman -- you work so hard to get in, and nine months
later you wish you'd never come.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: