summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
3 hoursUse `org-clock-string' whenever possibleHEADmasterKonubinix2-5/+14
* lisp/org-clock.el (org-find-open-clocks): * lisp/org.el (org-clone-subtree-with-time-shift, org-insert-property-drawer, org-at-clock-log-p): Use `org-clock-string' whenever possible instead of hardcoded "CLOCK". (org-clock-line-re): New variable.
9 hoursorg-faces.el: fix docstring typoAaron Ecay1-1/+1
21 hoursorg-element: Add :post-affiliated property to all elementsNicolas Goaziou2-42/+43
* lisp/org-element.el (org-element-headline-parser, org-element-inlinetask-parser, org-element-item-parser, org-element-section-parser, org-element-clock-parser, org-element-node-property-parser, org-element-planning-parser, org-element-table-row-parser): Add dummy :post-affiliated property. * lisp/org.el (org--get-expected-indentation, org-indent-line, org-indent-region, org-adaptive-fill-function, org-toggle-fixed-width, org-forward-paragraph, org-backward-paragraph, org-mode-flyspell-verify): Remove nullity checks for :post-affiliated. Even though these elements cannot have affiliated keywords, beginning of element is a logical default value. It makes checking the nullity of the unnecessary.
22 hoursORG-NEWS: Document `org-export-table-row-in-header-p'Nicolas Goaziou1-0/+1
22 hoursox: Implement `org-export-table-row-in-header-p'Nicolas Goaziou2-11/+35
* lisp/ox.el (org-export-table-row-in-header-p): New function. (org-export-table-row-starts-header-p, org-export-table-row-ends-header-p): Use new function. * testing/lisp/test-ox.el (test-org-export/table-row-in-header-p): New test.
22 hoursox: Extend first and last sibling predicates to all elementsNicolas Goaziou3-11/+35
* lisp/ox.el (org-export-first-sibling-p, org-export-first-sibling-p): Extend to all elements and objects. * testing/lisp/test-ox.el (test-org-export/first-sibling-p, test-org-export/last-sibling-p): Add tests. * etc/ORG-NEWS: Document change.
27 hoursox-html: Better criterion for first paragraphs in listsNicolas Goaziou1-13/+6
* lisp/ox-html.el (org-html-paragraph): Do not wrap first paragraph in an item within <p> tags in the most simple cases. Thanks to Daniel Clemente for suggesting it. http://permalink.gmane.org/gmane.emacs.orgmode/89413
28 hoursob-J: adapt to new `org-babel-process-params'Oleh Krehel1-1/+1
* lisp/ob-J.el (org-babel-execute:J): Use `cdr' instead of `nth 1' to get the session info.
35 hoursox-icalendar: Speed up `org-agenda-write' processNicolas Goaziou2-179/+148
* lisp/ox-icalendar.el (org-icalendar-create-uid): Remove unused optional argument. (org-icalendar--combine-files): Change signature. Simplify process. (org-icalendar-combine-agenda-files): Apply signature change. Do not check anymore ICALENDAR-MARK property. (org-icalendar-entry): Do not check anymore ICALENDAR-MARK property. (org-icalendar-export-to-ics): Comply to comments. (org-icalendar-export-current-agenda): Rewrite function. * lisp/org-agenda.el (org-agenda-write): Update docstring. Instead of parsing every agenda before picking up needed entries, copy these entries in a temporary buffer, then export it.
45 hoursMerge branch 'maint'Nicolas Goaziou1-1/+2
45 hoursFix `org-promote' errormaintNicolas Goaziou1-1/+2
* lisp/org.el (org-called-with-limited-levels): Initialize variable. http://permalink.gmane.org/gmane.emacs.orgmode/90119
45 hoursMerge branch 'maint'Nicolas Goaziou1-1/+1
45 hoursorg-agenda: Fix order when writing to an ".org" fileNicolas Goaziou1-1/+1
* lisp/org-agenda.el (org-agenda-write): Write headings in proper order. `org-paste-subtree' leaves point before inserted text, so there is no need to reverse contents. http://permalink.gmane.org/gmane.emacs.orgmode/89867
46 hoursORG-NEWS: Report signature changesNicolas Goaziou1-6/+7
46 hoursox-latex: Protect special characters in tagsNicolas Goaziou1-26/+29
* lisp/ox-latex.el (org-latex-format-headline-function, org-latex-format-inlinetask-function): Update docstring. (org-latex-format-headline-default-function, org-latex-format-inlinetask-default-function): Change signature. Protect special characters (e.g., "_"). (org-latex-headline, org-latex-inlinetask): Apply signature change. Thanks to Thorsten Jolitz for reporting it. http://permalink.gmane.org/gmane.emacs.orgmode/90125
46 hoursox-latex: Small clean-upNicolas Goaziou1-63/+45
* lisp/ox-latex.el (org-latex-plain-text): Simplify character escaping. (org-latex-timestamp, org-latex-verse-block, org-latex-compile): Small refactoring.
3 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
3 daysorgguide: Fix keybindingNicolas Goaziou1-1/+1
* doc/orgguide.texi (Clocking work time): Fix keybinding.
3 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
3 daysorg-element: Enhance docstringNicolas Goaziou1-1/+1
* lisp/org-element.el (org-element-table-interpreter): Enhance docstring.
3 daysslightly smarter result parsing for jsEric Schulte1-3/+4
* lisp/ob-js.el (org-babel-js-read): Match multi-line results.
5 daysox-beamer.el: Match latex backend in generation of \author.Aaron Ecay1-2/+1
* lisp/ox-beamer.el (org-beamer-template): Match latex backend in generation of \author.
5 daysMake the regexp matching the beginning of a table more explicitKonubinix1-3/+3
* org-table.el (org-table-get-remote-range): Enhance regexp. TINYCHANGE
5 daysox-rss.el (org-rss-headline): Skip entries with no PUBDATEBastien Guerry1-19/+19
* contrib/lisp/ox-rss.el (org-rss-headline): Skip entries with no PUBDATE instead of throwing an error. Thanks to OSiUX for suggesting this.
5 daysMerge branch 'maint'Nicolas Goaziou1-1/+4
5 daysox-md: Fix b8b34eaNicolas Goaziou1-1/+4
* lisp/ox-md.el (org-md-link): Fix b8b34ea.
5 daysORG-NEWS: Document inline source block exportNicolas Goaziou1-0/+4
5 daysob-core: Preserve inline-ness of source blocks when inserting resultsNicolas Berthier2-26/+29
* lisp/ob-core.el (org-babel-insert-result): Preserve inline-ness of source blocks. * testing/lisp/test-ob-exp.el: Update newly passing tests.
5 daysox-html: Support for exporting inline source code to HTMLNicolas Berthier1-1/+7
* lisp/ox-html.el (org-html-inline-src-block): support for exporting inline source code to HTML.
5 daysob: Support for exporting inline source codeNicolas Berthier6-36/+208
* lisp/ob-exp.el (org-babel-exp-inline-code-template): New customizable variable to export inline source code (similar to `org-babel-exp-code-template'). (org-babel-exp-code): New `type' argument to differentiate between inline and standard code blocks. * lisp/ob-core.el (org-babel-inline-src-block-regexp): Allow empty set of switches and header arguments as in "src_sh[]{echo foo;}". Also permit spaces before them. * testint/lisp/test-org-element.el (test-org-element/inline-src-block-parser): Test extended syntax for inline source code. * testing/lisp/test-ob-exp.el (ob-exp/exports-inline-code): New function for testing inline source code handling. Also add three new failing tests exhibiting unexpected results with ":results code" switches. * testing/lisp/test-ob.el (test-org-babel/org-babel-get-inline-src-block-matches): Test for inline source blocks with empty header arguments. * testing/examples/babel.org: New sections for testing (i) exported inline source code (used by `ob-exp/exports-inline-code'); (ii) parsing inline source blocks with empty header arguments (used by `test-org-babel/org-babel-get-inline-src-block-matches'). Until now pieces of inline source code were handled as standard code blocks during export. These changes enable them to be exported.
6 daysMerge branch 'maint'Nicolas Goaziou1-51/+56
6 daysox-md: Allow custom link type export functionNicolas Goaziou1-51/+56
* lisp/ox-md.el (org-md-link): Allow custom link type export function. `md' back-end is now on par with other core export back-ends. Thanks to Ken Markoff for reponting it. http://permalink.gmane.org/gmane.emacs.orgmode/90011
6 daysorg.texi: Add missing publishing propertiesNicolas Goaziou1-0/+2
* doc/org.texi (Publishing options): Add missing properties.
6 daysox-latex: fix lost export optionRichard Lawrence1-0/+1
* lisp/ox-latex.el (latex): reintroduce `latex-custom-id-labels' option in backend TINYCHANGE
6 daysMerge branch 'maint'Nick Dokos1-3/+7
Revert commit 79873390edd26a44cefc2050c7af470a7ed8fd07. The fix was wrong and gave rise to a different problem - see http://thread.gmane.org/gmane.emacs.orgmode/89945
6 daysRevert "org-clean-before-export matches non-special columns spuriously"Nick Dokos1-3/+7
This reverts commit 79873390edd26a44cefc2050c7af470a7ed8fd07. The fix was wrong and gave rise to a different problem - see http://thread.gmane.org/gmane.emacs.orgmode/89945 Revert it for now, since there is a workaround for the original problem and plan on a correct fix in the near future.
7 daysob-lilypond: Code cleanupAchim Gratz2-131/+134
* lisp/ob-lilypond.el (org-babel-lilypond-OSX-ly-path, org-babel-lilypond-OSX-pdf-path, org-babel-lilypond-OSX-midi-path, org-babel-lilypond-nix-ly-path, org-babel-lilypond-nix-pdf-path, org-babel-lilypond-nix-midi-path, org-babel-lilypond-w32-ly-path, org-babel-lilypond-w32-pdf-path, org-babel-lilypond-w32-midi-path, org-babel-lilypond-determine-ly-path, org-babel-lilypond-determine-pdf-path, org-babel-lilypond-determine-midi-path): Remove. (org-babel-lilypond-ly-command, org-babel-lilypond-midi-command, org-babel-lilypond-pdf-command): Replacement for removed variables and functions. Adapt all calls to the removed functions to use these variables instead. (org-babel-lilypond-commands): New defcustom for setting up the *-command variables. Keep different defaults for different systems as the original code did to avoid tripping up unsuspecting users. (org-babel-lilypond-execute-tangled-ly, org-babel-lilypond-check-for-compile-error): Revert conditions to avoid superfluous forms. Remove unused return values. * testing/lisp/test-ob-lilypond.el: Do test for new variables and replace removed function calls with the appropriate variable content. Exercise the new defcustom thoroughly.
7 daysMerge branch 'maint'Achim Gratz2-264/+264
7 daysob-lilypond: change prefix to org-babel-lilypondAchim Gratz2-264/+264
* lisp/ob-lilypond.el, testing/lisp/test-ob-lilypond.el: Change prefix from `ly-' to `org-babel-lilypond-' throughout.
8 daysMerge branch 'maint'Nicolas Goaziou1-2/+1
8 daysox-texinfo: Fix language caseNicolas Goaziou1-2/+1
* lisp/ox-texinfo.el (org-texinfo-template): Fix language and encoding case. Thanks to Brian J. Carlson for reporting it and providing a patch. http://permalink.gmane.org/gmane.emacs.orgmode/89965
11 daysMerge branch 'maint'Nicolas Goaziou1-12/+19
11 daysox-md: Fix blank lines in outputNicolas Goaziou1-12/+19
* lisp/ox-md.el (org-md-separate-elements): Outside of lists, preserve blank lines between paragraphs and plain lists. For example Consider this list: - three - four should become # Another test<a id="sec-2"></a> Consider this list: - three - four Thanks to Rafael for reporting it. http://permalink.gmane.org/gmane.emacs.orgmode/89840
11 daysob-R: Fix redundant code.Aaron Ecay1-1/+2
* lisp/ob-R.el (org-babel-R-check-evaluate-package): Fix redundant code.
11 daysfix docstring typoAaron Ecay1-1/+1
* lisp/org.el (org-insert-heading): Fix docstring typo.
11 daysob-latex: fixes and improvementsAaron Ecay1-2/+13
* lisp/ob-latex.el (convert-pdf): Rename function to have org-babel-latex- prefix. (org-babel-execute:latex): Use renamed function. Include :headers when generating SVG/HTML also.
12 daysMerge branch 'maint'Nicolas Goaziou2-23/+28
12 daysorg-list: Fix failing testNicolas Goaziou1-1/+1
* testing/lisp/test-org-list.el (test-org-list/to-texinfo): Fix failing test.
12 daysorg-element: Fix common indentation removal in verse blockNicolas Goaziou2-23/+28
* lisp/org-element.el (org-element-normalize-contents): Fix indentation removal when there is an empty line within a verse block. * testing/lisp/test-org-element.el (test-org-element/normalize-contents): Add test.
13 daysMerge branch 'maint'Nicolas Goaziou1-40/+21
Conflicts: lisp/ox-texinfo.el