From: Eli Zaretskii <eliz@gnu.org>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 696026-forwarded@bugs.debian.org, 696026@bugs.debian.org,
rlb@defaultvalue.org, 13505@debbugs.gnu.org
Subject: bug#13505: Bug#696026: emacs24: file corruption on saving
Date: Sun, 20 Jan 2013 23:40:14 +0200 [thread overview]
Message-ID: <83bocjpm81.fsf@gnu.org> (raw)
In-Reply-To: <20130120212508.GF2695@xvii.vinc17.org>
> Date: Sun, 20 Jan 2013 22:25:08 +0100
> From: Vincent Lefevre <vincent@vinc17.net>
> Cc: Rob Browning <rlb@defaultvalue.org>, Kenichi Handa <handa@gnu.org>,
> 13505@debbugs.gnu.org, 696026-forwarded@bugs.debian.org,
> 696026@bugs.debian.org
>
> On 2013-01-20 18:49:38 +0200, Eli Zaretskii wrote:
> > Personally, I don't think there's a bug here. It's a cockpit error.
>
> Perhaps it isn't a bug at save time. But then, selecting a lossy
> encoding by default when visiting the file is the bug (and really
> a regression), particularly if this isn't clearly told to the user.
The encoding isn't lossy.
In any case, I don't really understand your proposal. Suppose the
file was indeed encoded in in-is13194-devanagari, would you argue then
that selecting it would be incorrect or undesirable behavior?
> Actually this is related, since the lossy encoding becomes a real
> problem only at save time (and for copy-paste I assume, though the
> file doesn't get overwritten by that).
It is only a problem when you try to save or otherwise output it
(e.g., send in an email).
But what you should do then is "C-x RET r raw-text RET", and recover.
That is the only way to avoid corruption in files that use
inconsistent encoding.
next prev parent reply other threads:[~2013-01-20 21:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20121215223809.GA7549@xvii.vinc17.org>
2013-01-20 4:09 ` bug#13505: Bug#696026: emacs24: file corruption on saving Rob Browning
2013-01-20 16:49 ` Eli Zaretskii
2013-01-20 17:31 ` Rob Browning
2013-01-20 20:24 ` Glenn Morris
2013-01-20 21:25 ` Vincent Lefevre
2013-01-20 21:40 ` Eli Zaretskii [this message]
2013-01-20 22:10 ` Vincent Lefevre
2013-01-20 22:22 ` Vincent Lefevre
2013-01-21 3:49 ` Eli Zaretskii
2013-01-21 3:48 ` Eli Zaretskii
2013-01-21 4:14 ` Vincent Lefevre
2013-01-21 17:55 ` Eli Zaretskii
2013-01-22 2:35 ` Vincent Lefevre
2013-01-22 7:56 ` Eli Zaretskii
2013-01-20 23:01 ` Andreas Schwab
2013-01-20 23:27 ` bug#13505: Bug#696026: " Rob Browning
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=83bocjpm81.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13505@debbugs.gnu.org \
--cc=696026-forwarded@bugs.debian.org \
--cc=696026@bugs.debian.org \
--cc=rlb@defaultvalue.org \
--cc=vincent@vinc17.net \
/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.