From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: ~"~ doesn't register as verbatim Date: Tue, 25 Feb 2014 10:20:55 +0100 Message-ID: References: <86y50z8v2c.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIECB-0007DD-6b for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 04:21:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIEC9-0006e7-39 for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 04:20:59 -0500 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:44382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIEC8-0006dt-St for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 04:20:57 -0500 Received: by mail-wi0-f176.google.com with SMTP id hi5so4115068wib.15 for ; Tue, 25 Feb 2014 01:20:56 -0800 (PST) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alan Schmitt Cc: Sebastien Vauban , emacs-orgmode@gnu.org >>> Could you maybe share your customization, then? > > It was clearly not as elegant as this: > >> I can share it: >> >> (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,'") >> (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist)) > > However I don't understand why the second line is necessary (but when > testing it, I found it necessary). > `org-emphasis-alist` has a :set handler `org-set-emph-re` which will do the job of setting up the regexps. I don't want to call `org-set-emph-re` directly, instead I set `org-emphasis-alist` to itself and let the customize interface call the handler for me. regards Oleh