From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "John Conrad" Newsgroups: gmane.emacs.help Subject: newline doesn't have whitespace syntax? Date: Fri, 12 May 2006 10:22:37 -0400 Message-ID: <7f270cb80605120722i7fb1ca0ap6472229c335c8a@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2117183559==" X-Trace: sea.gmane.org 1147443793 27983 80.91.229.2 (12 May 2006 14:23:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 May 2006 14:23:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 12 16:23:12 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FeYXf-0002WJ-Fu for geh-help-gnu-emacs@m.gmane.org; Fri, 12 May 2006 16:22:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeYXf-0005nT-80 for geh-help-gnu-emacs@m.gmane.org; Fri, 12 May 2006 10:22:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeYXR-0005mt-KM for help-gnu-emacs@gnu.org; Fri, 12 May 2006 10:22:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeYXP-0005lc-Ny for help-gnu-emacs@gnu.org; Fri, 12 May 2006 10:22:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeYXP-0005lP-KH for help-gnu-emacs@gnu.org; Fri, 12 May 2006 10:22:39 -0400 Original-Received: from [64.233.182.188] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FeYZ9-0003CP-RB for help-gnu-emacs@gnu.org; Fri, 12 May 2006 10:24:28 -0400 Original-Received: by nf-out-0910.google.com with SMTP id o63so263626nfa for ; Fri, 12 May 2006 07:22:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=q54NJ1AidSbdhQKTEbJrkx5Z8ve/NJ30z+3YG/EIf2RrJhiylmFUKAQJT3wc6HHe/LgequOapg4C3w6pdwGZ6l/sLCNotT80PA+/ci5unw4MULl/bwWQ/nEFrapPol8mf6UGws8XbNTU1HUj23Che4dIN3SpVMPv92LvaOKR6ws= Original-Received: by 10.48.213.11 with SMTP id l11mr1288739nfg; Fri, 12 May 2006 07:22:37 -0700 (PDT) Original-Received: by 10.49.94.19 with HTTP; Fri, 12 May 2006 07:22:37 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34997 Archived-At: --===============2117183559== Content-Type: multipart/alternative; boundary="----=_Part_22514_22101597.1147443757501" ------=_Part_22514_22101597.1147443757501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline When I read this in the elisp manual: "Space, tab, newline and formfeed are classified as whitespace in almost al= l major modes." (35.2.1 Table of Syntax Classes) I assumed that this re-search-forward expression would match the line following it, but no dice. (re-search-forward "abcd[[:space:]]") abcd I've tried several different modes, including fundamental mode. Am I missin= g something? Using Emacs 22.0.50.1 John Emerson Conrad ------=_Part_22514_22101597.1147443757501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline When I read this in the elisp manual:

"Space, tab, newline and = formfeed are classified as whitespace in almost all major modes."
(= 35.2.1 Table of Syntax Classes)
 
I assumed that this re-search-= forward expression would match the line following it, but no dice.

(re-search-forward "abcd[[:space:]]")
abcd

I've= tried several different modes, including fundamental mode. Am I missing so= mething?

Using Emacs 22.0.50.1

John Emerson Conrad
------=_Part_22514_22101597.1147443757501-- --===============2117183559== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============2117183559==--