all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9496@debbugs.gnu.org
Subject: bug#9496: 24.0.50; Segfault on TAB-only composition
Date: Sun, 05 Feb 2012 08:39:45 -0800	[thread overview]
Message-ID: <4F2EB0D1.5040704@cs.ucla.edu> (raw)
In-Reply-To: <83haz5ck4x.fsf@gnu.org>

On 02/05/2012 08:36 AM, Eli Zaretskii wrote:

>> If char-width returns a value that's arbitrarily ceilinged
>> at 1000, but actual characters can be wider than 1000 columns,
>> code that uses char-width to count columns will be buggy.
> 
> How can an actual character (not its display-table replacement) be
> wider than that?

By "actual character" I meant to include how the character is
displayed, since char-width measures display width.  So that
includes the display-table replacement if any.

>> We could address this by changing the code that renders characters,
>> so that the code limits them to at most 1000 columns on the display.
> 
> That was my intent, yes.

OK, that sounds reasonable.





      reply	other threads:[~2012-02-05 16:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 20:22 bug#9496: 24.0.50; Segfault on TAB-only composition Johan Bockgård
2011-09-14  5:33 ` Eli Zaretskii
2011-09-14 12:57   ` Kenichi Handa
2011-09-14 13:07     ` Eli Zaretskii
2011-09-15  0:28       ` Kenichi Handa
2011-09-15  0:47         ` Stefan Monnier
2011-09-15  4:10           ` Kenichi Handa
2011-11-11  7:15 ` Kenichi Handa
2012-02-03 19:28 ` Paul Eggert
2012-02-03 21:22   ` Eli Zaretskii
2012-02-03 22:07     ` Paul Eggert
2012-02-04  6:58       ` Eli Zaretskii
2012-02-04  7:18         ` Paul Eggert
2012-02-04  8:14           ` Eli Zaretskii
2012-02-04 23:43             ` Paul Eggert
2012-02-05 16:36               ` Eli Zaretskii
2012-02-05 16:39                 ` Paul Eggert [this message]

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=4F2EB0D1.5040704@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=9496@debbugs.gnu.org \
    --cc=eliz@gnu.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.