0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-12 12:09:55 +00:00
Savannah is a terribly unstable remote. Let's try to alleviate that.
Find a file
Pascal Fleury 3c7e75ab0b ob-shell.el: export vars as arrays for 'sh' code blocks
* lisp/ob-shell.el: added support to serialize vars as arrays or associative arrays as appropriate if it is using bash.
* testing/examples/ob-shell-test.org: a file containing a few code blocks both illustrating the use of arrays as well as serving as test for the new export functionality.
* testing/lisp/test-ob-shell.el: added a few unit tests that verify that this new logic only triggers for bash and no other shell at this time.

When variables are defined in a 'sh' code block, they are exported as strings. when the variable itself is an array or a table, then we simply get a shell variable that contains the list of all values in a non-structured form.
When calling the code block with bash, however, it will now export the list as an array, the table as an associative array. A scalar is exported the same way as before.

Signed-off-by: Pascal Fleury <fleury@google.com>
2014-04-14 21:24:00 -06:00
contrib Org-expiry: make code and doc consistent 2014-04-14 14:03:45 +02:00
doc ox: Make footnotes file specific when including Org files 2014-04-12 15:07:42 +02:00
etc Merge branch 'maint' 2014-01-27 21:43:43 +01:00
lisp ob-shell.el: export vars as arrays for 'sh' code blocks 2014-04-14 21:24:00 -06:00
mk Merge branch 'maint' 2014-01-07 14:19:03 +01:00
testing ob-shell.el: export vars as arrays for 'sh' code blocks 2014-04-14 21:24:00 -06:00
.dir-locals.el Directory local variables: Set sentence-end-double-space to t 2012-08-10 09:24:19 +02:00
.dir-settings.el Directory local variables: Set sentence-end-double-space to t 2012-08-10 09:24:19 +02:00
.gitignore Fix references to org-install.el. 2012-10-02 12:19:39 +02:00
.gitmodules updated jump submodule for those behind http proxy 2013-06-06 14:36:24 -06:00
COPYING Add COPYING and fix other related issues. 2012-09-24 19:15:42 +02:00
Makefile make vanilla: run Emacs -Q with *this* Org loaded 2013-12-13 16:26:13 -07:00
README Update READMEs 2013-03-23 17:34:19 +01:00
README_contribute Small fixes to the README files and to mk/server.mk 2012-09-22 10:33:12 +02:00
README_ELPA Update READMEs 2013-03-23 17:34:19 +01:00
README_git Add COPYING and fix other related issues. 2012-09-24 19:15:42 +02:00
README_maintainer README_maintainer: Fix erroneous statement 2013-11-11 16:59:19 +01:00
request-assign-future.txt request-assign-future.txt: Use "Emacs" instead of "Org-mode, which is part of Emacs" 2014-02-07 09:24:52 +01:00

The is a distribution of Org, a plain text notes and project planning
tool for Emacs.

The homepage of Org is at:
  http://orgmode.org

The installations instructions are at:
  http://orgmode.org/org.html#Installation

This distribution contains:

README
    This file.

COPYING
    The GNU General Public License.

Makefile
    The makefile to compile and install Org.  For installation
    instructions, see the manual or the more detailed procedure
    on Worg: http://orgmode.org/worg/dev/org-build-system.html

mk/
    Files needed for building Org.

lisp/
    Directory with all the Emacs Lisp files that make up Org.

doc/
    The documentation files.  org.texi is the source of the
    documentation, org.html and org.pdf are formatted versions of it.

contrib/
    A directory with third-party additions for Org.  Some really cool
    stuff is in there.

etc/
    Files needed for the ODT exporter.

testing/
    Testing suite for Org.

request-assign-future.txt
    The form that contributors have to sign and get processed with
    the FSF before contributed changes can be integrated into the Org
    core.  All files in this distribution except the contrib/ directory
    have copyright assigned to the FSF.