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#56469: 29.0.50; Unibyte dir in directory_files_internal Date: Sun, 10 Jul 2022 18:41:38 +0300 Message-ID: <835yk50ybx.fsf@gnu.org> References: <83y1x2177x.fsf@gnu.org> <83bktx11ji.fsf@gnu.org> <83a69h0zwz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17058"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56469@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 10 17:43:14 2022 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 1oAZ5V-0004Gw-PM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jul 2022 17:43:13 +0200 Original-Received: from localhost ([::1]:37380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAZ5U-0003Mo-Hr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jul 2022 11:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAZ5K-0003Mf-6i for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 11:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAZ5J-0003A1-Sz for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 11:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oAZ5J-0005ia-Nh for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 11:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2022 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56469 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56469-submit@debbugs.gnu.org id=B56469.165746772121900 (code B ref 56469); Sun, 10 Jul 2022 15:43:01 +0000 Original-Received: (at 56469) by debbugs.gnu.org; 10 Jul 2022 15:42:01 +0000 Original-Received: from localhost ([127.0.0.1]:37722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAZ4L-0005gy-ED for submit@debbugs.gnu.org; Sun, 10 Jul 2022 11:42:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAZ4I-0005ge-E4 for 56469@debbugs.gnu.org; Sun, 10 Jul 2022 11:41:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAZ4D-00036M-2t; Sun, 10 Jul 2022 11:41:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=z86f4ACdhQX2l+1rDlh9UHIfDZXDKv9ek6JpR0fUR34=; b=oa5q3hyasCNerycUoGU8 a43jaxnXalTHgTs0gcyv5YrjgAMJVsEtQVJKjT+mMclJWICeVulONF76KkyyHsHzQMcUM5OW1qdna JvFUWGiF/QERch8jxkA94oh8RZz5ieCLqSLNUXW1IkXj8ZIKII0s2wTOr1nvWstloPumtRAs5YQlK 5JKYIN52+d8CjZ9WDvWqJeq7Dg83emyciB/aDpZsw4hPyuvYoU2LmmvHZO3HVszGsmE3vijRKmlAE ZlVlHzRt3Bj7bvq//nq7XfUjru5oemP/rW8tAsrNwXsAB8cPqTgcY8jEs5y+I1L8eFoMKvwMLCSYK MUOJ94K5xLGxfA==; Original-Received: from [87.69.77.57] (port=2696 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAZ4C-0000c3-JN; Sun, 10 Jul 2022 11:41:52 -0400 In-Reply-To: (message from Stefan Monnier on Sun, 10 Jul 2022 11:19:22 -0400) 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:236586 Archived-At: > From: Stefan Monnier > Cc: 56469@debbugs.gnu.org > Date: Sun, 10 Jul 2022 11:19:22 -0400 > > In the updated comment I noted that we have a bug when we do > > (let ((file-name-coding-system 'binary)) > (directory-files "/tmp/été/" 'full) > > because we'll be concatenating the multibyte string "/tmp/été/" with > the undecoded unibyte strings of the names of files in that directory. I don't think file-name related stuff can work in Emacs when file-name-coding-system is set to an arbitrary value not reflecting the reality. Why would we want to support such cases? (But I don't object to the comment.)