GNU bug report logs -
#11571
24.0.97; doc string of `dired-get-subdir-min'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sun, 27 May 2012 21:40:02 UTC
Severity: minor
Found in version 24.0.97
Fixed in version 27.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 11571 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> The use of cdr is clear enough, as long as you
> understand what `dired-subdir-alist' is.
>
> But that could be clearer.
>
> `C-h v dired-subdir-alist' says:
>
> Association list of subdirectories and their buffer positions.
> Each subdirectory has an element: (DIRNAME . STARTMARKER).
> ...
>
> Directories don't have buffer positions.
>
> It would be clearer to say "listed subdirectories".
> It's not about subdirectories. It's about those
> subdirs that are listed in the Dired buffer, and
> STARTMARKER is the buffer position where such a
> _listing_ starts.
>
> The buffer position of a subdirectory isn't clear.
> The buffer position of a subdirectory listing is
> clear.
FWIW, I think it's already clear enough, given that the value after
dired-maybe-insert-subdir will be something like:
(("/home/skangas/wip/emacs/etc/" . #<marker at 3031 in emacs>)
("/home/skangas/wip/emacs/" . #<marker at 1 in emacs>))
I'm not against trying to make it even clearer though.
Do you have a suggestion for how to rewrite this text without going
over the recommended 67 character limit?
Association list of subdirectories and their buffer positions.
The best I could come up with is this (exactly 67 characters):
Alist of subdirectories and the buffer positions of their listings.
Best regards,
Stefan Kangas
This bug report was last modified 5 years and 192 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.