GNU bug report logs -
#26796
26.0.50; (2 characters) is usually wrong
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Sat, 6 May 2017 09:51:01 UTC
Severity: normal
Found in version 26.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 06 May 2017 12:38:14 +0200
with message-id <m3shkiz2w9.fsf <at> stories>
and subject line Re: bug#26796: 26.0.50; (2 characters) is usually wrong
has caused the debbugs.gnu.org bug report #26796,
regarding 26.0.50; (2 characters) is usually wrong
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
26796: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26796
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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. Perhaps
saying "(2 bytes)" will be more helpful?
(I'd rather Emacs default to not saying anything about the length of the
file saved at all by default, since it's just noise to me (and I'll
assume to most people).)
In GNU Emacs 26.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
of 2017-04-24 built on stories
Repository revision: a1f93c1dfa53dbe007faa09ab0c6e913e86e3ffe
Windowing system distributor 'The X.Org Foundation', version 11.0.11604000
System Description: Debian GNU/Linux 8.7 (jessie)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Message part 3 (message/rfc822, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
> 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.
No, it was an á, but the problem was instead that I apparently had
fumbled and added a newline before saving? Hm. Sorry for the noise;
closing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 8 years and 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.