Commit Graph

14489 Commits

Author SHA1 Message Date
Carsten Dominik 817cbca767 Allow regexp separator when converting the region to a table
* lisp/org-table.el (org-table-convert-region): Interpret string SEPARATOR
as regular expression.  Triple `C-u' prefix arg will read a regexp
from the user.
* doc/org.texi: Document that `C-c |' can take a regexp as a separator.

Patch modified from a proposal by Francois.
2013-09-29 12:27:09 +02:00
Nicolas Goaziou f485539d63 Merge branch 'maint' 2013-09-29 10:30:50 +02:00
Nicolas Goaziou d745cd1952 ox-beamer: Add a helpful error message
* lisp/ox-beamer.el (org-beamer--format-block): Return an error
  message when using a special environment as a block type.  Also
  check for incomplete environment definitions.
2013-09-29 10:28:15 +02:00
Carsten Dominik cd5cccd6e9 Manual: Say something about the roots of or in the Introduction 2013-09-28 23:13:12 +02:00
Carsten Dominik 8ead22e095 Merge branch 'guide-maintenance' 2013-09-28 19:55:27 +02:00
Carsten Dominik 5e8abde993 Merge branch 'master' of orgmode.org:org-mode 2013-09-28 19:55:15 +02:00
Carsten Dominik 95ca17550e Manual: Add short contents 2013-09-28 19:54:44 +02:00
Carsten Dominik 85cf5a7a82 More changes to the introduction 2013-09-28 19:46:32 +02:00
Carsten Dominik c920019bc0 Manual: Some trivial reformatting
* doc/org.texi: Trivial reformatting
2013-09-28 18:30:06 +02:00
Carsten Dominik 10c80f94fa Manual: Add babel header arguments to the concept index 2013-09-28 18:30:06 +02:00
Carsten Dominik d8f1643c51 Remove some subsection of ODT documentation from the table of contents
The documentation stays, but not all subsubheadings make it into the
table of contents.
2013-09-28 18:30:06 +02:00
Carsten Dominik 0c6f044c37 Manual: Modernize introduction
doc/org.texi (Introduction): Modernize.
2013-09-28 18:30:06 +02:00
Carsten Dominik 936ef91869 Remove unnecessary node comments 2013-09-28 18:30:06 +02:00
Carsten Dominik 3ddb2a1312 Manual: Standardize capitalisation of node names 2013-09-28 18:30:06 +02:00
Carsten Dominik 1dc68b9723 Manual: Rely on automatic node structure
This patch removes the manual setting of next, previous, and top links
and instead relies on info making this connection from the sectioning
structure.  This makes it easier to change node names.
2013-09-28 18:30:05 +02:00
Carsten Dominik 3ffab650e0 Fix order of contributors to manual
* doc/org.texi: Fix order of contributors to manual.
2013-09-28 18:30:05 +02:00
Eric Schulte 6857d139e1 set default emacs-lisp header args to nil
The difference between elisp and every other language was causing
  confusion, so simpler just to set these to nil.

* lisp/ob-emacs-lisp.el (org-babel-default-header-args:emacs-lisp):
  Set to nil.
2013-09-28 06:37:54 -06:00
Eric Schulte ae21350aaa :padline insertion aware of placement in file
* lisp/ob-tangle.el (org-babel-spec-to-string): Remove padline
  handling from here as there is insufficient information on context.
  (org-babel-tangle): Moved padline handling here where we can test
  for placement in the file.
2013-09-28 06:15:42 -06:00
Eric Schulte 6f90d903e6 Revert "don't insert a padline at the top of the file"
This reverts commit 6215960d99.
2013-09-28 06:11:36 -06:00
Michael Albinus 89f10a11fb * ob-core.el (org-babel-local-file-name): Simplify. (org-babel-process-file-name): Apply `expand-file-name' first. (org-babel-remote-temporary-directory): New defcustom. (org-babel-temp-file): Use it. 2013-09-28 05:37:45 -06:00
Nicolas Goaziou 82837535df ox-publish: Update a docstring
* lisp/ox-publish.el (org-publish-project-alist): Update docstring wrt
  recent Property drawers changes.
2013-09-27 10:16:46 +02:00
Bastien Guerry 33adedda0b Merge branch 'master' of orgmode.org:org-mode 2013-09-26 18:21:51 +02:00
Bastien Guerry 136c2bc2cb contrib/lisp/ox-rss.el (org-rss-publish-to-rss): Create id when publishing
* contrib/lisp/ox-rss.el (org-rss-publish-to-rss): Create id
when publishing.
2013-09-26 18:21:37 +02:00
Nicolas Goaziou fe0e5cf309 org.texi: Update Drawers section 2013-09-26 17:25:31 +02:00
Nicolas Goaziou 28e33598e4 ox: Propagate property drawer changes to back-ends in contrib/
* contrib/lisp/ox-confluence.el (org-confluence-property-drawer): New
  function.
* contrib/lisp/ox-groff.el (org-groff-node-property,
  org-groff-property-drawer): New functions.
2013-09-26 16:50:10 +02:00
Bastien Guerry aebacdac7e contrib/lisp/ox-rss.el (org-rss-headline): Add the <author> sub-element
* contrib/lisp/ox-rss.el (org-rss-headline): Add the <author> sub-element.
2013-09-26 16:47:16 +02:00
Carsten Dominik ec28c33062 Fix file bug in ox-freemind.el
* contrib/lisp/ox-freemind.el (org-freemind-export-to-freemind):
Remove spurious comma.
2013-09-26 14:13:10 +02:00
Nicolas Goaziou e09ffe2a67 ox: Add a defcustom to export properties drawers
* lisp/ox.el (org-export-with-drawers): Improve docstring.
(org-export-with-properties): New variable
(org-export--skip-p): Handle new variable.
(org-export-options-alist): Install new variable.
* lisp/ox-ascii.el (org-ascii-node-property,
  org-ascii-property-drawer): New functions.
* lisp/ox-html.el (org-html-node-property): New function.
(org-html-property-drawer): Export property drawers as "pre" blocks.
* lisp/ox-latex.el (org-latex-property-drawer,
  org-latex-node-property): New functions.
* lisp/ox-man.el (org-man-node-property, org-man-property-drawer): New
  functions.
* lisp/ox-md.el (org-md-node-property, org-md-property-drawer): New
  functions.
* lisp/ox-odt.el (org-odt-node-property): New function.
(org-odt-property-drawer): Export property drawers as fixed width
blocks.
* lisp/ox-texinfo.el (org-texinfo-node-property): New function.
(org-texinfo-property-drawer): Export property drawers as verbatim
blocks.
* doc/org.texi: Update manual.
* testing/lisp/test-ox.el: Add tests.
2013-09-26 13:46:31 +02:00
Nicolas Goaziou 9e7231cd27 ox-md: Do not define `org-md-publish-to-md' twice
* lisp/ox-md.el (ox-md-publish-to-md): Do not define function twice.
2013-09-25 20:58:38 +02:00
Eric Schulte 67b80455cf don't add "set datafile missing..." with :missing
* lisp/ob-gnuplot.el (org-babel-expand-body:gnuplot): Don't add "set
  datafile missing..." with :missing, instead this header argument now
  only changes the value of the *org-babel-gnuplot-missing* variable.
2013-09-25 12:21:52 -06:00
Nicolas Goaziou 7cf4406088 ox: Ignore text before first headline with an :export: tag
* lisp/ox.el (org-export--populate-ignore-list): Ignore text before
  first headline if an :export: tag (or a select tag) is found within
  the buffer.
* testing/lisp/test-ox.el: Add tests.
2013-09-25 18:49:39 +02:00
William Waites f688b6cc63 improve handling of output file types 2013-09-25 09:12:42 -06:00
William Waites 7e35a32524 Initial version of ABC notation handling for Babel 2013-09-25 09:12:38 -06:00
Simon Thum 5f73d93711 un-hexify TEL links in vCard export
This is required as a plus sign (e.g. +49 for germany) will cause
hexification in the link helper.

