Nicolas Goaziou
91153ff14f
Tiny refactoring
...
* lisp/org.el (org-link-search): Tiny refactoring.
2018-11-04 09:06:28 +01:00
Nicolas Goaziou
6e51b42e16
org-clock: Fix wrong type error
...
* lisp/org-clock.el (org-clocktable-steps): Fix wrong type error.
2018-11-03 21:46:19 +01:00
Nicolas Goaziou
7d30f5f44a
Silence byte-compiler
2018-11-03 20:59:42 +01:00
Nicolas Goaziou
eb8041ef82
Fix storing coderef link on when a code ref already exists
...
* lisp/org.el (org-store-link): Fix storing coderef link on when
a code ref already exists.
2018-11-03 17:04:01 +01:00
Bastien
9cb0470723
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-11-02 09:23:15 +01:00
Nicolas Goaziou
6382a6bbb3
org-attach: Fix command string
...
* lisp/org-attach.el (org-attach): Add missing command letters.
2018-11-01 23:31:57 +01:00
Nicolas Goaziou
85a675b939
org-archive: Fix `org-all-archive-files'
...
* lisp/org-archive.el (org-all-archive-files): Fix comparison
function.
Reported-by: Nils Gustafsson <nils.gustafsson@bredband2.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00395.html >
2018-11-01 22:43:43 +01:00
Nicolas Goaziou
42eebb3755
Use `cl-signum' instead of `signum'
...
* lisp/org.el (org-modify-ts-extra): Use `cl-signum' instead of
`signum'.
2018-11-01 22:26:21 +01:00
Kevin Brubeck Unhammer
17deb1c7eb
org-clock: Handle DST in clocktable
...
* lisp/org-clock.el (org-clocktable-steps): new fn
org-clocktable-increment-day to add/subtract days that are not
exactly 24 hours
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/step): Add
test for DST.
2018-11-01 19:00:28 +01:00
Nicolas Goaziou
67cea44c9f
Add docstring for `org-at-heading-p'
...
* lisp/org.el (org-at-heading-p): Add docstring.
Reported-by: Will Pierce <pierwill@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00006.html >
2018-11-01 18:29:35 +01:00
Bastien
4b2a7b621e
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-10-28 09:45:42 +01:00
Nicolas Goaziou
643481fade
org-manual: Insist on case-sensitive tags
...
* doc/org-manual.org (TODO keywords, tags, properties, etc.): Mention
tags are case-sensitive.
(Setting Tags): Obey to typesetting convention.
2018-10-27 13:29:51 +02:00
Nicolas Goaziou
c6f012ee24
org-manual: Reference `org-email-link-description-format'
...
* doc/org-manual.org (Handling Links): Reference
`org-email-link-description-format'. Mention the subject may be
truncated by default.
2018-10-27 11:20:37 +02:00
Bastien
f979ce47ca
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-10-26 22:52:42 +02:00
Nicolas Goaziou
4b905774ac
org-macs: Fix last commit
...
* lisp/org-macs.el (org--string-from-props): Do not raise an error on
unsupported display properties. Change signature to avoid creating
new strings unnecessarily. Update docstring accordingly.
(org-string-width): Apply signature change.
* testing/lisp/test-org-macs.el (test-org/string-width): Add test.
Reported-by: Colin Baxter <m43cap@yandex.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00346.html >
2018-10-26 14:37:57 +02:00
Nicolas Goaziou
4832a432f0
ox-ascii: Add missing ASCII and UTF-8 conversion functions
...
* lisp/ox-ascii.el (org-ascii-convert-region-to-ascii):
(org-ascii-convert-region-to-utf8): New functions.
* doc/org-manual.org (Export in Foreign Buffers): Document new
functions.
Reported-by: Alexander Adolf <alexander.adolf@condition-alpha.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00294.html >
2018-10-25 16:53:30 +02:00
Nicolas Goaziou
b886ebbc89
org-macs: `org-string-width' handles images
...
* lisp/org-macs.el (org--string-from-props): Handle image display
properties.
(org-string-width): Improve docstring.
2018-10-25 15:34:05 +02:00
Nicolas Goaziou
12232c5cd0
org-manual: Small rewording
...
* doc/org-manual.org (Link Format): Small rewording.
2018-10-24 14:25:40 +02:00
Nicolas Goaziou
2412044aa7
org-manual: Fix typo
...
* doc/org-manual.org (Exporting): Fix typo.
2018-10-24 09:02:32 +02:00
Nicolas Goaziou
17e28d6467
org-capture: Various fixes to item capture
...
* lisp/org-capture.el (org-capture-place-item): Rewrite function.
* testing/lisp/test-org-capture.el (test-org-capture/abort): Add test.
(test-org-capture/item): New test.
2018-10-23 23:27:28 +02:00
Nicolas Goaziou
9dbd2993f6
org-capture: Tiny refactoring
...
* lisp/org-capture.el (org-capture-place-entry): Tiny refactoring.
2018-10-23 01:53:18 +02:00
Nicolas Goaziou
b46d4e7b1c
org-capture: Remove unnecessary checks
...
* lisp/org-capture.el (org-capture-place-plain-text): Remove
unnecessary checks.
2018-10-23 01:46:57 +02:00
Nicolas Goaziou
c76486d4e4
org-capture: Fix off-by-one error
...
* lisp/org-capture.el (org-capture-place-table-line): Fix narrowing.
2018-10-23 01:32:55 +02:00
Nicolas Goaziou
7a4a10dea0
org-capture: Fix plain capture at the end of the buffer.
...
* lisp/org-capture.el (org-capture-place-plain-text): Fix plain
capture at the end of the buffer.
* testing/lisp/test-org-capture.el (test-org-capture/plain): New test.
2018-10-23 01:26:17 +02:00
Nicolas Goaziou
ad0fce50eb
org-capture: Small fix to table line capture
...
* lisp/org-capture.el (org-capture-place-table-line): Handle abort
table line insertion more gracefully.
* testing/lisp/test-org-capture.el (test-org-capture/abort): Add tests
2018-10-23 00:43:59 +02:00
Nicolas Goaziou
aaa3372b8b
org-capture: Fix capture aborting
...
* lisp/org-capture.el (org-capture-place-entry): Fix delimiters for
region to delete when aborting capture.
* testing/lisp/test-org-capture.el (test-org-capture/abort): Add test.
2018-10-22 23:40:49 +02:00
Nicolas Goaziou
0fa8bb4c51
org-capture: Inserting an entry doesn't break structure
...
* lisp/org-capture.el (org-capture-place-entry): Carefully narrow
buffer to not alter following headline. Also include leading empty
lines in region to remove when cancelling capture.
* testing/lisp/test-org-capture.el (test-org-caputre/entry): New test.
(test-org-capture/abort): Rename test.
Reported-by: Martin Yrjölä <martin.yrjola@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00256.html >
2018-10-22 22:22:21 +02:00
Nicolas Goaziou
bddd287cce
org-manual: Reference "davs" Tramp's protocol
...
* doc/org-manual.org (Setting up the staging area): Reference "davs"
Tramp's protocol as an example to access a WebDAV server.
2018-10-22 14:12:48 +02:00
Bastien
d70131e321
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-10-21 05:23:05 +02:00
Nicolas Goaziou
4a2e7c8db9
ox-beamer: Do not add automatic label when "allowframebreaks" is set
...
* lisp/ox-beamer.el (org-beamer--format-frame): Do not add automatic
label when "allowframebreaks" is set in default options. Do not
check only headline properties.
2018-10-20 10:51:06 +02:00
Bastien
f4785b0a19
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-10-19 10:19:08 +02:00
Nicolas Goaziou
9e05a6ac8a
org-pcomplete: Small reorganization
2018-10-18 18:15:30 +02:00
Nicolas Goaziou
102ab1a245
org-pcomplete: Add tests
...
* testing/lisp/test-org-pcomplete.el (test-org-pcomplete/clocktable):
(test-org-pcomplete/drawer):
(test-org-pcomplete/entity):
(test-org-pcomplete/link):
(test-org-pcomplete/search-heading):
(test-org-pcomplete/todo): New tests.
2018-10-18 18:01:33 +02:00
Nicolas Goaziou
a6a7edc1cb
org-pcomplete: Silence byte-compiler
2018-10-18 18:01:33 +02:00
Nicolas Goaziou
c25ac5ecd4
org-pcomplete: Fix search string completion
...
* lisp/org-pcomplete.el (pcomplete/org-mode/tag): Use
`org-get-heading'.
2018-10-18 17:54:35 +02:00
Nicolas Goaziou
961367bf6a
org-pcomplete: Add colons when completing abbrev links
...
* lisp/org-pcomplete.el (pcomplete/org-mode/todo): Add colons when
completing abbrev links.
2018-10-18 17:54:35 +02:00
Nicolas Goaziou
ccfb9d44de
org-pcomplete: Complete drawer names
...
* lisp/org-pcomplete.el (pcomplete/org-mode/drawer): New function.
2018-10-18 17:54:35 +02:00
Nicolas Goaziou
9d4af29feb
org-pcomplete: Complete lower case node properties
...
* lisp/org-pcomplete.el (pcomplete/org-mode/block-option/src):
Complete lower case node properties.
2018-10-18 17:54:35 +02:00
Nicolas Goaziou
2c7ea57ede
org-pcomplete: Fix glitches in completion
...
* lisp/org-pcomplete.el (org-thing-at-point): Fix various parts of the
function.
2018-10-18 17:54:33 +02:00
Bastien
99b6a481ca
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-10-15 22:49:46 +02:00
Nicolas Goaziou
823d9048e7
org-goto: Fix fontification in deep levels
...
* lisp/org-goto.el (org-goto-local-auto-isearch): Sill fontify when
diving in deeper outline levels.
2018-10-14 16:51:06 +02:00
Bastien
83f97cbd87
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-10-14 12:13:20 +02:00
Bastien
1315315465
Merge branch 'maint' of code.orgmode.org:bzg/org-mode into maint
2018-10-14 12:13:11 +02:00
Nicolas Goaziou
f12f9b4f28
Fix fontification of links within verbatim markup
...
* lisp/org.el (org-do-emphasis-faces): Prevent fontification of links
within verbatim markup.
2018-10-14 09:57:47 +02:00
Nicolas Goaziou
085f150372
ob-tangle: Add a test
...
* testing/lisp/test-ob-tangle.el (ob-tangle/block-order): Add test.
2018-10-14 09:08:44 +02:00
Nicolas Goaziou
ee4af96202
org-clock: Fix typo in docstring
...
* lisp/org-clock.el (org-clock-special-range): Fix typo in docstring.
2018-10-13 23:27:47 +02:00
Kyle Meyer
d59ca13c20
org-manual: Correct suggested value for org-agenda-inhibit-startup
...
* doc/org-manual.org (Speeding Up Your Agendas): Adjust
org-agenda-inhibit-startup snippet to match the text.
This correpsonds to maint's 01c419426
.
2018-10-13 12:16:08 -04:00
Kyle Meyer
aa4e0a5453
Merge branch 'maint'
2018-10-13 12:13:06 -04:00
Kyle Meyer
01c4194267
org.texi: Correct suggested value for org-agenda-inhibit-startup
...
* doc/org.texi (Speeding up your agendas): Adjust
org-agenda-inhibit-startup snippet to match the text.
2018-10-13 11:55:33 -04:00
Kyle Meyer
e2f2502757
Fix typo in docstring
...
* lisp/org-agenda.el
(org-agenda-move-date-from-past-immediately-to-today): Fix typo.
2018-10-13 11:55:04 -04:00