From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Automatically escaping single spaces Date: Mon, 18 Mar 2013 14:40:24 +0100 Message-ID: <20130318134024.GC27876@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHaIh-0001aq-S1 for emacs-orgmode@gnu.org; Mon, 18 Mar 2013 09:40:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHaIf-000270-TM for emacs-orgmode@gnu.org; Mon, 18 Mar 2013 09:40:31 -0400 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:64768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHaIf-00026O-K0 for emacs-orgmode@gnu.org; Mon, 18 Mar 2013 09:40:29 -0400 Received: by mail-ea0-f177.google.com with SMTP id r16so2471518ead.36 for ; Mon, 18 Mar 2013 06:40:28 -0700 (PDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs Org mode 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.