0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-30 09:27:53 +00:00
Commit graph

2470 commits

Author SHA1 Message Date
Marco Wahl 76e38e8c54 ox-koma-letter: Fix: Respect The "closing" Tag
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Compare
  special-tag to string instead of symbol.  BTW indented and
  rearranged a few lines code.
2018-07-14 12:38:08 +02:00
Marco Wahl 8aed6ba3ed ox-koma-letter: Fix variable name 2018-07-13 17:54:45 +02:00
Nicolas Goaziou 7d9e4da447 Prevent spurious newline character in fixed-width area value
* lisp/org-element.el (org-element-fixed-width-parser): Prevent
  spurious newline character at the end of the value.
* lisp/ox-latex.el (org-latex-fixed-width):
* lisp/ox-man.el (org-man-fixed-width):
* lisp/ox-texinfo.el (org-texinfo-fixed-width):
* contrib/lisp/ox-groff.el (org-groff-fixed-width): Adapt to change.
* testing/lisp/test-org-element.el (test-org-element/fixed-width-parser):
  Update tests.

Reported-by: 孙振祥 <sunznx@icloud.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2018-07/msg00003.html>
2018-07-02 00:24:38 +02:00
Grant Rettke 27381411ca ox-koma-letter: Add FROM_LOGO examples
FROM_LOGO uses LaTeX markup probably unfamiliar to the user.

This example provides detailed documentation and examples of its use.
2018-06-27 16:20:44 +02:00
Nicolas Goaziou f5d5a95018 ox-koma-letter: Tiny refactoring and cosmetics 2018-06-23 23:33:37 +02:00
Nicolas Goaziou a8677adb49 ox-koma-letter: Fix closing part
* contrib/lisp/ox-koma-letter.el (org-koma-letter--build-settings): Do
  not translate closing part twice.

Reported-by: Tobias Zawada <i_inbox@tn-home.de>
<http://lists.gnu.org/r/emacs-orgmode/2018-06/msg00315.html>
2018-06-23 23:22:03 +02:00
stardiviner 4bd7df57d0 ob-clojure-literate: Don't enable ob-clojure-literate-mode by default.
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-auto-jackin):
Handle the case that detect cider-jack-in is executed but not connected,
and ob-clojure-literate-mode is enabled already.

* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-mode): Don't
  enable ob-clojure-literate-mode by default.
2018-05-03 21:54:18 +02:00
Grant Rettke bc37b32580 ox-koma-letter.el Adds from-logo variable
* ox-koma-letter.el (org-export-define-derived-backend, org-koma-letter--build-settings): Adds
  from-logo handling and supporting variables
  `org-koma-letter-from-logo' and `org-koma-letter-use-from-logo'.

TINYCHANGE
2018-04-28 08:31:14 +02:00
Bastien 8fd176ee76 Merge branch 'maint' into wip 2018-04-27 01:09:51 +02:00
Martin Kampas fd4ade40ed org-collector.el: Inhibit lisp evaluation of headlines
* contrib/lisp/org-collector.el (org-propview-collect): Inhibit lisp
  evaluation of headlines

