all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Tobias C. Rittweiler" <tcr@freebits.de>
Cc: emacs-devel@gnu.org
Subject: Re: character syntax of linefeed?
Date: Tue, 24 Nov 2009 11:58:58 +0100	[thread overview]
Message-ID: <m36390tci5.fsf@hase.home> (raw)
In-Reply-To: <874ookw69w.fsf@freebits.de> (Tobias C. Rittweiler's message of "Tue, 24 Nov 2009 11:45:15 +0100")

"Tobias C. Rittweiler" <tcr@freebits.de> 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




  reply	other threads:[~2009-11-24 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 10:45 character syntax of linefeed? Tobias C. Rittweiler
2009-11-24 10:58 ` Andreas Schwab [this message]
2009-11-24 12:09   ` Tobias C. Rittweiler
2009-11-24 14:12 ` Stefan Monnier
2009-11-25 10:45 ` A Soare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m36390tci5.fsf@hase.home \
    --to=schwab@linux-m68k.org \
    --cc=emacs-devel@gnu.org \
    --cc=tcr@freebits.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.