On 12/12/13 20:26, Bram Moolenaar wrote:
Daily Lama wrote:
As per helpfile, = is meant to be cyrillic, while '=e' is euro.
= _after_ a letter means Cyrillic. It is only when no digraph is defined
for what the user has typed (after Ctrl-K, or, with 'digraph' set [which
I don't recommend] with <BS> between them) that Vim tries to find a
digraph in the opposite order. For instance the digraph for Cyrillic beh
is b= but, since (or as long as) there is no digraph defined for =b, it
will give the same letter. OTOH =e is the Euro sign and e= is Cyrillic
yeh, so neither of these digraphs can be used in place of the other.
Surprisingly, '=y' is not yen, but 'Ye' is.
Strangenesses of RFC1345, I suppose. Vim digraphs are those of RFC1345
(and its amendments if any), plus some "legacy" digraphs that were in
use in Vim versions prior to the adoption of RFC1345 digraphs. And of
course any digraph defined by the user will override any conflicting
previously-defined digraph, in a "latest wins" manner. Digraphs might be
seen as akin to a special kind of mapping, so having more than one for a
single {rhs} is no problem as long as no two exist with a single {lhs}.
Yesterday Rouble sign was introduced:
http://www.reuters.com/article/2013/12/11/us-russia-rouble-symbol-idUSBRE9BA0JX20131211
So it is probably the right moment now to lay out currencies correctly
in digraphs.
The article doesn't mention digraphs. I suppose we could use =R or =P.
=R makes most sense for the word Rouble, but for Russians =P is probably
more obvious. I suppose =P also makes more sense considering the symbol
looks like a P with an =.
The article doesn't mention the Unicode value, thus we can't add it yet.
Any Unicode codepoint value (other than private-use, of course, which
would only be a temporary stopgap measure anyway) would have to go
through approval, then publication, by the Unicode Consortium, so I
guess it may take quite some time — and that counts double for getting a
font with the glyph. Let us just keep watch for it, so we'll be able to
add the digraph as soon as a codepoint will be officially assigned.
I checked http://www.unicode.org/charts/charindex.html for a "combining
equal sign overlay" but AFAICT there isn't: I can only see a "combining
equal sign below" so no way to temporarily use <Cyrillic uppercase reh>
<combining equals> the way we already use any Cyrillic vowel followed by
U+0301 COMBINING ACUTE ACCENT when it is desired to explicitly show the
stress in Russian (e.g. bolshóy "big" only differs by the stress from
bólshiy "bigger" except in the masculine nominative singular, and I can
quite imagine circumstances where the difference would matter — in fact
I actually met one in a chess book published in what was then the Soviet
Union).
Best regards,
Tony.
--
A group of politicians deciding to dump a President because his morals
are bad is like the Mafia getting together to bump off the Godfather for
not going to church on Sunday.
-- Russell Baker
--
--
You received this message from the "vim_dev" 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
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.