This fixes org-collector usage for items starting with a hyperlink,
which would be incorrectly treated as lisp code.
2018-04-26 14:07:58 +02:00
Nicolas Goaziou edc159c2f2 Remove `org-get-tags-string'
* lisp/org.el (org-get-tags-string): Move to "org-compat".
(org-make-tag-string): New function
(org-set-tags-to):
(org-set-tags):
(org-set-current-tags-overlay):
(org-entry-properties):
(org-agenda-prepare-buffers):
* lisp/org-mouse.el (org-mouse-set-tags):
* lisp/ox-ascii.el (org-ascii--build-title):
* lisp/ox-beamer.el (org-beamer-select-environment):
* lisp/ox-latex.el (org-latex-format-inlinetask-default-function):
* lisp/ox-md.el (org-md-headline):
(org-md--build-toc):
* lisp/ox-texinfo.el (org-texinfo-format-headline-default-function):
(org-texinfo-format-inlinetask-default-function):
* contrib/lisp/ox-groff.el (org-groff-headline):
(org-groff-inlinetask): Use new function.
* lisp/org-compat.el (org-get-tags-string): New function.
2018-04-19 11:52:07 +02:00
Nicolas Goaziou 7d2ebc3ffa Deprecate org-get-local-tags' and org-get-local-tags-at'
* contrib/lisp/org-drill.el (org-drill-entry-p):
(org-drill-entry-leech-p):
* lisp/org-bibtex.el (org-bibtex-headline):
(org-get-local-tags-at): Use `org-get-tags'.
* lisp/org.el (org-get-local-tags-at):
(org-get-local-tags): Move to...
* lisp/org-compat.el: ... here.
2018-04-19 11:51:54 +02:00
Nicolas Goaziou f05493504a Replace org-get-tags-at' with org-get-tags'
* contrib/lisp/org-drill.el (org-part-of-drill-entry-p):
* lisp/org-agenda.el (org-agenda-finalize):
(org-search-view):
(org-agenda-get-todos):
(org-agenda-get-timestamps):
(org-agenda-get-sexps):
(org-agenda-get-progress):
(org-agenda-get-deadlines):
(org-agenda-get-scheduled):
(org-agenda-get-blocks):
(org-agenda-change-all-lines):
* lisp/org-bibtex.el (org-bibtex-headline):
* lisp/org-clock.el (org-clock-get-table-data):
* lisp/org-pcomplete.el (org-get-tags):
* lisp/org.el (org-trust-scanner-tags):
(org-get-local-tags-at):
(org-get-local-tags):
(org-set-tags):
(org-map-entries):
(org-entry-properties): Use `org-get-tags' instead of
`org-get-tags-at'.
2018-04-19 11:51:54 +02:00
stardiviner 280e3c9b53 ob-clojure-literate: Remove dependency on Dash
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-get-session-list):
(ob-clojure-literate-set-session):
(ob-clojure-literate-auto-jackin):
(ob-clojure-literate-set-local-cider-connections): Remove dependency
on Dash library.
2018-04-16 12:09:12 +02:00
stardiviner 2a315ab59d ob-clojure-literate: Handle no :file specified file is nil case
* ob-clojure-literate.el (ob-clojure-literate-inject-code): Handle
  no :file specified file is nil case.
2018-04-14 18:21:59 +02:00
stardiviner 46d841d064 * ob-clojure-literate: Get session from global connections list
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-get-session-list):
(org-babel-map): Get session from global connections list.
(ob-clojure-literate-specify-session): Renamed from
`ob-clojure-literate-specify-session-header-argument'.
2018-04-14 18:21:59 +02:00
stardiviner 8835ee750e * ob-clojure-literate: Support vars initialization when prepare session
* contrib/lisp/ob-clojure-literate.el (org-babel-clojure-var-to-clojure):
(org-babel-variable-assignments:clojure): Support vars initialization
when prepare session.
2018-04-14 17:54:02 +02:00
stardiviner 0104bea3ad * ob-clojure-literate: Support use :ns header argument
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-set-ns):
  Renamed from `ob-clojure-literate-cider-do-not-find-ns'
(ob-clojure-literate-enable):
(ob-clojure-literate-disable): Support use :ns header argument.
2018-04-14 17:52:58 +02:00
stardiviner 5a1a1f3d9a * ob-clojure-literate: CIDER jack-in outside of project by default
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-project-location):
(ob-clojure-literate-default-session):
(ob-clojure-literate-auto-jackin): CIDER jack-in outside of project by
default.
2018-04-14 17:51:15 +02:00
Nicolas Goaziou 36170429c3 Merge branch 'maint' 2018-04-10 20:10:47 +02:00
Jay Kamat 1553aae994 org-notify: Fix an error in `org-notify-process' when unconfigured
* contrib/lisp/org-notify.el (org-notify-todo-list): Return nil if
  `org-agenda-files' is nil.
