Re: Emacs pound sign in non-windowed mode?



Roger Leigh <${rleigh}@invalid.whinlatter.ukfsn.org.invalid> writes:

> I gave XEmacs a try last week, and it screwed up my UTF-8 C
> source files.

Yes. XEmacs is just lossy for multilingual text, whatever the
propaganda says, and has precious little useful functionality that
isn't in Emacs.

> Once both GNU Emacs and XEmacs both use UCS as their internal
> character representation, things should become much easier all
> around.

The Emacs implementation actually uses a (large) superset of UCS.
However, the internal encoding isn't so important for correct
user-level behaviour as long as it can encode the required characters.
(I've worked on four different implementations.) Mostly things can be
made to work decently well with the emacs-mule encoding -- and you can
unify most input if you want -- but unfortunately some relevant work
has been waiting years actually to be released. (The major omission
in Emacs 21 is support for CJK unicodes; too many internal charsets
were already defined, unfortunately.) There are trades off in both
directions with UCS v. ISO-2022, e.g. significant inefficiency for
non-Latin text in the UCS version and relative difficulty choosing
fonts. Display is actually more of a problem than encoding.

> What's wrong with it? It's certainly not new--consider EUC (Extended
> UNIX Code) and ISO-2022.

Right. It's obviously necessary. (See also X's compound-text.)

> You might find switching to UTF-8 fixes quite a number of problems
> (after the initial teething problems),

Mileage obviously varies, but I've found utf-8 locales troublesome,
especially with heterogeneous multi-access systems.

> not least the ability to represent lots of useful characters like
> "þ" and "Þ", plus technical and drawing symbols.

Yes, that was a major motivation for multilingual work in Emacs 21,
and, interestingly, technical text has basically the same issues as
CJK and complex scripts. (Thorn is in Latin-1!)

Of course, if you live in Emacs, you can edit utf-8-encoded technical
text fine in any locale; the thing most likely to cause trouble is
sub-process i/o.

--
∀ p ∈ world • hello p □
.



Relevant Pages

  • Re: Welche Emacs Distribution verwenden?
    ... bei Emacs viel an der Codebasis, ... XEmacs-Paketdistribution nur solche Pakete aufgenommen, ... Der XEmacs hat ja diverse unzulänglichkeiten, ... Der einzige (allerdings im Zeitalter von utf-8 schwerwiegende) ...
    (de.comp.editoren)
  • Re: Welche Emacs Distribution verwenden?
    ... AUCTeX hat aber seine eigenen Makefiles, ... noch unter Emacs läuft, Vorkehrungen hat, um auch unter Emacs ... The source code for a work means the preferred form of the work ... Heisst das, mann kann einen XEmacs nicht kompilieren, ohne sich die ...
    (de.comp.editoren)
  • Re: Read gcc info files on solaris; Seek online manual
    ... >> reference, I have no idea where to start looking for it. ... > When you read man pages with XEmacs, ... I tried emacs. ... surprised if the vi mode of emacs can emulate vim. ...
    (comp.unix.solaris)
  • Re: Nach wechsel von XEmacs auf Emacs kein xface mehr
    ... Viewing an `X-Face' header either requires an Emacs that has ... `compface' support (which most XEmacs versions has), ... Emacs has image support the default action is to display the face ...
    (de.comp.editoren)
  • Re: Xemacs Sources
    ... and it's useful that c-h f on win32 emacs generates a clickable link. ... Now, I guess the main question with doing my own compile, do you ... I'm running XEmacs built from source. ... It's not an automatic hot link like it is in Emacs. ...
    (comp.emacs.xemacs)

Loading