From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: Re: split-string bug in CVS tip of Emacs Date: Tue, 14 Sep 2004 19:59:27 GMT Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095192004 5747 80.91.229.6 (14 Sep 2004 20:00:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2004 20:00:04 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 14 21:59:43 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C7JSn-0003Wp-00 for ; Tue, 14 Sep 2004 21:59:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7JYG-0002mP-4b for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Sep 2004 16:05:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7JYD-0002m2-8y for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2004 16:05:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7JY9-0002kg-QG for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2004 16:05:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7JY9-0002kc-Lh for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2004 16:05:13 -0400 Original-Received: from [130.59.10.2] (helo=chx400.switch.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C7JSS-0002ME-4r for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2004 15:59:20 -0400 Original-Received: from peppermint.risq.qc.ca ([192.26.210.2]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 1C7JSP-0002wy-00 for gnu-emacs-bug@moderators.isc.org; Tue, 14 Sep 2004 21:59:17 +0200 Original-Received: from charlie.risq.qc.ca (unknown [192.26.210.24]) by peppermint.risq.qc.ca (Postfix) with ESMTP id C5A5F5DB for ; Tue, 14 Sep 2004 15:59:15 -0400 (EDT) Original-Received: from charlie.risq.qc.ca (localhost [127.0.0.1]) by charlie.risq.qc.ca (8.12.10+Sun/8.12.9) with ESMTP id i8EJxUJh010084 for ; Tue, 14 Sep 2004 15:59:30 -0400 (EDT) Original-Received: by charlie.risq.qc.ca (8.12.10+Sun/8.12.9/Submit) id i8EJxR93010083; Tue, 14 Sep 2004 15:59:27 -0400 (EDT) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.bug User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:wI0TzCARM9IbIQ94hO7lZafAKSs= Original-Lines: 33 Original-NNTP-Posting-Host: 132.204.24.84 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1095191967 132.204.24.84 (Tue, 14 Sep 2004 15:59:27 EDT) Original-NNTP-Posting-Date: Tue, 14 Sep 2004 15:59:27 EDT X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9007 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9007 > 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. Check the etc/NEWS file. It says something about this change. > 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. The Elisp manual is now part of the tarball (the source is in directory `lispref'), so you should just do: C-h i m elisp RET and that should be it. It may be that the part of the manual hasn't been updated yet. Updating the manual is one of the main things that's currently delaying the beginning of the beta-test phase, so if you can help us with that, it would be great. Stefan