From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: string-strip Date: Mon, 19 Jun 2006 19:19:25 -0400 Message-ID: References: <449266B2.7030500@easy-emacs.de> <4496E618.8090401@soem.dk> <32964.128.165.123.239.1150741470.squirrel@webmail.lanl.gov> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1150759215 27351 80.91.229.2 (19 Jun 2006 23:20:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jun 2006 23:20:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 20 01:20:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FsT2U-0001f6-Bk for ged-emacs-devel@m.gmane.org; Tue, 20 Jun 2006 01:20:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FsT2T-00063I-Qq for ged-emacs-devel@m.gmane.org; Mon, 19 Jun 2006 19:20:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FsT1l-0005of-8b for emacs-devel@gnu.org; Mon, 19 Jun 2006 19:19:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FsT1i-0005nM-EJ for emacs-devel@gnu.org; Mon, 19 Jun 2006 19:19:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FsT1i-0005nJ-96 for emacs-devel@gnu.org; Mon, 19 Jun 2006 19:19:26 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FsTC7-0002WQ-3j for emacs-devel@gnu.org; Mon, 19 Jun 2006 19:30:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FsT1h-0004VS-JY; Mon, 19 Jun 2006 19:19:25 -0400 Original-To: herring@lanl.gov In-reply-to: <32964.128.165.123.239.1150741470.squirrel@webmail.lanl.gov> (herring@lanl.gov) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56015 Archived-At: > 1. Allow newlines in STR. > 2. Treat newlines as white space. Shouldn't it really be up to the syntax table? Or is this supposed to be so much in Lisp land that the buffer shouldn't matter? The syntax table is relevant only for a buffer. This has nothing to do with any particular buffer. > 3. Return nil when resulting string is empty. That would be a bad idea.