unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: new behaviour of `split-string'
Date: Fri, 14 Nov 2003 17:14:30 -0600 (CST)	[thread overview]
Message-ID: <200311142314.hAENEUE16812@raven.dms.auburn.edu> (raw)
In-Reply-To: <ilubrretww0.fsf@latte.josefsson.org> (message from Simon Josefsson on Fri, 14 Nov 2003 23:20:47 +0100)

Simon Josefsson <jas@extundo.com> wrote:

   A Gnus bug was caused by a problem with `split-string'.

   Emacs 21.2:

   (split-string ":foo:bar" ":")
   => ("foo" "bar")

   Emacs CVS:

   (split-string ":foo:bar" ":")
   => ("" "foo" "bar")

   There is no NEWS entry for this change, although it seems important
   enough to warrant one.

   Is this a bug in Emacs CVS or a feature that lack a NEWS entry?

The latter.

   I suggest adding the following to NEWS:

   *** The function `split-string' now include a null substring when
   there is a SEPARATOR at the beginning or end of STRING.

The actual behavior is somewhat more complicated.  I have added a NEWS
entry.

Sincerely,

Luc.

      reply	other threads:[~2003-11-14 23:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 22:20 new behaviour of `split-string' Simon Josefsson
2003-11-14 23:14 ` Luc Teirlinck [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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311142314.hAENEUE16812@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).