From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 26796@debbugs.gnu.org
Subject: bug#26796: 26.0.50; (2 characters) is usually wrong
Date: Sat, 06 May 2017 13:32:33 +0300 [thread overview]
Message-ID: <837f1uff7i.fsf@gnu.org> (raw)
In-Reply-To: <m3zieqz54s.fsf@stories> (message from Lars Ingebrigtsen on Sat, 06 May 2017 11:49:55 +0200)
> 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.
next prev parent reply other threads:[~2017-05-06 10:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-06 9:49 bug#26796: 26.0.50; (2 characters) is usually wrong Lars Ingebrigtsen
2017-05-06 10:32 ` Eli Zaretskii [this message]
2017-05-06 10:38 ` Lars Ingebrigtsen
2017-05-06 10:45 ` Lars Ingebrigtsen
2017-05-06 11:06 ` Eli Zaretskii
2017-05-06 12:16 ` npostavs
2017-05-06 14:19 ` Eli Zaretskii
2017-05-06 17:21 ` npostavs
2017-05-08 5:02 ` Mark Oteiza
2017-05-08 14:33 ` Eli Zaretskii
2017-05-08 15:59 ` Glenn Morris
2017-05-08 16:07 ` Eli Zaretskii
2017-05-09 0:41 ` Mark Oteiza
2017-05-09 4:39 ` npostavs
2017-05-07 1:11 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837f1uff7i.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=26796@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.