From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: bold font in org-e-beamer export Date: Fri, 27 Jul 2012 14:02:53 +0200 Message-ID: <87ehnxza1e.fsf@gmail.com> References: <20120724220410.GA26458@kuru.dyndns-at-home.com> <87a9yo1am9.fsf@gmail.com> <20120727011307.GA31823@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SujJO-0002hq-St for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 08:06:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SujJH-0006BS-4c for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 08:06:30 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:53091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SujJG-0006BD-UE for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 08:06:23 -0400 Received: by weys10 with SMTP id s10so2275328wey.0 for ; Fri, 27 Jul 2012 05:06:22 -0700 (PDT) In-Reply-To: <20120727011307.GA31823@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Fri, 27 Jul 2012 03:13:07 +0200") 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: Suvayu Ali Cc: Emacs Org mode Hello, Suvayu Ali writes: >> (defun suvayu-beamer-structure (contents backend info) >> (if (not (eq backend 'e-beamer)) contents >> (replace-regexp-in-string "\\`\\\\[A-Za-z0-9]+" "\\\\structure" contents))) > But I don't understand the four backslash sequence; I guess it inserts > \\ to the string, but why is that necessary? See LITERAL optional argument (which is nil here) in `replace-match' primitive. Regards, -- Nicolas Goaziou