emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Charles Berry <ccberry@ucsd.edu>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: suppress ++ markup in orgmode?
Date: Tue, 20 Nov 2018 16:05:02 -0500	[thread overview]
Message-ID: <CAJ51ETpf7iXNORHSCzVDF=PR+=vEGd9gseZZw0YsPs6W+da8Bg@mail.gmail.com> (raw)
In-Reply-To: <6AE2E011-4192-42FE-847A-274E6E38D3C8@ucsd.edu>

[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]

That doesn't seem right to me. It seems like a bug that it is rendered as
strikethrough to me, like the regexp that is generated is too greedy. That
was a good hint though.

I was able to add + to the border component of the regexp components which
seems to have fixed the problem for me for now.

(setq org-emphasis-regexp-components '("- ('\"{"   ;pre
       "- .,:!?;'\")}\\["  ;post
       "\\+
" ;border
       "."
       1))

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Tue, Nov 20, 2018 at 12:54 PM Berry, Charles <ccberry@ucsd.edu> wrote:

>
>
> > On Nov 19, 2018, at 6:08 PM, John Kitchin <jkitchin@andrew.cmu.edu>
> wrote:
> >
> > I was looking at https://github.com/joostkremers/criticmarkup-emacs
> again recently and ran into something I don't recall happening before.
> >
> > There is a markup for inserting text thatlooks like {++Insert this
> text++}. However, in org-mode this is marked up as strikethrough. Is there
> a way to make that not happen?
> >
>
>
>
> customize org-emphasis-alist I would think
>
> HTH,
>
> Chuck
>

[-- Attachment #2: Type: text/html, Size: 2460 bytes --]

  reply	other threads:[~2018-11-20 21:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20  2:08 suppress ++ markup in orgmode? John Kitchin
2018-11-20 17:51 ` Berry, Charles
2018-11-20 21:05   ` John Kitchin [this message]
2018-11-21 20:28     ` Nicolas Goaziou
2018-11-21 20:28     ` Nicolas Goaziou
2018-12-02  2:56       ` Samuel Wales
2018-12-02  8:06         ` Nicolas Goaziou
2018-11-21 20:32     ` Nicolas Goaziou
2018-11-25 23:45       ` John Kitchin
2018-11-26 20:21         ` Nicolas Goaziou

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='CAJ51ETpf7iXNORHSCzVDF=PR+=vEGd9gseZZw0YsPs6W+da8Bg@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=ccberry@ucsd.edu \
    --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).