all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50983@debbugs.gnu.org, rudiwillalwaysloveyou@gmail.com
Subject: bug#50983: 28.0.50; [REGRESSION, BUG] Display bugs with uncommon characters
Date: Sun, 3 Oct 2021 13:54:33 +0100	[thread overview]
Message-ID: <YVmoCaxt+yf5D+uw@breton.holly.idiocy.org> (raw)
In-Reply-To: <83mtnq8gfn.fsf@gnu.org>

On Sun, Oct 03, 2021 at 03:02:20PM +0300, Eli Zaretskii wrote:
> Can you show the output of "C-x =" on all the characters, one by one,
> starting from "n" in "note" and ending with "t" in "taking" after it?
> Are they all incorrect, i.e. do not correspond to the place the cursor
> is on?  That is, does the corruption start around there or does it
> start much earlier (and if the latter, where does it start)?

n -> i
o -> t
t -> h
e -> SPC
- -> n
_ -> o
t -> t

So it's off-set by some 4 characters.

Looking at the raw file, there are 4 0xAD (SOFT HYPHEN) characters
before "note", and after each one the offset increases by one.

I do not see them displayed in the terminal.

> > I think I agree with your other email that it's down to the terminal
> > doing something strange with characters it doesn't understand.
> 
> If this is the case, the only way to fix the display is to use
> us-ascii as terminal encoding.  Or maybe set up the terminal for a
> "simpler" encoding, like latin-1, and then set up Emacs to that using
> set-terminal-coding-system.

Indeed, changing the "character encoding" setting in iTerm to ASCII
displays the soft-hyphens as a red "A" and everything seems to work
right.

The default is UTF-8 and it reports itself as "xterm-256color". I
suspect most terminal applications on macOS will default to UTF-8
since that's the default everywhere else, which might help explain why
this seems to be limited to macOS.
-- 
Alan Third





  reply	other threads:[~2021-10-03 12:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02 22:50 bug#50983: 28.0.50; [REGRESSION, BUG] Display bugs with uncommon characters Rudi C
2021-10-03  5:51 ` Eli Zaretskii
2021-10-03  6:47   ` Rudi C
2021-10-03  9:01     ` Eli Zaretskii
2021-10-03  9:11   ` Lars Ingebrigtsen
2021-10-03  9:54   ` Alan Third
2021-10-03 10:04     ` Eli Zaretskii
2021-10-03 10:24       ` Alan Third
2021-10-03 10:49         ` Eli Zaretskii
2021-10-03 11:26           ` Alan Third
2021-10-03 12:02             ` Eli Zaretskii
2021-10-03 12:54               ` Alan Third [this message]
2021-10-03 14:48                 ` Eli Zaretskii
2021-10-03 11:00         ` Rudi C
2021-10-03 11:11           ` Eli Zaretskii
2021-10-04  8:05             ` Rudi C
2021-10-04 12:40               ` Eli Zaretskii
2021-10-04 13:50                 ` Eli Zaretskii
2022-09-04 21:37                   ` Lars Ingebrigtsen
2021-10-03  9:08 ` Lars Ingebrigtsen
2021-10-03 10:48   ` Rudi C

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=YVmoCaxt+yf5D+uw@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=50983@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=rudiwillalwaysloveyou@gmail.com \
    /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.