From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Fabrice Popineau <fabrice.popineau@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Lisp mode syntax table
Date: Mon, 17 Feb 2014 15:19:22 -0500 [thread overview]
Message-ID: <jwv8ut9mr5i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <loom.20140217T113854-222@post.gmane.org> (Fabrice Popineau's message of "Mon, 17 Feb 2014 10:43:40 +0000 (UTC)")
> Is there a good reason why:
> (with-syntax-table lisp-mode-syntax-table
> (string (char-syntax ?\|)))
> "\""
IIRC some Lisps use that for symbols.
> |rdf|:|someClass| and smartparen can't behave well in this case,
If it hurts don't do that. Really, it seems like a particularly bad idea.
> Would that switch imply any drawbacks I can't think of?
I'm not sure what lisp-mode-syntax-table should use, but so far
emacs-lisp-mode-syntax-table should use "_" for the syntax of ?|
OTOH, someone might want to make |...| into a new syntax for symbols, in
which case your |rdf|:|someClass| might break in the future.
Stefan
next prev parent reply other threads:[~2014-02-17 20:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 10:43 Lisp mode syntax table Fabrice Popineau
2014-02-17 20:19 ` Stefan Monnier [this message]
2014-02-17 22:10 ` Fabrice Popineau
2014-02-18 0:19 ` Stefan Monnier
2014-02-18 5:53 ` Fabrice Popineau
2014-02-18 14:00 ` Stefan Monnier
2014-02-18 19:34 ` Fabrice Popineau
2014-02-18 6:02 ` Fabrice Popineau
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=jwv8ut9mr5i.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=fabrice.popineau@gmail.com \
/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.