2018-04-10 20:10:24 +02:00
Nicolas Goaziou 7d2ed44f76 Move "manual.org" into "doc/" 2018-03-28 14:21:16 +02:00
Nicolas Goaziou 18082bcdc9 Merge branch 'maint' 2018-03-25 23:29:02 +02:00
Maxim Cournoyer 5b6e099a6b contrib: ob-sclang: Fix compilation issue.
* contrib/lisp/ob-sclang.el: Require sclang instead of sclang-interp.
2018-03-25 23:28:42 +02:00
Marc Ihm d73a5e4137 Removed reference to org-index.el from README 2018-03-24 16:29:40 +01:00
Nicolas Goaziou 5e51c92fce manual: Slightly re-organize `org-time-stamp' documentation 2018-03-18 21:21:51 +01:00
stardiviner 6cf5fc0fc1 ob-clojure-litterate: Fix trigger functions.
* ob-clojure-literate.el (ob-clojure-literate-enable,
  ob-clojure-literate-disable): Put advice into
  ob-clojure-literate-mode trigger functions.
2018-03-14 17:03:33 +01:00
Nicolas Goaziou 258996a9a6 manual: Fix capitalization of keys 2018-03-12 22:49:18 +01:00
Marc Ihm bb5e79e2e8 removed org-index.el in favor of melpa 2018-03-11 08:24:39 +01:00
Kyle Meyer eeba7a5316 manual: Sync with org.texi 2018-03-07 22:08:47 -05:00
Bastien 824cc8e56a Delete spurious file 2018-03-06 18:42:51 +01:00
Nicolas Goaziou 881da595dd manual.org: Fix typo
* contrib/manual.org (Agenda Files): Fix typo.

"iswitchb" refers here to the library name, not to the command.
2018-03-05 19:28:00 +01:00
Nicolas Goaziou aad62024c9 manual: Sync with org.texi 2018-03-05 19:26:43 +01:00
Kaushal Modi b8e5c232e0 manual: Fix typo 2018-03-05 11:34:40 -05:00
Bastien 902148a967 Merge branch 'maint' 2018-03-04 21:22:32 +01:00
Bastien a1dfd4ff20 org.texi: Fix typo
* doc/org.texi (Activation, Agenda files): Fix typo.

Thanks to Th. Rikl for reporting this.
2018-03-04 08:42:47 +01:00
Nicolas Goaziou ca5206eed5 manual: Fix typo 2018-03-03 10:03:45 +01:00
Nicolas Goaziou 6a0f31c04a manual: Properly format number ranges 2018-03-03 01:41:44 +01:00
stardiviner 6f976f1947
* ob-clojure-literate.el support graphics inline image link result.
(ob-clojure-literate-inject-code): save Clojure image variable to :file.

(ob-clojure-literate-support-graphics-result): fix src block does handle
graphics file result issue.

Use it like this:

,#+begin_src clojure :cache no :dir "data/images" :results graphics :file "ob-clojure-literate.png"
(use '(incanter core stats datasets charts io pdf))
(def ob-clojure-literate (histogram (sample-normal 1000)))
,#+end_src
2018-03-02 14:22:44 +08:00
Nicolas Goaziou 09af7f18b2 manual: Remove index entry and fix typo 2018-02-27 23:37:43 +01:00
Nicolas Goaziou b4f887f2d4 manual: Remove spurious index entry 2018-02-27 23:29:22 +01:00
Nicolas Goaziou e43e213d26 manual: Sync with "org.texi"
Fix some bindings
2018-02-27 20:29:46 +01:00
Nicolas Goaziou 273b760418 manual: Sync with "org.texi"
Update UP, DOWN, LEFT, RIGHT keys
2018-02-27 20:24:06 +01:00
Nicolas Goaziou c30f01418f manual: Sync manual with "org.texi"
Use @samp{...} in index.
2018-02-27 20:18:10 +01:00
Nicolas Goaziou 3dc112d516 manual: Apply 0 value for `org-edit-src-content-indentation' 2018-02-27 19:18:20 +01:00
Nicolas Goaziou 70b029c6a8 manual: Sync changes to "org.texi" 2018-02-18 22:48:32 +01:00
Nicolas Goaziou dd12f2722c manual: Remove last user reserved keys 2018-02-18 11:26:40 +01:00
Nicolas Goaziou e30089dbd6 manual: Do not assume org-store-link' is bound to C-c l' 2018-02-18 11:21:13 +01:00
Nicolas Goaziou 328406eb2c manual: Update "Adding Hyperlink Types" section 2018-02-18 11:00:49 +01:00
Nicolas Goaziou 1c6e72c086 manual: Do not assume org-capture' is bound to C-c c' 2018-02-17 21:41:10 +01:00
Nicolas Goaziou d035155901 manual: Do not assume org-agenda' is bound to C-c a' 2018-02-17 19:21:33 +01:00
Nicolas Goaziou 80d781fb6c manual: Fix typo 2018-02-16 14:39:10 +01:00
Nicolas Goaziou 88638b9c04 manual: Fix compilation error 2018-02-16 14:17:33 +01:00
Nicolas Goaziou 5a1a94b644 manual: Fix typo and add missing index entry 2018-02-15 23:12:08 +01:00
stardiviner 2e6922191e
* ob-lua.el: remove it.
original ob-lua exists already.
2018-02-14 18:22:45 +08:00
stardiviner 90dfba15a6
* ob-clojure-literate.el (Clojure Literate Programming in Org-mode): Add.
Stable version.
2018-02-10 08:31:06 +08:00
stardiviner 1c60511672
* ob-spice.el (supporting spice in Org-mode Babel): Add.
Copied version.
2018-02-10 08:28:40 +08:00
stardiviner 8b50e6cf5a
* ob-smiles.el (supporting SMILES in Org-mode Babel): Add.
Copied version.
2018-02-10 08:25:53 +08:00
stardiviner f643a75bd1
* ob-redis.el (supporting Redis in Org-mode Babel): Add.
First version.
2018-02-10 08:17:36 +08:00
stardiviner 8a58a9fd46
* ob-php.el (supporting PHP in Org-mode Babel): Add.
First version.
2018-02-10 08:16:29 +08:00
stardiviner 43c0354811
* ob-lua.el (supporting Lua in Org-mode Babel): Add.
First version.
2018-02-10 08:13:53 +08:00
bzg 6c5f5acf86 Merge branch 'ob-arduino' of stardiviner/org-mode into master 2018-02-07 10:18:02 +00:00
stardiviner 2f2d7552b9
* ob-arduino.el (supporting Arduino in Org-mode Babel): Add.
First version.
2018-02-07 17:37:30 +08:00
Marc Ihm 7276466c4e patchlevel for org-index.el 2018-02-06 20:52:23 +01:00
Nicolas Goaziou 6f815a1283 manual.org: Fix typos 2018-01-28 14:13:39 +01:00
Nicolas Goaziou 0aee6f76b3 manual.org: Fix typo 2018-01-22 21:04:58 +01:00
Nicolas Goaziou a86883fab8 manual.org: Fix example 2018-01-22 20:53:29 +01:00
Nicolas Goaziou 41c8e69afc manual.org: Document calls to external blocks 2018-01-22 19:44:01 +01:00
Nicolas Goaziou da1b9fdca1 manual.org: Normalize description lists 2018-01-22 18:26:24 +01:00
Nicolas Goaziou a274c9ef35 manual.org: Minor fixes
Fix indentation of some lists and a few typos.
2018-01-22 14:45:17 +01:00
Nicolas Goaziou 5e443d9072 manual: Fix indentation of a list 2018-01-22 14:23:41 +01:00
Nicolas Goaziou 8d930a2d09 manual: Pacify linter
Fix internal links since titlecase change.
2018-01-20 16:19:53 +01:00
Nicolas Goaziou 297265a4aa manual: Add titlecase on level 1 and 2 (part 2) 2018-01-20 15:29:13 +01:00
Nicolas Goaziou d5c7be6f45 manual: Export to "org.texi" 2018-01-20 15:21:25 +01:00
Nicolas Goaziou 7ee925fa91 manual: Use titlecase for level 1 and 2 nodes 2018-01-20 15:14:14 +01:00
Nicolas Goaziou 029c890018 manual: Sync with "org.texi" 2018-01-19 18:27:57 +01:00
Nicolas Goaziou 0155441358 Merge branch 'maint' 2018-01-19 18:22:00 +01:00
Tim Landscheidt b289a65be7 Use https for links to orgmode.org
TINYCHANGE
2018-01-19 18:14:58 +01:00
Nicolas Goaziou d3f8d6c87f manual: Fix typo 2018-01-19 00:15:34 +01:00
Nicolas Goaziou b6787009b0 Merge branch 'maint' 2018-01-15 23:02:55 +01:00
Peter Münster 1fd92b6637 Replace calls to obsolete macros
* contrib/lisp/org-notify.el: Replace flet with cl-letf and macrolet
with cl-macrolet.
2018-01-15 23:02:23 +01:00
Jay Kamat 57a1ece335 Respect :urgency tags for org-notify windows
* contrib/lisp/org-notify.el (org-notify-action-notify): pass :urgency
  to notifications-notify.
