emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: character syntax of linefeed?


From: Andreas Schwab
Subject: Re: character syntax of linefeed?
Date: Tue, 24 Nov 2009 11:58:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"Tobias C. Rittweiler" <address@hidden> writes:

> 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?

In which way does that contradict "almost all major modes"?

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]