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 15:05:28 -0800 Message-ID: <87a8d539dz.fsf@ericabrahamsen.net> References: <8737j1k5x2.fsf@ericabrahamsen.net> <87y40tiqy1.fsf@ericabrahamsen.net> <87inrufi7m.fsf@nicolasgoaziou.fr> <87mvh655ma.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5Ktb-0007R6-OD for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 18:06:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5KtY-0001uN-JF for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 18:06:07 -0500 Received: from [195.159.176.226] (port=46167 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5KtY-0001sk-DB for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 18:06:04 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c5KtR-0003EZ-MS for emacs-orgmode@gnu.org; Sat, 12 Nov 2016 00:05:57 +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 Samuel Wales writes: > fyi, it might be just me, but i do not understand the docstring to set-emph-re. It's highly confusing -- the code, too. I can only guess that you're supposed to put your modifications to org-emphasis-regexp-components in the arguments to `org-set-emph-re'. Like: (org-set-emph-re 'org-emphasis-regexp-components (setf (nth 4 org-emphasis-regexp-components) 3)) Except if I've setf-ed, I don't need the (set var val) thing at all. Just calling the function without that sexp, and with no args, would do the trick. What am I missing?