2018-01-15 16:23:15 +01:00
Marc Ihm 8f3156c945 Version 5.7.4 or org-index.el 2018-01-09 21:07:21 +01:00
Nicolas Goaziou 9096ea4f3b manual: Tiny fix
* contrib/manual.org: Add missing explaination about `untilnow'.
2018-01-08 15:42:01 +01:00
Kyle Meyer 34bb61bf81 Update master-only copyright years 2018-01-07 00:28:44 -05:00
Kyle Meyer d94f7024bc Merge branch 'maint' 2018-01-07 00:28:35 -05:00
Kyle Meyer 3e1641ef0a Update copyright years 2018-01-07 00:27:54 -05:00
Nicolas Goaziou e4b47699fe manual: Fix typo 2018-01-07 02:35:20 +01:00
Nicolas Goaziou 6d0e2f2cc3 manual: Improve "The clock table" section 2018-01-07 02:34:17 +01:00
Xu Chunyang 38617a5373 * manual.org: Add org-capture-templates to Variable Index
TINYCHANGE
2018-01-06 10:06:31 +01:00
Nicolas Goaziou eff8062400 manual: Add missing http -> https conversion 2018-01-04 19:08:03 +01:00
Nicolas Goaziou 63c89df93c manual: Use https instead of http for orgmode.org 2018-01-04 16:29:17 +01:00
Nicolas Goaziou a692943970 manual: Use em-dash instead of spaced out en-dash 2018-01-04 16:08:38 +01:00
Nicolas Goaziou d6369e9ac6 Use completion in `org-set-effort'
* contrib/manual.org: Document change.
* lisp/org.el (org-set-effort): Change signature.
(org-inc-effort): Apply signature change.

