From: Drew Adams <drew.adams@oracle.com>
To: Stefan Kangas <stefan@marxist.se>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 11571@debbugs.gnu.org
Subject: bug#11571: 24.0.97; doc string of `dired-get-subdir-min'
Date: Tue, 5 Nov 2019 08:21:39 -0800 (PST) [thread overview]
Message-ID: <ccc9259e-296e-48a6-ad81-c60f1c040554@default> (raw)
In-Reply-To: <871rum742b.fsf@marxist.se>
> > 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.
>
> 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.
I already suggested it, at the beginning: "listed
subdirectories" instead of just "subdirectories".
To be even more precise, as it's not the listed subdirs
that are used in the alist, but their names:
Alist of listed subdirectory names and their buffer positions.
However, the alist contains not only elements for the
listed subdirs but also an element for the listed main
dir. The doc string is unclear about that.
This is clear, I think. And the lines are all less than
60 chars wide:
Alist of listed directory names and their buffer positions.
Alist elements have the form (DIRNAME . STARTMARKER), where
DIRNAME is the listed absolute name of the directory and
STARTMARKER is a marker at the beginning of DIRNAME.
The elements are in reverse order of the listing. If no
subdirectories are listed then the alist contains only one
element, for the listed directory.
That also makes clear that DIRNAME is an absolute file name,
and it is what is shown in the listing. And it makes clear
what the "one element" is when there are no subdir listings.
next prev parent reply other threads:[~2019-11-05 16:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-27 21:37 bug#11571: 24.0.97; doc string of `dired-get-subdir-min' Drew Adams
2012-05-27 21:41 ` Drew Adams
2012-09-16 23:49 ` Drew Adams
2014-02-09 3:59 ` Lars Ingebrigtsen
2014-02-09 22:25 ` Drew Adams
2019-11-01 18:44 ` Stefan Kangas
2019-11-01 20:54 ` Drew Adams
2019-11-05 15:09 ` Stefan Kangas
2019-11-05 16:21 ` Drew Adams [this message]
2019-11-08 13:30 ` Stefan Kangas
2019-11-08 18:04 ` Drew Adams
2019-11-10 21:17 ` Stefan Kangas
2019-11-02 14:51 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ccc9259e-296e-48a6-ad81-c60f1c040554@default \
--to=drew.adams@oracle.com \
--cc=11571@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=stefan@marxist.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.