all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to set file coding system but using per directory variables
@ 2014-03-01 12:54 Paul K
  2014-03-04  6:49 ` Andreas Röhler
  2014-03-04 20:21 ` Peter Dyballa
  0 siblings, 2 replies; 5+ messages in thread
From: Paul K @ 2014-03-01 12:54 UTC (permalink / raw)
  To: help-gnu-emacs

when I add following as first llne in a buffer it is properly interpretted

-*- coding: windows-1250-dos -*-


I don't want to add any headers to files though, so I created
.dir-locals.el file with following content:
((nil . ((buffer-file-coding-system . windows-1250-dos)
         (coding-system-for-read . windows-1250-dos)
         (coding-system-for-write . windows-1250-dos))))


then when I open file coding system is not automatically converted, I need
to do extra buffer reverting for declared coding system to be applied.

do You have any ideas?

best regards,


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

end of thread, other threads:[~2014-05-05 19:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-01 12:54 how to set file coding system but using per directory variables Paul K
2014-03-04  6:49 ` Andreas Röhler
2014-03-04  7:04   ` Andreas Röhler
2014-03-04 20:21 ` Peter Dyballa
2014-05-05 19:04   ` Paul K

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.