Gregor Zattler
4c41e1d03a
Tiny doc fixes
...
* doc/org-manual.org (Dates and Times) (Timestamps, Deadlines and
Scheduling): Document "diary-float" instead of obsolete "org-float".
* doc/Documentation_Standards.org (org-manual.org specific
conventions): Fix file name and directory of Org manual.
Copyright-paperwork-exempt: yes
TINYCHANGE
2018-05-09 21:11:18 +02:00
Nicolas Goaziou
97a8eb00ef
Makefile: Add "org-manual.org" as a pre-requisite
...
* doc/Makefile (org.texi): Makefile: Add "org-manual.org" as
a pre-requisite.
2018-05-09 08:19:21 +02:00
Nicolas Goaziou
1289cfe218
Remove "org.texi" from source tree
...
* .gitignore: Ignore doc/org.texi
* doc/org.texi: Remove file.
2018-05-09 02:25:02 +02:00
Nicolas Goaziou
c87d70439b
"make doc" generate "org.texi"
...
* doc/Makefile (org.texi): New rule.
* mk/org-fixup.el (org-make-manuals): New function.
2018-05-09 02:23:10 +02:00
Nicolas Goaziou
d4a8e3de84
org-manual: Document "sep" header argument
...
* doc/org-manual.org (Results of Evaluation): Document "sep" header
argument.
2018-05-09 01:45:04 +02:00
Nicolas Goaziou
0dda9bf1c1
Mark `org-get-indentation' as obsolete
...
* lisp/org-macs.el (org-get-indentation): Move function...
* lisp/org-compat: ... here.
* lisp/ob-core.el (org-babel-demarcate-block):
(org-babel-insert-result):
(org-babel-update-block-body):
* lisp/ob-exp.el (org-babel-exp-process-buffer):
* lisp/org-agenda.el (org-agenda-get-some-entry-text):
* lisp/org-capture.el (org-capture-place-item):
* lisp/org-clock.el (org-clock-in):
* lisp/org-element.el (org-element-swap-A-B):
* lisp/org-feed.el (org-feed-format-entry):
* lisp/org-indent.el (org-indent-add-properties):
* lisp/org-list.el (org-in-item-p):
(org-list-struct):
(org-list-struct-apply-struct):
(org-list-item-body-column):
(org-toggle-item):
* lisp/org-src.el (org-src--edit-element):
* lisp/org.el (org-fixup-indentation):
(org-cdlatex-environment-indent):
(org--get-expected-indentation):
(org-indent-region):
(org-toggle-fixed-width):
* lisp/ox.el (org-export-expand-include-keyword): Use
`current-indentation' instead.
2018-05-09 01:26:31 +02:00
Nicolas Goaziou
0c03971b09
org-list: Avoid unnecessary call to `org-in-item-p'
...
* lisp/org-list.el (org-list-insert-item): Compute item containing POS
based on the list structure instead of the buffer.
2018-05-07 23:23:12 +02:00
Nicolas Goaziou
a8a8f70039
ORG-NEWS: Fix typo
...
* etc/ORG-NEWS (Change in the structure template expansion): Fix typo.
2018-05-07 22:50:56 +02:00
Kyle Meyer
1dbc506086
Merge branch 'maint'
2018-05-06 02:33:55 -04:00
Kyle Meyer
732aa477b0
Update version keyword
2018-05-06 02:28:09 -04:00
Nicolas Goaziou
e8a4f39e73
Merge branch 'maint'
2018-05-04 00:26:37 +02:00
Nicolas Goaziou
064caac937
ox-html: Make use of :html-preamble/postamble-format
...
* lisp/ox-html.el (org-html--build-pre/postamble): Use
`:html-preamble-format' and `:html-postamble-format' instead of
relying on the global variables.
Reported-by: Brady Trainor <mail@bradyt.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00073.html >
2018-05-04 00:24:36 +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
Carsten Dominik
ee336b8cf7
Fix typo in docstring
2018-05-03 09:25:56 +02:00
Nicolas Goaziou
b148cb0864
Merge branch 'maint'
2018-05-02 23:55:12 +02:00
Nicolas Goaziou
631c4b703e
org-src: Clear overlay in Org buffer after major mode change
...
* lisp/org-src.el (org-src--allow-write-back):
(org-src--auto-save-timer):
(org-src--babel-info):
(org-src--beg-marker):
(org-src--block-indentation):
(org-src--end-marker):
(org-src--from-org-mode):
(org-src--overlay):
(org-src--preserve-indentation):
(org-src--remote):
(org-src--saved-temp-window-config):
(org-src--source-type):
(org-src--tab-width): Define as local and permanent variable.
(org-src--edit-element):
(org-edit-src-code):
(org-edit-inline-src-code): Use `setq' instead of `setq-local'.
When major mode is changed in an edit buffer, the variables above
would be cleared and the overlay in the source buffer could not be
removed anymore.
2018-05-02 23:52:35 +02:00
Nicolas Goaziou
eacf403172
org-src: Do not use `setq-local' when not necessary
...
* lisp/org-src.el (org-src--contents-for-write-back):
(org-src-mode):
(org-src-mode-configure-edit-buffer): Use `setq' instead of
`setq-local' on variable automatically buffer-local when set.
2018-05-02 23:35:00 +02:00
Nicolas Goaziou
c703ee1a23
org-manual: Tiny rewording
...
* doc/org-manual.org (Summary): Tiny rewording.
2018-05-02 15:03:00 +02:00
Nicolas Goaziou
66b8d813a0
org-manual: Fix typo
...
* doc/org-manual.org (Summary): Fix typo.
2018-05-02 14:56:21 +02:00
Nicolas Goaziou
0b8aa5b3cb
org-manual: Document "tangle-mode" header argument
...
* doc/org-manual.org (Extracting Source Code): Document "tangle-mode"
header argument.
2018-05-02 12:48:38 +02:00
Nicolas Goaziou
c64cdff088
org-manual: Document :wrap header argument
...
* doc/org-manual.org (Results of Evaluation): Document :wrap header
argument.
2018-05-02 12:44:01 +02:00
Nicolas Goaziou
fa51fc2922
org-manual: Fix typo
...
* doc/org-manual.org (Exporting Code Blocks): Fix typo.
2018-05-02 12:18:59 +02:00
Nicolas Goaziou
cac45d5469
ox-beamer: Fix `org-beamer-select-environment'
...
* lisp/ox-beamer.el (org-beamer-select-environment): Fix thinko.
The error prevents the function to complete: only the tag is added,
not the property.
2018-05-01 23:27:37 +02:00
Nicolas Goaziou
8efcb62dc4
org-src: Add association between beamer and `latex-mode'
...
* lisp/org-src.el (org-src-lang-modes): Add an entry for "beamer".
Improve docstring.
2018-05-01 23:17:40 +02:00
Nicolas Goaziou
9ab45860a6
Merge branch 'maint'
2018-05-01 15:06:57 +02:00
Nicolas Goaziou
80eb69b648
org-list: Proper error message when trying to indent top level item
...
* lisp/org-list.el (org-list-struct-indent): Return proper error
message upon trying to indent a top-level item. Use `user-error'.
* testing/lisp/test-org-list.el (test-org-list/indent-item): Add test.
2018-05-01 15:06:08 +02:00
Nicolas Goaziou
ede4b999b8
Silence byte-compiler
2018-04-30 14:23:26 +02:00
Nicolas Goaziou
4a3c1a414b
org-macs: Silence byte-compiler
2018-04-30 13:59:34 +02:00
Nicolas Goaziou
6d4e0b3dd1
Move `org-no-popups' to "org-macs.el"
...
* lisp/org-compat.el (org-no-popups): Move function...
* lisp/org-macs.el : ... here.
2018-04-30 13:58:25 +02:00
Nicolas Goaziou
5c12c21a73
org-capture: Narrow to current captured row
...
* lisp/org-capture.el (org-capture-place-table-line): Narrow to
current captured row and obey :unnarrowed property, like every other
target type.
2018-04-30 11:42:01 +02:00
Nicolas Goaziou
94f902834a
org-manual: Slight rewording
...
* doc/org-manual.org (Macro Replacement): Slight rewording.
2018-04-30 09:26:50 +02:00
Nicolas Goaziou
cbb48611ef
org-capture: Fix aborting a captured row
...
* lisp/org-capture.el (org-capture-place-table-line): Add missing
`org-capture-mark-kill-region'.
2018-04-30 01:01:54 +02:00
Nicolas Goaziou
ab53ee2c3d
org-capture: Fix capturing in a table
...
* lisp/org-capture.el (org-capture-place-table-line): Rewrite function.
* testing/lisp/test-org-capture.el (test-org-capture/table-line): New
test.
2018-04-30 00:52:57 +02:00
Bastien
79eb1e889f
etc/ORG-NEWS: Advertize `org-browse-news' and its menu item
2018-04-30 00:29:33 +02:00
Bastien
6dea0de7ca
org.el: Add a new `org-browse-news' menu entry
...
* lisp/org.el (org-browse-news): New command to browse the
news for the latest major release.
(org-org-menu): New menu entry to use the new command.
Thanks to Thomas Dye and Tim Cross for suggesting this.
2018-04-30 00:27:16 +02:00
Bastien
e11613b1c5
org.el: Add missing modules
...
* lisp/org.el (org-modules): Add missing modules.
2018-04-30 00:20:34 +02:00
Bastien
5c9bab29d4
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-04-29 23:39:55 +02:00
Bastien
4697a19f6f
org.el: Enhance a docstring
...
* lisp/org.el (org-babel-load-languages): Enhance docstring.
2018-04-29 23:39:32 +02:00
Nicolas Goaziou
70fc172191
Mark `org-file-remote-p' as obsolete
...
* lisp/org.el (org-file-remote-p): Move function...
* lisp/org-compat.el: ... here.
* lisp/ox.el (org-export--prepare-file-contents):
(org-export-file-uri): Use `file-remote-p'.
2018-04-29 16:28:25 +02:00
Bastien
4aa2513882
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-04-29 16:02:07 +02:00
Bastien
dc4896aeef
etc/ORG-NEWS: Mention outshine
2018-04-29 12:37:34 +02:00
Nicolas Goaziou
61cfd675f3
org-manual: Document "results" macro
...
* doc/org-manual.org (Macro Replacement): Document "results" macro.
2018-04-29 12:32:26 +02:00
Nicolas Goaziou
bc92f734cf
org-macro: Remove unnecessary `declare-function'
2018-04-29 12:26:59 +02:00
Nicolas Goaziou
722f8a517f
org-macs: Re-order sections alphabetically
2018-04-29 12:09:34 +02:00
Nicolas Goaziou
946b469cc2
Remove unnecessary `(require 'cl)'
...
* testing/examples/babel.org: Remove unnecessary `(require 'cl)'.
2018-04-29 12:04:26 +02:00
Nicolas Goaziou
3c013ba24d
Silence byte-compiler
2018-04-29 12:03:17 +02:00
Nicolas Goaziou
9d8aade7ec
Mark `org-with-silent-modifications' as obsolete
...
* lisp/org-clock.el (org-clock-sum):
* lisp/org-colview.el (org-columns--display-here):
(org-columns-remove-overlays):
(org-columns-quit):
(org-columns-edit-value):
(org-columns--compute-spec):
(org-columns-compute-all):
(org-agenda-colview-compute):
* lisp/org-indent.el (org-indent-remove-properties):
(org-indent-add-properties):
* lisp/org.el (org-sort-entries):
(org-refresh-properties):
(org-refresh-category-properties):
(org-refresh-stats-properties):
(org-agenda-prepare-buffers): Do not use
`org-with-silent-modifications'.
2018-04-29 12:02:01 +02:00
Nicolas Goaziou
a2994cb005
Mark "org-version-check" obsolete
...
* lisp/org-compat.el (org-version-check): Mark as obsolete.
(org-no-popups):
* testing/examples/babel.org: Remove use of `org-version-check'.
2018-04-29 11:54:40 +02:00
Nicolas Goaziou
31afe4b718
Move window-related function to "org-macs.el"
...
* lisp/org.el (org-switch-to-buffer-other-window):
* lisp/org-compat.el (org-fit-window-to-buffer): Move functions...
* lisp/org-macs.el: ... here.
2018-04-29 10:31:24 +02:00
Nicolas Goaziou
4d568fc83c
Move `org-parse-time-string' to "org-macs.el"
...
* lisp/org.el (org-parse-time-string): Move function...
* lisp/org-macs.el : ... here. Remove obsolete FIXME. Improve
docstring.
2018-04-29 10:26:41 +02:00