From: Michael Heerdegen <michael_heerdegen@web.de>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: Nicolas Petton <nicolas@petton.fr>,
Emacs developers <emacs-devel@gnu.org>
Subject: Re: Documentation patch for seq-subseq
Date: Fri, 02 Sep 2016 13:01:34 +0200 [thread overview]
Message-ID: <87mvjqh8fl.fsf@web.de> (raw)
In-Reply-To: <6355eaaf-a72b-c45f-a2b6-17f3b7698057@gmail.com> ("Clément Pit--Claudel"'s message of "Thu, 1 Sep 2016 10:47:48 -0400")
Clément Pit--Claudel <clement.pit@gmail.com> writes:
> (cl-defgeneric seq-subseq (sequence start &optional end)
> "Return the sequence of elements of SEQUENCE from START to END.
> -END is inclusive.
> +END is exclusive.
I think it would be nice to tell also that the index counts from 0. One
might guess that...but documentation is there to avoid the necessity to
guess ;-)
And FWIW, why doesn't the doc of `cl-subseq' (which `seq-subseq' is
based on) tell nothing about this?
Regards,
Michael.
prev parent reply other threads:[~2016-09-02 11:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-01 14:47 Documentation patch for seq-subseq Clément Pit--Claudel
2016-09-02 1:02 ` John Wiegley
2016-09-02 8:02 ` Nicolas Petton
2016-09-02 14:11 ` Clément Pit--Claudel
2016-09-02 19:21 ` Nicolas Petton
2016-09-02 11:01 ` Michael Heerdegen [this message]
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=87mvjqh8fl.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=clement.pit@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=nicolas@petton.fr \
/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.