From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Omar Antolín" <omar.antolin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: The syntax class of ", /, =, ~
Date: Sun, 19 Aug 2018 10:33:59 +0200 [thread overview]
Message-ID: <87k1omwya0.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <86wothpwr0.fsf@gmail.com> ("Omar Antolín"'s message of "Thu, 26 Jul 2018 15:28:35 -0500")
Hello,
omar.antolin@gmail.com (Omar Antolín) writes:
> In a nutshell, I propose that ", /, = and ~ be assigned to the syntax class "paired delimiter", which is $. (This would allow electric-pair-mode to work with them.)
>
> The definition of org-mode as a derived mode contains the following lines:
>
> (modify-syntax-entry ?@ "w")
> (modify-syntax-entry ?\" "\"")
> (modify-syntax-entry ?\\ "_")
> (modify-syntax-entry ?~ "_")
>
> What is the rationale behind the choices for ~ and "? It feels to me
> like both should be assigned class "paired delimiters" (i.e., class
> $). I would also expect / and = to be paired delimiters, but maybe I'm
> missing some subtlety.
What about file:~/todo.org and \(a=b\)? I don't think we can assure ~,
/, and = are always paired. Also, what is wrong with " belonging to string
quote class?
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2018-08-19 8:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 20:28 The syntax class of ", /, =, ~ Omar Antolín
2018-08-19 8:33 ` Nicolas Goaziou [this message]
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=87k1omwya0.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=omar.antolin@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.