Fixes: 22776, 22597
2018-01-02 22:00:35 +01:00
Nicolas Goaziou 87eb9ab4e9 org-list: Remove radio lists
* lisp/org-list.el (org-list-radio-list-templates): Remove variable.
(org-list-insert-radio-list):
(org-list-send-list): Remove functions.

* contrib/manual.org: Remove references to radio lists.
2017-12-30 10:28:50 +01:00
Nicolas Goaziou eeb4c22090 Remove OrgStruct mode
* lisp/org.el (org-overview): Use `org-outline-regexp-bol' instead of
  `outline-regexp'.
(org-heading-components): Ignore orgstruct-mode.
(orgstruct-heading-prefix-regexp):
(orgstruct-setup-hook):
(org-local-vars):
(orgstruct-mode):
(turn-on-orgstruct):
(orgstruct-is-++):
(org-fb-vars):
(orgstruct++-mode):
(turn-on-orgstruct++):
(orgstruct-error):
(orgstruct-setup):
(orgstruct-make-binding):
(org-run-like-in-org-mode):
(org-indent-line):
(org-fill-paragraph):
(org-show-children): Remove Orgstruct mode

* doc/org.texi (Orgstruct mode): Remove node.
2017-12-30 10:28:50 +01:00
Nicolas Goaziou ef2485e7ce manual: Sync with org.texi 2017-12-29 20:37:14 +01:00
Nicolas Goaziou 870bfdc087 manual: Document "(eval" macro template
* contrib/manual.org: Document "(eval" macro template.  Add an example
  for macros.
2017-12-25 10:49:31 +01:00
tsdye 0ad6a68a58 manual: Edits to the introductory section of "Working with source code" 2017-12-18 22:39:36 +01:00
Nicolas Goaziou dce82f7e5c manual.org: Fix typo 2017-12-17 13:37:29 +01:00
Nicolas Goaziou d330eed7c0 Rename "orgmanual.org" to "manual.org" 2017-12-17 11:06:05 +01:00
Nicolas Goaziou 9d072ad675 Update Org manual to current release 2017-12-17 11:06:05 +01:00
Marc Ihm 8f3077d14a v5.7.2 of org-index 2017-11-07 20:49:58 +01:00
U-IHM-NOTEBOOK\Olli e440c51b5f Version 5.7.1 of org-index 2017-10-29 15:31:45 +01:00
Nicolas Goaziou 7df5d21f79 Merge branch 'maint' 2017-10-14 12:30:59 +02:00
Nicolas Goaziou 025dbd7f31 ox-koma-letter: Fix typo.
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Fix typo.

