[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and
From: |
Dmitry Gutov |
Subject: |
Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point |
Date: |
Thu, 20 Mar 2014 04:56:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>>> (length (encode-coding-string STR buffer-file-coding-system))
Alas, this doesn't work. If I set the file's encoding to UTF-16, the
current code works (with Clang 3.4), whereas using the approach above,
doesn't.
So looks like Clang uses some other encoding than that the file is saved
to disk with.
Probably UTF-8 or similar, which isn't far from utf-8-emacs.
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Stefan, 2014/03/19
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Dmitry Gutov, 2014/03/19
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Eli Zaretskii, 2014/03/19
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Dmitry Gutov, 2014/03/19
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Eli Zaretskii, 2014/03/19
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Dmitry Gutov, 2014/03/19
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point,
Dmitry Gutov <=
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Eli Zaretskii, 2014/03/19
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Dmitry Gutov, 2014/03/20
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Eli Zaretskii, 2014/03/20
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Richard Stallman, 2014/03/20
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Dmitry Gutov, 2014/03/20
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Richard Stallman, 2014/03/21
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Dmitry Gutov, 2014/03/20
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Eli Zaretskii, 2014/03/21
- Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Eli Zaretskii, 2014/03/19
Re: [elpa] 02/04: company-clang: handle multibyte chars between bol and point, Eli Zaretskii, 2014/03/19