From: Michael Heerdegen <michael_heerdegen@web.de>
To: Andreas Politz <politza@hochschule-trier.de>
Cc: Emacs Development <emacs-devel@gnu.org>
Subject: Re: The symbol `@' and sexp scanning
Date: Thu, 13 Oct 2016 05:56:51 +0200 [thread overview]
Message-ID: <87a8e8dhq4.fsf@web.de> (raw)
In-Reply-To: <87y41tmzu9.fsf@hochschule-trier.de> (Andreas Politz's message of "Wed, 12 Oct 2016 16:00:46 +0200")
Hello Andreas,
(we are talking about bug#24542")
> I believe the answer is in here:
>
> ,----[ (info "(elisp) Syntax Flags") ]
> | • ‘p’ identifies an additional prefix character for Lisp syntax.
> | These characters are treated as whitespace when they appear
> | between
> | expressions. When they appear within an expression, they are
> | handled according to their usual syntax classes.
> `----
FWIW, I can't make much sense out of this description (but the first
sentence). Nearly anything in an Elisp buffer is inside an expression.
Anything else is either a comment. Or, the only case that seems to fit
into this description is an isolated "@" at top-level. According to
this text, it should be treated as whitespace. Dunno what that exactly
means, but evaluating something like that results in an error saying
that the symbol `@' is unbound, so it doesn't seem to be treated as
whitespace, but as an expression.
> This flag is set in elisp buffers. But after evaluating
> (modify-syntax-entry ?@ "_") the function performs as expected.
Ok, but I guess it's not syntax classification that is problematic but
how it is treated in the case of the bug. Also see the seemingly very
related bug#22238, btw.
Regards,
Michael.
next prev parent reply other threads:[~2016-10-13 3:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-25 15:23 The symbol `@' and sexp scanning Michael Heerdegen
2016-10-12 14:00 ` Andreas Politz
2016-10-13 3:56 ` Michael Heerdegen [this message]
2016-10-13 10:19 ` Andreas Politz
2016-10-13 12:48 ` Stefan Monnier
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=87a8e8dhq4.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=emacs-devel@gnu.org \
--cc=politza@hochschule-trier.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.