From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 34909@debbugs.gnu.org, choroba@matfyz.cz
Subject: bug#34909: 26.1; Error refreshing packages under language environment
Date: Tue, 19 Mar 2019 15:41:27 -0400 [thread overview]
Message-ID: <jwva7hqu061.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83mulqu2kf.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 19 Mar 2019 20:44:16 +0200")
> (I also don't understand why you say the buffer must be unibyte: if
> the coding-systems for each operation are set correctly, there should
> be no difference at all, not nowadays. IME, using unibyte buffers is
> just the easy way out when one doesn't want to mess with the
> coding-systems stuff.)
Of course, when dealing with data we only transfer from network to file,
using unibyte (or more specifically: without decoding nor encoding) is
simply more efficient, but it's also safer: Encoding using utf-8 is only
safe if the decoding was itself done using the same coding system and
I don't see where we do that, so it's not clear that it's always decoded
with utf-8.
> Feel free to work on package--with-response-buffer in this direction.
> Debugging this was a small nightmare, due to the use of macros and
> async retrieval with callbacks, so I felt lucky when I finally found
> the problematic code and understood why it worked in the English
> language environment.
"nightmare" is very appropriate, indeed.
Stefan
next prev parent reply other threads:[~2019-03-19 19:41 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-18 21:32 bug#34909: 26.1; Error refreshing packages under language environment E. Choroba
2019-03-19 11:23 ` Eli Zaretskii
2019-03-19 11:57 ` E. Choroba
2019-03-19 12:29 ` Eli Zaretskii
2019-03-19 13:06 ` E. Choroba
2019-03-19 14:32 ` Eli Zaretskii
2019-03-19 14:43 ` Eli Zaretskii
2019-03-19 15:49 ` E. Choroba
2019-03-19 18:34 ` Eli Zaretskii
2019-03-20 7:00 ` Eli Zaretskii
2022-04-12 16:40 ` Lars Ingebrigtsen
2022-04-12 22:52 ` E. Choroba
2022-04-12 23:27 ` Lars Ingebrigtsen
2019-03-20 12:45 ` Noam Postavsky
2019-03-20 13:09 ` Eli Zaretskii
2019-03-19 16:27 ` Stefan Monnier
2019-03-19 18:44 ` Eli Zaretskii
2019-03-19 19:41 ` Stefan Monnier [this message]
2019-03-19 20:00 ` Eli Zaretskii
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=jwva7hqu061.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=34909@debbugs.gnu.org \
--cc=choroba@matfyz.cz \
--cc=eliz@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.