From: Kenichi Handa <handa@m17n.org>
Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org
Subject: Re: Saving when the coding system can't code all buffer characters
Date: Wed, 27 Dec 2006 10:39:39 +0900 [thread overview]
Message-ID: <E1GzNlb-00062s-P4@etlken.m17n.org> (raw)
In-Reply-To: <E1Gz20e-0003eV-DX@fencepost.gnu.org> (message from Richard Stallman on Mon, 25 Dec 2006 21:25:44 -0500)
[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]
In article <E1Gz20e-0003eV-DX@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes:
> Then, is it ok that, after C-g, point is moved to the first
> problematic character and the contents of *Warning* buffer
> is a little bit changed to show what to do?
> No, C-g should JUST QUIT.
> I suggested people make it show all the relevant information _at the
> outset_. Would you like to try implementing that, please?
Even if we put all the relevant information in *Warning*
buffer, as the window height is limited, a user have to
switch to *Warning* buffer and scroll up/down to see all of
them. In addition, I don't know what is "all the relevant
information" for a user. One may want to see the info
shown by C-u C-x =, one may want to see the docstring of
each coding system, ...
So, I just improved the content of *Warning* buffer a little
bit as below (the changed parts are indicated by ^^^^).
----------------------------------------------------------------------
These default coding systems were tried to encode text
in the buffer `temp':
euc-japan-unix
However, each of them encountered these problematic characters:
euc-japan-unix: 你 好
Click those characters to jump to the place they appear,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
and C-u C-x = will give information about it.
Select one of the following safe coding systems,
or cancel the writing by C-g and edit the buffer,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
or specify any other coding system at the risk of
losing the problematic characters.
utf-8 utf-16 utf-16 utf-16 utf-16be utf-16le iso-2022-7bit
---
Kenichi Handa
handa@m17n.org
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2006-12-27 1:39 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 22:40 Saving when the coding system can't code all buffer characters Lennart Borgman
2006-12-22 10:50 ` Eli Zaretskii
2006-12-22 21:03 ` Richard Stallman
2006-12-23 12:09 ` Kenichi Handa
2006-12-24 1:35 ` Richard Stallman
2006-12-25 6:00 ` Kenichi Handa
2006-12-26 2:25 ` Richard Stallman
2006-12-27 1:39 ` Kenichi Handa [this message]
2006-12-27 2:59 ` Lennart Borgman (gmail)
2006-12-27 5:13 ` Kenichi Handa
2006-12-27 13:27 ` Eli Zaretskii
2006-12-27 21:16 ` Richard Stallman
2006-12-28 2:09 ` Kenichi Handa
2006-12-27 8:28 ` Eli Zaretskii
2006-12-27 11:06 ` Kenichi Handa
2006-12-27 12:20 ` Eli Zaretskii
2006-12-27 12:37 ` Lennart Borgman (gmail)
2006-12-27 14:17 ` Eli Zaretskii
2006-12-28 0:31 ` Kenichi Handa
2006-12-27 21:16 ` Richard Stallman
2006-12-28 1:32 ` Kenichi Handa
2006-12-28 4:20 ` Eli Zaretskii
2006-12-29 15:44 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2006-12-22 11:15 LENNART BORGMAN
2006-12-22 11:50 ` Eli Zaretskii
2006-12-22 15:48 ` David Kastrup
2006-12-22 16:23 ` Lennart Borgman
2006-12-23 7:31 ` David Kastrup
2006-12-31 14:36 ` Sascha Wilde
2006-12-31 16:04 ` Lennart Borgman
2006-12-31 19:27 ` Aidan Kehoe
2007-01-09 7:23 ` Kenichi Handa
2006-12-22 17:35 ` Lennart Borgman
2006-12-23 20:14 ` Richard Stallman
2006-12-23 20:41 ` Lennart Borgman
2006-12-24 17:09 ` 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=E1GzNlb-00062s-P4@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman.073@student.lu.se \
/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).