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#10607: bug-10607 Date: Wed, 05 Apr 2023 07:45:57 +0300 Message-ID: <837curszqy.fsf@gnu.org> References: <6o62fzm010.fsf@fencepost.gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6676"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 10607@debbugs.gnu.org To: Charles El Hourani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 05 06:46:17 2023 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 1pjv2H-0001Z6-FB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Apr 2023 06:46:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjv23-0003sG-Rh; Wed, 05 Apr 2023 00:46:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjv22-0003rp-Bf for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 00:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjv22-00055x-3r for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 00:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjv21-00052Q-Kt for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 00:46: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: Wed, 05 Apr 2023 04:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 10607-submit@debbugs.gnu.org id=B10607.168066994219337 (code B ref 10607); Wed, 05 Apr 2023 04:46:01 +0000 Original-Received: (at 10607) by debbugs.gnu.org; 5 Apr 2023 04:45:42 +0000 Original-Received: from localhost ([127.0.0.1]:50620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjv1h-00051n-Nu for submit@debbugs.gnu.org; Wed, 05 Apr 2023 00:45:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjv1g-00051Z-1m for 10607@debbugs.gnu.org; Wed, 05 Apr 2023 00:45:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjv1a-0004Br-JY; Wed, 05 Apr 2023 00:45:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=39cV781s6DXmfTxkyaIL1fbb98E/CCYnl9koTXwJmQ4=; b=XRNs0ObuNmVN zdxuweTCWSSCfVKlI4VCO5IIhd3UlLz7HwCpPtUkNfefheCOo0vusY1Er9dEuo7TbAW40hQtZYS9U 4nUzbpZh3Iqbh5M+8PoPLfURN8Fv7WRZLnhh+BeQZWOMz+PfeLaXd7vRz0jxkl470JIz2ExETT6xp FvNmxfTQEAUDmiotGskm5VjCzHt1iFtJLVwth7X9o2q6MnkkVciPZ+TQ73k0Ht9pKA7TybetRPx45 rxZ5tesglFKKmzi91hXVk5CcT55ednc0B8MO7r0ROOQeMTPzdF9RJ31wja+U+Ci/cE2EnjPAdkR/U GPTh/VkqauQVqUkBHGZtlQ==; Original-Received: from [87.69.77.57] (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 1pjv1Y-0000hW-BP; Wed, 05 Apr 2023 00:45:34 -0400 In-Reply-To: (message from Charles El Hourani on Tue, 4 Apr 2023 21:52:39 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259245 Archived-At: > From: Charles El Hourani > Date: Tue, 4 Apr 2023 21:52:39 +0300 > > Here is a way to solve the issue by calling `ls` directly, without re-implementing the "-b" functionality of ls in > elisp. > > From 22962ffd84370ac05017ed05cca88286d010aa0e Mon Sep 17 00:00:00 2001 > From: Charlie El Hourani > Date: Tue, 4 Apr 2023 21:26:07 +0300 > Subject: [PATCH] Fix dired goto file when -b is provided to ls (bug#10607) > > This fixes the goto file in dired mode for: > - files containing a control character > - and when dired uses ls with the "-b" flag > > The goto file function calls 'ls' to give it the escaped name. Thanks, but is it really a good idea to invoke a program each time we move in Dired? dired-goto-file is a function that is used very frequently. In any case, calling literally "ls" is not TRT, IMO, since the user could have modified the value of insert-directory-program.