From: Eli Zaretskii <eliz@elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: [harder@ifa.au.dk: `set-locale-environment' bug]
Date: 29 Oct 2003 08:39:53 +0200 [thread overview]
Message-ID: <u65i8zgw6.fsf@elta.co.il> (raw)
In-Reply-To: <m365i8yl6j.fsf@defun.localdomain> (message from Jesper Harder on Wed, 29 Oct 2003 00:52:36 +0100)
> From: Jesper Harder <harder@ifa.au.dk>
> Date: Wed, 29 Oct 2003 00:52:36 +0100
>
> (standard-display-8bit (if (eq window-system 'pc) 128 160) 255)
>
> This controls how eight-bit-control and eight-bit-graphics is
> displayed, right?
No. window-system's value is `pc' only for the MS-DOS port of
Emacs. On other systems, this sets up the display of characters
whose 8-bit codepoints are [160..255], i.e., the normal 8-bit region
of Latin-1 characters.
In other words, for a typical Unix or GNU system in the dk locale,
this line instructs Emacs to send the 8-bit codes of Latin-1
characters directly to the terminal, which is what I think you'd want,
since terminals in your locale generally support display of Latin-1
characters.
> (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.
Then undo that line in your ~/.emacs. I think most users do want
that, though; the code is based on user experience, IIRC. In
particular, many mail messages sadly include that character, so
displaying it as \222 would make problems elsewhere.
next prev parent reply other threads:[~2003-10-29 6:39 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
2003-10-29 6:39 ` Eli Zaretskii [this message]
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=u65i8zgw6.fsf@elta.co.il \
--to=eliz@elta.co.il \
--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).