all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: emacs-devel@gnu.org
Subject: Re: lisp/ChangeLog coding system
Date: 29 Apr 2002 10:10:10 +0900	[thread overview]
Message-ID: <87znzn48el.fsf@tleepslib.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <6923-Sun28Apr2002212223+0300-eliz@is.elta.co.il>

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

    Eli> However, surprise and corruption are two different things...

That's right.  The user can recover trivially from a "surprise"
without help; otherwise it's corruption.

I don't think it's our call to make.  And I think it should be
reasonably easy to protect users substantially better than Emacs
currently does.  (And XEmacs is worse.)

One aspect is making better guesses about desired coding systems.
Another is getting the trash coding systems out of the prompt to the
user.  Eg, I doubt most users _ever_ want to use the -with-esc coding
systems.  (As far as I can tell X Compound Text should serve the
purpose fine, and users can tell for sure that they don't know what it
does.  The ISO-8859-with-esc are tempting for naive users as "the
closest to what I want".)  A sample implementation of these aspects
(for XEmacs only) is latin-unity:

cvs -d pserver:cvs@cvs.xemacs.org:/pack/xemacscvs login  # password "cvs"
cvs -d pserver:cvs@cvs.xemacs.org:/pack/xemacscvs checkout latin-unity

The README describes the features pretty completely.  The prompt
(which the user sees only if one of the user's preferred coding
systems doesn't handle the buffer) is in the function
latin-unity-recommend-representation in file latin-unity.el.  The
user's preferences are captured with the defcustoms in that file.

The two big problems with this package (to the author's mind ;-) are
that it doesn't handle anything but ISO Latin yet, and it doesn't work
on GNU Emacs.  The beta testers seem happy with the functionality.
The UI needs tuning, of course.

Sorry, I don't have time to port to Emacs anytime soon.  However, I'll
be happy to answer questions (cc me, I don't read emacs-devel every
day) and help with factoring out interesting functionality on request.

This is all-new code, contributed to XEmacs, and I have assign.future
on file for XEmacs.  Ie, it's clean for use in GNU Emacs.


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
 My nostalgia for Icon makes me forget about any of the bad things.  I don't
have much nostalgia for Perl, so its faults I remember.  Scott Gilbert c.l.py

  parent reply	other threads:[~2002-04-29  1:10 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 14:45 lisp/ChangeLog coding system Gerd Moellmann
2002-04-27 22:41 ` Richard Stallman
2002-04-27 23:05   ` Michael Kifer
2002-04-29  5:01     ` Eli Zaretskii
2002-04-29 11:22       ` Gerd Moellmann
2002-04-29 13:33         ` Eli Zaretskii
2002-04-30  5:18           ` Richard Stallman
2002-04-30  5:31             ` Eli Zaretskii
2002-05-01  7:13               ` Richard Stallman
2002-05-01 11:56                 ` Eli Zaretskii
2002-04-29  5:06     ` Richard Stallman
2002-04-29  6:10       ` Michael Kifer
2002-04-29 10:00         ` Eli Zaretskii
2002-04-30  5:18           ` Richard Stallman
2002-04-30  5:19         ` Richard Stallman
2002-04-30  5:22           ` Michael Kifer
2002-04-30  5:32             ` Eli Zaretskii
2002-04-30  5:53               ` Michael Kifer
2002-04-30  9:19                 ` Eli Zaretskii
2002-04-30 15:35                   ` Michael Kifer
2002-04-28  3:06   ` Karl Eichwalder
2002-04-28 18:22     ` Eli Zaretskii
2002-04-28 23:19       ` Stefan Monnier
2002-04-29  5:03         ` Eli Zaretskii
2002-04-29 18:39         ` Richard Stallman
2002-04-29  1:10       ` Stephen J. Turnbull [this message]
2002-04-29  1:55         ` Stefan Monnier
2002-04-29  5:07           ` Eli Zaretskii
2002-04-29 11:28           ` Stephen J. Turnbull
2002-04-29 11:49             ` Miles Bader
2002-04-29 13:31             ` Stefan Monnier
2002-04-29 15:54               ` Stephen J. Turnbull
2002-04-29 15:56               ` Karl Eichwalder
2002-04-29 16:38               ` Miles Bader
2002-04-29 13:43             ` Eli Zaretskii
2002-04-29  5:05     ` Richard Stallman
2002-04-29 15:52       ` Karl Eichwalder
2002-04-29 16:37         ` Stefan Monnier
2002-04-29 18:43           ` Eli Zaretskii
2002-04-29 18:41         ` Eli Zaretskii
2002-04-29 19:12           ` Simon Josefsson
2002-04-30  4:35             ` Eli Zaretskii
2002-04-30  8:50               ` Simon Josefsson
2002-04-30  5:19         ` Richard Stallman
2002-04-30 18:09           ` Karl Eichwalder

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=87znzn48el.fsf@tleepslib.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --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 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.