From: Oleh <ohwoeowho@gmail.com>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: Sebastien Vauban <sva-news@mygooglest.com>, emacs-orgmode@gnu.org
Subject: Re: ~"~ doesn't register as verbatim
Date: Tue, 25 Feb 2014 10:20:55 +0100 [thread overview]
Message-ID: <CAA01p3oAeYjjj2Mfj=vt5ZoRUGCqXH2mpNL1w5FR3weK+KTkBg@mail.gmail.com> (raw)
In-Reply-To: <m2ppmb4km5.fsf@polytechnique.org>
>>> Could you maybe share your customization, then?
>
> It was clearly not as elegant as this:
>
>> I can share it:
>>
>> (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,'")
>> (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist))
>
> However I don't understand why the second line is necessary (but when
> testing it, I found it necessary).
>
`org-emphasis-alist` has a :set handler `org-set-emph-re` which will do the job
of setting up the regexps. I don't want to call `org-set-emph-re` directly,
instead I set `org-emphasis-alist` to itself and let the customize interface
call the handler for me.
regards
Oleh
next prev parent reply other threads:[~2014-02-25 9:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 16:06 ~"~ doesn't register as verbatim Oleh
2014-02-24 17:38 ` Oleh
2014-02-25 7:45 ` Alan Schmitt
2014-02-25 8:18 ` Sebastien Vauban
2014-02-25 8:42 ` Oleh
2014-02-25 9:17 ` Alan Schmitt
2014-02-25 9:20 ` Oleh [this message]
2014-02-25 9:33 ` Alan Schmitt
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA01p3oAeYjjj2Mfj=vt5ZoRUGCqXH2mpNL1w5FR3weK+KTkBg@mail.gmail.com' \
--to=ohwoeowho@gmail.com \
--cc=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=sva-news@mygooglest.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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).