From: Peter Milliken <PeterM@resmed.com.au>
Subject: split-string bug in CVS tip of Emacs
Date: Tue, 14 Sep 2004 10:09:42 +1000 [thread overview]
Message-ID: <274A369893F5FB4099345F006439D9870316C3DB@bella.corp.resmed.org> (raw)
I have taken to downloading the nightly tarball of the Emacs CVS repository
(I cannot download via CVS itself due to firewall restrictions). I have
noticed that some Elisp I use/wrote is failing when running using the CVS
tip versus the 21.3 release. I tracked the problem behaviour to split-string
in subr.el
The Elisp Manual (21-2.8) states (in part):
When there is a match adjacent to the beginning or end of the
string, this does not cause a null string to appear at the
beginning or end of the list:
(split-string "out to moo" "o+")
=> ("ut t" " m")
But using the CVS tip of Emacs I am getting this:
(split-string "out to moo" "o+")
=> ("" "ut t" " m" "")
^
|- this leading null string should not be there according to
Elisp 21-2.8 manual.
Is this a deliberate change to the behaviour of Emacs or is it a bug? i.e. I
was unable to "locate" the current Elisp manual in the repository - lack of
knowing what to search for I guess :-), so I was unable to check the latest
requirements on split-string.
Thanks
Peter
Peter Milliken
Software Engineer
ResMed
Phone: +61 2 9886-5059
Fax: +61 2 9878-5564
Warning: Copyright ResMed. Where the contents of this email and/or attachment includes materials prepared by ResMed, the use of those
materials is subject exclusively to the conditions of engagement between ResMed and the intended recipient.
This communication is confidential and may contain legally privileged information.
By the use of email over the Internet or other communication systems, ResMed is not waiving either confidentiality of, or legal
privilege in,the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call ResMed immediately on +61 2 9886 5000 Sydney, Australia.
next reply other threads:[~2004-09-14 0:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-14 0:09 Peter Milliken [this message]
2004-09-15 9:32 ` split-string bug in CVS tip of Emacs Richard Stallman
[not found] <mailman.2630.1095120950.1998.bug-gnu-emacs@gnu.org>
2004-09-14 19:59 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2004-09-14 20:55 Luc Teirlinck
2004-09-15 21:28 Peter Milliken
[not found] <mailman.2905.1095284055.1998.bug-gnu-emacs@gnu.org>
2004-09-16 12:32 ` Miles Bader
2004-09-16 21:03 Peter Milliken
[not found] <mailman.3041.1095368970.1998.bug-gnu-emacs@gnu.org>
2004-09-17 17:55 ` Stefan Monnier
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=274A369893F5FB4099345F006439D9870316C3DB@bella.corp.resmed.org \
--to=peterm@resmed.com.au \
/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).