all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Issue: compare-strings
Date: Wed, 23 Dec 2009 10:08:10 +0100	[thread overview]
Message-ID: <87d426jbwl.fsf@lola.goethe.zz> (raw)
In-Reply-To: 83k4we5nyz.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

> It's quite clear from the Emacs implementation that the behavior is
> intentional:
>
>   end1_char = SCHARS (str1);
>   if (! NILP (end1) && end1_char > XINT (end1))
>     end1_char = XINT (end1);
>
>   end2_char = SCHARS (str2);
>   if (! NILP (end2) && end2_char > XINT (end2))
>     end2_char = XINT (end2);
>
> According to "cvs annotate", this code did not change since April
> 1998, when this function was introduced.

Perhaps mention this facet in the DOC string so that people may make use
of that convenience?

-- 
David Kastrup





  reply	other threads:[~2009-12-23  9:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <873a33fmd8.fsf@harnisch.dyndns.org>
2009-12-23  3:32 ` Issue: compare-strings Stephen J. Turnbull
2009-12-23  4:11   ` Eli Zaretskii
2009-12-23  9:08     ` David Kastrup [this message]
2009-12-23 13:02       ` Stephen J. Turnbull
2010-01-01 18:21         ` Stephen J. Turnbull

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=87d426jbwl.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@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.