all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: mwd@md5i.com, handa@gnu.org, michael.albinus@gmx.de, emacs-devel@gnu.org
Subject: Re: Encoding of etc/HELLO
Date: Sat, 19 May 2018 23:03:17 +0300	[thread overview]
Message-ID: <83efi7h0qi.fsf@gnu.org> (raw)
In-Reply-To: <2169290c-1668-a2b6-dd76-dfc2c8ca4753@cs.ucla.edu> (message from Paul Eggert on Sat, 19 May 2018 12:38:50 -0700)

> Cc: mwd@md5i.com, michael.albinus@gmx.de, handa@gnu.org, emacs-devel@gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Sat, 19 May 2018 12:38:50 -0700
> 
> For example, currently etc/HELLO has a charset transition in the middle of the 
> Maltese word “Bonġu”. If somebody actually specified a different font for 
> iso-8859-3 because they wanted to display Maltese+Esperanto differently from 
> English etc. (which as you note is unlikely, but suppose someone does it anyway 
> to show off this Emacs feature), then their display would be glitched up in the 
> middle of “Bonġu”. So as things stand this is a lurking bug in etc/HELLO. If we 
> omitted needless charset transitions we wouldn't have to worry about correcting 
> bugs like this one.

That's the bad part of the ISO-2022 legacy: the charset transitions
don't always make sense.  It should be easy to fix this, though, by
placing the charset properties on complete greetings rather than on
more or less arbitrary substrings.

> > We need to have the corresponding property in Emacs first, and we need
> > to have infrastructure for letting 'lang' affect what we want it to
> > affect, at least font selection.  Only after that we can implement
> > this in enriched.el.
> 
> Thanks, I wasn't aware of this issue. I don't see a bug report for it; should I 
> add an enhancement request?

Fine by me, but Emacs lacks good support for language-specific
handling of text in general.  We had a few discussions in the past
about that.

> In the meantime how about if we mark up etc/HELLO with lang commands instead of 
> x-charset commands, except that we also keep x-charset commands that actually 
> affect Emacs display in common use (e.g., CJK charsets)? When we get lang 
> working, we can then remove the remaining x-charset commands.

I'd rather we first fixed the charset properties coverage in the file
so that they make more sense.



  reply	other threads:[~2018-05-19 20:03 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-20 13:25 Encoding of etc/HELLO Eli Zaretskii
2018-04-20 15:34 ` Michael Albinus
2018-04-20 16:00   ` Eli Zaretskii
2018-04-20 16:16     ` Stefan Monnier
2018-04-20 17:22       ` Eli Zaretskii
2018-04-20 20:42         ` Stefan Monnier
2018-04-20 21:02           ` Clément Pit-Claudel
2018-04-20 21:26           ` Paul Eggert
2018-04-21  7:07           ` Eli Zaretskii
2018-04-21 14:58             ` Michael Welsh Duggan
2018-05-19 15:23               ` Eli Zaretskii
2018-05-19 17:17                 ` Paul Eggert
2018-05-19 18:03                   ` Eli Zaretskii
2018-05-19 18:23                     ` Paul Eggert
2018-05-19 18:39                       ` Eli Zaretskii
2018-05-19 19:38                         ` Paul Eggert
2018-05-19 20:03                           ` Eli Zaretskii [this message]
2018-05-20  8:56                             ` Eli Zaretskii
2018-05-19 17:52                 ` Michael Albinus
2018-04-20 17:39     ` Michael Albinus
2018-04-21  7:10       ` Eli Zaretskii
2018-04-21 14:40         ` Clément Pit-Claudel
2018-04-21 15:43           ` Eli Zaretskii
2018-04-21 15:52           ` Paul Eggert
2018-04-23  2:53         ` Stefan Monnier
2018-04-23 15:07           ` Eli Zaretskii
2018-04-23 15:23             ` Stefan Monnier
2018-04-23 16:12               ` Eli Zaretskii
2018-04-20 16:56   ` Paul Eggert
2018-04-20 17:37     ` Michael Albinus
2018-04-21 20:31       ` Juri Linkov
2018-04-23 16:25         ` Eli Zaretskii
2018-04-23 20:05           ` Juri Linkov

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=83efi7h0qi.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=handa@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=mwd@md5i.com \
    /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.