From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Lange 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 15:35:10 +0200 Message-ID: References: <871sn3b4z4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045cf6eed83b3105598aee5a" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duIgX-0007up-FD for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 09:35:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duIgW-0004SP-Bq for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 09:35:33 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:48389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duIgW-0004Rx-5U for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 09:35:32 -0400 Received: by mail-wr0-x22d.google.com with SMTP id 108so18538wra.5 for ; Tue, 19 Sep 2017 06:35:32 -0700 (PDT) In-Reply-To: <871sn3b4z4.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --f403045cf6eed83b3105598aee5a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hmm, but that worked until recently. Without any hook. Or was your answer like: Good for you that it worked in the past but since it ain't supported we won't make it work again? With kind regards, Jens Lange 2017-09-19 8:02 GMT+02:00 Nicolas Goaziou : > Hello, > > Jens Lange writes: > > > What exactly did you do? > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 1. Configure block below in custom-set-variables. > > > > '(org-emphasis-alist > > (quote > > ( > > ("!" org-habit-overdue-face) > > ("%" org-habit-alert-face) > > ("*" bold) > > ("/" italic) > > ("_" underline) > > ("=3D" 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 > --=20 Mit freundlichen Gr=C3=BCssen / With kind regards: Jens Lange --f403045cf6eed83b3105598aee5a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hmm, but that worked until = recently. Without any hook.

<= div style=3D"font-size:16px">Or was your answer like: Good for you that it = worked in the past but since it ain't supported we won't make it wo= rk again?

With kind regards,
Jens Lange<= /div>

2017-0= 9-19 8:02 GMT+02:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
Hello,

Jens Lange <jens.lange.de@gma= il.com> writes:

> What exactly did you do?
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 1. Configure block below in custom-set-variables.
>
>=C2=A0 '(org-emphasis-alist
>=C2=A0 =C2=A0 (quote
>=C2=A0 =C2=A0 =C2=A0(
>=C2=A0 =C2=A0 =C2=A0 ("!" org-habit-overdue-face)
>=C2=A0 =C2=A0 =C2=A0 ("%" org-habit-alert-face)
>=C2=A0 =C2=A0 =C2=A0 ("*" bold)
>=C2=A0 =C2=A0 =C2=A0 ("/" italic)
>=C2=A0 =C2=A0 =C2=A0 ("_" underline)
>=C2=A0 =C2=A0 =C2=A0 ("=3D" org-verbatim verbatim)
>=C2=A0 =C2=A0 =C2=A0 ("~" org-code verbatim)
>=C2=A0 =C2=A0 =C2=A0 ("+" (:strike-through t))
>=C2=A0 =C2=A0 =C2=A0 )))
>
> 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



--
Mit fre= undlichen Gr=C3=BCssen / With kind regards:
Jens Lange
--f403045cf6eed83b3105598aee5a--