Nicolas Goaziou
8799422a32
Merge branch 'bugfix'
2021-10-13 22:23:03 +02:00
Nicolas Goaziou
009900d7fa
oc: Add autoload cookie for `org-cite-insert'
...
* lisp/oc.el (org-cite-insert): Autoload function.
2021-10-13 22:22:22 +02:00
Nicolas Goaziou
c83fe001c7
oc: Fix error message
...
* lisp/oc.el (org-cite-insert): Fix copy-pasta in error message.
2021-10-13 22:20:11 +02:00
Nicolas Goaziou
2b1fc6ba72
Merge branch 'bugfix'
2021-10-11 23:59:00 +02:00
Nicolas Goaziou
17e25c3f14
oc-csl: Map § and §§ o section locators
...
* lisp/oc-csl.el (org-cite-csl--label-alist): Map § and §§ o section
locators.
2021-10-11 23:58:17 +02:00
Marco Wahl
d0b55739c0
org: Fix: Respect TAB in property drawer as separator
...
* lisp/org.el (org-property-drawer-re): Allow TAB as first
character after the property name's colon.
2021-10-11 14:08:01 +02:00
Nicolas Goaziou
b5713f4f1b
Merge branch 'bugfix'
2021-10-11 11:39:22 +02:00
Nicolas Goaziou
18dca3478a
oc: Upon inserting citations, add a space between keys
...
* lisp/oc.el (org-cite-make-insert-processor): Add a space in addition
to the semicolon.
2021-10-11 11:38:18 +02:00
Nicolas Goaziou
880d4fada6
Merge branch 'bugfix'
2021-10-11 11:21:48 +02:00
Nicolas Goaziou
eb40091929
oc-csl: Improve an error message
...
* lisp/oc-csl.el (org-cite-csl--style-file): Add missing placeholder
for format string.
2021-10-11 11:21:00 +02:00
Nicolas Goaziou
3bb0cb9398
oc: Fix § locator name
...
* lisp/oc-csl.el (org-cite-csl--label-regexp): § is not a word start,
so adjust regexp accordingly. Also fix mistake introduced in
c4a357f192
.
(org-cite-csl--parse-reference): Ignore any space after locator name.
2021-10-11 11:18:40 +02:00
Nicolas Goaziou
ee6e4892a1
Merge branch 'bugfix'
2021-10-10 23:11:35 +02:00
Nicolas Goaziou
596ec7a167
oc-biblatex: Fix docstring
...
* lisp/oc-biblatex.el (org-cite-biblatex-export-citation): Fix docstring.
2021-10-10 23:11:05 +02:00
Nicolas Goaziou
2fad7be9e7
oc-biblatex: Support bare variant for noauthor style
...
* lisp/oc-biblatex.el (org-cite-biblatex-export-citation): Support
bare variant for noauthor style.
2021-10-10 22:18:31 +02:00
Nicolas Goaziou
d872506ad3
Merge branch 'bugfix'
2021-10-10 12:12:35 +02:00
Nicolas Goaziou
c4a357f192
oc-csl: Allow nbsp after locator label
...
* lisp/oc-csl.el (org-cite-csl--label-regexp): Allow nbsp between
locator label and value.
Reported-by: M. ‘quintus’ Gülker <post+orgmodeml@guelker.eu>
<http://lists.gnu.org/r/emacs-orgmode/2021-10/msg00423.html >
2021-10-10 12:11:26 +02:00
Nicolas Goaziou
f5faffb142
Merge branch 'bugfix'
2021-10-09 23:02:41 +02:00
Nicolas Goaziou
8dfc056fcc
oc: Fix failing test about `org-cite-list-citations'
...
* lisp/oc.el (org-cite-list-citations): Properly implement
a simplified version of `org-export-get-footnote-definition'.
2021-10-09 23:01:35 +02:00
Kyle Meyer
f0c66dc4c4
Merge branch 'bugfix'
2021-10-09 16:18:17 -04:00
Nicholas Vollmer
b71474ff7f
lisp/org.el: (org-save-all-org-buffers): Prevent `org-mode' reload
...
* lisp/org.el: (org-save-all-org-buffers): Ensure `save-some-buffers' PRED returns boolean.
As of this upstream commit:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a9ad3d477441feefa3bf6107d58281cb64e0e78a
`save-some-buffers' will call its PRED argument if it returns a function.
Since (derived-mode-p 'org-mode) returns the symbol org-mode,
and org-mode is a function, org-mode is reloaded in modified Org
buffers when calling `org-save-all-org-buffers'. Among other
undesirable behavior, this will cause the buffer's visibility to be
reset to its initial visibility.
2021-10-09 15:23:33 -04:00
Nicolas Goaziou
dc154f0d18
Merge branch 'bugfix'
2021-10-09 16:10:30 +02:00
Nicolas Goaziou
11f450da80
oc-biblatex: Declare missing "nocite" style
...
* lisp/oc-biblatex.el (biblatex): Declare the processor provides
a "nocite" citation style.
2021-10-09 16:09:33 +02:00
Nicolas Goaziou
6717826d5a
oc-bibtex: Pacify byte-compiler
2021-10-08 22:45:22 +02:00
Nicolas Goaziou
08e9d34907
Merge branch 'bugfix'
2021-10-08 22:42:49 +02:00
Nicolas Goaziou
f7fb7a3cf2
manual: Additional fixes to citations
...
* doc/org-manual.org (Citations): Mention binding for
`org-cite-insert'. Fix spacing using non-breaking spaces. Revert
some code uses introduced in the previous commit.
2021-10-08 22:40:23 +02:00
Nicolas Goaziou
b06c6c7e78
org-manual: Typography fixes
...
* doc/org-manual.org (Citation export processors): Use fixed-with
areas for single-line examples. Upcase keywords. External commands
or symbols use code instead of verbatim. Remove indentation when
appropriate.
2021-10-08 22:36:59 +02:00
Nicolas Goaziou
002a07b391
org-manual: Typography fixes
...
* doc/org-manual.org (Citation export processors): Use fixed-with
areas for single-line examples. Upcase keywords. External commands
or symbols use code instead of verbatim. Remove indentation when
appropriate.
2021-10-08 22:23:33 +02:00
Nicolas Goaziou
107c832642
Implement `bibtex' citation processor
...
* lisp/oc-bibtex.el: New file.
2021-10-08 22:03:10 +02:00
Nicolas Goaziou
93f7bf9b14
oc-biblatex: Remove unnecessary declare-function.
2021-10-08 19:12:03 +02:00
Bastien
f268e7201f
Merge branch 'bugfix'
2021-10-08 15:38:15 +02:00
Bastien
89968077cf
lisp/ol-man.el: Add copyright header
2021-10-08 15:38:01 +02:00
Bastien
d361c77285
Merge branch 'bugfix'
2021-10-07 19:37:09 +02:00
Bastien
2a4dfa7e51
lisp/ol-man.el: Add lexical-binding cookie
2021-10-07 19:36:55 +02:00
Bastien
d542ef7ed6
Merge branch 'bugfix'
2021-10-07 17:47:48 +02:00
Bastien
98b34ea640
lisp/ol-man.el: Restore file
...
This file was mistakenly removed by db67c7e92
.
2021-10-07 17:47:14 +02:00
Nicolas Goaziou
c0c576b445
Merge branch 'bugfix'
2021-10-06 16:10:37 +02:00
Nicolas Goaziou
7d22dca54e
oc: Fix citations in footnotes when using biblatex back-end
...
* lisp/oc.el (org-cite-list-citations): Do not use
`org-export-get-footnote-definition' so as to not cache footnote
definitions too early, i.e., when citations are still present in the
parse tree.
* lisp/oc-biblatex.el (org-cite-biblatex--multi-arguments): Append
"\relax" unconditionally to avoid calling `org-export-data' on next
object, when citations are still present in the parse tree.
Reported-by: Elias Bounatirou <elias.bounatirou@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2021-09/msg00067.html >
2021-10-06 16:07:19 +02:00
Nicolas Goaziou
af67fa1ebe
Merge branch 'bugfix'
2021-10-06 14:42:27 +02:00
Nicolas Goaziou
94b410b32c
footnote: Improve last commit
...
* lisp/org-footnote.el (org-footnote--allow-reference-p): Improve last
commit.
2021-10-06 14:41:50 +02:00
Nicolas Goaziou
5f6e199143
footnote: Allow footnotes at footnote definition start
...
* lisp/org-footnote.el (org-footnote--allow-reference-p): Allow
footnotes at footnote definition start, right after label.
* testing/lisp/test-org-footnote.el (test-org-footnote/new): Add
tests.
2021-10-06 14:34:14 +02:00
Nicolas Goaziou
1b56c2842d
Merge branch 'bugfix'
2021-10-06 14:29:54 +02:00
Nicolas Goaziou
b07c312f28
oc: Allow citations at footnote definition start
...
* lisp/oc.el (org-cite--allowed-p): Allow citations at footnote
definition start.
* testing/lisp/test-oc.el (test-org-cite/insert-capability): Add tests.
2021-10-06 14:29:40 +02:00
Nicolas Goaziou
9b063251cf
oc: Allow citations at footnote definition start
...
* lisp/oc.el (org-cite--allowed-p): Allow citations at footnote
definition start.
* testing/lisp/test-oc.el (test-org-cite/insert-capability): Add tests.
2021-10-06 14:28:04 +02:00
Sébastien Miquel
67b613a115
etc/ORG-NEWS: New `transparent-image-converter` property for `dvipng`
2021-10-06 07:04:44 +02:00
Kyle Meyer
6874af8724
manual: Drop keybinding for org-table-blank-field
...
* doc/org-manual.org (Re-aligning and field motion): Update for
keybinding removal.
The keybinding was removed in 0c4e844c8
(Remove default binding for
org-table-blank-field, 2021-04-28).
2021-10-05 23:17:18 -04:00
Kyle Meyer
cc2490a706
Prune Emacs 25.1 compatibility kludges
...
* lisp/oc-basic.el (org-cite-basic--field-less-p):
* lisp/ol-eww.el (org-eww-store-link):
* lisp/org-agenda.el (org-agenda-check-clock-gap):
* lisp/org-clock.el (org-clock-get-clocked-time)
(org-clock-resolve-clock, org-clock-resolve)
(org-resolve-clocks, (org-resolve-clocks-if-idle)
(org-clock-in, org-clock-sum): Drop now unnecessary use of
compatibility functions.
* lisp/org-compat.el (org-string-collate-lessp, org-decode-time)
(org-format-time-string, org-link-escape-browser, org-time-add)
(org-time-subtract, org-time-since, org-time-less-p): Mark as
obsolete.
The 9.5 release declared Emacs 25.1 as the minimum version.
2021-10-04 23:43:14 -04:00
Kyle Meyer
2893eb1ae2
org.el: Drop subtract-time -> time-subtract alias
...
time-subtract has been available since Emacs 22.1.
2021-10-04 23:41:02 -04:00
Ihor Radchenko
0ae701f7fd
Merge branch 'bugfix'
2021-10-04 14:15:27 +08:00
Ihor Radchenko
bd0493eda1
org-lint: Do not require space after : in keywords
...
* lisp/org-lint.el (org-lint-duplicate-name): Update regexp to conform
with org-element parsers.
Fixes https://list.orgmode.org/orgmode/87h7ee5q8u.fsf@gmail.com/
2021-10-04 14:14:16 +08:00
Nicolas Goaziou
1acacd6049
Merge branch 'bugfix'
2021-10-04 00:01:22 +02:00