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: Sun, 21 Jul 2024 21:13:24 +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="25447"; mail-complaints-to="usenet@ciao.gmane.io" To: Yuri Khan , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 22 04:25:19 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 1sVijm-0006Qy-QW for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Jul 2024 04:25:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVijZ-0001q2-Ku; Sun, 21 Jul 2024 22:25:06 -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 1sVcvz-0008Hv-U9 for emacs-devel@gnu.org; Sun, 21 Jul 2024 16:13:31 -0400 Original-Received: from out-174.mta1.migadu.com ([2001:41d0:203:375::ae]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVcvx-0004F0-9p for emacs-devel@gnu.org; Sun, 21 Jul 2024 16:13:31 -0400 X-Envelope-To: emacs-devel@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xenodium.com; s=default; t=1721592806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=j3WHbX8V1psGnF+j83N3VWIwl4XdI5MbpqXzsRNKz2k=; b=Z5IQg4IGirTHrTnKY0D5+A4jRMX8zS5EYmCTCZ3BW06k6GG9XvR+V5k8SUYlM6vz0nVtQl VndivuKtCYTgoIztPwISn3OfZzUWO5nbpbIKRPGx918sf0wolE+91wUiRvsmzB/grlDEeT 0w1P440LGxu+dg+v1EUPjBdtpMNg0AA= X-Envelope-To: yuri.v.khan@gmail.com X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: (Yuri Khan's message of "Mon, 22 Jul 2024 02:50:09 +0700") X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::ae; envelope-from=alvaro@xenodium.com; helo=out-174.mta1.migadu.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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_NONE=0.001, SPF_PASS=-0.001, URIBL_CSS=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 21 Jul 2024 22:24:58 -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:321925 Archived-At: Yuri Khan writes: > On Sun, 21 Jul 2024 at 23:14, Alvaro Ramirez=20 > wrote: > >> I have rough changes to enable hiding Dired=E2=80=99s absolute path via >> dired-hide-details-mode. >> >> Given a Dired header path like: >> >> /long/path/to/some/location/that/goes/deep/into/emacs/lisp/eshell: >> >> dired-hide-details-mode would display it as: >> >> eshell: > > Will that be gated behind a separate setting? Sure. Can do. > Because some of the > projects I work on consist of multiple components with an=20 > =E2=80=A6/include > and a =E2=80=A6/src in each so it=E2=80=99s vital to see the full path. Curious, in addition to dired header, wouldn't you also have=20 de-duping details in the buffer name (and thus mode line)? I'm=20 guessing I'm relying on the uniquify built-in package for this. > > (Well, maybe stripping the project root to just its basename=20 > would be nice.)