From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?ISO-8859-1?B?WG9yMw==?=" Subject: How to execute org babel src block line by line? Date: Mon, 18 Apr 2016 16:44:48 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1as4o0-00067v-Fq for emacs-orgmode@gnu.org; Mon, 18 Apr 2016 04:45:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1as4nx-0002WP-7y for emacs-orgmode@gnu.org; Mon, 18 Apr 2016 04:45:16 -0400 Received: from smtpbgsg2.qq.com ([54.254.200.128]:37475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1as4nw-0002AS-GC for emacs-orgmode@gnu.org; Mon, 18 Apr 2016 04:45:13 -0400 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" To: =?ISO-8859-1?B?ZW1hY3Mtb3JnbW9kZQ==?= SGkgY29tbXVuaXR5LAogICBJIHdhbnQgdG8gZXhlY3V0ZSBvcmcgYmFiZWwgc3JjIGJsb2Nr IG9uZSBsaW5lIGEgdGltZS4gCiAgIEhlcmUgaXMgd2hhdCBJIGhhdmUgdHJpZWQuCiAgIEkg dXNlIGBpc2VuZCcgdG8gc2VuZCB0aGluZ3MgdG8gUkVQTCBidWZmZXIuIFdoZW4gIkMtPHJl dHVybj4iICBpcyBwcmVzc2VkIGF0IGZpcnN0IHRpbWUsICBhIFJFUEwgYnVmZmVyIHdoaWNo IGlzIGRlY2lkZWQgYnkgIGBsYW5nJyBwYXJhbXMgIGlzIHN0YXJ0ZC4gVGhlbiBldmVyeXRo aW5nIHNlbmQgdG8gdGhhdCBidWZmZXIuIEFuIGFkZGl0aW9uYWwgcGFyYW0gYDpkaXInIGlz IGNvbmZpZ3VyZWQgdG8gZGVjaWRlIHRoZSBzdGFydGluZyBgZGVmYXVsdC1kaXJlY3RyeScg b2YgdGhlIFJFUEwgY29tbWFuZC4gIAogIAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09CihldmFsLWFmdGVyLWxvYWQgIm9yZyIKICAgICAgJyhw cm9nbgogICAgICAgIDs7IDs7IChvcmctZGVma2V5IG9yZy1tb2RlLW1hcCAoa2JkICJDLTxy ZXR1cm4+IikgJ29yZy1pc2VuZC1zZW5kKQogICAgICAgIChkZWZpbmUta2V5IG9yZy1tb2Rl LW1hcCAoa2JkICJDLTxyZXR1cm4+IikgJ29yZy1pc2VuZC1zZW5kKQoKICAgICAgICAoZGVm dW4gb3JnLWlzZW5kLXNlbmQoKQogICAgICAgICAgKGludGVyYWN0aXZlKQogICAgICAgICAg KGxldCogKChvbGRidWYgKGN1cnJlbnQtYnVmZmVyKSkKICAgICAgICAgICAgICAgICAoaW5m byAob3JnLWJhYmVsLWdldC1zcmMtYmxvY2staW5mbykpCiAgICAgICAgICAgICAgICAgKGxh bmcgKG50aCAwIGluZm8pKQogICAgICAgICAgICAgICAgIChib2R5IChudGggMSBpbmZvKSkK ICAgICAgICAgICAgICAgICAocGFyYW1zIChudGggMiBpbmZvKSkKICAgICAgICAgICAgICAg ICAoc2Vzc2lvbiAoY2RyIChhc3NvYyA6c2Vzc2lvbiBwYXJhbXMpKSkKICAgICAgICAgICAg ICAgICAoZGlyIChjZHIgKGFzc29jIDpkaXIgcGFyYW1zKSkpCiAgICAgICAgICAgICAgICAg KGlzZW5kLS1jb21tYW5kLWJ1ZmZlciAoY29uY2F0ICIqIiBzZXNzaW9uICIqIikpCiAgICAg ICAgICAgICAgICAgKHdvcmtpbmctZGlyZWN0b3J5CiAgICAgICAgICAgICAgICAgIChvciAo YW5kIGRpciAoZmlsZS1uYW1lLWFzLWRpcmVjdG9yeSBkaXIpKSBkZWZhdWx0LWRpcmVjdG9y eSkpKQogICAgICAgICAgICAod2hlbiAgKG5vdCAoZ2V0LWJ1ZmZlciBpc2VuZC0tY29tbWFu ZC1idWZmZXIpKQogICAgICAgICAgICAgIChjb25kCiAgICAgICAgICAgICAgICgoc3RyaW5n LWVxdWFsIGxhbmcgInB5dGhvbiIpIChzYXZlLWN1cnJlbnQtYnVmZmVyCiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxldCAoKGRlZmF1bHQtZGly ZWN0b3J5IHdvcmtpbmctZGlyZWN0b3J5KSkKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIChjYWxsLWludGVyYWN0aXZlbHkgJ3J1bi1weXRob24p CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAod2l0 aC1jdXJyZW50LWJ1ZmZlciAiKlB5dGhvbioiCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIChyZW5hbWUtYnVmZmVyIGlzZW5kLS1jb21tYW5k LWJ1ZmZlcikpKSkpCiAgICAgICAgICAgICAgICgoc3RyaW5nLWVxdWFsIGxhbmcgInNoIikg KHNhdmUtY3VycmVudC1idWZmZXIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIChsZXQgKChkZWZhdWx0LWRpcmVjdG9yeSB3b3JraW5nLWRpcmVjdG9yeSkp CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChpZiAoc3Ry aW5nLWVxdWFsIHNlc3Npb24gImVzaGVsbCIpCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoZXNoZWxsKQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIChwcm9nbgogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNoZWxsKQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHdpdGgtY3VycmVudC1idWZmZXIgIipz aGVsbCoiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIChyZW5hbWUtYnVmZmVyIGlzZW5kLS1jb21tYW5kLWJ1ZmZlcikpKSkpKSkKICAgICAg ICAgICAgICAgKHQgKGVycm9yICJzZXNzaW9uPyIpKSkKICAgICAgICAgICAgICAocmVxdWly ZSAnaXNlbmQpCiAgICAgICAgICAgICAgKHJlcXVpcmUgJ2lzZW5kLW1vZGUpCiAgICAgICAg ICAgICAgKHdoZW4gKG5vdCBpc2VuZC1tb2RlKQogICAgICAgICAgICAgICAgKGlzZW5kLW1v ZGUgMSkKICAgICAgICAgICAgICAgIChtYWtlLWxvY2FsLXZhcmlhYmxlICdpc2VuZC1tb2Rl LW1hcCkKICAgICAgICAgICAgICAgIChkZWZpbmUta2V5IGlzZW5kLW1vZGUtbWFwIChrYmQg IkMtPHJldHVybj4iKSBuaWwpCiAgICAgICAgICAgICAgICAobG9jYWwtc2V0LWtleSAoa2Jk ICJDLTxyZXR1cm4+IikgJ29yZy1pc2VuZC1zZW5kKSkKICAgICAgICAgICAgICAoY29uZAog ICAgICAgICAgICAgICAoKHN0cmluZy1lcXVhbCBsYW5nICJweXRob24iKSAoaXNlbmQtaXB5 dGhvbi1zZXR1cCkpCiAgICAgICAgICAgICAgICh0IChpc2VuZC1zaGVsbC1zZXR1cCkpKQog ICAgICAgICAgICAgICkKICAgICAgICAgICAgOzsgKGRpc3BsYXktYnVmZmVyIGlzZW5kLS1j b21tYW5kLWJ1ZmZlcikKICAgICAgICAgICAgKGlzZW5kLWRpc3BsYXktYnVmZmVyKQogICAg ICAgICAgICAoY2FsbC1pbnRlcmFjdGl2ZWx5ICdpc2VuZC1zZW5kKQogICAgICAgICAgICA7 OyAod2l0aC1jdXJyZW50LWJ1ZmZlciBpc2VuZC0tY29tbWFuZC1idWZmZXIKICAgICAgICAg ICAgOzsgICAoZ290by1jaGFyIChwb2ludC1tYXgpKQogICAgICAgICAgICA7OyAgIChjb21p bnQtc2VuZC1pbnB1dCkKICAgICAgICAgICAgOzsgICAoZnVuY2FsbCAoa2V5LWJpbmRpbmcg KGtiZCAiUkVUIikpKQogICAgICAgICAgICA7OyAgICkKICAgICAgICAgICAgKSkpKQogID09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KCiAgSSB3YW50IHRvIGV4 ZWN1dGUgbXkgc2hlbGxzL3B5dGhvbi9ydWJ5IHNjaXJwdHMgIHRoaXMgd2F5IGJ5IHdyaXRp bmcgb3V0IHRoZW0gZmlyc3QsIHRoZW4gYEMtPHJldHVybj4nIGRvaW5nIHRoZSByZXN0LgoK ICBEb2VzIGFueW9uZSBrbm93IGEgYmV0dGVyIG9yIG1vcmUgbmF0aXZlIGBvcmcnIHdheSB0 byBkbyB0aGlzPwogIFRoYW5rIHlvdSBmb3IgeW91ciBoZWxwLg==