all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org, Kenichi Handa <handa@gnu.org>
Cc: schwab@suse.de, 19347@debbugs.gnu.org
Subject: bug#19347: 24.4.50; Display of bengali text
Date: Mon, 29 Dec 2014 21:00:59 +0200	[thread overview]
Message-ID: <838uhqcmc4.fsf@gnu.org> (raw)
In-Reply-To: <E1Y50Gs-0003le-C2@fencepost.gnu.org>

Added Handa-san, as this seems to be some subtle issue with composed
characters.

The beginning of this thread is here:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19347

The files Richard sent are here:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19347#101

> Date: Sat, 27 Dec 2014 17:55:42 -0500
> From: Richard Stallman <rms@gnu.org>
> CC: schwab@suse.de, 19347@debbugs.gnu.org
> 
> enabled.out is output with Auto-Composition mode enabled.
> disabled.out is output with Auto-Composition mode disabled.  They
> don't correspond to the same commands, but they both display the same
> buffer.  With Auto-Composition mode enabled, the screen was messed up.
> With Auto-Composition mode disabled, display was correct.

The difference is the character whose codepoint is 0x09C1.  This
character's general category is "non-spacing mark".  When
Auto-Composition mode is disabled, we compute the width of this
character as zero, and don't add it to the glyph row, so it doesn't
get written to the terminal.  When Auto-Composition mode is enabled,
we compose this character with the preceding one, and send them both
to the terminal.

More importantly, it looks like, when a TTY frame displays on a
terminal in a UTF-8 locale, we send composed characters to the
terminal, and I'm not sure text-mode terminals and/or our TTY display
code are ready for that.  For example, moving the cursor seems to send
only part of the composition sequence to the screen, which produces
garbled display.

Should we disable (or bypass) Auto-Composition mode on TTY frames?





  reply	other threads:[~2014-12-29 19:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11 12:56 bug#19347: 24.4.50; Display of bengali text Richard Stallman
2014-12-11 13:29 ` Andreas Schwab
2014-12-11 16:27   ` Eli Zaretskii
2014-12-12 16:41     ` Richard Stallman
2014-12-12 19:08       ` Eli Zaretskii
2014-12-13 12:46         ` Richard Stallman
2014-12-15  9:12 ` Andreas Schwab
2014-12-16  5:20   ` Richard Stallman
2014-12-16  8:35     ` Andreas Schwab
2014-12-16 14:10       ` Stefan Monnier
2014-12-17 15:44         ` Richard Stallman
2014-12-17 21:40           ` Stefan Monnier
2014-12-18  3:42             ` Eli Zaretskii
2014-12-18 14:27               ` Stefan Monnier
2014-12-18 15:57                 ` Wolfgang Jenkner
2014-12-19  7:18             ` Richard Stallman
2014-12-19 11:21               ` Andreas Schwab
2014-12-20  7:55                 ` Richard Stallman
2015-01-12  9:52                   ` Andreas Schwab
2014-12-17  3:31       ` Richard Stallman
2014-12-17  8:26         ` Andreas Schwab
2014-12-17 15:45           ` Richard Stallman
2014-12-17 16:04             ` Andreas Schwab
2014-12-16 15:35     ` Eli Zaretskii
2014-12-17 15:44       ` Richard Stallman
2014-12-17 16:03         ` Andreas Schwab
2014-12-18 11:24           ` Richard Stallman
2014-12-17 19:28         ` Eli Zaretskii
2014-12-17 20:02           ` Andreas Schwab
2014-12-18  3:43             ` Eli Zaretskii
2014-12-18 11:25           ` Richard Stallman
2014-12-18 16:19             ` Eli Zaretskii
2014-12-27 10:57             ` Eli Zaretskii
2014-12-27 22:55               ` Richard Stallman
2014-12-29 19:00                 ` Eli Zaretskii [this message]
2022-04-28 11:37                   ` Lars Ingebrigtsen

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=838uhqcmc4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19347@debbugs.gnu.org \
    --cc=handa@gnu.org \
    --cc=rms@gnu.org \
    --cc=schwab@suse.de \
    /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.