all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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é

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.