|
From: | Dmitry Gutov |
Subject: | Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point |
Date: | Wed, 19 Mar 2014 23:15:43 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 19.03.2014 20:33, Eli Zaretskii wrote:
If clang can endure inaccurate counts (I don't know if it can)
Only in the sense that it won't blow up, just return inaccurate results.
But if you could point out an easy way to obtain that byte count more correctly, that would be quite welcome.I did, see below.
Thank you. (Without being Cc'd, I haven't read your other email until after my previous reply).
So, um, do I use something like (length (encode-coding-string STR buffer-file-coding-system)) ?Yes, I think so.
Thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |