AgeCommit message (Collapse)AuthorFilesLines
2 daysox: Resurrect :input-buffer propertyHEADmasterNicolas Goaziou1-2/+6
* lisp/ox.el (org-export--get-buffer-attributes): Resurrect :input-buffer property. This property was removed in 604b9389. since it wasn't necessary anymore internally. It is back again as a consequence of a user request.
3 days[ox-latex] add \phantomsection where appropriate.Aaron Ecay1-1/+2
* lisp/ox-latex.el (org-latex--wrap-label): Add \phantomsection. Without this, links will jump to the nearest sectioning command instead of to the exact spot of definition.
3 daysallow speed commands to have prefix argsAaron Ecay1-3/+5
* lisp/org.el (org-self-insert-command): Allow speed commands to be invoked with prefix args.
3 daysorg-faces: remove org-copy-faceAaron Ecay1-42/+54
* lisp/org-faces.el (org-copy-face): Remove function. (org-checkbox-statistics-todo, org-checkbox-statistics-done) (org-block-begin-line, org-block-end-line, org-quote) (org-verse, org-agenda-date, org-agenda-date-today) (org-agenda-clocking, org-agenda-date-weekend) (org-agenda-current-time, org-mode-line-clock) (org-mode-line-clock-overrun): Convert to `defface' from `org-copy-face'. The ‘org-copy-face’ function didn’t properly deal with face customizations and color themes.
4 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
4 daysox-ascii: Fix boxquote characters in UTF-8 exportmaintSebastien Vauban1-1/+1
* ox-ascii.el (org-ascii--box-string): Choose more universal Unicode characters for boxquote corners.
5 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
5 daysox.el: Fix typo in documentationKyle Meyer1-1/+1
* lisp/ox.el (org-export-show-temporary-export-buffer): Fix typo. TINYCHANGE
8 daysox-latex: support :float nil with caption for minted listingsAaron Ecay3-5/+14
* lisp/ox-latex.el (org-latex-src-block): Support :float nil with caption for minted. (org-latex-listings): Edit docstring to describe this usecase. * lisp/org.el (org-latex-default-packages-alist): Add “capt-of” package. This takes advantage of the capt-of package’s \captionof command, which allows to insert a caption (with autogenerated number and \ref-able label) without creating a floating environment. One example of where this is useful is in the case of a minted source code listing that spans more than one page. (Latex floats can’t be larger than a page, generally speaking.) The listings package already handles this case using its own mechanism.
9 daysMerge branch 'maint'Nicolas Goaziou1-1/+2
Conflicts: lisp/ox-latex.el
9 daysox-latex: Fix link to unnumbered headlineNicolas Goaziou1-1/+2
* lisp/ox-latex.el (org-latex-link): Improve test for unnumbered headlines.
10 daysob-ruby: clean up the session code some more and work around an I/O sync ↵Achim Gratz2-18/+59
problem in comint * lisp/ob-ruby.el (org-babel-ruby-evaluate): Clean up the session code and remove a superfluous `butlast'. Work around a problem in comint where the first prompt in a session may be printed after the evaluation has already started, thus producing a spurious line in the output. * testing/lisp/test-ob-ruby.el (test-ob-ruby/session-output-1, test-ob-ruby/session-output-2 test-ob-ruby/session-output-3): Test correct transfer of interpreter state across several session invocations.
10 daysob-ruby: fix a24775dc79 againAchim Gratz2-3/+4
* lisp/ob-ruby.el (org-babel-ruby-evaluate): Temporarily disable the irb prompt to ensure that the output is properly recognized using the standard settings from inf-ruby and no extra settings in .irbrc or other configuration files from Ruby. Remove superfluous `comint-send-input' that produced a spurious empty line in output. * testing/lisp/test-ob-ruby.el (test-ob-ruby/session-output): Remove spurious emtpy line in expected output.
10 daysob-sql.el: Clean mysql parameters generationSteven Rémot1-3/+3
* lisp/ob-sql.el (dbstring-mysql): Rename function and tweak a bit its implementation (org-babel-execute:sql): Use new function name Prefix `dbstring-mysql' function with the namespace "org-babel-sql" to avoid name collisions. Also replace the call to `remq' by `delq' because it is a bit more efficient, and also to be consistent with `org-babel-sql-dbstring-postgresql'.
10 daysob-sql.el: Enhance postgresql supportSteven Rémot1-1/+11
* lisp/ob-sql.el (org-babel-sql-dbstring-postgresql): New function (org-babel-execute:sql): Use new function. Before this patch, it was necessary to use :cmdline parameter to specify host, user and database different the the default ones. Now, this can be done using parameters that are independents of the engine used. This is not trivial (and not recommended) to pass password as a command line argument to psql, so :dbpassword is not supported.
10 daysMerge branch 'maint'Nicolas Goaziou1-3/+3
10 daysFix to determine a bulk-markable linemarcowahlsoft@gmail.com1-3/+3
* lisp/org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all): This fixes e.g. org-agenda-bulk-mark-all when time-grid is shown. TINYCHANGE
11 daysMerge branch 'maint'Achim Gratz1-3/+3
11 daystest-ob-exp: fix failing testAchim Gratz1-3/+3
* testing/lisp/test-ob-exp.el (ob-exp/export-from-a-temp-buffer): Check for the correct expected output so the test stops failing.
11 daysox-koma-letter: Fix "to" and "from"Nicolas Goaziou1-7/+6
* contrib/lisp/ox-koma-letter.el (koma-letter): Properly display default "from" address from template. (org-koma-letter--determine-to-and-from): Do not provide a default "to" value as it might be set through a LCO file. (org-koma-letter-template): Remove trailing whitespace.
11 daysox-ascii: Implement plain-lists own extra marginNicolas Goaziou3-1/+28
* lisp/ox-ascii.el (org-ascii-list-margin): New variable. (ascii): New property. (org-ascii--current-text-width, org-ascii-plain-list): Take into account list margin. * doc/org.texi (Publishing options): * etc/ORG-NEWS (argument): Document new variable.
11 daysMerge branch 'maint'Nicolas Goaziou1-11/+11
11 daysox-ascii: Fix filling with preserve breakNicolas Goaziou1-11/+11
* lisp/ox-ascii.el (org-ascii--fill-string): Allow filling even when `org-export-preserve-breaks' is non-nil.
11 daysMerge branch 'maint'Nicolas Goaziou1-5/+8
Conflicts: doc/org.texi
11 daysorg.texi: Be more explicit about output file nameNicolas Goaziou1-5/+8
* doc/org.texi (Export settings): Be more explicit about how output file name is built.
11 daysFix 788780296c0642b723598fa09300f2926a39e9f8Nicolas Goaziou1-2/+1
11 daysorg.texi: Document case-sensitivity of special blocksNicolas Goaziou1-10/+11
* doc/org.texi (Special blocks, HTML doctypes, @LaTeX{} specific attributes): Take into account case-sensitivity of special blocks.
12 daysMerge branch 'maint'Nicolas Goaziou2-7/+12
12 daysFix headline insertion after an empty headlineNicolas Goaziou2-7/+12
* lisp/org.el (org-N-empty-lines-before-current): Make sure to delete only empty lines, not trailing whitespaces. * testing/lisp/test-org.el (test-org/insert-heading): Add test. Thanks to Oleh for reporting it.
12 daysorg-table: fix docstringAaron Ecay1-1/+1
* lisp/org-table.el (org-table-get): Fix docstring.
12 daysob-R: declare ess-current-process-nameAchim Gratz1-1/+2
* lisp/ob-R.el: Forward declare `ess-current-process-name'.
12 daysMerge branch 'maint'Achim Gratz1-4/+4
12 daysob-sh: compatibility fix for "Marker does not point anywhere" errors in Emacs 23Achim Gratz1-1/+7
* lisp/ob-sh.el (org-babel-sh-initiate-session): After initiating a session, initialize the marker `comint-last-output-start' since it is going to be used by the ANSI color filter without further checks in Emacs 23 and throws an error.
12 daysob-shell: compatibility fix for "Marker does not point anywhere" errors in ↵Achim Gratz1-1/+7
Emacs 23 * lisp/ob-shell.el (org-babel-sh-initiate-session): After initiating a session, initialize the marker `comint-last-output-start' since it is going to be used by the ANSI color filter without further checks in Emacs 23 and throws an error.
12 daysox-texinfo: fix bug in 3432681fbeAchim Gratz1-1/+1
* lisp/ox-texinfo.el: Add missing argument to call of `org-element-property'.
12 daysorg-table: for compatibility, use org-file-equal-pAchim Gratz1-1/+1
* lisp/org-table.el: Predicate function `file-equal-p' is not available in older Emacsen, use compatibility function `org-file-equal-p' instead.
13 daysMerge branch 'master' of Goaziou1-2/+4
13 daysMerge branch 'maint'Nicolas Goaziou1-75/+74
Conflicts: lisp/ox-html.el
13 daysob-R: make it work with older ESS versionsAchim Gratz1-2/+4
* lisp/ob-R.el (org-babel-R-initiate-session): The PROC argument is mandatory for older ESS versions.
13 daysox-html: Fix linking to deep level headlinesNicolas Goaziou1-77/+64
* lisp/ox-html.el (org-html-headline): Make sure even listified headlines have proper anchors so internal links can refer to them. Small refactoring. Thanks to Bruce Gilstrap for reporting it.
13 dayslisp/ob-R.el: use `ess-wait-for-process' to assure clean session startupchasberry1-0/+3
* lisp/ob-R.el (org-babel-R-initiate-session): Make sure that (R) has finished before `rename-buffer' is run. TINYCHANGE
14 daysParsing and exporting special blocks preserve caseNicolas Goaziou8-8/+13
* lisp/org-element.el (org-element-special-block-parser): * lisp/ox-latex.el (org-latex-special-block): * lisp/ox-html.el (org-html-special-block): * lisp/ox-man.el (org-man-special-block): * lisp/ox-odt.el (org-odt-special-block): * lisp/ox-texinfo.el (org-texinfo-special-block): * contrib/lisp/ox-groff.el (org-groff-special-block): Preserve case. * testing/lisp/test-org-element.el (test-org-element/special-block-parser): Add test.
2014-09-16Tiny refactoringNicolas Goaziou1-1/+1
* lisp/org.el (org-hide-block-toggle-maybe): Tiny refactoring.
2014-09-16Fix `org-hide-block-toggle' return valueNicolas Goaziou2-7/+17
* lisp/org.el (org-hide-block-toggle-maybe): Do not return a non-nil value when toggling failed. (org-hide-block-toggle): Update docstring. * testing/lisp/test-org.el (test-org/hide-block-toggle-maybe): New test.
2014-09-15Fix `org-hide-block-toggle-maybe'Nicolas Goaziou1-9/+5
* lisp/org.el (org-hide-block-toggle-maybe): Never throw an error. Improve docstring. (org-hide-block-toggle): Improve docstring.
2014-09-15Fix `org-up-heading-safe'Nicolas Goaziou1-8/+5
* lisp/org.el (org-up-heading-safe): Do not throw any error, as advertised in the docstring.
2014-09-15ob-gnuplot: Fix error when table contains datesNicolas Goaziou1-10/+8
* lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Dynamically bind `org-babel-gnuplot-timestamp-fmt' instead of making it buffer-local, since export takes place in another buffer anyway. Thanks to Thomas Holst for reporting it.
2014-09-15Fix "Not at a block" error on dynamic blocksNicolas Goaziou1-6/+6
* lisp/org.el (org-hide-block-toggle, org-indent-block): Recognize dynamic blocks. Thanks to Eric S Fraga for reporting it.
2014-09-14Merge branch 'master' of Guerry4-58/+104
2014-09-14Table formula: Fix for Lisp return value nilMichael Brand2-4/+3
* lisp/org-table.el (org-table-eval-formula): Substitute `listp' with `consp'. * testing/lisp/test-org-table.el (test-org-table/lisp-return-value): Fix test.