From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: newline element of org-emphasis-regexp-components no longer honored? Date: Fri, 11 Nov 2016 11:01:49 +0100 Message-ID: <87inrufi7m.fsf@nicolasgoaziou.fr> References: <8737j1k5x2.fsf@ericabrahamsen.net> <87y40tiqy1.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c58ee-0000Gv-Jq for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 05:01:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c58ea-000271-Sw for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 05:01:52 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52530) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c58ea-00026M-NP for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 05:01:48 -0500 In-Reply-To: <87y40tiqy1.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 08 Nov 2016 13:48:06 -0800") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hello, Eric Abrahamsen writes: > Eric Abrahamsen writes: > >> So far as I can tell, the last element of this option is no longer >> honored -- I've had it set to 3 for ages, but highlighting and export >> only accept 1. I'm on Emacs git, and org-plus-contrib from Elpa. >> >> Does anyone else see this? >> >> E > > To provide more information, I use this to set the final element (and > some other elements): > > (setf (nth 4 org-emphasis-regexp-components) 3) > > That's always done the trick in the past. I just checked `org-emph-re', > and indeed it is still at the default value. > > Has anything changed about how this variable is set? `org-emphasis-regexp-components' was moved to a defvar instead of a defcustom a long time ago (around 8.0 release). So you probably need to call `org-set-emph-re' with appropriate arguments to update regexps. Regards, -- Nicolas Goaziou