unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: reiner.steib@gmx.de
Subject: All platforms fail with Unicode in menus.
Date: 25 Aug 2004 23:48:23 +0200	[thread overview]
Message-ID: <x5isb6q47s.fsf@lola.goethe.zz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]


Hi, considering that most Window systems can deal with iso10646 fonts
more or less properly, one should imagine that this would mean Unicode
to be supported in most environments.

The following package (a standalone excerpt from AUCTeX) can be loaded
with

  emacs -q -no-site-file unicode-menu.el

Pressing <f8> will add a "Math" menu to the menu bar.  This menu
contains TeX control sequences and corresponding Unicode.

Most platforms just produce some garbage that looks like an attempt at
Latin-1.  This includes Carbon, the standard X11 toolkits and Windows.
The best contender right now is GTK which gets it right, except that
it completely garbles the menus when garbage collection occurs during
their creation (the gc-cons-threshold setting at the end of this
example file more or less ensures that stuff gets garbled).

Since those kind of menus make for quite a bit of attraction, I'd
kindly ask the various platform programmer to consider accessing
Unicode support of their operating system/toolkit, and I'd appreciate
it if the GTK support of Unicode was made robust against garbage
collection.

Thanks,

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

[-- Attachment #2: unicode-menu.el --]
[-- Type: application/emacs-lisp, Size: 29747 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

             reply	other threads:[~2004-08-25 21:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-25 21:48 David Kastrup [this message]
2004-08-26  8:13 ` All platforms fail with Unicode in menus YAMAMOTO Mitsuharu
2004-08-26 18:30 ` Jan D.
2004-08-28  7:11   ` David Kastrup
2004-08-28  7:42     ` Jan D.
2004-08-28  8:08       ` David Kastrup
2004-08-28  8:24         ` Andreas Schwab
2004-08-28 21:38     ` Stefan
2004-08-28 22:18       ` Jan D.
2004-08-28 22:38         ` Stefan
2004-08-30  7:52   ` YAMAMOTO Mitsuharu
2004-08-30 10:28     ` Jan D.

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=x5isb6q47s.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=reiner.steib@gmx.de \
    /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).