From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tobias C. Rittweiler" Newsgroups: gmane.emacs.devel Subject: character syntax of linefeed? Date: Tue, 24 Nov 2009 11:45:15 +0100 Message-ID: <874ookw69w.fsf@freebits.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259059848 8527 80.91.229.12 (24 Nov 2009 10:50:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2009 10:50:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 24 11:50:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCsym-0006O5-5q for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2009 11:50:40 +0100 Original-Received: from localhost ([127.0.0.1]:40564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCsyl-00019d-No for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2009 05:50:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCsu1-00072A-65 for emacs-devel@gnu.org; Tue, 24 Nov 2009 05:45:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCstw-0006yO-60 for emacs-devel@gnu.org; Tue, 24 Nov 2009 05:45:44 -0500 Original-Received: from [199.232.76.173] (port=45566 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCstv-0006yD-Qx for emacs-devel@gnu.org; Tue, 24 Nov 2009 05:45:39 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:35937) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NCstv-0003xb-Kq for emacs-devel@gnu.org; Tue, 24 Nov 2009 05:45:39 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NCstt-0004Tl-8j for emacs-devel@gnu.org; Tue, 24 Nov 2009 11:45:37 +0100 Original-Received: from host146.natpool.mwn.de ([138.246.7.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 11:45:37 +0100 Original-Received: from tcr by host146.natpool.mwn.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 11:45:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host146.natpool.mwn.de User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Z6sfGnV9hjQO5Efd81ZcqDoPP3E= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:117667 Archived-At: Quoting 35.2.1 Table of Syntax Classes: -- Syntax class: whitespace character "Whitespace characters" (designated by ` ' or `-') separate symbols and words from each other. [...] Space, tab, newline and formfeed are classified as whitespace in almost all major modes. However, if I open, say, an empty foo.el or foo.c file, press RET and then M-: (list (string (char-before)) (string (char-syntax (char-before)))) I get (" " ">"), i.e. a syntax of type 'endcomment'. This behaviour seems to go through 23,22, and 21, so it's definitively not new. :-) My question is, is the above paragraph just wrong? Can I count on it being ">"? Additionally: It seems that CR has a syntax type of `symbol' since version 22, but it was ">" on 21. -T.