Reported-by: Alan Schmitt <alan.schmitt@polytechnique.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00238.html>
2017-10-14 11:03:41 +02:00
U-IHM-NOTEBOOK\Olli 4d828ba4c6 org-index.el version 5.6.2 2017-10-10 20:28:03 +02:00
Kyle Meyer a343655bb3 Merge branch 'maint' 2017-10-08 10:40:39 -04:00
Kyle Meyer 027cfc3d15 ox-s5: Don't use org-html-end-plain-list
* contrib/lisp/ox-s5.el (org-s5-plain-list): Adjust for the removal of
org-html-end-plain-list.

The function org-html-end-plain-list was deleted in
8855c23c6 (ox-html: Plain list supports arbitrary attributes,
2017-02-13).

Reported-by: <dchechin92@gmail.com>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00123.html>
2017-10-08 10:39:47 -04:00
U-IHM-NOTEBOOK\Olli 731e1ca938 Version 5.6.1 of org-index 2017-09-27 22:10:04 +02:00
Kaushal Modi 7a29c82e11 Make ob-sclang.el work on emacs 24.3
* contrib/lisp/ob-sclang.el: Use eval-after-load instead of
  with-eval-after-load.
2017-09-07 14:13:38 -04:00
Nicolas Goaziou ea4e3dac6d Use split-string' instead of org-split-string'
* contrib/lisp/org-depend.el (org-depend-trigger-todo):
(org-depend-block-todo):
* contrib/lisp/ox-bibtex.el (org-bibtex-get-arguments):
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template):
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-unique-id):
(org-taskjuggler-resolve-dependencies):
* lisp/ob-core.el (org-babel-insert-result):
* lisp/org-agenda.el (org-search-view):
* lisp/org-lint.el (org-lint-duplicate-target):
(org-lint-wrong-header-value):
* lisp/org.el (org--setup-collect-keywords):
(org-make-org-heading-search-string):
(org-search-radio-target):
(org-local-logging):
(org-entry-add-to-multivalued-property):
(org-entry-remove-from-multivalued-property):
(org-entry-member-in-multivalued-property):
(org-entry-get-multivalued-property):
(org-entry-put-multivalued-property):
(org-wrap):
* lisp/ox-beamer.el (org-beamer-allowed-property-values):
* lisp/ox.el (org-export--get-subtree-options):
(org-export--get-inbuffer-options): Use `split-string' instead of
`org-split-string'.
2017-09-07 14:36:50 +02:00
Nicolas Goaziou 601b8e1d52 Fix org-duration-to-minutes call on ox-taskjuggler
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Fix
  typo.

TINYCHANGE
2017-09-05 23:54:29 +02:00
U-IHM-NOTEBOOK\Olli dd490b431b updated org-index to version 5.5 2017-09-04 21:02:31 +02:00
Bastien d0ced98943 Delete htmlize.el from Org’s contrib directory
* lisp/ox-org.el (org-org-publish-to-org):
* lisp/ox-html.el (org-html-htmlize-generate-css):
(org-html-fontify-code):
* lisp/org-agenda.el (org-agenda-write): Throw an error
requesting the user to install htmlize.el.

* doc/org.texi (Exporting agenda views, Literal examples):
Don’t assume htmlize.el is available.

You need to install it from https://github.com/hniksic/emacs-htmlize

See https://github.com/hniksic/emacs-htmlize/issues/7 for this issue.
2017-08-18 09:54:19 +02:00
Grant Rettke 33e0dc6155 Add Easy Template for COMMENT (C)
* lisp/org.el: (org-structure-template-alist): Added `COMMENT' block template
  bound to `C'

* doc/org.texi: Add documentation for `COMMENT' Easy Template.

* contrib/orgmanual.org: Add documentation for `COMMENT' Easy
  Template.

* etc/ORG-NEWS: Added note for 9.1 release under Miscellaneous
2017-08-10 12:45:02 +02:00
Adrian Bradd fbf31df38a org-depend: Add multi-file TRIGGER and BLOCKER tasks
contrib/lisp/org-depend.el (org-depend-trigger-todo):
(org-depend-block-todo): Implement multi-file TRIGGER and BLOCKER
tasks.
2017-08-01 10:33:15 +02:00
Nicolas Goaziou f6109d355e Merge branch 'maint' 2017-07-23 22:42:50 +02:00
Stig Brautaset a49e146621 Use cl-lib rather than cl variants in org-drill
org-drill requires only cl-lib rather than cl, so should use cl-gensym
rather than gensym I believe.