contrib/lisp/org-contacts.el: unhexify tel link

TINYCHANGE
2013-09-25 14:32:58 +02:00
Carsten Dominik dd57a31283 Honor user request for full-frame agenda window
* lisp/org-agenda.el (org-agenda-fit-window-to-buffer): Enforce
value 1.0 for minimum window height.
2013-09-25 13:22:56 +02:00
Carsten Dominik c5f3702cf6 Merge branch 'maint' 2013-09-25 09:14:30 +02:00
Carsten Dominik 4cd14bd2ff Protect src overlay during saving the src snipped
* lisp/org-src.el (org-edit-src-exit): Let overlay survive after the
buffer has been saved.
2013-09-25 09:14:12 +02:00
Carsten Dominik d90243c98a Merge branch 'master' of orgmode.org:org-mode 2013-09-25 08:54:08 +02:00
Carsten Dominik 5c2b0dac7f Add publishing capabilities to markdown backend
* lisp/ox-md.el (org-md-publish-to-md): New function.

TINYCHANGE

Patch by Brice Waegenire
2013-09-25 08:53:59 +02:00
korthaerd f6bf7eee79 ox-md: Add publishing function to back-end 2013-09-24 17:56:18 +02:00
Carsten Dominik 289b5578ab Update the guide and make it more compact 2013-09-24 14:10:55 +02:00
Carsten Dominik b6cc24ae14 Simplify example documentation of local filters
* doc/org.texi (Advanced configuration): Simplify example of local
filters, using #+BIND.
2013-09-23 16:28:39 +02:00
Carsten Dominik e5f16b80c8 Document the use of file-local export filters
* doc/org.texi (Advanced configuration): Document how to set local export
filters for individual files.
2013-09-22 08:47:21 +02:00
Carsten Dominik 1a6661fd10 Add proper language support for et (Estonian)
* lisp/ox.el (org-export-dictionary): Add Estonian translations.

Translations provided by Mihkel
2013-09-22 08:18:51 +02:00
Carsten Dominik bbe4d4c900 Merge branch 'maint' 2013-09-22 08:08:33 +02:00
Carsten Dominik a1a0acc204 Columnview: Fix the case of #+ content present
* lisp/org-colview.el (org-dblock-write:columnview): Change the
capture of pos to after inserting the original content

The problem is with a block that has content preceding the table.
Upon recreating the content, the `pos' gets set to the beginning of
this content instead of the table.  Later calls to
`org-table-recalculate' or `org-table-align' will fail because the
point is not at a table.

This patch moves the capture of `pos' to right before the insertion of
the table.

TINYCHANGE
Patch by Benjamin Beckwith
2013-09-22 08:07:58 +02:00
Carsten Dominik 1e67b6b8d4 Merge branch 'maint' 2013-09-22 08:02:37 +02:00
Alan Schmitt 2c5fbb19cf Fix documentation of the org-footnote face
* org-faces.el (org-footnote): Fix the documentation for this face.

TINYCHANGE
2013-09-22 08:02:18 +02:00
Carsten Dominik 588af17e0f Merge branch 'maint' 2013-09-22 07:59:58 +02:00
Nicolas Richard 12de6223dc C-u C-u C-c ! inserts an active timestamp.
I suggest the following change so that C-u C-u C-c ! inserts an inactive
timestamp. I also document the INACTIVE argument of org-time-stamp.

--
Nicolas.

From 5cdb18297d92f2d99334d98aa2f3b8a40e44702f Mon Sep 17 00:00:00 2001
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Date: Mon, 29 Apr 2013 09:02:21 +0200
Subject: [PATCH] Enforce the convention that C-c ! inserts inactive
 timestamps.

* lisp/org.el (org-time-stamp): When INACTIVE is non-nil, insert an
  inactive timestamp also with double universal argument.
2013-09-22 07:57:11 +02:00