From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alvaro Ramirez Newsgroups: gmane.emacs.devel Subject: Re: Keen on a dired-hide-details-mode patch? Date: Wed, 31 Jul 2024 17:27:07 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12065"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: kickingvegas@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 31 19:44:41 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sZDNP-0002yK-KF for ged-emacs-devel@m.gmane-mx.org; Wed, 31 Jul 2024 19:44:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZDMq-0005L2-VM; Wed, 31 Jul 2024 13:44:05 -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 1sZCAY-0001x7-WC for emacs-devel@gnu.org; Wed, 31 Jul 2024 12:27:19 -0400 Original-Received: from out-181.mta0.migadu.com ([91.218.175.181]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZCAX-0004IU-2I for emacs-devel@gnu.org; Wed, 31 Jul 2024 12:27:18 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xenodium.com; s=default; t=1722443230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QjE8MeAvrFKjI6buMkFEz+YlkF7rCelwZRotQ/7oh4M=; b=sA5ddHerwdPw+E6JcN7Kkr94ijy9fA5g+S2x3x85WoH4H0oZhb+Wt7KftT5+uCMWChBLtj Bt6qLWkwC81fILsOXSaqEAlz1QKa/RQ2DJC5YEff3lh+oiQA7GBiDYVXj8d1BEjJj65AdT CjOvV19y8lPQQrmw03+DS+rYVFES7U8= In-Reply-To: (Yuri Khan's message of "Mon, 22 Jul 2024 03:19:59 +0700") X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.181; envelope-from=alvaro@xenodium.com; helo=out-181.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 31 Jul 2024 13:44:00 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322231 Archived-At: Hi Charles! Charles Choi writes: > Alvaro -=20 >=20 > Hello! Does this patch also work with Dired subdirs? Got more details? I'm guessing yes, as it applies to all dired=20 buffer headers, but maybe I'm not considering something else? You=20 can see the difference at: Before patch: https://0x0.st/s/fsFsYyLFchgeEqP7LtDtGQ/Xpqy.gif After patch: https://0x0.st/s/cw4fZsFX65OJxD_ueAb-TQ/XpqJ.gif The initial patch is available if you'd like to try it out for=20 your use-case=20 https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-07/msg00976.html >=20 > Charles >=20 > =E2=80=94 > Charles Y. Choi > kickingvegas@gmail.com >=20 >> On Jul 21, 2024, at 9:07=E2=80=AFAM, Alvaro Ramirez=20 >> wrote: >>=20 >>=20 >> I have rough changes to enable hiding Dired=E2=80=99s absolute path via= =20 >> dired-hide-details-mode. >>=20 >> Given a Dired header path like: >>=20 >> /long/path/to/some/location/that/goes/deep/into/emacs/lisp/eshell: >>=20 >> dired-hide-details-mode would display it as: