emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Jens Lange <jens.lange.de@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-emphasis-alist not fully applied [9.1.1 (9.1.1-1-g80cbf9-elpa @ x:/folder/user/.emacs.d/elpa/org-20170918/)]
Date: Tue, 19 Sep 2017 08:02:55 +0200	[thread overview]
Message-ID: <871sn3b4z4.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAN9DXH0-XTyCTEZHYOeUA39_vaXCfHXVjxNL_e86ioCxdqFaaA@mail.gmail.com> (Jens Lange's message of "Tue, 19 Sep 2017 06:16:52 +0200")

Hello,

Jens Lange <jens.lange.de@gmail.com> writes:

> What exactly did you do?
> ===================
> 1. Configure block below in custom-set-variables.
>
>  '(org-emphasis-alist
>    (quote
>     (
>      ("!" org-habit-overdue-face)
>      ("%" org-habit-alert-face)
>      ("*" bold)
>      ("/" italic)
>      ("_" underline)
>      ("=" org-verbatim verbatim)
>      ("~" org-code verbatim)
>      ("+" (:strike-through t))
>      )))
>
> 2. Type %blabla% and !blabla! in org-mode

Adding new syntax is not supported. The variable exists to allow users
to change the face of already existing constructs.

You may want to tweak font-lock related variables, e.g.,
`org-font-lock-hook' to achieve that effect.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-09-19  6:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19  4:16 Jens Lange
2017-09-19  6:02 ` Nicolas Goaziou [this message]
2017-09-19 13:35   ` Jens Lange
2017-09-19 19:23     ` Nicolas Goaziou
2017-09-21  1:02       ` Jens Lange
2017-09-22 21:38         ` Nicolas Goaziou
2017-09-23 11:42           ` Jens Lange
2017-09-24  9:10             ` 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=871sn3b4z4.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=jens.lange.de@gmail.com \
    --subject='Re: Bug: org-emphasis-alist not fully applied [9.1.1 (9.1.1-1-g80cbf9-elpa @ x:/folder/user/.emacs.d/elpa/org-20170918/)]' \
    /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

Code repositories for project(s) associated with this 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).