all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <13081@debbugs.gnu.org>
Subject: bug#13081: 24.3.50; doc of `compare-strings' says nothing about the compare function used
Date: Tue, 4 Dec 2012 10:44:34 -0800	[thread overview]
Message-ID: <F1850F07EC6D47A1B2E542972DDE081B@us.oracle.com> (raw)
In-Reply-To: <7D334704F49643BDB98A047592ED7768@us.oracle.com>

1. I should have said that the doc problem applies to both the doc string and
Elisp manual.

2. What's more, the doc string says that "END1 and END2 default to".  This
language is incorrect - there is no defaulting.  These parameters are mandatory,
so they do not have any default values.

What the doc should say is two things:

a. START1, START2, END1, and END2 are either 0-based indexes into the string.
(This information is missing.)

b. START1, START2, END1, and END2 can each alternatively be nil.  For START1 and
START2, nil is the same as 0.  For END1 and END2, nil is the same as the length
of STR1 and STR2, respectively.






  reply	other threads:[~2012-12-04 18:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 18:35 bug#13081: 24.3.50; doc of `compare-strings' says nothing about the compare function used Drew Adams
2012-12-04 18:44 ` Drew Adams [this message]
2012-12-04 18:50   ` Drew Adams
2012-12-15 13:44 ` Chong Yidong

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=F1850F07EC6D47A1B2E542972DDE081B@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=13081@debbugs.gnu.org \
    /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.