(defun gcr/org-edit-src-code-plus-name ()
  "Edit the well-described source code block.

Attribution: URL
`https://lists.gnu.org/archive/html/emacs-orgmode/2014-09/msg00778.html'"
  (interactive)
  (let* ((eop  (org-element-at-point))
         (name (or (org-element-property :name (org-element-context eop))
                  "ॐ"))
         (lang (org-element-property :language eop))
         (buff-name (concat "*Org Src " name "[" lang "]*")))
    (org-edit-src-code nil nil buff-name)))

On Thu, Dec 18, 2014 at 5:00 AM, Rainer M Krug <rai...@krugs.de> wrote:
> Hi
>
> I remember there was a discussion recently about the naming of the
> indirect buffers of source code block opened with C-' but I can't find
> it at the moment. Was there a solution on giving these buffers a
> useful name, i.e. the name of the code block?
>
> If this is included in org, it does not seem to be working for me?
>
> Thanks,
>
> Rainer
>
> --
> Rainer M. Krug
> email: Rainer<at>krugs<dot>de
> PGP: 0x0F52F982



-- 
Grant Rettke
g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson

Reply via email to