GNU bug report logs - #44513
default value of file-name-coding-system

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Sun, 8 Nov 2020 09:16:02 UTC

Severity: minor

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: 44513 <at> debbugs.gnu.org, boruch_baum <at> gmx.com
Subject: bug#44513: default value of file-name-coding-system
Date: Sun, 08 Nov 2020 13:29:13 +0200
On November 8, 2020 11:15:50 AM GMT+02:00, Boruch Baum <boruch_baum <at> gmx.com> wrote:
> Shouldn't emacs ship with the default value of variable
> file-name-coding-system being equal to that of the default value of
> default-file-name-coding-system?
> 
>                  file-name-coding-system  => nil
>   (default-value file-name-coding-system) => nil
>          default-file-name-coding-system  => utf-8-unix

These are 2 separate variables, see the doc string of default-file-name-coding-system.  One is for the user to set, thus nil by default, the other is what Emacs thinks should be the OS default.  They are separate because Unix filesystems traditionally treat file names as byte streams, without imposing any encoding restrictions on them.




This bug report was last modified 4 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.