From 1eef99d550e467bf4a3eaf6bdbe4d3a482f6c187 Mon Sep 17 00:00:00 2001
From: Stig Brautaset <stig@brautaset.org>
Date: Fri, 14 Jul 2017 20:45:37 +0100
Subject: [PATCH 2/3] org-drill.el: use cl-gensym rather than gensym

cl-lib is already required by this file, but cl is not.
2017-07-23 11:06:41 +02:00
Grant Rettke 6d50e167ca ox-koma-letter: Add support for url variable
* contrib/lisp/ox-koma-letter.el (org-koma-letter-url,
  org-koma-letter-use-url): New variables.
(org-koma-letter--build-settings): Use new variables.

Copied phone-number variable code, pasted it and changed references from phone-number to url.

Tested "url" with "#+URL: url", and "use-url" using "#+OPTIONS url:[nil|t]".

TINYCHANGE
2017-07-14 11:25:33 +02:00
Nicolas Goaziou 1c07327a51 Merge branch 'maint' 2017-07-12 14:12:32 +02:00
Yuri D. Lensky b3c54c1119 org-depend.el: Fix check for previous-sibling blocker
* contrib/lisp/org-depend.el (org-depend-block-todo): Fix check for
  previous-sibling blocker.

The "previous-sibling" blocker checked the previous visible heading,
instead of the true previous sibling.
2017-07-12 14:11:53 +02:00
Bastien a023d670ec contrib/lisp/ob-sclang.el: Don't use lexical-binding
* contrib/lisp/ob-sclang.el: Don't use lexical-binding.
Fix copyright year.
(org-babel-execute:sclang): Remove commented code.
2017-06-17 12:53:34 +02:00
stardiviner 4030b7b907 ob-sclang.el: add ob-sclang for sclang Org-mode babel support
* ob-sclang.el (org-babel-execute:sclang): support evaluating sclang
  code in Org-mode Babel.

Support sclang evaluation in Org-mode Babel.
2017-06-17 12:50:26 +02:00
Kaushal Modi 62ce814130 Merge branch 'maint' 2017-06-15 09:03:35 -04:00
Kaushal Modi 3bcfed071d Fix breakage due to outline-invisible-p defn change in emacs 26+
* lisp/org.el (org-invisible-p): New function.  Restore the behavior
of outline-invisible-p prior to the following commint on emacs master
<http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9cc59ffbbb2f20fbbf1c72d2e0c9dc47c7906a99>.

* lisp/org.el (org-cycle-internal-local)
(org-clean-visibility-after-subtree-move, org-goto)
(org-get-location, org-move-subtree-down, org-copy-subtree)
(org-paste-subtree, org-next-link, org-mark-ring-goto)
(org-todo, org-deadline, org-schedule, org-set-tags)
(org-truely-invisible-p, org-invisible-p2)
(org-forward-heading-same-level, org-forward-paragraph)
(org-backward-paragraph, org-down-element)
(org-bookmark-jump-unhide, org-mark-jump-unhide):
* lisp/org-list.el (org-insert-item):
* lisp/org-crypt.el (org-encrypt-entry, org-decrypt-entry):
* lisp/org-clock.el (org-clock-load):
* lisp/org-archive.el (org-archive-subtree)
(org-archive-to-archive-sibling, org-toggle-archive-tag)
(org-archive-set-tag):
* contrib/lisp/org-drill.el (org-drill-hide-subheadings-if): Use
org-invisible-p instead of outline-invisible-p.

Reference:
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00230.html>
2017-06-15 08:10:47 -04:00
Nicolas Goaziou 5383b3fac1 Merge branch 'maint' 2017-06-05 09:39:34 +02:00
Nicolas Goaziou 88de98a778 org-wikinodes: Fix export
* contrib/lisp/org-wikinodes.el (org-wikinodes-set-wiki-targets-during-export): Fix signature.
(org-wikinodes-process-links-for-export): Fix signature.  Fix produced
Org link.
2017-06-05 09:38:46 +02:00
Nicolas Goaziou 23881abfaf Merge branch 'maint' 2017-06-05 09:31:15 +02:00
Nicolas Goaziou ba66f05e57 org-wikinodes: Update to Org 8 export process 2017-06-05 09:30:44 +02:00
Nicolas Goaziou 1e872ea624 Merge branch 'maint' 2017-06-04 09:32:16 +02:00
Nicolas Goaziou c17372dbb1 org-wikinodes: Update code to new link fontification
* contrib/lisp/org-wikinodes.el (org-wikinodes-add-to-font-lock-keywords):
  Update to change introduced in 2d29269bb1.
