emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug?, ox] smartquotes and lines
Date: Sun, 22 Feb 2015 18:43:51 +0100	[thread overview]
Message-ID: <87twyd6duw.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87egphg9di.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 22 Feb 2015 18:10:33 +0100")

Hello,

Rasmus <rasmus@gmx.us> writes:

> Consider this example:
>
> #+OPTIONS: ':t
> "foo"---"bar"
>
> Expected output is (IMO) something like “foo”—“bar”.  Actual output is
> something like “foo"—"bar”, i.e. the quotes very close to the em-dash are
> not replaced.  Note you can get the desired output by adding spaces around
> the em-dash but that's undesirable in this case.
>
> Is this a feature?

This is a limitation due to the regexps used by smart quotes. You can
always defeat them.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2015-02-22 17:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-22 17:10 [bug?, ox] smartquotes and lines Rasmus
2015-02-22 17:43 ` Nicolas Goaziou [this message]

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=87twyd6duw.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).