emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Vladimir Lomov <lomov.vl@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is it possible to markup one character in a word?
Date: Fri, 26 Aug 2011 11:17:48 +0530	[thread overview]
Message-ID: <8139gou3jv.fsf@gmail.com> (raw)
In-Reply-To: <CAKwiCqv00H+C-p==siZ4fw5Hehi_Jm0TSgUMaztHQ6217awJ+w@mail.gmail.com> (Vladimir Lomov's message of "Thu, 25 Aug 2011 17:00:30 +0900")

Vladimir Lomov <lomov.vl@gmail.com> writes:

> Hi.
>
> Is it possible to markup one character in a word, like e*X*ecute. For
> now this don't work. I tried to add ZERO WIDTH SPACE (found on mailing
> list) before first * and last * like in example e​*X*​ecute but this
> don't work also.

Your suggestion does work but require some customizations. This is more
like a braindump but some corrections or refinements might be needed.

1. M-x org-emphasis-regexp-components RET

2. Goto "Allowed chars in pre" and position the cursor before the last
   double-quotes and do 
   - M-x ucs-insert RET ​ZERO WIDTH SPACE RET

3. Goto "Allowed chars in pre" and do as in 2.

Create string like 

e|*X*|ecute

where the | stands for ZERO WIDTH SPACE

,---- C-u C-x = for ZERO WIDTH SPACE
|         character: ​ (8203, #o20013, #x200b)
| preferred charset: unicode (Unicode (ISO10646))
|        code point: 0x200B
|            syntax:   	which means: whitespace
|       buffer code: #xE2 #x80 #x8B
|         file code: #xE2 #x80 #x8B (encoded by coding system utf-8-emacs-dos)
|           display: by this font (glyph code)
|     uniscribe:-outline-Lucida Console-normal-normal-normal-mono-20-*-*-*-c-*-iso10646-1 (#x03)
| 
| Character code properties: customize what to show
|   name: ZERO WIDTH SPACE
|   general-category: Cf (Other, Format)
| 
| There are text properties here:
|   face                 (gnus-cite-1 message-cited-text)
|   fontified            t
`----

> ---
> WBR, Vladimir Lomov
>
>

-- 

  parent reply	other threads:[~2011-08-26  5:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25  8:00 Is it possible to markup one character in a word? Vladimir Lomov
2011-08-25 12:06 ` John Hendy
2011-08-26  4:51   ` Vladimir Lomov
2011-08-26  5:47 ` Jambunathan K [this message]
2011-08-26  5:53   ` Jambunathan K
2011-08-26 12:25   ` joe
2011-08-28  9:22     ` Niels Giesen

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=8139gou3jv.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lomov.vl@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).