Nicolas Goaziou
80a6262ca1
Silence byte-compiler
...
* lisp/ox.el (org-export-backend):
(org-export-define-backend):
(org-export-define-derived-backend):
(org-export--get-subtree-options):
(org-export--get-inbuffer-options):
(org-export--collect-headline-numbering):
(org-export--selected-trees):
(org-export--skip-p):
(org-export--delete-comments):
(org-export--remove-uninterpreted-data-1):
(org-export--merge-external-footnote-definitions):
(org-export-insert-default-template):
(org-export-expand-include-keyword):
(org-export--inclusion-absolute-lines):
(org-export-collect-footnote-definitions):
(org-export-get-footnote-number):
(org-export-get-reference):
(org-export-get-ordinal):
(org-export-unravel-code):
(org-export-format-code):
(org-export-format-code-default):
(org-export-table-has-header-p):
(org-export-table-row-group):
(org-export-table-cell-alignment):
(org-export-table-row-number):
(org-export-table-dimensions):
(org-export-table-cell-address):
(org-export-get-table-cell-at):
(org-export--smart-quote-status):
(org-export-get-previous-element):
(org-export-get-next-element):
(org-export-dispatch):
(org-export--dispatch-ui):
(org-export--dispatch-action): Silence byte-compiler.
2015-08-15 00:33:11 +02:00
Nicolas Goaziou
d47f03ca24
ox: Activate lexical binding
...
* lisp/ox.el (org-export-define-backend):
(org-export-define-derived-backend): Remove unused argument.
(org-export--get-inbuffer-options):
(org-export--list-bound-variables):
(org-export--selected-trees):
(org-export-transcoder):
(org-export--prune-tree):
(org-export--merge-external-footnote-definitions):
(org-export--footnote-reference-map):
(org-export-get-alt-title):
(org-export-get-node-property):
(org-export-table-row-is-special-p):
(org-export-table-dimensions):
(org-export-stack-refresh): Refactor code.
* testing/lisp/test-ox.el (org-test-default-backend):
(test-org-export/with-backend):
(test-org-export/footnote-first-reference-p): Comply to lexical binding.
2015-08-15 00:11:20 +02:00
Nicolas Goaziou
425f4a8e60
org-element: Activate lexical binding
...
* lisp/org-element.el (org-element-section-parser):
(org-element-planning-interpreter):
(org-element-table-row-parser):
(org-element-timestamp-interpreter): Silence byte-compiler. Tiny
refactoring.
(org-element--parse-objects): Tiny refactoring.
(org-element-interpret-data): Refactor code.
(org-element--interpret-data-1): Remove function.
(org-element-center-block-interpreter):
(org-element-item-parser):
(org-element-plain-list-interpreter):
(org-element-property-drawer-interpreter):
(org-element-quote-block-interpreter):
(org-element-section-interpreter):
(org-element-babel-call-interpreter):
(org-element-clock-interpreter):
(org-element-comment-interpreter):
(org-element-comment-block-interpreter):
(org-element-diary-sexp-interpreter):
(org-element-example-block-interpreter):
(org-element-export-block-interpreter):
(org-element-fixed-width-interpreter):
(org-element-horizontal-rule-interpreter):
(org-element-keyword-interpreter):
(org-element-latex-environment-interpreter):
(org-element-node-property-interpreter):
(org-element-paragraph-interpreter):
(org-element-src-block-interpreter):
(org-element-verse-block-interpreter):
(org-element-bold-interpreter):
(org-element-code-interpreter):
(org-element-entity-interpreter):
(org-element-export-snippet-interpreter):
(org-element-inline-babel-call-interpreter):
(org-element-inline-src-block-interpreter):
(org-element-italic-interpreter):
(org-element-latex-fragment-interpreter):
(org-element-line-break-interpreter):
(org-element-link-parser):
(org-element-macro-interpreter):
(org-element-radio-target-interpreter):
(org-element-statistics-cookie-interpreter):
(org-element-strike-through-interpreter):
(org-element-table-cell-interpreter):
(org-element-target-interpreter):
(org-element-underline-interpreter):
(org-element-verbatim-interpreter):
(org-element-map):
(org-element-normalize-contents): Silence byte-compiler.
2015-08-14 23:10:08 +02:00
Nicolas Goaziou
b9b500afd9
Merge branch 'maint'
2015-08-14 22:36:51 +02:00
Philip
80b1ebc681
Remove references to ChangeLog
...
* README_contribute: Remove references to ChangeLog. Instead,
reference the Emacs `CONTRIBUTE' file which documents how to
format git commit messages.
TINYCHANGE
2015-08-14 22:34:41 +02:00
Philip
453492ca95
org.el: Fix recursive regexp backtracking
...
* org.el (org-link-search): Avoid recursive regexp backtracking behavior
when following search links.
<http://article.gmane.org/gmane.emacs.orgmode/100010 >
TINYCHANGE
2015-08-14 22:33:08 +02:00
Nicolas Goaziou
fc7ce0777d
org-lint: Fix compilation error
...
* lisp/org-lint.el (org-lint-wrong-include-link-parameter): Remove
spurious argument.
2015-08-14 18:19:05 +02:00
Nicolas Goaziou
eb3b31c80b
Implement Org linting
...
* lisp/org-lint.el: New file.
* doc/org.texi (Org syntax):
* etc/ORG-NEWS: Document new feature.
2015-08-14 18:16:31 +02:00
Nicolas Goaziou
2498f996ea
Merge branch 'maint'
2015-08-14 16:49:14 +02:00
Nicolas Goaziou
6539b0d3f9
org-footnote: Fix remote editing of empty definitions
...
* lisp/org-src.el (org-edit-footnote-reference): Fix remote editing of
empty definitions.
2015-08-14 16:48:41 +02:00
Nicolas Goaziou
67fe03bcd7
Remove `org-list-empty-line-terminates-plain-lists'
...
* lisp/org-list.el (org-list-empty-line-terminates-plain-lists): Remove
variable.
(org-list-end-re):
(org-list-separating-blank-lines-number):
* lisp/org.el (org-blank-before-new-entry): Adapt to change above.
* testing/lisp/test-org-element.el (test-org-element/at-point):
* testing/lisp/test-org-list.el (test-org-list/move-item-down):
(test-org-list/move-item-up):
(test-org-list/insert-item): Update tests.
This variable is not useful: plain lists can always be terminated with
two blank lines.
2015-08-14 16:34:37 +02:00
Nicolas Goaziou
10cb9d7323
Merge branch 'maint'
2015-08-14 16:23:07 +02:00
Nicolas Goaziou
6a0454e4f0
org-footnote: Fix consistency between footnotes and links
...
* lisp/org-footnote.el (org-footnote-action): Mimic `org-open-at-point'
behavior for consistency.
2015-08-14 16:22:13 +02:00
Nicolas Goaziou
65ded0c7ed
org-footnote: Fix f8c4102cc6
...
* lisp/org-footnote.el (org-footnote-new): Fix
f8c4102cc6
.
* testing/lisp/test-org-footnote.el (test-org-footnote/new): Add test.
2015-08-14 16:17:18 +02:00
Nicolas Goaziou
8500501984
org-footnote: Fix location after moving to definition
...
* lisp/org-footnote.el (org-footnote-goto-definition): Move to location
appropriate for further editing.
* testing/lisp/test-org-footnote.el (test-org-footnote/delete): Update
test.
2015-08-14 16:15:09 +02:00
Rasmus
97d43ff681
org.el: Update Version and Package-Requires header
2015-08-14 02:05:30 +02:00
Rasmus
cadb9f3603
Merge branch 'maint'
2015-08-14 02:04:49 +02:00
Nicolas Goaziou
f6be2b5aa3
Merge branch 'maint'
2015-08-14 02:04:13 +02:00
Rasmus
182552ee75
org.el: Add version header
...
* org.el: Add version header.
* README_maintainer: Mention Version header.
2015-08-14 02:03:54 +02:00
Matt Lundin
a3eeddefce
Fix completion when selecting more than one tag
...
* lisp/org.el (org-fast-tag-selection): Make sure to set local variable
buffer-tags to actual buffer-tags before pushing selected tag to the
list; otherwise, the subsequent completion list will be limited to the
one selected tag.
2015-08-14 01:58:49 +02:00
Nicolas Goaziou
d7c6d92166
Merge branch 'maint'
2015-08-14 01:07:52 +02:00
Nicolas Goaziou
f8c4102cc6
org-footnote: Fix positioning when inserting footnotes
...
* lisp/org-footnote.el (org-footnote-new): Fix point when a new footnote
triggers sorting.
Reported-by: Gerald Wildgruber <Gerald.Wildgruber@unibas.ch>
<http://permalink.gmane.org/gmane.emacs.orgmode/99997 >
2015-08-14 01:05:40 +02:00
Nicolas Goaziou
4ddfa565c9
Merge branch 'maint'
2015-08-14 00:19:39 +02:00
Nicolas Goaziou
719a201c3b
org-src: Fix remote editing
...
* lisp/org-src.el (org-src--contents-area): Make sure buffer is widened
before extracting contents of area.
2015-08-14 00:17:47 +02:00
Nicolas Goaziou
e1e3cf0189
Merge branch 'maint'
2015-08-13 22:53:27 +02:00
Tom Hinton
0500bd09e2
Fix clock in when org-clock-into-drawer is integer
...
* org-clock.el (org-clock-jump-to-current-clock): Fixed a bug wherein
`org-clock-jump-to-current-clock' did not work if
`org-clock-into-drawer' was not either a string or nil.
TINYCHANGE
2015-08-13 22:51:09 +02:00
Nicolas Goaziou
2f2f266c24
Merge branch 'maint'
2015-08-13 22:33:29 +02:00
Nicolas Goaziou
db314d8ad0
Fix table detection in non-Org buffers
...
* lisp/org.el (org-at-table-p): Allow local tables without full valid
syntax when current buffer is not in Org mode.
Reported-by: Benjamin Slade <slade@jnanam.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/99982 >
2015-08-13 22:31:36 +02:00
Kyle Meyer
a97f2c1830
Add org-link-edit.el to contrib
...
* contrib/lisp/org-link-edit.el: New file.
* contrib/README: Add org-link-edit.el entry.
Copy org-link-edit.el from upstream's b3aa4dd.
2015-08-13 01:53:58 -04:00
Kyle Meyer
db4b0e7b9e
Merge branch 'maint'
2015-08-12 23:31:55 -04:00
Archenoth
81a6372947
ob-ruby: Fix double-escaping
...
* lisp/ob-ruby.el (org-babel-ruby-evaluate): Remove second call to
`org-babel-ruby-table-or-string'.
<http://permalink.gmane.org/gmane.emacs.orgmode/99888 >
TINYCHANGE
2015-08-12 22:55:54 -04:00
Nicolas Goaziou
4bb5306f2d
Merge branch 'maint'
2015-08-13 02:44:02 +02:00
Nicolas Goaziou
4dc79cbe9d
Fix splitting headlines with RET
...
* lisp/org.el (org-return): Make sure to keep headline from being
invalidated by restricting positions where it can be split.
* testing/lisp/test-org.el (test-org/return): Add test.
2015-08-13 02:42:08 +02:00
Alexey Lebedeff
997a9a45d9
Make `org-return' follow links in headings again
...
* org.el (org-return): Check for links first when
`org-return-follows-link' is non-nil, before inserting any newlines.
* testing/lisp/test-org.el (test-org/return): Add test.
This patch restores order in which `org-return' perform actions (which
was changed in a7e62499f2
).
TINYCHANGE
2015-08-13 02:25:17 +02:00
Nicolas Goaziou
0461101fbb
Merge branch 'maint'
2015-08-12 15:01:10 +02:00
Nicolas Goaziou
c8e3bc2bbc
org.texi: Fix compilation error
...
* doc/org.texi (Macro replacement): Fix typo.
2015-08-12 15:00:48 +02:00
Nicolas Goaziou
128c132c60
Merge branch 'maint'
2015-08-12 14:53:56 +02:00
Nicolas Goaziou
1e268ad334
org-colview: Fix column view area
...
* lisp/org-colview.el (org-columns-goto-top-level): Actually move point.
(org-columns): Adapt to change above.
Reported-by: Johan Sandblom <js@ndblom.se>
<http://permalink.gmane.org/gmane.emacs.orgmode/99892 >
2015-08-12 14:49:02 +02:00
Nicolas Goaziou
252029b10b
Merge branch 'maint'
2015-08-12 01:13:38 +02:00
Nicolas Goaziou
0359f7550a
org-colview: Fix typo in a docstring
...
* lisp/org-colview.el (org-columns--value): Fix typo.
2015-08-12 01:12:43 +02:00
Nicolas Goaziou
36468b90db
Merge branch 'maint'
2015-08-12 00:58:53 +02:00
tsdye
06026a16f9
org.texi: Edit date and time macros
...
* doc/org.texi (Macro replacement): Edit date and time macros.
2015-08-12 00:58:15 +02:00
Nicolas Goaziou
3add787abd
Merge branch 'maint'
2015-08-11 19:12:49 +02:00
Nicolas Goaziou
6116c72975
Fix column view sums
...
* lisp/org.el (org-entry-properties): Remove need for `org-summaries'
property.
* lisp/org-colview.el (org-columns--value): New function.
(org-columns):
(org-agenda-columns): Use new functions.
Reported-by: Johan Sandblom <js@ndblom.se>
<http://permalink.gmane.org/gmane.emacs.orgmode/99865 >
2015-08-11 19:12:17 +02:00
Nicolas Goaziou
05994dc775
Merge branch 'maint'
2015-08-11 14:46:14 +02:00
Nicolas Goaziou
e8253c57f1
org-agenda: Fix slowdown introduced in 570b193
...
* lisp/org-agenda.el (org-agenda-dim-blocked-tasks): Do not check
multiple times the same entry.
Reported-by: Matt Lundin <mdl@imapmail.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/99842 >
2015-08-11 14:42:34 +02:00
Nicolas Goaziou
4a7b2c5072
Merge branch 'maint'
2015-08-11 14:13:46 +02:00
Nicolas Goaziou
9bb87f49f7
org-list: Fix "Invalid search bound" error
...
* lisp/org-list.el (org-update-checkbox-count): Fix "Invalid search
bound" error.
Reported-by: Rasmus <rasmus@gmx.us>
<http://permalink.gmane.org/gmane.emacs.orgmode/99837 >
2015-08-11 14:11:15 +02:00
Nicolas Goaziou
a0c634ba3c
Merge branch 'maint'
2015-08-10 23:24:06 +02:00
Nicolas Goaziou
ac0661189e
org-list: Fix statistics updating with cookie in sublist
...
* lisp/org-list.el (org-update-checkbox-count): Properly update
statistics cookies in a sublist.
* testing/lisp/test-org-list.el (test-org-list/update-checkbox-count):
Add test.
Reported-by: Gerald Wildgruber <Gerald.Wildgruber@unibas.ch>
<http://permalink.gmane.org/gmane.emacs.orgmode/99792 >
2015-08-10 23:23:39 +02:00