emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: bug in org-export-smart-quotes
Date: Fri, 27 Mar 2015 19:35:15 -0400	[thread overview]
Message-ID: <871tka3tfw.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: <CAGE7GqDk57_scD=SSOqS-CeVBMLGXGGze_vsDeZx8rWn4Mcgdg@mail.gmail.com>

Jay Dixit <dixit@aya.yale.edu> writes:


> Thanks for the suggestion. Putting extra spaces in the original solves
> the smart quotes issue, but creates unwanted spaces on either side of
> the em dash:
>

I understand but I can't really help. If I'm right that the regexps are
looking for a space[fn:1] (and that's a big if), then the only way to
fix it is to modify one or more of them (see
org-export-smart-quotes-regexps, which btw is a defconst, so not really
meant to be modified), but I'm not up to that task.

Let's hope that I'm wrong and somebody comes up with a simpler solution.

Nick

Footnotes:

[fn:1]  or, rather, for something that the dash does not
        satisfy

  reply	other threads:[~2015-03-27 23:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 18:45 Jay Dixit
2015-03-27 19:20 ` Nick Dokos
2015-03-27 20:23 ` Jay Dixit
2015-03-27 23:35   ` Nick Dokos [this message]
2015-03-28 15:03   ` 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=871tka3tfw.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@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).