bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40702: 28.0.50; (what-cursor-position) barfs on non-ASCII char


From: Dima Kogan
Subject: bug#40702: 28.0.50; (what-cursor-position) barfs on non-ASCII char
Date: Sat, 18 Apr 2020 15:22:13 -0700
User-agent: mu4e 1.2.0; emacs 28.0.50

Štěpán Němec <stepnem@gmail.com> writes:

> I can't reproduce this on current master

Thanks for checking. It's very consistent on my end. I poked at it a
little bit just now.

I see that buffer-file-coding-system is nil

It ends up evaluating

  (encoded-string-description "é" nil)

which looks at the value of

  (multibyte-string-p "é")

[ The string above is supposed to be a single unicode character; my
  email maybe will mangle it; I don't know ]

On my install this evaluates to t, which is causing the error. Which of
these shouldn't be happening? For the record, it used to work for me.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]