|--==> "JJ" == Jerry James <james(a)xemacs.org> writes:
JJ> Steve Youngs <youngs(a)xemacs.org> wrote:
>FAIL: Assertion failed: (equal (split-string ",foo,bar,"
",") (quote ("" "foo" "bar" "")))
>FAIL: Assertion failed: (equal (split-string ",foo,bar," "^,")
(quote ("" "foo,bar,")))
>FAIL: Assertion failed: (equal (split-string ",foo,bar," ",$")
(quote (",foo,bar" "")))
>FAIL: Assertion failed: (equal (split-string ",foo,,bar," ",")
(quote ("" "foo" "" "bar" "")))
>FAIL: Assertion failed: (equal (split-string "foo,,bar,," ",")
(quote ("foo" "" "bar" "" "")))
>FAIL: Assertion failed: (equal (split-string ",foo,,bar," ",+")
(quote ("" "foo" "bar" "")))
JJ> These stem from Ben's recent synch with FSF Emacs:
JJ> <
URL:http://list-archive.xemacs.org/xemacs-patches/200303/msg00004.html>.
JJ> They apparently decided to do away with including empty strings at the
JJ> beginning and end of the list if the string starts or ends with a
JJ> separator (see the docstring). We need to decide whether we want the
JJ> old behavior, in which case split-string needs to be fixed, or the new
JJ> behavior, in which case the tests need to be fixed.
Ben, can you comment on this.
My feeling is that if `split-string' works as advertised, we fix the
tests. But I'd like to wait to find out what Ben thinks.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|