From: Eli Zaretskii <eliz@is.elta.co.il>
Subject: Re: mule: why not show the damage of choosing "raw-text" etc. now?
Date: Wed, 24 Apr 2002 10:19:08 +0300 [thread overview]
Message-ID: <Pine.SUN.3.91.1020424100943.4915L-100000@is> (raw)
In-Reply-To: <m2pu0ql25x.fsf@jidanni.org>
On 24 Apr 2002, Dan Jacobson wrote:
> I do a certain M-x compile command that produces output that looks
> like normal big5 chinese... at least the first page of which that I
> see in the split window.
>
> I attempt to write this to disk with C-x C-w some_filename.
>
> Due to some non-big5 character somewhere deep in the output, I encounter
>
> These default coding systems were tried:
> chinese-big5-unix
> However, none of them safely encodes the target text.
Does it help to say "C-x RET c big5 RET M-x compile RET" instead?
> My point is, _why allow the file to keep on looking good this
> session?_ If you are going to turn it into a "unrecoverable bunch of
> <98>'s", why not do it now in front of the user's face instead of
> having him think that the file is A-OK, and can be e-mailed to
> friends, or is ready to go for the big presentation tomorrow?
Because the Mule design is that Emacs never considers how it will encode
the file until such time as you actually ask it to do so. One problem
with what you suggest is that yanking some text that cannot be encoded in
the buffer's coding system will trigger annoying questions or even
display gibberish, even though all you want is remove some of the text
you've yanked, or maybe save the buffer with a different encoding.
prev parent reply other threads:[~2002-04-24 7:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 18:07 mule: why not show the damage of choosing "raw-text" etc. now? Dan Jacobson
2002-04-24 7:19 ` Eli Zaretskii [this message]
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=Pine.SUN.3.91.1020424100943.4915L-100000@is \
--to=eliz@is.elta.co.il \
/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.