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

Hello,

John Kitchin <jkitchin@andrew.cmu.edu> writes:

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

It was a bug I was not very motivated to fix. It should now be fixed on
the export side, at least. I.e., "+-+" is exported as a strike-through.

> Or + + is not a space with a strikethrough. I guess there are word
> boundaries required.

Striking through nothing doesn't make sense, does it? In any case,
blanks are forbidden in the inner part of the markers.

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

We have to strike a balance here. Allowing emphasis markup around spaces
has more cons than pros, IMO.

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

The real issue here is that you're trying to bend Org syntax to fit
a foreign syntax. It may imply pain.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2018-11-26 20:21 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
2018-11-26 20:21         ` Nicolas Goaziou [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=87y39fwpx4.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).