From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44513: default value of file-name-coding-system Date: Sun, 08 Nov 2020 13:29:13 +0200 Message-ID: <92897EE1-AEF0-4E4C-A66B-12DCF3843CAF@gnu.org> References: <20201108091550.lqomueilkbxxhcl7@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17585"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: 44513@debbugs.gnu.org, boruch_baum@gmx.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 08 12:30:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbitf-0004Tx-66 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 12:30:11 +0100 Original-Received: from localhost ([::1]:58106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbite-0004hM-6L for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 06:30:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbitW-0004h3-RT for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 06:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbitW-0004dq-Hr for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 06:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbitW-0006en-EF for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 06:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Nov 2020 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44513 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Boruch Baum , 44513@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160483496125504 (code B ref -1); Sun, 08 Nov 2020 11:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Nov 2020 11:29:21 +0000 Original-Received: from localhost ([127.0.0.1]:59828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbisq-0006dI-S7 for submit@debbugs.gnu.org; Sun, 08 Nov 2020 06:29:21 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbisp-0006dA-3H for submit@debbugs.gnu.org; Sun, 08 Nov 2020 06:29:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbiso-0004Y8-DG for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 06:29:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48130) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbisn-0004PD-TU; Sun, 08 Nov 2020 06:29:17 -0500 Original-Received: from [2a02:14f:80:78ff::1] (port=42934) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kbism-00078G-N9; Sun, 08 Nov 2020 06:29:17 -0500 In-Reply-To: <20201108091550.lqomueilkbxxhcl7@E15-2016.optimum.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192869 Archived-At: On November 8, 2020 11:15:50 AM GMT+02:00, Boruch Baum 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? >=20 > file-name-coding-system =3D> nil > (default-value file-name-coding-system) =3D> nil > default-file-name-coding-system =3D> utf-8-unix These are 2 separate variables, see the doc string of default-file-name-co= ding-system=2E One is for the user to set, thus nil by default, the other = is what Emacs thinks should be the OS default=2E They are separate because= Unix filesystems traditionally treat file names as byte streams, without i= mposing any encoding restrictions on them=2E