unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jesper Harder <harder@ifa.au.dk>
Cc: emacs-devel@gnu.org
Subject: Re: [harder@ifa.au.dk: `set-locale-environment' bug]
Date: Wed, 29 Oct 2003 00:52:36 +0100	[thread overview]
Message-ID: <m365i8yl6j.fsf@defun.localdomain> (raw)
In-Reply-To: <9791-Tue28Oct2003222608+0200-eliz@elta.co.il> (Eli Zaretskii's message of "Tue, 28 Oct 2003 22:26:08 +0200")

"Eli Zaretskii" <eliz@elta.co.il> writes:

>> From: Jesper Harder <harder@ifa.au.dk>
>
>> I'm still a bit confused about _why_ the display table should be
>> non-nil in a single byte locale.
>
> Because Emacs sets up a few entries in that display table, to match
> what most users expect.  For details, see the function
> standard-display-european-internal defined on mule-cmds.el.

Thank you.  Now that I've looked at it, I know that I definitely want
to set `standard-display-table' to nil :-(

Most of what `standard-display-european-internal' does is wrong for my
use, viz.:

 (standard-display-8bit (if (eq window-system 'pc) 128 160) 255)

This controls how eight-bit-control and eight-bit-graphics is
displayed, right?  The presence of those charsets is usually a bug, so
I'd rather be alerted than hiding their presence.

 (aset standard-display-table 146 [39])

I think this is a bit evil.  Lisp, TeX, C, etc. do not consider 146
and 39 to be the same character.  Making them indistinguishable makes
it hard to locate errors caused by the presence of \222 rather than '
in source code.

 (aset standard-display-table ?' [?’])
 (aset standard-display-table ?` [?‘])

This is nice.  But it might do some people a disservice by making them
believe that `foo' actually looks good, while it'll look wrong and
ugly for 99% of all computer users.

-- 
Cheers,
Jesper Harder

  reply	other threads:[~2003-10-28 23:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1AEH21-00079f-Je@fencepost.gnu.org>
2003-10-28  7:14 ` [harder@ifa.au.dk: `set-locale-environment' bug] Kenichi Handa
2003-10-28 14:21   ` Jesper Harder
2003-10-28 20:26     ` Eli Zaretskii
2003-10-28 23:52       ` Jesper Harder [this message]
2003-10-29  6:39         ` Eli Zaretskii
2003-10-29 16:49           ` Jesper Harder
2003-10-29 17:48             ` Eli Zaretskii
2003-11-10  2:36     ` Kenichi Handa
2003-11-10  5:31       ` Eli Zaretskii
2003-11-12  2:40         ` Kenichi Handa
2003-11-12  6:29           ` Eli Zaretskii
2003-10-29 19:01   ` 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=m365i8yl6j.fsf@defun.localdomain \
    --to=harder@ifa.au.dk \
    --cc=emacs-devel@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).