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#55906: [PATCH] Make directory line in find-dired clickable Date: Sat, 11 Jun 2022 16:40:31 +0300 Message-ID: <834k0rxqr4.fsf@gnu.org> References: <87y1y3s4vw.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2518"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55906@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 11 15:41:23 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 1o01Me-0000L7-9m for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 15:41:20 +0200 Original-Received: from localhost ([::1]:33522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o01Md-0003FI-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 09:41:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o01MN-0003Dq-9u for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 09:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o01MN-0001me-0I for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 09:41:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o01MM-00027S-VJ for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 09:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jun 2022 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55906 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55906-submit@debbugs.gnu.org id=B55906.16549548518108 (code B ref 55906); Sat, 11 Jun 2022 13:41:02 +0000 Original-Received: (at 55906) by debbugs.gnu.org; 11 Jun 2022 13:40:51 +0000 Original-Received: from localhost ([127.0.0.1]:52208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o01MB-00026i-1F for submit@debbugs.gnu.org; Sat, 11 Jun 2022 09:40:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o01M8-00026H-6E for 55906@debbugs.gnu.org; Sat, 11 Jun 2022 09:40:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o01M2-0001lf-R3; Sat, 11 Jun 2022 09:40:42 -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=TD4dE9JDl3Kkvl5MTBn7DtgjxZlIr6zU5RyhNZyypzo=; b=iijdz8+ysfZ3 Cd70K13Xf8RxZdqD/MzZvrkpDLW1EtqvqMPB3tIHhhqi/I/4QOOcYf+ouj9armYdWnc3jFhbLHOk/ Y/1JdnjgE17qA0XbS6WM/nDfeFCKlB+SQN4IMwpNMwZkZ97rfLvxrfdAMhIe80Q6bnyfJoy7za7R0 kax8t7WkHggLkU1ObjN567tR0RpTHkAlDQS+tgpAtfD5vU2yfFvcdZgd1y7KLC418YhaXAymPTrXF vPRcIIRJN64/ldh1bZCG313Eq07GzBginpA9+DaOKIsQNYEiJzugSs6qpux6BeK5O1982JQ9KJTBJ 9TJ8x8B2PL/LmOJTSeCiIQ==; Original-Received: from [87.69.77.57] (port=1717 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 1o01M2-0005Lv-43; Sat, 11 Jun 2022 09:40:42 -0400 In-Reply-To: <87y1y3s4vw.fsf@gmail.com> (message from Visuwesh on Sat, 11 Jun 2022 19:01:47 +0530) 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:234285 Archived-At: > From: Visuwesh > Date: Sat, 11 Jun 2022 19:01:47 +0530 > > diff --git a/lisp/find-dired.el b/lisp/find-dired.el > index c04545e44e..8c1e684b7e 100644 > --- a/lisp/find-dired.el > +++ b/lisp/find-dired.el > @@ -241,6 +241,8 @@ find-dired > ;; Subdir headlerline must come first because the first marker in > ;; subdir-alist points there. > (insert " " dir ":\n") > + (when dired-make-directory-clickable > + (dired--make-directory-clickable)) Won't we need to make that function be public for this, and rename it to dired-make-directory-clickable? Thanks.