emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] org-babel-goto-named-src-block bugfix and test


From: Charles C. Berry
Subject: [O] [PATCH] org-babel-goto-named-src-block bugfix and test
Date: Sat, 11 Jun 2016 16:04:44 -0700
User-agent: Alpine 2.20 (OSX 67 2015-01-07)



Hi all,

The revision a few months back of `org-babel-goto-named-src-block' broke some of the interactive uses. I have fixed these in the attached patch.

Also, I provide an ERT test for those interactive uses --- filling in the initial-input with the name of the symbol, results block name, #+call: name, or not if point is elsewhere.

The test uses lines like:

        (execute-kbd-macro  "\M-xorg-babel-goto-named-src-block\n\n")

to emulate interactive usage.

This feels like a hack, and the messages generated spill into my *shell* buffer when I run `make test'. If there is a cleaner way to do this, I'd like to know it.

WDYT?

Chuck

Attachment: 0001-org-babel-goto-named-src-block-bugfix.patch
Description: patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]