all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Iakov Davydov <dav02.davs@myths.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 28780@debbugs.gnu.org
Subject: bug#28780: 25.3; Bad signature from GNU ELPA whe coding-system-for-read is utf-8
Date: Tue, 10 Oct 2017 18:55:05 +0000	[thread overview]
Message-ID: <CA+xYm8-_pvVbCCExAYEM=DR_ctsFE2yT0GUSn=rLOD1pQsSyww@mail.gmail.com> (raw)
In-Reply-To: <83sherosqm.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1372 bytes --]

Hi Eli,

On Tue, Oct 10, 2017 at 6:47 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > 2. Execute `(setq-default coding-system-for-read 'utf-8)` (e.g. go to
> > scratch, type this command, type C-x C-e).
> Why do you need to do step 2?  You shouldn't do that, especially when
> using commands that read binary files.  coding-system-for-read is for
> temporarily forcing specific decoding of specific text, and should
> otherwise be left alone.  And you definitely shouldn't change its
> default value.
>
> IOW, this sounds like a clear cockpit error.  Am I missing something?
>
After carefully reading the documentation for coding-system-for-read, I
think you are right. It shouldn't be used like that.

However the snipped including this command to "unicodify" emacs is
mentioned in many places including some answers on stackoverflow.

I think you the bug can be closed, thank you.

> 2. https://emacs.stackexchange.com/questions/10046
> > 7. https://www.linux.org.ru/forum/security/13718006 (In Russian)
>
> I see no clear evidence that these reports are due to setting
> coding-system-for-read.
>

At least cases #2 and #7 have a very the similar error message (and the
same package in one case).

Cheers,
Iakov
-- 
Iakov Davydov
Postdoc, Department of Computational Biology and Department of Ecology and
Evolution, University of Lausanne
Swiss Institute of Bioinformatics

[-- Attachment #2: Type: text/html, Size: 2293 bytes --]

  reply	other threads:[~2017-10-10 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-10 16:09 bug#28780: 25.3; Bad signature from GNU ELPA whe coding-system-for-read is utf-8 Iakov Davydov
2017-10-10 16:46 ` Eli Zaretskii
2017-10-10 18:55   ` Iakov Davydov [this message]
2017-10-10 19:26     ` 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='CA+xYm8-_pvVbCCExAYEM=DR_ctsFE2yT0GUSn=rLOD1pQsSyww@mail.gmail.com' \
    --to=dav02.davs@myths.ru \
    --cc=28780@debbugs.gnu.org \
    --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.