emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Automatically escaping single spaces
Date: Mon, 18 Mar 2013 14:40:24 +0100	[thread overview]
Message-ID: <20130318134024.GC27876@kuru.dyndns-at-home.com> (raw)

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.

             reply	other threads:[~2013-03-18 13:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 13:40 Suvayu Ali [this message]
2013-03-18 16:31 ` Automatically escaping single spaces Marcin Borkowski
2013-03-19  3:59 ` Aaron Ecay
2013-03-19 15:20   ` Ivan Andrus
2013-03-19 16:05     ` Rasmus

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=20130318134024.GC27876@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@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).