unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Encoding for a file containing filenames?
@ 2007-11-08 15:05 Juanma Barranquero
  2007-11-08 16:32 ` Stefan Monnier
  0 siblings, 1 reply; 21+ messages in thread
From: Juanma Barranquero @ 2007-11-08 15:05 UTC (permalink / raw)
  To: Emacs Devel

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
      default-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?

             Juanma

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

end of thread, other threads:[~2007-11-10  1:10 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-08 15:05 Encoding for a file containing filenames? Juanma Barranquero
2007-11-08 16:32 ` Stefan Monnier
2007-11-08 16:49   ` Juanma Barranquero
2007-11-08 20:50     ` Eli Zaretskii
2007-11-08 22:38       ` Stefan Monnier
2007-11-08 23:42         ` Jason Rumney
2007-11-09  4:01           ` Stefan Monnier
2007-11-09 10:03             ` Eli Zaretskii
2007-11-09 11:05               ` Jan Djärv
2007-11-09 11:07               ` Andreas Schwab
2007-11-09 11:53                 ` Eli Zaretskii
2007-11-09 12:15                   ` Jan Djärv
2007-11-09 12:16                   ` Kenichi Handa
2007-11-09 12:54                   ` Andreas Schwab
2007-11-09 14:01                     ` Eli Zaretskii
2007-11-09 10:34             ` Kenichi Handa
2007-11-09 16:25               ` Stefan Monnier
2007-11-10  1:10                 ` Kenichi Handa
2007-11-09  0:41     ` Kenichi Handa
2007-11-09  0:50       ` Juanma Barranquero
2007-11-09  1:05         ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).