From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: a line in BEGIN_SRC/END_SRC block disappeared when publishing Date: Fri, 01 Jun 2012 15:01:15 +0200 Message-ID: <877gvrfap0.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaRSr-0006CE-Pf for emacs-orgmode@gnu.org; Fri, 01 Jun 2012 09:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SaRSl-0002kR-HU for emacs-orgmode@gnu.org; Fri, 01 Jun 2012 09:00:25 -0400 Received: from incoming2.cnam.fr ([163.173.128.34]:60984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaRSl-0002k8-BE for emacs-orgmode@gnu.org; Fri, 01 Jun 2012 09:00:19 -0400 In-Reply-To: (Liang Wang's message of "Thu, 31 May 2012 01:16:19 +0000 (UTC)") 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: Liang Wang Cc: emacs-orgmode@gnu.org Hi Liang, Liang Wang writes: > #+BEGIN_SRC emacs-lisp > (eval-after-load 'yasnippet > '(yas/define-snippets > 'org-mode > '(("elisp" "#+BEGIN_SRC emacs-lisp > $0 > ,#+END_SRC" "#+BEGIN_SRC emacs-lisp ... #+END_SRC")))) > #+END_SRC Why not this #+BEGIN_SRC emacs-lisp (eval-after-load 'yasnippet '(yas/define-snippets 'org-mode '(("elisp" "#+BEGIN_SRC emacs-lisp $0\n#+END_SRC" "#+BEGIN_SRC emacs-lisp ... #+END_SRC")))) #+END_SRC ? -- Bastien