emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Alex Bochannek <alexb@juniper.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [Orgmode] Emphasis font-lock question.
Date: Fri, 8 Sep 2006 14:27:23 +0200	[thread overview]
Message-ID: <6905fe866ab79ff425d2c7e1ce1a166b@science.uva.nl> (raw)
In-Reply-To: <uu03ietds.fsf@juniper.net>


On Sep 8, 2006, at 8:59, Alex Bochannek wrote:

> I just upgraded to 4.47 after being on 4.12 since March and noticed
> that emphasis font locking has changed a bit. I like the way it's been
> rewritten, but org-emph-re still doesn't match a typical pattern I
> use. For example:
>
>   */usr/local/bin*
>
> Since org-emph-re uses "[^" border markers "]", and the first / is
> part of markers, it won't emphasize. For now, I simply removed the
> markers from the two character classes, but I thought I should run the
> issue by people here.

If I remember correctly, these classes are necessary to make emphasis 
work correctly with stacked emphasis, for example */this is italic and 
bold at the same time/*.

I guess I could take them out if stacking is forbidden, in this case 
you example would fontify.

Comments?

- Carsten


>
> Comments?
>
> Alex.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  reply	other threads:[~2006-09-08 12:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08  6:59 [Orgmode] Emphasis font-lock question Alex Bochannek
2006-09-08 12:27 ` Carsten Dominik [this message]
2006-09-08 17:04   ` Alex Bochannek
2006-09-08 17:09     ` Ed Hirgelt
2006-09-08 17:50       ` Alex Bochannek

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=6905fe866ab79ff425d2c7e1ce1a166b@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=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).