emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: timor <timor.dd@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Show presence of zero width spaces using overlay
Date: Tue, 19 Apr 2016 12:16:56 +0200	[thread overview]
Message-ID: <8760vdewdj.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAAX25XCsbO=_UPLqgSw0=iP8Pt3c4Vp9aw_QEmnyGfiXe5fPxw@mail.gmail.com> (timor's message of "Tue, 19 Apr 2016 11:23:23 +0200")

Hello,

timor <timor.dd@gmail.com> writes:

> Specification-wise, I cannot think of anything other than
>
> "Use <foo-mechanism> to prevent any special characters from formatting text."
>
> I guess one would have to define the list of characters which can be escaped.
> I also don't know if backslash is the correct way to go.

Actually, this is not really a specification of the problem, which is
quite tricky. The list of characters is but one part of it. Another part
is where escaping should be allowed. Note that allowing to escape
everywhere would be terrible, if only performance-wise. The last part is
about handling it at the parser level (there's also the fontification,
which doesn't use the parser ATM).

> Another thing I think is important is that <foo-mechanism> is
> semi-obvious to non-org-mode people. That's why I think using
> org-entities is not a valid workaround for my original problem.

That's all we have at the moment.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-04-19 10:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-22 15:13 Show presence of zero width spaces using overlay timor
2015-09-27  9:41 ` Nicolas Goaziou
2016-04-19  9:23   ` timor
2016-04-19 10:16     ` Nicolas Goaziou [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-19 11:38 timor
2016-04-19 19:21 ` Nicolas Goaziou
2016-04-19 23:20   ` timor
2015-09-18 18:44 Kaushal Modi
2015-09-18 21:11 ` Nicolas Goaziou
2015-09-18 22:39   ` Kaushal Modi
2015-09-19  1:47     ` Eric Abrahamsen
2015-09-19  4:07       ` Kaushal Modi
2015-09-19  4:11         ` Kaushal Modi
2015-09-19  6:15           ` Kaushal Modi
2015-09-19  7:22             ` Eric Abrahamsen
2015-09-19 13:46               ` Kaushal Modi
2015-09-19 11:37     ` 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=8760vdewdj.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=timor.dd@gmail.com \
    /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).