emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: David Boss <dave.boss@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org mode escape characters
Date: Tue, 12 Jul 2022 10:38:54 +0800	[thread overview]
Message-ID: <87czeb6on5.fsf@localhost> (raw)
In-Reply-To: <1085471464.4732784.1657559607712@mail.yahoo.com>

David Boss <dave.boss@yahoo.com> writes:

>  You tell me to "surround" slashes by zero-width-space characters, to keep them from being taken as italic escapes.OK. First problem: what, exactly, is the zero-width space character? I won't be entering text with my fingers, a lispfunction I wrote will be inserting the characters I need. So, exactly what 8-bit value is a zero-width-escape? 00000000?The example in 17.12 seems to put the zero-escape after the control character it's supposed to affect, but then theeffect of it balances forward. 12.6 tells me I also have to put a comma before any line beginning with a star, despitethe fact that my only purpose was to deal with italics. I need to write a function which works, first time, every time;I can't keep playing around with each piece of text it applies to, until it works on that one. OK, helping me get afunction written is not your job, but I shouldn't need .odt and/or pandoc; I should not have needed your help,at all: plain vanilla copy/paste in emacs should bring along text properties within the scope of the copied text.
> Still, I do appreciate your help.

Org does not perform any kind of format conversion when you kill
selection by default.

There is however a third-party package that provides some (limited?)
support for clipboard conversion: https://github.com/jkitchin/ox-clip

Note that Org is a markup format with all the relevant advantages and
disadvantages. The requirement to escape some special symbols is
one of the disadvantages.

You can insert zero-width space using C-x 8 <RET> or by its hex number
or directly copying it to (insert "​").

Note that Org does provide the means to convert Org markup into
alternative markups like HTML. This is done using export functionality:
https://orgmode.org/manual/Exporting.html#Exporting

Hope it helps.

Best,
Ihor


  parent reply	other threads:[~2022-07-12  2:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1831243639.3822729.1657506981314.ref@mail.yahoo.com>
2022-07-11  2:36 ` Org mode escape characters David Boss
2022-07-11 11:05   ` Ihor Radchenko
     [not found]     ` <1085471464.4732784.1657559607712@mail.yahoo.com>
2022-07-12  2:38       ` Ihor Radchenko [this message]
2022-07-11 16:22   ` Max Nikulin

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=87czeb6on5.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=dave.boss@yahoo.com \
    --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).