From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] scratch/gnus-decoded 548c778: Don't add encoding cookie in Gnus' active files
Date: Wed, 01 May 2019 11:50:17 -0400 [thread overview]
Message-ID: <jwvzho6maz5.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <20190501152059.0E9D9209A5@vcs0.savannah.gnu.org> (Eric Abrahamsen's message of "Wed, 1 May 2019 11:20:58 -0400 (EDT)")
> * lisp/gnus/gnus-util.el (gnus-write-active-file): This doesn't do
> what I thought it would do.
[...]
> - (insert (format ";; -*- encoding: %s; -*-\n\n" coding-system-for-write))
Not sure what you expect it to do, but the above cookie indeed likely
doesn't do anything at all. If you change `encoding` to `coding` then
it should have the effect of telling Emacs which encoding to use when
reading the file.
Stefan
next parent reply other threads:[~2019-05-01 15:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190501152057.8555.99227@vcs0.savannah.gnu.org>
[not found] ` <20190501152059.0E9D9209A5@vcs0.savannah.gnu.org>
2019-05-01 15:50 ` Stefan Monnier [this message]
2019-05-01 16:27 ` [Emacs-diffs] scratch/gnus-decoded 548c778: Don't add encoding cookie in Gnus' active files Eric Abrahamsen
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=jwvzho6maz5.fsf-monnier+emacsdiffs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=eric@ericabrahamsen.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.