emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: k@rdw.se (Christoffer Stjernlöf)
To: emacs-orgmode@gnu.org
Subject: Add zero width nbsp to pre component of org-emphasis-regexp-components
Date: Mon, 18 Dec 2017 10:04:47 +0100	[thread overview]
Message-ID: <87tvwoz9sg.fsf@rdw.se> (raw)

Hey!

I'm sure there's a reason this hasn't been done, so I'll suggest it and
hope for a lecture. :) Sometimes I want to emphasise just part of a word
(I'll use the company name socialgrow as a running example), so I insert
a zero width non-breaking space around the emphasis marks, like so:
social[zewinbsp]*grow*. My thinking is that this will let Org think
they are two separate words, but in any real sense they stick together
(no linebreak across them, zero spacing between them.)

However, this requires one to add the zero width non breaking space
to the pre component of org-emphasis-regexp-components, which is
not the default. Any reason that is so?

Regards,
Chris

             reply	other threads:[~2017-12-18  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18  9:04 Christoffer Stjernlöf [this message]
2017-12-18 13:03 ` Add zero width nbsp to pre component of org-emphasis-regexp-components 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=87tvwoz9sg.fsf@rdw.se \
    --to=k@rdw.se \
    --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).