emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: newline element of org-emphasis-regexp-components no longer honored?
Date: Fri, 11 Nov 2016 15:05:28 -0800	[thread overview]
Message-ID: <87a8d539dz.fsf@ericabrahamsen.net> (raw)
In-Reply-To: CAJcAo8tuTX-OksRwpHu6RVKoeA3Xx=5nSRx9_JcA3-UhG9u=GA@mail.gmail.com

Samuel Wales <samologist@gmail.com> writes:

> fyi, it might be just me, but i do not understand the docstring to set-emph-re.

It's highly confusing -- the code, too. I can only guess that you're
supposed to put your modifications to org-emphasis-regexp-components
in the arguments to `org-set-emph-re'. Like:

(org-set-emph-re
  'org-emphasis-regexp-components
  (setf (nth 4 org-emphasis-regexp-components) 3))

Except if I've setf-ed, I don't need the (set var val) thing at all.
Just calling the function without that sexp, and with no args, would do
the trick.

What am I missing?

      reply	other threads:[~2016-11-11 23:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08 21:39 newline element of org-emphasis-regexp-components no longer honored? Eric Abrahamsen
2016-11-08 21:48 ` Eric Abrahamsen
2016-11-11 10:01   ` Nicolas Goaziou
2016-11-11 16:43     ` Eric Abrahamsen
2016-11-11 22:14       ` Samuel Wales
2016-11-11 23:05         ` Eric Abrahamsen [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

  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=87a8d539dz.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /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).