Nicolas Goaziou
988e8802a6
ox-texinfo: Move menu handling from sections to headlines
...
* lisp/ox-texinfo.el (org-texinfo-headline): Move menu handling from
sections to headlines.
2017-06-22 19:01:23 +02:00
Nicolas Goaziou
20795aae27
ox-texinfo: Change Texinfo class definition
...
* lisp/ox-texinfo.el (org-texinfo-classes): Change default value and
structure.
(org-texinfo--structuring-command): New function.
(org-texinfo-headline): Use new function.
The new structure handles properly appendices at sub-levels.
2017-06-22 18:46:44 +02:00
Nicolas Goaziou
a0d1ad325d
Merge branch 'maint'
2017-06-22 18:32:38 +02:00
Nicolas Goaziou
5d99560ddf
Fix open-at-point in example blocks and diary-sexps
...
* lisp/org.el (org-open-at-point): Also open links in example blocks
and diary-sexps.
* testing/lisp/test-org.el (test-org/open-at-point/keyword):
(test-org/open-at-point/property):
(test-org/open-at-point/comment): Add tests.
Reported-by: Dieter Faulbaum <Dieter.Faulbaum@helmholtz-berlin.de>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00277.html >
2017-06-22 18:30:58 +02:00
Nicolas Goaziou
92e8c85381
Merge branch 'maint'
2017-06-21 22:57:44 +02:00
Nicolas Goaziou
521734d51f
Fix link fontification
...
* lisp/org.el (org-activate-links): Fix link fontification.
Reported-by: John Kitchin <jkitchin@andrew.cmu.edu>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00381.html >
2017-06-21 22:55:10 +02:00
Nicolas Goaziou
e90b643b05
Merge branch 'maint'
2017-06-21 22:35:28 +02:00
Nicolas Goaziou
112c5ba479
org-clock: Remove daylight saving time offset in duration
...
* lisp/org-clock.el (org-clock-out):
(org-clock-sum):
(org-clocktable-steps):
(org-clock-update-time-maybe): Use UTC to compute time differences.
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/scope):
Update test.
2017-06-21 22:32:57 +02:00
Bastien
6bbc07f916
Merge branch 'maint'
2017-06-21 15:23:55 +02:00
Tsuyoshi Kitamoto
877377ebb3
doc/org.texi (External links): Tiny formatting fix
...
* doc/org.texi (External links): Tiny formatting fix.
TINYCHANGE
2017-06-21 15:23:23 +02:00
Nicolas Goaziou
dbed60d6bd
Merge branch 'maint'
2017-06-20 21:21:35 +02:00
Nicolas Goaziou
7fe9ae6bd2
org-element: Fix babel call parser
...
* lisp/org-element.el (org-element-babel-call-parser): Handle complex
arguments.
* testing/lisp/test-org-element.el (test-org-element/babel-call-parser):
Add test.
Reported-by: Eric S Fraga <e.fraga@ucl.ac.uk>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00366.html >
2017-06-20 21:20:30 +02:00
Nicolas Goaziou
15c9e91bf3
Merge branch 'maint'
2017-06-20 09:54:35 +02:00
Nicolas Goaziou
97fa95cbc3
org-indent: Fix "Fix line and wrap prefixes"
...
* lisp/org-indent.el (org-indent-set-line-properties): Fix
wrap-prefix.
Reported-by: William Denton <wtd@pobox.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00360.html >
2017-06-20 09:53:26 +02:00
Nicolas Goaziou
3aa3add326
Merge branch 'maint'
2017-06-20 09:32:48 +02:00
Nicolas Goaziou
bb25a04f86
org.texi: Fix menus
...
* doc/org.texi (Top):
(Texinfo export): Fix menus.
2017-06-20 09:32:10 +02:00
Nicolas Goaziou
03d43ee6c6
Merge branch 'maint'
2017-06-20 09:30:25 +02:00
Nicolas Goaziou
5d6325ffa3
ox-texinfo: Remove spurious "@insertcopying"
...
* lisp/ox-texinfo.el (org-texinfo-template): Remove "@insertcopying"
command outside title page.
See (info "(texinfo) Copyright") for details.
2017-06-20 09:28:40 +02:00
Nicolas Goaziou
5e439d41f8
Merge branch 'maint'
2017-06-20 09:25:05 +02:00
Nicolas Goaziou
fa6b7bf25c
ox-texinfo: Fix location of text before first headline
...
* doc/org.texi (Info directory file): Fix node name.
(Headings and sectioning structure): Document location of text before
first headline.
(A Texinfo example): Update example.
* lisp/ox-texinfo.el (org-texinfo-template): Handle contents of very
first section.
(org-texinfo-section): Ignore very first section.
According to Texinfo specifications, Top node contents should not
appear in printed output. Move it near "@top" command, within
"@ifnottex".
2017-06-20 09:24:34 +02:00
Bastien
4890ab71ce
Merge branch 'master' of orgmode.org:org-mode
2017-06-20 08:17:30 +02:00
Mark Oteiza
f7d2639701
org-agenda.el: New command to rebuild all agenda buffers
...
* lisp/org-agenda.el (org-agenda-redo-all): New command to
rebuild all agenda buffers.
(org-agenda-mode-map): Bind this new command to `g'.
2017-06-20 08:09:31 +02:00
Kyle Meyer
bed2c25fd3
Merge branch 'maint'
2017-06-19 23:37:06 -04:00
Kyle Meyer
2ab2a420a6
org.texi: Clean up spacing to pass Emacs's pre-commit check
...
Like c1822e556
(2017-01-25), this is in preparation for syncing with
the Emacs repo.
2017-06-19 23:23:07 -04:00
Nicolas Goaziou
566794e98e
Merge branch 'maint'
2017-06-19 12:35:51 +02:00
Nicolas Goaziou
002e2a072c
org-indent: Fix line and wrap prefixes
...
* lisp/org-indent.el (org-indent--text-line-prefixes):
(org-indent--heading-line-prefixes):
(org-indent--inlinetask-line-prefixes): New variables.
(org-indent--compute-prefixes): New function.
(org-indent-mode): Use new function.
(org-indent-set-line-properties): Use new variables. Also prevent
regular lines from being prefixed with stars.
Reported-by: Forrest Sedgwick <fgsedgwick@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00341.html >
2017-06-19 12:24:16 +02:00
Nicolas Goaziou
a615d399d9
org.texi: Update Texinfo section
...
* doc/org.texi (Plain lists in Texinfo export): Update according to
latest changes.
2017-06-18 11:04:38 +02:00
Nicolas Goaziou
1a6bf9c5f9
Merge branch 'maint'
2017-06-18 11:03:43 +02:00
Nicolas Goaziou
df62584820
org.texi: Small update
...
* doc/org.texi (A Texinfo example): Update according to latest
ox-texinfo fixes.
2017-06-18 11:03:13 +02:00
Nicolas Goaziou
8769cfc91c
Revert "ox-texinfo: Escape @ { } in index"
...
* lisp/ox-texinfo.el (org-texinfo-keyword): Index keywords are
specific to Texinfo back-end, so they expect regular Texinfo code.
* doc/org.texi (Indices): Update documentation.
2017-06-18 11:00:56 +02:00
Kaushal Modi
d48cfdf68b
Add hold 'action' to the "n" macro and ws-trim all "n" macro args
...
* lisp/org-macro.el (org-macro--counter-increment): Rename the
optional arg RESET to ACTION, as now that action can mean setting,
resetting or even holding the specified counter. ACTION set to
"-" will hold the previous value of the counter. White-space is
now trimmed from the NAME arg too.
* doc/org.texi (Macro replacement): Document the new hold action.
* testing/lisp/test-org-macro.el (test-org-macro/n): Add new tests for
the hold action.
2017-06-17 23:46:24 -04:00
Nicolas Goaziou
27c2ae47fc
Merge branch 'maint'
2017-06-17 16:18:01 +02:00
Allen Li
b9b921716b
org-attach: Respect org-attach-commit everywhere
...
* lisp/org-attach.el (org-attach-delete-one): Respect org-attach-commit
(org-attach-delete-all): Respect org-attach-commit
(org-attach-sync): Respect org-attach-commit
TINYCHANGE
2017-06-17 16:16:27 +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
Nicolas Goaziou
4295d1b949
Merge branch 'maint'
2017-06-17 12:07:09 +02:00
Nicolas Goaziou
39351d0d14
ox-texinfo: Add missing entities
...
* lisp/ox-texinfo.el (org-texinfo-entity): Add "@textdegree{}" and
"@registeredsymbol".
2017-06-17 12:04:36 +02:00
Nicolas Goaziou
080dc4b445
Merge branch 'maint'
2017-06-16 07:59:18 +02:00
Nicolas Goaziou
673fe87b05
Fix compilation warning
...
* lisp/org.el (org-parse-time-string): Fix compilation warning.
2017-06-16 07:58:18 +02:00
Bastien
32676822de
Merge branch 'maint'
2017-06-15 16:50:16 +02:00
Tsuyoshi Kitamoto
01ba5cafa5
doc/org.texi: Fix typos
...
* doc/org.texi (Include files)
(Special blocks in Texinfo export, Translator functions): Fix typos.
TINYCHANGE
2017-06-15 16:48:21 +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
ad0312cde2
Merge branch 'maint'
2017-06-14 23:07:44 +02:00
Nicolas Goaziou
17382722db
ox-texinfo: Fix last commit
...
* lisp/ox-texinfo.el (org-texinfo-keyword): Fix last commit.
Do not escape raw #+TEXINFO value.
2017-06-14 23:07:04 +02:00
Nicolas Goaziou
c7be9d9ad5
org.texi: Add missing documentation about "n" macro
...
* doc/org.texi (Macro replacement): Add missing documentation.
2017-06-14 21:42:27 +02:00
Nicolas Goaziou
e5396c189a
Merge branch 'maint'
2017-06-14 21:27:37 +02:00
Nicolas Goaziou
a621289953
ox-texinfo: Escape @ { } in index
...
* lisp/ox-texinfo.el (org-texinfo-keyword): Escape @ { } in index.
2017-06-14 21:27:02 +02:00
Nicolas Goaziou
70b3c35710
Update ORG-NEWS
2017-06-14 19:16:07 +02:00
Nicolas Goaziou
1a31a43578
Update ORG-NEWS
2017-06-14 19:13:38 +02:00