all messages for Emacs-related lists mirrored at yhetil.org
 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

* Re: org-babel-demarcate-block should preserve case of block declaration
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-05-20 15:40 UTC (permalink / raw)
  To: Alexander Baier; +Cc: emacs-orgmode

Hi Alexander,

Alexander Baier <alexander.baier@mailbox.org> writes:

> Thus preserving the case of BEGIN/END_SRC. Is there any reason this is
> always in lower case?

No.  From master, C-c C-v C-d now preserves the case, thanks for
reporting this.

-- 
 Bastien

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

* Re: org-babel-demarcate-block should preserve case of block declaration
  2014-05-20 15:40 ` Bastien
@ 2014-05-20 15:44   ` Alexander Baier
  2014-05-20 16:01     ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Baier @ 2014-05-20 15:44 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

On 2014-05-20 17:40 Bastien wrote:
> Hi Alexander,
>
> Alexander Baier <alexander.baier@mailbox.org> writes:
>
>> Thus preserving the case of BEGIN/END_SRC. Is there any reason this is
>> always in lower case?
>
> No.  From master, C-c C-v C-d now preserves the case, thanks for
> reporting this.

Thanks! Do you know when this change will be released?

Regards,
-- 
Alexander Baier

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

* Re: org-babel-demarcate-block should preserve case of block declaration
  2014-05-20 15:44   ` Alexander Baier
@ 2014-05-20 16:01     ` Bastien
  2014-05-20 16:12       ` Alexander Baier
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-05-20 16:01 UTC (permalink / raw)
  To: Alexander Baier; +Cc: emacs-orgmode

Alexander Baier <alexander.baier@mailbox.org> writes:

> Thanks! Do you know when this change will be released?

Yes and no -- it will be release with Org 8.3, which is not far from a
near future, but quite close to a semi-distant future.  IOW: we don't
have a date for 8.3, but you can use git to enjoy the fix :)

-- 
 Bastien

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

* Re: org-babel-demarcate-block should preserve case of block declaration
  2014-05-20 16:01     ` Bastien
@ 2014-05-20 16:12       ` Alexander Baier
  2014-05-20 16:57         ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Baier @ 2014-05-20 16:12 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

On 2014-05-20 18:01 Bastien wrote:
> Alexander Baier <alexander.baier@mailbox.org> writes:
>
>> Thanks! Do you know when this change will be released?
>
> Yes and no -- it will be release with Org 8.3, which is not far from a
> near future, but quite close to a semi-distant future.  IOW: we don't
> have a date for 8.3, but you can use git to enjoy the fix :)

As this is something I don't use that often and can be worked around by
C-p M-4 M-u, I will wait for that release.  Org 8.3 is also the version
to be included into Emacs 24.4, isn't it?

Regards,
-- 
Alexander Baier

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

* Re: org-babel-demarcate-block should preserve case of block declaration
  2014-05-20 16:12       ` Alexander Baier
@ 2014-05-20 16:57         ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2014-05-20 16:57 UTC (permalink / raw)
  To: Alexander Baier; +Cc: emacs-orgmode

Hi Alexander,

Alexander Baier <alexander.baier@mailbox.org> writes:

> Org 8.3 is also the version
> to be included into Emacs 24.4, isn't it?

No: Emacs 24.4 will include the latest stable release, which
is released from the maint branch and will be 8.2.x.

-- 
 Bastien

^ 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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.