From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Scott Heftler <lovecraftian@mac.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Chars escape-quoted in RMAIL files saved from gnus
Date: Mon, 28 Apr 2008 10:38:50 +0200 [thread overview]
Message-ID: <6C297B32-8DFF-4AE7-8A2A-E8FFC7E066DA@Web.DE> (raw)
In-Reply-To: <m28wyylvu9.fsf@mac.com>
Am 28.04.2008 um 01:30 schrieb Scott Heftler:
> You'd think that, when emacs encounters these \205s, it would KNOW to
> pick windows-1252. But it doesn't. Is there no way to AUTOMATE
> emacs' pick of coding system?
It's possible to use (file) local variables. In the file's header,
first line I think, something like
;; -*- mode: Emacs-Lisp; coding: utf-8; -*-
or at the file's end
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% coding: utf-8-unix
%%% TeX-command-default: "XeLaTeX"
%%% End:
you can set a few parameters of operation. Depending on which file
type(s) is easier to manipulate by these means you can leave out one
encoding preference. Something like this might also work (I think I
once had this active):
;;(setq file-coding-system-alist
;; (append
;; '(("\\.tex\\'" iso-latin-9-unix . iso-latin-9-unix))
;; file-coding-system-alist))
;(modify-coding-system-alist 'file "\\.tex\\'" 'iso-latin-9-unix)
Or you can decide to reduce the number of encodings you use.
Sometimes less pluralism can be more.
--
Greetings
Pete
Know thyself. Need help, call GOOGLE.
prev parent reply other threads:[~2008-04-28 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-27 22:13 Chars escape-quoted in RMAIL files saved from gnus Scott Heftler
2008-04-27 22:49 ` Peter Dyballa
[not found] ` <mailman.10864.1209336597.18990.help-gnu-emacs@gnu.org>
2008-04-27 22:59 ` Scott Heftler
2008-04-27 23:30 ` Scott Heftler
2008-04-28 8:38 ` Peter Dyballa [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=6C297B32-8DFF-4AE7-8A2A-E8FFC7E066DA@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=lovecraftian@mac.com \
/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.