Commit Graph

2374 Commits

Author SHA1 Message Date
Nicolas Goaziou fb5e3e8ab4 Merge branch 'master' into next 2018-11-25 10:08:03 +01:00
Aaron Jensen f33fa994b9 org-mac-link: Add support for Brave
* contrib/lisp/org-mac-link.el (org-mac-grab-Brave-app-p)
(org-mac-grab-link, org-as-mac-brave-get-frontmost-url)
(org-mac-brave-get-frontmost-url)
(org-mac-brave-insert-frontmost-url): Add support for Brave
2018-11-25 10:07:06 +01:00
stardiviner 4456dc8809 ob-clojure: Support `org-babel-initiate-session'
* ob-clojure.el (org-babel-clojure-initiate-session): Initialize session
for source block.
(org-babel-prep-session:clojure): Prepare Clojure session.
(org-babel-clojure-var-to-clojure): Convert header argument :var into
clojure variables definitions.
(org-babel-variable-assignments:clojure): Support assigning variables
when initializing a session.
2018-10-25 10:28:41 +02:00
Marco Wahl f79545f960 contrib/org-attach-embedded-images.el: Attach embedded images
This module provides command `org-attach-embedded-images-in-subtree'
to save such images as attachments and insert org links to them.  Each
image is named with its sha1 sum.
2018-07-19 17:53:41 +02:00
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