[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Encoding for a file containing filenames?

From: Juanma Barranquero
Subject: Encoding for a file containing filenames?
Date: Thu, 8 Nov 2007 16:05:08 +0100

A few days ago I installed in the trunk a patch for ido.el which
forces the ido history file (an elisp file containing several lists of
filenames and directories) to be saved in a given coding system and
that coding system recorded as a local variable.

At that moment I used

  (or file-name-coding-system

because it seems logical to save filenames in the current filename
coding system.

However, I'm having second thoughts. Wouldn't be safer to use an
encoding that can save anything, like emacs-mule? Should it depend on
the setting of default-enable-multibyte-characters?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]