[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Automatically escaping single spaces
From: |
Suvayu Ali |
Subject: |
[O] Automatically escaping single spaces |
Date: |
Mon, 18 Mar 2013 14:40:24 +0100 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
Hi Orgers,
I use double spaces to demarcate end of sentences
(sentence-end-double-space t). Now when I use things like "e.g. " or
"Fig. ", Emacs understands it is not the end of sentence and does the
"right thing", say for filling. However when I export a phrase like
that from Org, say to LaTeX, I have to be mindful and write something
like this instead: "e.g.\space{}"[1]. Although this works, it is very
distracting while writing and prone to human error. I would like some
seamless way for Org to respect my sentence-end-double-space setting
while exporting and export single spaces as single spaces.
Can someone suggest someway to get this to work? It would be even more
awesome if this can be included in Org, i.e. respect
sentence-end-double-space in exported text by default.
Thanks for any ideas.
Cheers,
Footnotes:
[1] I have (org-entities-user '(("space" "~" nil " " " " " " " "))) in
my Org settings.
--
Suvayu
Open source is the future. It sets us free.
- [O] Automatically escaping single spaces,
Suvayu Ali <=