Bastien
bb61b37ee2
ol.el: Don't store the same link twice
...
* lisp/ol.el (org-store-link): Don't store the same link twice.
2019-12-05 17:11:26 +01:00
Bastien
0997eba287
org-agenda.el: Warn the user when removing all agenda filters
...
* lisp/org-agenda.el (org-agenda-filter-remove-all): Warn the user.
2019-12-05 17:04:02 +01:00
Bastien
7938b6ec30
org.el: Fix warning when updating to the same TODO state
...
* (org-todo): Only warn about TODO state change when both new and
old states are not `nil'.
2019-12-05 16:57:37 +01:00
Bastien
0ff2867aa1
org.el: Warn the user when buffer is (un)narrowed to subtree
...
* lisp/org.el (org-toggle-narrow-to-subtree): Warn the user when
buffer is (un)narrowed to subtree.
2019-12-05 16:51:25 +01:00
Kyle Meyer
5d932fe045
Merge branch 'maint'
2019-12-04 21:20:33 -05:00
Paul Eggert
9c5174e235
Backport commit ab612302b from Emacs
...
* lisp/org-table.el (org-table-wrap-region): Avoid
repetition-of-repetition in regexp.
Fix regex repetition of repetitions
ab612302b4917fec5846922f3d8ffafa673c0d36
Paul Eggert
Wed Dec 4 16:54:24 2019 -0800
2019-12-04 21:19:51 -05:00
Marco Wahl
b8f43ecbf4
org,colview: Quit column-view with C-c C-c. manual,news: Update
...
* lisp/org-colview.el (org-columns-toggle-or-columns-quit): New
function. Takes the place of removed function
org-columns-set-tags-or-toggle.
2019-12-04 23:36:33 +01:00
Nicolas Goaziou
fe2db1ee8f
Merge branch 'maint'
2019-12-04 18:46:44 +01:00
Nicolas Goaziou
18ddc64362
ob-plantuml: Fix typo
...
* lisp/ob-plantuml.el (org-babel-plantuml-make-body): Fix typo.
2019-12-04 18:45:18 +01:00
Bastien
36753ee650
etc/ORG-NEWS: Rename "Version Next" to "Version 9.4 (not yet released)"
2019-12-04 10:41:06 +01:00
Bastien
46319b5f69
Backport commit 8fb773cc91 from Emacs
2019-12-04 10:37:19 +01:00
Kyle Meyer
12e87f46a1
Merge branch 'maint'
2019-12-03 21:55:00 -05:00
Kyle Meyer
8cd225a36c
Clean up spacing to pass Emacs's pre-commit check
2019-12-03 21:46:54 -05:00
Kyle Meyer
ce6c4adb24
Merge branch 'maint'
2019-12-03 21:22:57 -05:00
Glenn Morris
f4d8622bc6
Backport commit 94c5eeb1f from Emacs
...
; Fix copyright years and license notices for recent org files
94c5eeb1fd33b043f68c4021fa0aed0e5590763e
Glenn Morris
Tue Dec 3 17:19:14 2019 -0800
2019-12-03 21:22:42 -05:00
Bastien
7d3d14daa3
Merge branch 'next' of code.orgmode.org:bzg/org-mode
2019-12-03 16:36:50 +01:00
Bastien
efe4c85fa2
etc/ORG-NEWS: Use blank lines between paragraphs consistently
2019-12-03 16:25:32 +01:00
Marco Wahl
cb8183d3b7
agenda: Refactor a little
...
* lisp/org-agenda.el (org-agenda-filter-apply): Simplyfy some.
2019-12-03 12:10:45 +01:00
Marco Wahl
0ce8d372b0
Merge branch 'master' into next
2019-12-03 11:49:16 +01:00
Marco Wahl
3342e26f32
Merge branch 'maint'
2019-12-03 11:45:42 +01:00
Marco Wahl
804e6af51c
agenda: Fix filter for day/week agenda
...
* lisp/org-agenda.el (org-agenda-filter-apply): Use the org-hd-marker
to identify headlines instead of org-marker.
2019-12-03 11:42:54 +01:00
Kyle Meyer
aeaaf39381
Merge branch 'master' into next
2019-12-01 21:32:43 -05:00
Kyle Meyer
ad171650bb
Merge branch 'maint'
2019-12-01 21:29:35 -05:00
Stefan Monnier
f2d03cb6b4
Backport commit 5bc97ebce from Emacs
...
* lisp/org.el (org-mode): Add pcomplete-completions-at-point to capf.
This lets the normal `completion-at-point` and `complete-symbol`
use `pcomplete` for completion.
(org-mode-map): Leave M-TAB bound to the global default since
`pcomplete` is now obsolete.
5bc97ebceb54e0eb2804bef4c1bc32a40d8a2371
Stefan Monnier
Mon Nov 18 17:47:06 2019 -0500
2019-12-01 21:28:39 -05:00
Marco Wahl
8ded89cc38
Merge branch 'master' into next
2019-11-26 22:45:10 +01:00
Marco Wahl
be7e88ae30
agenda: Fix: Don't loop over headlines in region at agenda-todo
...
* lisp/org-agenda.el (org-agenda-todo): Set the respective variable to
nil.
2019-11-26 22:33:45 +01:00
Nicolas Goaziou
3d4365ba03
org-clock: Fix locale issues in tests
...
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/step):
(test-org-clock/clocktable/extend-today-until): Fix tests failing due
to translation mismatch.
2019-11-24 17:27:53 +01:00
Sebastian Miele
787fa238a9
Add tests about omission of commented src blocks when e.g. tangling
...
* testing/lisp/test-ob.el (test-ob/noweb-expansion): Add clause to
test.
* testing/lisp/test-ob-tangle.el (ob-tangle/commented-src-blocks): Add
test.
2019-11-24 10:27:35 +01:00
Sebastian Miele
0e70e2a42b
ob-core: Respect COMMENTed headlines when expanding noweb references
...
* lisp/ob-core.el (org-babel-expand-noweb-references): Add calls to
org-in-commented-heading-p where appropriate.
2019-11-24 10:27:35 +01:00
Nicolas Goaziou
f4e5b75b47
org-manual: Fix `org-latex-subtitle-format' documentation
...
* doc/org-manual.org (LaTeX specific export settings): Fix
`org-latex-subtitle-format' documentation.
2019-11-23 17:45:23 +01:00
Marco Wahl
be81ee46ba
Merge branch 'master' into next
2019-11-22 11:33:54 +01:00
Marco Wahl
43c086f4f7
org: restrict inline image display to narrowed part
...
* lisp/org.el (org-display-inline-images): Clarify documentation and
introduce the narrowing borders to the function.
2019-11-22 11:29:26 +01:00
Sebastian Miele
3649d95b13
Respect buffer-local value of `org-edit-src-content-indentation'
...
* lisp/org-src.el (org-src--content-indentation): Introduce
permanently buffer-local variable for storing away the potentially
buffer-local value of `org-edit-src-content-indentation' in the source
buffer.
(org-src--contents-for-write-back): Use `org-src--content-indentation'
instead of `org-edit-src-content-indentation' in the edit buffer.
(org-src--edit-element): Set `org-src--content-indentation' in editing
buffer. For greater clarity and consistency, rename already existing
let-bound variable `ind' to `block-ind'.
2019-11-20 22:29:30 +01:00
Marco Wahl
b16c33409f
Merge branch 'master' into next
2019-11-18 22:50:03 +01:00
Jack Kamm
e69a85f4e1
org: Fix images failing to display with imagemagick
...
See also: https://lists.gnu.org/archive/html/emacs-orgmode/2019-09/msg00111.html
Despite the subject of that message thread, the issue also affects
some Linux users.
TINYCHANGE
2019-11-18 22:46:57 +01:00
Kyle Meyer
02551b8d4f
Merge branch 'master' into next
2019-11-17 18:08:44 -05:00
ian
044e9718c1
org-timer.el: Allow org-timer-set-timer from non-Org buffers
...
* lisp/org-timer.el (org-timer--get-timer-title): If the current
buffer is not an Org buffer, use the buffer name as the timer title.
Currently all of the `org-timer-' operations work from any buffer
except `org-timer-set-timer' which must be run from an Org buffer.
This is because `org-timer-set-timer' sets a timer name based on an
Org heading or filename. By setting the timer title to the current
buffer name we can use `org-timer-set-timer' from any buffer and
preserve the timer naming convention of using the buffer name if there
isn't an Org header.
TINYCHANGE
2019-11-17 18:06:00 -05:00
Kyle Meyer
a4fa04bbd4
Merge branch 'master' into next
2019-11-16 17:19:11 -05:00
Kyle Meyer
6912382400
Merge branch 'maint'
2019-11-16 17:18:49 -05:00
Jonas Bernoulli
5117d8a159
Fix typos
2019-11-16 17:17:36 -05:00
Sebastian Miele
634880a2e9
org-manual: Dynamic Blocks: Fix explanation of :content
...
* doc/org-manual.org (Dynamic Blocks): Correct the information given
on :content in the plist passed to the writer function.
2019-11-16 17:17:21 -05:00
Paul Eggert
bc15277156
Backport commit 6b4a97c1c from Emacs
...
Fix some quoting glitches in doc strings
6b4a97c1c78f39ce890d100acceceb652d14e20d
Paul Eggert
Mon Nov 11 10:32:53 2019 -0800
2019-11-16 17:17:16 -05:00
Gustav Wikström
03c60c78b5
Docstring update
...
* lisp/org.el (org-archive-location): Update docstring due to the
addition of document property drawers.
2019-11-01 00:32:02 +01:00
Gustav Wikström
00646ad817
Fix newline-issue with document property drawer
...
A bug was squashed where newlines after insertion of document property
drawers wasn't handled correctly.
* testing/lisp/test-org.el (test-org/insert-property-drawer):
Add test to verify that the document property drawer is
inserted above keyword lines. Also fix the specification for
document property drawer so it doesn't remove existing blank
rows if inserted at the top of a buffer.
* lisp/org.el (org-insert-property-drawer): Make sure to add
newline after document property drawers.
2019-10-31 23:56:03 +01:00
Kyle Meyer
64ab701078
Merge branch 'master' into next
2019-10-27 15:59:40 -04:00
Kyle Meyer
a01a8f55d8
Merge branch 'maint'
2019-10-27 15:55:30 -04:00
Juanma Barranquero
9c611fd8ac
Backport commit 41ba8231e from Emacs
...
* lisp/ob-scheme.el (org-babel-scheme-get-buffer-impl):
* lisp/ob-shell.el (org-babel--variable-assignments:sh-generic)
(org-babel--variable-assignments:bash_array)
(org-babel--variable-assignments:bash_assoc)
(org-babel--variable-assignments:bash):
* lisp/org-clock.el (org-day-of-week):
(table--put-cell-valign-property): Fix typos.
* lisp/ob-core.el (org-babel-named-src-block-regexp-for-name)
(org-babel-named-data-regexp-for-name): Doc fix.
(org-babel-src-block-names, org-babel-result-names): Fix typos.
lisp/*.el: Fix typos and improve some docstrings
41ba8231ef072571e1a6feabc15d113e5cf57556
Juanma Barranquero
Sun Oct 20 12:12:27 2019 +0200
2019-10-27 15:54:59 -04:00
Gustav Wikström
58ceff522b
Handle attachment links more gracefully when expanding inline images
...
* lisp/org.el (org-display-inline-images): Introduce error-handling to
ignore image display if the attachment link cannot be expanded for
whatever reason. For example if attachments are relative to the
buffer, but the buffer is temporary and lacks filesystem location.
2019-10-26 02:38:53 +02:00
Marco Wahl
4667f04b2d
Merge branch 'master' into next
2019-10-23 12:17:46 +02:00
Marco Wahl
28bb1c81fa
agenda: Clarification of error message
...
* lisp/org-agenda.el (org-agenda-check-type): Mention also 'component'
in the error message since it could be just the unallowed component
in a composed agenda buffer from which some action has been
triggered.
2019-10-23 12:13:54 +02:00