emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mike Gauland <mikelygee@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: nbsp as blank
Date: Wed, 20 Oct 2021 13:10:23 +1300	[thread overview]
Message-ID: <b1f6a729-e909-059a-1688-9b10fee3f3b2@gmail.com> (raw)
In-Reply-To: <4261229.0ZSinO6lZG@galex-713.eu>

On 20/10/21 12:54 pm, Alexandre Garreau wrote:
> Hello,
>
> nbsp (non-breaking space, #xA0) is not recognized as blank in org-mode,
> such that “*text* :” (it’s a nbsp here) doesn’t recognize as emphasized…
>
> I recall a variable containing such characters but can’t find it again,
> does anyone know? the manual seems large and that looks non-obvious to find
> quickly…
>
I've been using "INVISIBLE SEPARATOR", and invoke:

   (modify-syntax-entry ?⁣ " ")

(there's a invisible separator after the "?"), which tells emacs to 
consider that character to be whitespace.

I know there is a (possibly more than one) variable defining regular 
what can appear immediately before and after emphasis and other markers, 
but I've never puzzled out how to get them to include invisible characters.

I generally use this technique for combining markup, or making a 
marked-up name plural (e.g., ~object name~s).



  reply	other threads:[~2021-10-20  0:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 23:54 nbsp as blank Alexandre Garreau
2021-10-20  0:10 ` Mike Gauland [this message]
2021-10-20  1:42 ` Samuel Wales
2021-10-20  8:08   ` Alexandre Garreau

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=b1f6a729-e909-059a-1688-9b10fee3f3b2@gmail.com \
    --to=mikelygee@gmail.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).