Bastien
afa64d6f10
Merge branch 'maint'
2015-08-18 17:59:09 +02:00
Eric Abrahamsen
f149060678
Add function to better guard html5 exports
...
* lisp/ox-html.el (org-html-html5-fancy-p): New function to check
that we are exporting to HTML5 and that the user has requested
fancy elements.
(org-html--wrap-image, org-html-template, org-html-toc)
(org-html-special-block): Use the new function.
2015-08-18 17:59:01 +02:00
Bastien
34c458929a
Merge branch 'maint'
2015-08-18 11:53:54 +02:00
Bastien
682bb962f3
org.el (org-occur): Match timestamps at the end of a headline
...
* org.el (org-occur): Workaround to match timestamps at the
end of a headline.
2015-08-18 11:53:45 +02:00
Bastien
af7ea548b0
Merge branch 'maint'
2015-08-17 20:43:03 +02:00
Bastien
a03cd64994
Fix c6d9a4ec
...
* org.el (org-check-before-date, org-check-after-date): Save
match data.
2015-08-17 20:42:50 +02:00
Nicolas Goaziou
40b4ef3345
org-element: Use pcase instead of case
...
* lisp/org-element.el (org-element--set-regexps):
(org-element-copy):
(org-element-item-interpreter):
(org-element-latex-fragment-parser):
(org-element-timestamp-parser):
(org-element-timestamp-interpreter):
(org-element--next-mode):
(org-element--object-lex):
(org-element--cache-find):
(org-element--cache-after-change): Use pcase instead of case.
2015-08-17 10:58:57 +02:00
Nicolas Goaziou
7b6bd0b858
Merge branch 'maint'
2015-08-16 19:31:01 +02:00
Nicolas Goaziou
17a225621c
ox-odt: Small refactoring
...
* lisp/ox-odt.el (org-odt-footnote-reference): Small refactoring.
2015-08-16 19:30:39 +02:00
Bastien
86170ff501
Merge branch 'maint'
2015-08-16 16:02:20 +02:00
Bastien
55544780e2
ox-html.el (org-html-use-unicode-chars): Delete.
...
* ox-html.el (org-html-use-unicode-chars): Delete.
(html, org-html-final-function): Update.
* org.texi (Publishing options): Don't mention
`org-html-use-unicode-chars'.
Thanks to Vladimir Alexiev for raising this.
2015-08-16 16:01:57 +02:00
Bastien
102def89d8
mk/server.mk: Add etc/ORG-NEWS to the ELPA package
2015-08-16 15:34:32 +02:00
Bastien
97ae158e88
Merge branch 'maint'
2015-08-16 15:22:22 +02:00
Bastien
43fa7d9535
etc/ORG-NEWS: Minor rephrasing
2015-08-16 15:21:38 +02:00
Bastien
da83bf584d
Merge branch 'maint'
2015-08-16 15:15:09 +02:00
Bastien
c27c101fa3
org.el: Fix `org-comment-string' fontification
...
* org.el (org-set-font-lock-defaults): Don't fontify
`org-comment-string' when not in a headline.
2015-08-16 15:14:27 +02:00
Bastien
d25d9fd447
Merge branch 'maint'
2015-08-16 14:59:24 +02:00
Bastien
d3fd2d04ba
Document :environment for LaTeX export of example blocks
2015-08-16 14:59:12 +02:00
Nicolas Goaziou
25b02e7cc8
Merge branch 'maint'
2015-08-15 23:50:27 +02:00
Nicolas Goaziou
8d00cd8966
ox-odt: Fix footnote export
...
* lisp/ox-odt.el (org-odt-footnote-reference): Only inline footnotes are
to be wrapped within a paragraph.
Reported-by: Gerald Wildgruber <Gerald.Wildgruber@unibas.ch> <>
<http://permalink.gmane.org/gmane.emacs.orgmode/100084 >
2015-08-15 23:46:55 +02:00
Bastien
69b0db33a1
Merge branch 'maint'
2015-08-15 10:31:00 +02:00
Bastien
23e629545b
Rearrange; better advertize changes about COMMENT
2015-08-15 10:30:26 +02:00
Bastien
b29bd5ce8a
Fix links: use the new cgit interface
2015-08-15 10:29:44 +02:00
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