Nicolas Goaziou
100541b53c
Bump version keyword to 9.3
2018-10-06 12:12:13 +02:00
Nicolas Goaziou
ee6bb635dc
Merge branch 'master' into next
2018-10-06 12:09:22 +02:00
Nicolas Goaziou
fdb36d07e4
org-manual: Fix typos
...
* doc/org-manual.org (Tag Hierarchy):
(~capture~ protocol): Add missing comma.
2018-10-06 12:08:33 +02:00
Nicolas Goaziou
8e33a9fdf8
Merge branch 'master' into next
2018-10-06 12:01:52 +02:00
Nicolas Goaziou
050e2bf509
org-manual: Fix typo
...
* doc/org-manual.org (Footnotes): Fix typo.
2018-10-06 12:01:30 +02:00
Nicolas Goaziou
ffad253307
Merge branch 'master' into next
2018-10-06 09:50:52 +02:00
Nicolas Goaziou
1fbae137da
Silence byte-compiler
2018-10-06 09:50:32 +02:00
Nicolas Goaziou
da87967602
Merge branch 'master' into next
2018-10-06 09:45:01 +02:00
Nicolas Goaziou
e7911a0fb1
org-macs: Add missing docstring
...
* lisp/org-macs.el (org-current-line-string): Add missing docstring.
2018-10-06 09:44:35 +02:00
Nicolas Goaziou
1b62a56498
Merge branch 'master' into next
2018-10-06 09:42:04 +02:00
Nicolas Goaziou
5cc69a9ebf
Deprecate `org-babel-strip-quotes' in favor of `org-strip-quotes'
...
* lisp/ob-core.el (org-babel-strip-quotes): Remove function.
* lisp/org-macs.el (org-strip-quotes): New function.
* lisp/org-compat.el (org-babel-strip-quotes): Alias for new function.
* lisp/ob-haskell.el (org-babel-execute:haskell):
* lisp/ob-octave.el (org-babel-octave-evaluate-session): Use new function.
2018-10-06 09:40:33 +02:00
Nicolas Goaziou
26ed66b233
ob: :file and :file-ext no longer imply :results file
...
* lisp/ob-core.el (org-babel-execute-src-block): ":results file" must
be specified in order to return a file.
(org-babel-merge-params): :file and :file-ext no longer imply :results
file.
* testing/lisp/test-ob.el (test-ob/indented-cached-org-bracket-link):
(test-ob/result-file-link-type-header-argument):
(test-ob/result-graphics-link-type-header-argument): Update tests.
Deducing the results from some other arguments is not obvious.
Moreover, it prevents users from setting, e.g., :file-ext, in a node
property, as every block would then create a file.
Reported-by: Alex Fenton <alex@pressure.to>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00469.html >
2018-10-06 08:56:05 +02:00
Marco Wahl
ed9bdfd220
Merge branch 'master' into next
2018-10-05 00:54:19 +02:00
Marco Wahl
0ae2e656d7
test-org: More tests for cut and paste subtree
2018-10-04 23:49:00 +02:00
Nicolas Goaziou
0954d4c258
Merge branch 'master' into next
2018-10-04 22:52:53 +02:00
Nicolas Goaziou
2ada40b796
Fix `org-paste-subtree' when called at the end of a headline
...
* lisp/org.el (org-paste-subtree): Fix `org-paste-subtree' when called
at the end of a headline.
Reported-by: Dale Sedivec <dale@codefu.org>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00050.html >
2018-10-04 22:50:09 +02:00
Kaushal Modi
5abfdeeb8f
org-manual: Add cindex for include keyword options
...
* doc/org-manual.org (Include Files): Add cindex for :minlevel,
:lines, :only-contents.
2018-10-04 10:55:10 -04:00
Nicolas Goaziou
bb36c0c8ab
Refactor `org-babel-load-file'
...
* lisp/org.el (org-babel-load-file): Refactor code.
2018-10-03 18:44:34 +02:00
Benjamin Motz
3cb4ffe957
org-colview: Add property :exclude-tags to column view table
...
* lisp/org-colview.el (org-columns--capture-view): Add parameter.
(org-dblock-write:columnview): Add new property.
* doc/org-manual.org (Capturing column view): Document feature.
* testing/lisp/test-org-colview.el (test-org-colview/dblock): Add
test.
This addition allows to specify a list of tags to exclude from column
view tables.
TINYCHANGE
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
bfd481be42
ob-core: Remove `org-babel-set-current-result-hash'
...
* lisp/ob-core.el (org-babel-set-current-result-hash): Remove
function, unused through the code base.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
144c27e39d
org-keys: Extract key bindings into their own library
...
* lisp/org.el (org-replace-disputed):
(org-use-extra-keys):
(org-disputed-keys):
(org-key):
(org-defkey):
(org-use-speed-commands):
(org-speed-commands-user):
(org-follow-link-hook):
(org-tab-follows-link):
(org-return-follows-link):
(org-return-follows-link):
(org-mouse-1-follows-link):
(org-mouse-map):
(org-read-date-minibuffer-local-map):
(org-remap):
(org-speed-commands-default):
(org-print-speed-command):
(org-speed-command-help):
(org-speed-move-safe):
(org-speed-command-activate):
(org-babel-speed-command-activate):
(org-speed-command-hook): Move to "org-keys.el".
* lisp/org-keys.el: New file.
* lisp/ob-keys.el: Remove file.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
72cadea3c0
ORG-NEWS: Document "CLASS" property
...
* etc/ORG-NEWS (iCalendar export respects a =CLASS= property): New
section.
2018-10-03 18:44:34 +02:00
Tobias Schlemmer
3b0c5f911a
org-manual: Add support for the iCalendar CLASS property
...
* doc/org-manual.org (iCalendar export): Document the CLASS tag
TINYCHANGE
2018-10-03 18:44:34 +02:00
Tobias Schlemmer
3fddb59ddc
ox-icalendar: Add support for the iCalendar CLASS property
...
* ox-icalendar.el (org-icalendar-entry): Pick the CLASS
property and pass it to `org-icalendar--vevent' and
`org-icalendar--vtodo'.
(org-icalendar--vevent,org-icalendar--vtodo): Add a new parameter
`class' and use it to generate a `CLASS' field in the `VEVENT'
entry.
TINYCHANGE
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
0266c36645
Do not use `org-refresh-effort-properties' when initializing Org
...
* lisp/org.el (org-mode): Do not call `org-refresh-effort-properties'.
(org-set-effort): Avoid using `effort' text property.
* lisp/org-timer.el (org-timer-set-timer): Avoid using
`effort-minutes' text property.
Limit use of `effort' and `effort-minutes' properties to "org-agenda".
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
6995f206ad
org-colview: Fix failing test
...
* testing/lisp/test-org-colview.el (test-org-colview/columns-summary):
Fix failing test.
Since 3367ac945796d7b65feb3c2d0ceb9734a6bbd19c, plain numbers in
properties are minutes instead of hours.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
19d545a0a8
ORG-NEWS: Document last change
...
* etc/ORG-NEWS (Plain numbers are hours in Column View mode): New
section.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
fc5ee0f87b
org-colview: Plain numbers are minutes instead of hours
...
* lisp/org-colview.el (org-columns--summary-apply-times): Use the same
rule as everywhere else in Org.
* doc/org-manual.org (Column attributes): Document change.
Reported-by: Bernt Hansen <bernt@norang.ca>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00294.html >
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
0dd2985509
`org-fill-paragraph' leaves buffer unmodified when doing nothing
...
* lisp/org.el (org-fill-paragraph): Leave buffer unmodified when
nothing was filled.
* lisp/org-compat.el: Add forward compatibility with `buffer-hash'
function.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
0ff4076cb4
ob-eshell: Silence byte-compiler
...
* lisp/ob-eshell.el (org-babel-eshell-initiate-session): Remove
unnecessary code.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
db56e096e8
ORG-NEWS: Document :coding parameter for INCLUDE keywords
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
37f3fbf3c6
ORG-NEWS: Document cell movement in tables
2018-10-03 18:44:34 +02:00
Chris Kauffman
3109e2e02e
orgguide.texi: Document single cell movement functions
...
* doc/orgguide.texi (Tables): Add keybindings for since cell movement.
2018-10-03 18:44:34 +02:00
Chris Kauffman
09f9507238
Added keybindings for `org-table-move-cell-*' functions
...
* lisp/org.el (org-shiftup):
(org-shiftdown):
(org-shiftright):
(org-shiftleft): Dispatch `org-table-move-cell-*' commands.
2018-10-03 18:44:34 +02:00
Chris Kauffman
d0a5308435
org-table: Adding single cell movement functions
...
* lisp/org-table.el (org-table--swap-cells):
(org-table--move-cell):
(org-table-move-cell-up):
(org-table-move-cell-down):
(org-table-move-cell-left):
(org-table-move-cell-right): New functions.
* testing/lisp/test-org-table.el (test-org-table/move-cell-down):
(test-org-table/move-cell-up):
(test-org-table/move-cell-right):
(test-org-table/move-cell-left): New tests.
* doc/org-manual.org (Column and row editing): Document functions and
keybindings for single cell movement.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
74f769f850
ob-shell: Silence byte-compilation
...
* lisp/ob-eshell.el (org-babel-eshell-initiate-session): Silence
byte-compilation.
2018-10-03 18:44:34 +02:00
Pierre Téchoueyres
d956ae0431
Add new :coding parameter to #+include keyword
...
* lisp/ox.el (org-export-expand-include-keyword): Add new parameter
`:coding' for specify the file encoding whith the `#+include:'
keyword.
This allow to use something like:
#+include: "./myfile" :coding cp850-dos
when your Org file is encoded in utf-8 for example.
2018-10-03 18:44:34 +02:00
stardiviner
1b81d6e07b
ob-eshell.el: Add Eshell support for Babel
...
* lisp/ob-eshell.el (org-babel-execute:eshell): Execute Eshell code in Babel.
(org-babel-prep-session:eshell):
(ob-eshell-session-live-p):
(org-babel-eshell-initiate-session):
(org-babel-variable-assignments:eshell):
(org-babel-load-session:eshell):
* testing/test-ob-eshell.el: Write test for ob-eshell.
* doc/org-manual.org (Languages): Add Babel language eshell identity.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
537748b7b7
ORG-NEWS: Update
2018-10-03 18:44:34 +02:00
rjhwelsh
7809484fe1
ob-plantupml: Added LaTeX output support
...
* lisp/ob-plantuml.el (org-babel-execute:plantuml): Added LaTeX output
support.
TINYCHANGE
2018-10-03 18:44:34 +02:00
Nicolas Goaziou
524be7cdb1
ox-html: Fix consistency between footnote definitions
...
* lisp/ox-html.el (org-html-footnote-section): Wrap inline inline
footnote definitions within a paragraph.
Reported-by: Matthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00006.html >
2018-10-03 15:26:14 +02:00
Nicolas Goaziou
0122746f5b
ox: Fix a docstring
...
* lisp/ox.el (org-export-get-node-property): Fix docstring.
2018-10-03 13:10:35 +02:00
Marcin Borkowski
d229dd9662
Lift the artificial limit on the clock history length.
...
The default limit of 35 was hard-coded, and was especially annoying
when using an alternative way of selecting from history,
e.g. https://github.com/unhammer/org-mru-clock .
2018-10-03 12:50:05 +02:00
Nicolas Goaziou
77aadd569c
Improve a docstring
...
* lisp/org.el (org-complete-tags-always-offer-all-agenda-tags):
Improve docstring.
Reported-by: No Wayman <iarchivedmywholelife@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00027.html >
2018-10-03 12:40:58 +02:00
Marco Wahl
d3e286257b
org: Fix dangling parens in org-info-find-node
2018-10-03 09:21:58 +02:00
Marco Wahl
4ec502fc98
Merge branch 'master' into contextual-docu
2018-10-02 16:34:58 +02:00
Marco Wahl
3be61dff2f
org: Unify a few settings in the org-mode-map
2018-10-02 15:05:59 +02:00
Marco Wahl
9968e66b64
org: Dropped one non-functional keybinding
2018-10-01 23:40:27 +02:00
Marco Wahl
b19e7737dd
org,org-agenda: New: open info depending on context
...
* lisp/org.el (org-info-find-node): Function to jump to info depending
on context. For an org file the context is the element type at point.
2018-10-01 22:47:33 +02:00
Nicolas Goaziou
3be2260806
Silence byte-compiler
...
* lisp/ob-emacs-lisp.el:
* lisp/org-macro.el: Silence byte-compiler.
2018-10-01 21:33:49 +02:00