all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 957@debbugs.gnu.org
Subject: bug#957: 23.0.60; No doc string for Dired functions
Date: Thu, 07 Jul 2011 18:30:18 +0200	[thread overview]
Message-ID: <m3d3hmvysl.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <A19DDB8C2DE1421597ED6CD83020BDC4@us.oracle.com> (Drew Adams's message of "Wed, 6 Jul 2011 12:16:37 -0700")

"Drew Adams" <drew.adams@oracle.com> writes:

>> but I don't know what `dired-repeat-overlines' is...
>
> All the more reason for it to get a doc string!

I meant that I couldn't find it.  :-)  But grepping for
`dired-repeat-over-lines' found it for me.

It, too, is an internal function, and I don't think it's worth
documenting all these.  They are only useful if you're doing dired
development, and then you presumably have the sources and can look at
the comments.

> Sure they do, in general.  Since when do we document only commands?
>
> In the Dark Ages, doc strings were relatively more expensive (disk, memory,
> etc.), and some minor functions were handled with only a comment.  Nowadays
> there is rarely a good reason not to provide a doc string.

I agree, but adding doc strings to purely internal functions that are
presumably self-explanatory to people who need to use them to develop
isn't all that useful.

It's not that I'm against adding doc strings (if somebody feels like
doing that), but it's not, in my opinion worth the time.  So I'm closing
this report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2011-07-07 16:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-10 16:16 bug#957: 23.0.60; No doc string for Dired functions Drew Adams
2011-07-06 18:27 ` Lars Magne Ingebrigtsen
2011-07-06 19:16   ` Drew Adams
2011-07-07 16:30     ` Lars Magne Ingebrigtsen [this message]
2011-07-07 16:43       ` Drew Adams
2011-07-07 16:48         ` Lars Magne Ingebrigtsen
     [not found] <mailman.18915.1221064059.18990.bug-gnu-emacs@gnu.org>
2008-09-11 20:55 ` Roland Winkler

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=m3d3hmvysl.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=957@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.