From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: quote in code (eg ='foo=) Date: Sat, 26 Dec 2009 11:50:14 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOUE6-0008JB-0U for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 05:50:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOUE0-0008Hg-FI for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 05:50:24 -0500 Received: from [199.232.76.173] (port=48306 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOUE0-0008HY-7T for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 05:50:20 -0500 Received: from mail-fx0-f228.google.com ([209.85.220.228]:62749) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NOUDz-0006wv-TS for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 05:50:20 -0500 Received: by fxm28 with SMTP id 28so582600fxm.26 for ; Sat, 26 Dec 2009 02:50:18 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tamas K Papp Cc: emacs-orgmode@gnu.org On Dec 25, 2009, at 3:51 PM, Tamas K Papp wrote: > How can I format inline code with ' (quote) correctly? > > ='foo= doesn't work, it is exported as is. > > The "Emphasis and monospace" section does not talk about this issue, > is there a section in the org manual which would help me? Please check out the varaiable org-emphasis-regexp-components and remove ' from the third element. Be prepared that this may then break other situations where you have emphasis inside quotes - but it is also possible that it will be just right for you. Emphasis is black magic. - Carsten