2017-06-04 09:30:54 +02:00
U-IHM-NOTEBOOK\Olli 3d3e24eee6 version 5.4.1 of org-index.el: fixes 2017-05-29 21:14:15 +02:00
Kyle Meyer 8aecad074b Merge branch 'maint' 2017-05-29 08:46:54 -04:00
Chunyang Xu 1fbbce4d81 org-git-link.el: Fix `org-git-find-gitdir'
* contrib/lisp/org-git-link.el (org-git-find-gitdir): Expand
abbreviated directory name.

TINYCHANGE
2017-05-29 08:43:06 -04:00
U-IHM-NOTEBOOK\Olli b3497fdeb6 version 5.4 of org-index.el: better focus-commands 2017-05-22 21:10:03 +02:00
Kyle Meyer cca6e0dbc3 Merge branch 'maint' 2017-05-20 19:00:45 -04:00
Kyle Meyer ddf0063ce7 org-git-link.el: Silence byte-compiler
* contrib/lisp/org-git-link.el (org-git-open): Replace obsolete
string-to-int with string-to-number.  Don't use goto-line
non-interactively.
2017-05-20 19:00:25 -04:00
Kyle Meyer b9c5720618 org-git-link.el: Avoid cl.el aliases
* contrib/lisp/org-git-link.el (org-gitbare-open):
(org-git-open):
(org-git-find-gitdir):
(org-git-create-git-link): Prefer nth function to cl.el's first,
second, third.

org-git-link.el does not explicitly load cl.el, and variants without
the "cl-" prefix have been out of favor since Emacs 24.3.
2017-05-20 19:00:25 -04:00
Kyle Meyer 6fee6b6cde Merge branch 'maint' 2017-05-09 14:49:59 -04:00
Kyle Meyer 1eab2bb5e2 org-link-edit.el: Sync with upstream
Update to version 1.1.1 (e975aebf8).
2017-05-09 14:49:22 -04:00
Nicolas Goaziou ac656ad7b9 Merge branch 'maint' 2017-05-06 09:03:14 +02:00
Łukasz Stelmach a4f29410e9 ox-s5: Update to work with refactored HTML backend
* contrib/lisp/ox-s5.el (org-s5-template): Adapt to changes introduced
by c9ca0b6d in the way :html-divs/org-html-divs are passed to ox-html.
2017-05-06 09:02:01 +02:00
Kyle Meyer c28ec3a170 Merge branch 'maint' 2017-05-04 00:03:00 -04:00
Kyle Meyer fef346798f ox-extra: Merge sections from ignored headlines
* contrib/lisp/ox-extra.el (org-extra--merge-sections): New function.
(org-export-ignore-headlines): Merge multiple sections that result
from removing ignored headlines.

Prevent org-export-ignore-headlines from violating the one headline to
one section mapping that is relied on by at least one export backend,
ox-texinfo.  (ox-texinfo uses each section to generate the menu.)
2017-05-03 23:35:40 -04:00
Kyle Meyer fa1c6e92ac ox-extra: Use cl-lib
* contrib/lisp/ox-extra.el (org-latex-header-blocks-filter): Use "cl-"
prefix.
2017-05-03 23:35:40 -04:00
Marc Ihm cbe544edf3 ox-confluence: Export checkboxes; fix timestamps in headlines
* contrib/lisp/ox-confluence.el (org-confluence-item): Export
  checkboxes.
(org-confluence-timestamp): Fix timestamps in headlines.  Silence
byte-compiler.
2017-05-02 08:48:16 +02:00
Nicolas Goaziou 698f020be1 Merge branch 'maint' 2017-04-17 11:29:48 +02:00
Stephen Mackenzie 166364bc96 ox-confluence.el: Blank table cells produce required whitespace
* contrib/lisp/ox-confluence.el (org-confluence-table-cell): Add blank
space in an empty table cell such that Confluence tables do not skip
empty entries and produce erroneous table headers.

Confluence tables are formatted incorrectly when empty cells
cause `||' to generate the next cell as a table header, skipping
the empty cell.  Empty cells must be formatted as `| |'.

TINYCHANGE
2017-04-17 11:29:10 +02:00
Kyle Meyer b7d4bf7e02 Merge branch 'maint' 2017-04-16 17:08:17 -04:00