From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <871sn3b4z4.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duBcg-0000Zl-0a for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 02:03:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duBca-0002xl-Av for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 02:03:06 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:53022) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1duBca-0002xL-52 for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 02:03:00 -0400 In-Reply-To: (Jens Lange's message of "Tue, 19 Sep 2017 06:16:52 +0200") 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: Jens Lange Cc: emacs-orgmode@gnu.org Hello, Jens Lange 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