emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: unicode chars in org-emphasis-regexp-components
Date: Sat, 19 Feb 2011 23:30:09 +0800	[thread overview]
Message-ID: <87zkpsm48u.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 877hcw70nf.fsf@gnu.org

On Sat, Feb 19 2011, Bastien wrote:

> Hi Eric,
>
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Hi, I do a lot of plain text writing in org, and would love to be able
>> to allow emphasis markup when it's up flush against m-dashes (x2014),
>> n-dashes (x2013), and ellipses (x2026), possibly among other things.
>> When I try to add these characters to org-emphasis-regexp-components via
>> the customize interface, emacs complains about "junk at end of
>> expression: —…–" and won't let me save it. Unicode's not junk!
>
> Can you share the value of your org-emphasis-regexp-components variable
> so that we can test it?  Also please tell us what version of Org/Emacs
> you are using, especially if this turns out to be an Emacs issue.
>
> Thanks,

I don't think I've changed this from the default:

org-emphasis-regexp-components:
(" 	('\"{" "- 	.,:!?;'\")}\\" " 	\n,\"'" "." 5)

org-version:
Org-mode version 7.4 (release_7.4.400.gc7700)

emacs-version:
GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of
2010-10-19

I'd kind of suspect the customize interface here, but I really don't
know how to go about setting this variable properly with setq.

Thanks!
Eric

  reply	other threads:[~2011-02-19 15:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 12:30 unicode chars in org-emphasis-regexp-components Eric Abrahamsen
2011-02-19 10:56 ` Bastien
2011-02-19 15:30   ` Eric Abrahamsen [this message]
2011-02-26 17:12     ` Bastien
2011-03-01  9:22       ` Eric Abrahamsen
2011-03-01 18:00         ` Bastien
2011-03-02  2:19           ` Eric Abrahamsen
2011-03-02  8:02           ` Eric Abrahamsen
2011-03-02  8:10           ` Eric Abrahamsen

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=87zkpsm48u.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).