emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alex Bochannek <alexb@juniper.net>
To: emacs-orgmode@gnu.org
Subject: Re: Version 4.12 released
Date: Thu, 23 Mar 2006 17:32:58 -0800	[thread overview]
Message-ID: <uodzweiet.fsf@juniper.net> (raw)
In-Reply-To: <5492cd0eaaf0116486b7ddd5c11c6ffc@science.uva.nl> (Carsten Dominik's message of "Tue, 21 Mar 2006 16:59:50 +0100")

I looked over the emphasis expressions again and I really think it
would be useful to allow non-emphasis symbol characters and single
spaces.

I have experimented a bit and the following *should* work, but for
some reason sends my EmacsW32 into an infinite loop when I open a .org
file.

(if em '("\\(\\W\\|^\\)\\(\\*\\([[:graph:]]+?[ ]?\\)+?[[:graph:]]+?\\*\\)\\(\\W\\|$\\)" 2 'bold))

Suggestions as to what the problem might be are welcome.

Also, I think the change to \W as delimiters is probably a good idea,
but something more explicit may make more sense. I am thinking along
the lines of "[[:punct:][:space:]]" as I had suggested earlier. I
guess it would really depend on where one would expect to see an
emphasized word. Keep in mind that $ and % are part of character class
\w for example.

Alex.

      reply	other threads:[~2006-03-24  1:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21 15:59 Version 4.12 released Carsten Dominik
2006-03-24  1:32 ` Alex Bochannek [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=uodzweiet.fsf@juniper.net \
    --to=alexb@juniper.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).