emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: org-mode-email <emacs-orgmode@gnu.org>, Charles Berry <ccberry@ucsd.edu>
Subject: Re: suppress ++ markup in orgmode?
Date: Sun, 25 Nov 2018 18:45:30 -0500	[thread overview]
Message-ID: <m2ftvoen6t.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <87lg5mmass.fsf@nicolasgoaziou.fr>

hm. I would have interpreted it as an empty string with a strikethrough,
followed by a plus. It makes sense to require 1 or more characters
between them though.

Why is +-+ not a - with a strikethrough? Because it is a table line? Or
+ + is not a space with a strikethrough. I guess there are word
boundaries required.

I thought it was interesting that ++ + and + ++ show no strikethrough, but
++ ++ does. Evidently a strikethrough on + +. An editor, on the other
hand, might want to strikeout excess spaces.

It isn't a big deal, I just changed the editmark syntax to avoid
clashing with org-syntax.

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> 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.
>
> IMO, +++ is clearly a plus sign with strike-through. Why would "+" sign
> be excluded from strike-through?
>
> You can use a zero-width space, like +<ZWS>++.
>
> Regards,


--
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

  reply	other threads:[~2018-11-25 23:45 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
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 [this message]
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=m2ftvoen6t.fsf@andrew.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).