unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: James Cloos <cloos@jhcloos.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: utf8 char display in buffer
Date: Tue, 16 Jun 2009 10:10:59 +0900	[thread overview]
Message-ID: <buofxe1dluk.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <m3eitlaul9.fsf@lugabout.jhcloos.org> (James Cloos's message of "Mon, 15 Jun 2009 20:30:02 -0400")

James Cloos <cloos@jhcloos.com> writes:
> Displaying the UCS Code Point for characters which lack font support is
> the norm in GTK.  This is done by drawing a box around four or six digit
> glyphs which are rendered in a smaller point size.  I'd expect that this
> is easier to read when using a proportional face.
>
> Apple went in a slightly different direction and commissioned a fallback
> font from Michael Everson which has one glyph per Unicode script and uses
> that for each character associated with said script.
>
> Emacs could easily do either (w/o the need for a font in the latter case).

The GTK method does screw up one good thing about emacs' method -- the
boxes it displays are generally the correct width (single- or double-
width [CJK etc]), so text alignment is preserved.

The apple method might be able to preserve the width, and seems better
for the user anyway -- I think the most useful info is "what kind of
font should I install to fix this" and/or "do I really care enough to
fix this", so identifying the script is probably more important than
identifying the precise codepoint.

Drew's suggestion of a tooltip seems like it might be easier to
implement, and more functional than either in practice though --
it could display a lot more information without screwing up alignment,
basically a slightly more convenient/obvious version of C-x =

-Miles

-- 
Egotist, n. A person of low taste, more interested in himself than in me.




  reply	other threads:[~2009-06-16  1:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.227.1244485995.2239.help-gnu-emacs@gnu.org>
     [not found] ` <878wjzugdo.fsf@iki.fi>
2009-06-11 12:55   ` utf8 char display in buffer Lennart Borgman
2009-06-11 13:04     ` Andreas Schwab
2009-06-11 13:07       ` Lennart Borgman
2009-06-11 13:08         ` Lennart Borgman
2009-06-11 13:24           ` Tassilo Horn
     [not found] ` <mailman.297.1244559110.2239.help-gnu-emacs@gnu.org>
     [not found]   ` <7I2dndeTy7sqkLLXnZ2dnUVZ_gmdnZ2d@sysmatrix.net>
     [not found]     ` <pc7hbyofaoq.fsf@panix2.panix.com>
     [not found]       ` <aJKdnVvH4ebY5a3XnZ2dnUVZ_vOdnZ2d@sysmatrix.net>
     [not found]         ` <mailman.522.1244818530.2239.help-gnu-emacs@gnu.org>
     [not found]           ` <pc7fxe5mpfh.fsf@panix2.panix.com>
     [not found]             ` <JOqdncHRqaVlG6_XnZ2dnUVZ_u6dnZ2d@sysmatrix.net>
     [not found]               ` <db6d8fe0-4cd5-4499-a8a8-466203889a83@y34g2000prb.googlegroups.com>
     [not found]                 ` <4A32D54D.1040405@mousecar.com>
2009-06-12 22:27                   ` Lennart Borgman
2009-06-12 23:38                     ` ken
2009-06-13  4:11                       ` Eli Zaretskii
2009-06-13 12:30                         ` ken
2009-06-13 13:23                           ` Eli Zaretskii
2009-06-14 20:59                       ` Stefan Monnier
2009-06-13  1:36                     ` Miles Bader
2009-06-13  1:43                       ` Lennart Borgman
2009-06-13  5:50                       ` Richard Stallman
2009-06-15  4:34                         ` Miles Bader
2009-06-15 19:30                           ` Richard Stallman
2009-06-16  0:30                             ` James Cloos
2009-06-16  1:10                               ` Miles Bader [this message]
2009-06-16  1:12                                 ` Miles Bader
2009-06-17  5:07                                   ` Richard Stallman
2009-06-16 13:53                               ` Chong Yidong
2009-06-16 20:48                             ` Stefan Monnier
2009-06-15 20:06                         ` Chong Yidong
2009-06-15 21:57                           ` Drew Adams
2009-06-16  5:30                           ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buofxe1dluk.fsf@dhlpc061.dev.necel.com \
    --to=miles@gnu.org \
    --cc=cloos@jhcloos.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).