unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* coding systems for reading files
@ 2014-08-15 16:11 Ernest Adrogué
  2014-08-15 19:21 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Ernest Adrogué @ 2014-08-15 16:11 UTC (permalink / raw)
  To: help-gnu-emacs

Hi.

Say that when opening an existing file I want to try first with iso-latin-1
and if this fails try windows-1252.  How does one tell Emacs to do that?  If
I do

(set-coding-system-priority 'windows-1252)
(set-coding-system-priority 'latin-1)

only the latter shows up in the list shown by M-x describe-coding-system.

Thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-15 20:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 16:11 coding systems for reading files Ernest Adrogué
2014-08-15 19:21 ` Eli Zaretskii
2014-08-15 20:57   ` Ernest Adrogué

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).