GNU bug report logs -
#73954
30.0.91; Don't hard-couple `dired-hide-details-hide-absolute-location' with `dired-hide-details-mode'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Tue, 22 Oct 2024 18:36:01 UTC
Severity: wishlist
Found in version 30.0.91
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73954 in the body.
You can then email your comments to 73954 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73954
; Package
emacs
.
(Tue, 22 Oct 2024 18:36:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 22 Oct 2024 18:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Starting with Emacs 30 Dired directory header lines apparently show
relative names when `dired-hide-details-mode' is on, if option
`dired-hide-details-hide-absolute-location' is non-nil.
(The only Windows v30 pretest snapshot I found doesn't have this option,
so I'm going only by the description from bug #72272.)
The behavior of being able to show only a relative name is a good one,
but it shouldn't be hard-coupled with `dired-hide-details-mode'. Users
should be able to choose:
nil Always show absolute name.
(This needs to stay the default.)
if-dired-hide-details-mode Show relative name only when
`dired-hide-details-mode' is on.
t Always show relative name.
FUNCTION Show relative name only when invoking
FUNCTION with no args returns non-nil.
The most important behaviors are for nil, t, and
`if-hiding-detail-columns'. FUNCTION is a nice-to-have.
(An alternative would be to use t for showing relative name when
`dired-hide-details-mode' is on and `always' for showing relative names
always. That keeps the current pre-release behavior for t. I don't
think it's preferable, but it's a possibility.)
In GNU Emacs 30.0.91 (build 2, x86_64-w64-mingw32) of 2024-09-11 built
on AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.5011)
Configured using:
'configure --with-modules --without-dbus --with-native-compilation=aot
--without-compress-install --with-tree-sitter
--enable-checking=yes,glyphs 'CFLAGS=-O0 -g3''
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB
(NATIVE_COMP present but libgccjit not available)
Important settings:
value of $LANG: ENU
locale-coding-system: cp1252
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73954
; Package
emacs
.
(Tue, 22 Oct 2024 18:51:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 73954 <at> debbugs.gnu.org (full text, mbox):
severity 73954 wishlist
thanks
> Date: Tue, 22 Oct 2024 18:34:25 +0000
> From: Drew Adams via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Starting with Emacs 30 Dired directory header lines apparently show
> relative names when `dired-hide-details-mode' is on, if option
> `dired-hide-details-hide-absolute-location' is non-nil.
>
> (The only Windows v30 pretest snapshot I found doesn't have this option,
> so I'm going only by the description from bug #72272.)
You are not seeing it in Emacs 30 for a good reason: it was added for
Emacs 31.
> The behavior of being able to show only a relative name is a good one,
> but it shouldn't be hard-coupled with `dired-hide-details-mode'. Users
> should be able to choose:
"Should" why? so we have yet another hard-to-remember and never-used
combination of options?
We just added this feature to the development branch. Let's first
collect some experience with it and see if it is popular enough to
extend it in any way. At this point, it is as possible that the only
person to use it is the person who contributed it as it is possible
that it will be the hottest new Emacs feature, so let's wait and see
which is it.
Severity set to 'wishlist' from 'normal'
Request was from
Eli Zaretskii <eliz <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 22 Oct 2024 18:51:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73954
; Package
emacs
.
(Tue, 22 Oct 2024 19:11:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 73954 <at> debbugs.gnu.org (full text, mbox):
> We just added this feature to the development branch. Let's first
> collect some experience with it and see if it is popular enough to
> extend it in any way. At this point, it is as possible that the only
> person to use it is the person who contributed it as it is possible
> that it will be the hottest new Emacs feature, so let's wait and see
> which is it.
If you put it out there as it is, it'll be used as it is.
What's the connection between wanting relative or absolute
names for directory headers and wanting to hide columns
other than the file name? There's only a connection if
you happen to want to do them together.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73954
; Package
emacs
.
(Wed, 23 Oct 2024 06:34:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 73954 <at> debbugs.gnu.org (full text, mbox):
> From: Drew Adams <drew.adams <at> oracle.com>
> CC: "73954 <at> debbugs.gnu.org" <73954 <at> debbugs.gnu.org>
> Date: Tue, 22 Oct 2024 19:09:57 +0000
>
> > We just added this feature to the development branch. Let's first
> > collect some experience with it and see if it is popular enough to
> > extend it in any way. At this point, it is as possible that the only
> > person to use it is the person who contributed it as it is possible
> > that it will be the hottest new Emacs feature, so let's wait and see
> > which is it.
>
> If you put it out there as it is, it'll be used as it is.
>
> What's the connection between wanting relative or absolute
> names for directory headers and wanting to hide columns
> other than the file name?
The connection is the "hide" part. People who are likely to want to
hide the leading directories are those who use
dired-hide-details-mode. To break the connection, we'd need evidence,
not theoretical possibilities.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73954
; Package
emacs
.
(Wed, 23 Oct 2024 20:49:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 73954 <at> debbugs.gnu.org (full text, mbox):
> > > We just added this feature to the development branch. Let's first
> > > collect some experience with it and see if it is popular enough to
> > > extend it in any way. At this point, it is as possible that the
> only
> > > person to use it is the person who contributed it as it is possible
> > > that it will be the hottest new Emacs feature, so let's wait and see
> > > which is it.
> >
> > If you put it out there as it is, it'll be used as it is.
> >
> > What's the connection between wanting relative or absolute
> > names for directory headers and wanting to hide columns
> > other than the file name?
>
> The connection is the "hide" part. People who are likely to want to
> hide the leading directories are those who use
> dired-hide-details-mode. To break the connection, we'd need evidence,
> not theoretical possibilities.
That's the foot in the door, if you allow it.
There are several things in Dired that can be
hidden in one way or another. So far, they're
NOT all enabled willy nilly whenever you turn
on `dired-hide-details-mode' - fortunately.
You can hide subdirs (`$', `dired-kill-subdir',
`M-$'), lines (`dired-kill-line'), whole trees
(`dired-kill-tree'), uninteresting files
(`dired-omit-mode'), image thumbnails
(`C-t C-t'), etc. And in Dired enhancement
libraries there are more hiding possibilities.
Instead of requiring evidence to "break the
connection" - which is a brand new, _proposed_
connection, you ought to require evidence for
why this particular proposed hiding should be
connected to `dired-hide-details-mode'.
Just putting "hide" in the name of something
doesn't, logically, connect it to something
else that has "hide" in its name. I'm quite
surprised to hear such a rationale from you,
frankly.
Reply sent
to
Stefan Kangas <stefankangas <at> gmail.com>
:
You have taken responsibility.
(Sat, 01 Mar 2025 01:32:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Drew Adams <drew.adams <at> oracle.com>
:
bug acknowledged by developer.
(Sat, 01 Mar 2025 01:32:03 GMT)
Full text and
rfc822 format available.
Message #24 received at 73954-done <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> Starting with Emacs 30 Dired directory header lines apparently show
> relative names when `dired-hide-details-mode' is on, if option
> `dired-hide-details-hide-absolute-location' is non-nil.
>
> (The only Windows v30 pretest snapshot I found doesn't have this option,
> so I'm going only by the description from bug #72272.)
>
> The behavior of being able to show only a relative name is a good one,
> but it shouldn't be hard-coupled with `dired-hide-details-mode'. Users
> should be able to choose:
>
> nil Always show absolute name.
> (This needs to stay the default.)
> if-dired-hide-details-mode Show relative name only when
> `dired-hide-details-mode' is on.
> t Always show relative name.
> FUNCTION Show relative name only when invoking
> FUNCTION with no args returns non-nil.
>
> The most important behaviors are for nil, t, and
> `if-hiding-detail-columns'. FUNCTION is a nice-to-have.
>
> (An alternative would be to use t for showing relative name when
> `dired-hide-details-mode' is on and `always' for showing relative names
> always. That keeps the current pre-release behavior for t. I don't
> think it's preferable, but it's a possibility.)
AFAIU, this behavior was changed in Emacs 31 to be like you suggest, so
I'm closing this bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 29 Mar 2025 11:24:34 GMT)
Full text and
rfc822 format available.
This bug report was last modified 85 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.