[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26796: 26.0.50; (2 characters) is usually wrong
From: |
Eli Zaretskii |
Subject: |
bug#26796: 26.0.50; (2 characters) is usually wrong |
Date: |
Sat, 06 May 2017 13:32:33 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 06 May 2017 11:49:55 +0200
>
> To reproduce, open a file, type in "á" and save the file. Emacs will
> now say (if you're a utf-8 kind of person)
>
> Wrote ‘/tmp/a’ (2 characters)
>
> which is wrong, since there's just one character in the buffer.
I see "1 characters" here. I think the result depends on who you type
the above: if there are two characters, a followed by ́, then the file
really has 2 characters, and they are only shown as one on display.
Try "C-u C-x =" to see what you have in the buffer.
> Perhaps saying "(2 bytes)" will be more helpful?
I really doubt that: Emacs users tend to think in terms of characters
than in terms of bytes.
- bug#26796: 26.0.50; (2 characters) is usually wrong, Lars Ingebrigtsen, 2017/05/06
- bug#26796: 26.0.50; (2 characters) is usually wrong,
Eli Zaretskii <=
- bug#26796: 26.0.50; (2 characters) is usually wrong, npostavs, 2017/05/06
- bug#26796: 26.0.50; (2 characters) is usually wrong, Eli Zaretskii, 2017/05/06
- bug#26796: 26.0.50; (2 characters) is usually wrong, npostavs, 2017/05/06
- bug#26796: 26.0.50; (2 characters) is usually wrong, Mark Oteiza, 2017/05/08
- bug#26796: 26.0.50; (2 characters) is usually wrong, Eli Zaretskii, 2017/05/08
- bug#26796: 26.0.50; (2 characters) is usually wrong, Glenn Morris, 2017/05/08
- bug#26796: 26.0.50; (2 characters) is usually wrong, Eli Zaretskii, 2017/05/08