emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel-demarcate-block should preserve case of block declaration
@ 2014-05-20 11:29 Alexander Baier
  2014-05-20 15:40 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Baier @ 2014-05-20 11:29 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-20 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-20 11:29 org-babel-demarcate-block should preserve case of block declaration Alexander Baier
2014-05-20 15:40 ` Bastien
2014-05-20 15:44   ` Alexander Baier
2014-05-20 16:01     ` Bastien
2014-05-20 16:12       ` Alexander Baier
2014-05-20 16:57         ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).