From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.devel Subject: Re: string-strip Date: Tue, 20 Jun 2006 21:28:38 +0200 Message-ID: <44984C66.8090006@easy-emacs.de> References: <449266B2.7030500@easy-emacs.de> <4496E618.8090401@soem.dk> <32964.128.165.123.239.1150741470.squirrel@webmail.lanl.gov> <449796E7.9090808@soem.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150832055 721 80.91.229.2 (20 Jun 2006 19:34:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jun 2006 19:34:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 20 21:34:09 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 1FslzD-0003n3-OE for ged-emacs-devel@m.gmane.org; Tue, 20 Jun 2006 21:34:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FslzD-0007E5-4e for ged-emacs-devel@m.gmane.org; Tue, 20 Jun 2006 15:34:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FslmJ-0001vv-5N for emacs-devel@gnu.org; Tue, 20 Jun 2006 15:20:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FslmG-0001rp-QI for emacs-devel@gnu.org; Tue, 20 Jun 2006 15:20:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FslmG-0001rm-LJ for emacs-devel@gnu.org; Tue, 20 Jun 2006 15:20:44 -0400 Original-Received: from [212.227.126.183] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fslwp-0002ZA-57; Tue, 20 Jun 2006 15:31:39 -0400 Original-Received: from [84.190.198.117] (helo=[192.168.178.23]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1FslmD2mLt-0001xm; Tue, 20 Jun 2006 21:20:42 +0200 User-Agent: Thunderbird 1.5.0.4 (X11/20060516) Original-To: rms@gnu.org, emacs-devel In-Reply-To: X-Provags-ID: kundenserver.de abuse@kundenserver.de login:62d13292e0fce6aaed56aaadcb96352d X-Mailman-Approved-At: Tue, 20 Jun 2006 15:33:54 -0400 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:56040 Archived-At: Richard Stallman schrieb: > (string-match > "\\`[[:space:]\n]*\\(\\(?:.\\|\n\\)*?\\)[[:space:]\n]*\\'" str) > > I think [[:space:]] obeys the syntax table, > and that is not good. > > Why not? : Not to lobby the concept of syntax-tables as such, but "The syntax table is relevant only for a buffer. This has nothing to do with any particular buffer." AFAIU just the syntax of the current buffer will be used - where is the problem? A white space is a white space is a white space ... its up to the mode and the syntax with it to define - if its wrong defined, it's not lisp to blame for. _ Andreas Roehler