From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: org-babel-demarcate-block should preserve case of block declaration Date: Tue, 20 May 2014 13:29:59 +0200 Message-ID: <87y4xwads8.fsf@mailbox.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmiFO-0002Hm-SJ for emacs-orgmode@gnu.org; Tue, 20 May 2014 07:30:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmiFI-0004mP-Lg for emacs-orgmode@gnu.org; Tue, 20 May 2014 07:30:18 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:34810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmiFI-0004gp-Cb for emacs-orgmode@gnu.org; Tue, 20 May 2014 07:30:12 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 3802D40452 for ; Tue, 20 May 2014 13:30:05 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id wsCfYOIxJAOh for ; Tue, 20 May 2014 13:30:02 +0200 (CEST) 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: emacs-orgmode@gnu.org Hello, consider the following code block with point at X: #+BEGIN_SRC emacs-lisp (defun test () nil) X (defun another-test () nil) #+END_SRC Calling org-babel-demarcate-block (C-c C-v C-d normally) will produce the following: #+BEGIN_SRC emacs-lisp (defun test () nil) #+end_src X #+begin_src emacs-lisp (defun another-test () nil) #+END_SRC I, however, would expect to see this: #+BEGIN_SRC emacs-lisp (defun test () nil) #+END_SRC X #+BEGIN_SRC emacs-lisp (defun another-test () nil) #+END_SRC Thus preserving the case of BEGIN/END_SRC. Is there any reason this is always in lower case? Org-mode version 8.2.6 (release_8.2.6 @ /home/delexi/.emacs.d/ext/org-mode/lisp/) Regards, -- Alexander Baier