From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: newline element of org-emphasis-regexp-components no longer honored? Date: Fri, 11 Nov 2016 08:43:57 -0800 Message-ID: <87mvh655ma.fsf@ericabrahamsen.net> References: <8737j1k5x2.fsf@ericabrahamsen.net> <87y40tiqy1.fsf@ericabrahamsen.net> <87inrufi7m.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5Ewh-0008Cv-3z for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 11:44:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5Ewe-0006O8-1W for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 11:44:55 -0500 Received: from [195.159.176.226] (port=58984 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5Ewd-0006Nl-RS for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 11:44:51 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c5Ew8-000657-2g for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 17:44:20 +0100 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > 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. Well weird, I was sure it was still working up until recently. Anyway, I'll adjust my setup. Thanks! Eric