all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Dunn <dunni@gnu.org>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Org Emphasis Issues (Trunk)
Date: Thu, 15 Dec 2016 21:29:23 -0500	[thread overview]
Message-ID: <87y3zgbo8s.fsf@gnu.org> (raw)
In-Reply-To: <878tri95oz.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 14 Dec 2016 11:16:12 +0100")

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Matt Lundin <mdl@imapmail.org> writes:
>
>> Ian Dunn <dunni@gnu.org> writes:
>>
>>>     I encountered these issues this morning when I updated Org from
>>>     trunk (and reloaded it with C-c C-x !). I believe it's following
>>>     commit "Split `org-emph-re' and `org-verbatim-re'". I've got 2
>>>     issues:
>>
>>>     1. Nothing longer than one character has emphasis. I find changing
>>>     the 4th element of org-emphasis-regexp-components ("body-regexp")
>>>     to ".*?" fixes this.
>>
>> I cannot replicate this particular issue. Could you provide a minimal
>> recipe for replicating?
>
> I cannot either.
>

    Set the last element of org-emphasis-regexp-components ("newline") to zero, reload org, then try:

emacs -Q
;; load trunk org mode
M-: (setf (seq-elt org-emphasis-regexp-components 4) 0)
C-c C-x !

*abcd*

    On mine, that string isn't bold.

    It looks like there's some regex magic that goes on in org-set-emph-re that doesn't happen if the last component is zero.  Part of that magic is adding that *?.

-- 
Ian Dunn

      reply	other threads:[~2016-12-16  2:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-14  2:32 Bug: Org Emphasis Issues (Trunk) Ian Dunn
2016-12-14  4:02 ` Matt Lundin
2016-12-14 10:16   ` Nicolas Goaziou
2016-12-16  2:29     ` Ian Dunn [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=87y3zgbo8s.fsf@gnu.org \
    --to=dunni@gnu.org \
    --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 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.