Kyle Meyer
79d9f0c0ce
Update customize-package-emacs-version-alist
...
* lisp/org.el (customize-package-emacs-version-alist): Add entries for
all existing ":package-version" values, and remove entries for
versions that aren't used as ":package-version" values.
Note that this alist has a limited effect because we specify
":version" in almost all of our defcustoms. Two functions make use of
this alist: describe-variable-custom-version-info and
customize-changed-options. The former only looks at the alist if
:version isn't specified, and the latter only looks at :version if an
entry for :package-version isn't found in the alist.
We should consider removing the defcustom :version specifications so
that the package-version->version mapping only needs to be maintained
in one place.
2017-09-07 16:56:15 -04:00
Kyle Meyer
6496d0ca95
Correct defcustom version information
...
* lisp/ob-lilypond.el (org-babel-lilypond-commands):
* lisp/ob-lua.el (org-babel-lua-command):
(org-babel-lua-mode):
(org-babel-lua-hline-to):
(org-babel-lua-None-to):
* lisp/org-agenda.el (org-agenda-search-view-max-outline-level):
* lisp/org.el (org-mouse-1-follows-link):
(org-src-fontify-natively):
(orgstruct-heading-prefix-regexp):
* lisp/ox-ascii.el (org-ascii-format-inlinetask-function):
* lisp/ox-latex.el (org-latex-format-drawer-function):
(org-latex-listings-langs):
* lisp/ox-odt.el (org-odt-format-drawer-function):
* lisp/ox.el (org-export-with-properties): Correct ":version" value.
* lisp/org-attach.el (org-attach-annex-auto-get): Correct
":package-version" value.
2017-09-07 16:56:11 -04:00
Nicolas Goaziou
ea4e3dac6d
Use `split-string' instead of `org-split-string'
...
* contrib/lisp/org-depend.el (org-depend-trigger-todo):
(org-depend-block-todo):
* contrib/lisp/ox-bibtex.el (org-bibtex-get-arguments):
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template):
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-unique-id):
(org-taskjuggler-resolve-dependencies):
* lisp/ob-core.el (org-babel-insert-result):
* lisp/org-agenda.el (org-search-view):
* lisp/org-lint.el (org-lint-duplicate-target):
(org-lint-wrong-header-value):
* lisp/org.el (org--setup-collect-keywords):
(org-make-org-heading-search-string):
(org-search-radio-target):
(org-local-logging):
(org-entry-add-to-multivalued-property):
(org-entry-remove-from-multivalued-property):
(org-entry-member-in-multivalued-property):
(org-entry-get-multivalued-property):
(org-entry-put-multivalued-property):
(org-wrap):
* lisp/ox-beamer.el (org-beamer-allowed-property-values):
* lisp/ox.el (org-export--get-subtree-options):
(org-export--get-inbuffer-options): Use `split-string' instead of
`org-split-string'.
2017-09-07 14:36:50 +02:00
Nicolas Goaziou
c01b62305e
Merge branch 'maint'
2017-08-30 08:12:29 +02:00
Nicolas Goaziou
7d18632a73
Fix "Symbol’s function definition is void: org-clocking-buffer"
...
* lisp/org.el (org-sort-entries): Fix "Symbol’s function definition is
void: org-clocking-buffer".
Reported-by: Ian Garmaise <ian.g@phorixsol.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00647.html >
Reported-by: Allen Choong <allencch@hotmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00649.html >
2017-08-30 00:14:42 +02:00
Nicolas Goaziou
8b5b2cf49e
Merge branch 'maint'
2017-08-28 09:15:54 +02:00
Nicolas Goaziou
ab65bc13d6
Fix deleting a region in a table (part 2)
...
* lisp/org.el (org-delete-backward-char): Fix deleting a region in
a table.
2017-08-28 09:14:57 +02:00
Nicolas Goaziou
e0682619dd
Merge branch 'maint'
2017-08-26 00:12:46 +02:00
Nicolas Goaziou
a6840598ed
Fix `org-copy-visible'
...
* lisp/org.el (org-copy-visible): Rewrite function. Do not use
dubious `org-find-visible' and `org-find-invisible'.
* testing/lisp/test-org.el (test-org/copy-visible): New test.
Reported-by: Gary Cheng <garycheng12@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00568.html >
2017-08-26 00:09:51 +02:00
Nicolas Goaziou
6a590738b1
Remove `org-enable-table-editor'
...
* doc/org.texi (Built-in table editor): Document removal.
* lisp/org-table.el (orgtbl-optimized):
(org-table-auto-blank-field): Ignore removed variable.
2017-08-19 23:39:22 +02:00
Nicolas Goaziou
9638de598c
`org-enable-table-editor' does not affect syntax
...
* lisp/org-table.el (org-table-paste-rectangle):
* lisp/org.el (org-at-table-p):
(org-at-table.el-p):
(org-at-table-hline-p):
(org-ctrl-c-ctrl-c):
(org-tbl-menu): Ignore `org-enable-table-editor'.
2017-08-19 21:44:47 +02:00
Nicolas Goaziou
ac6b6a45de
Merge branch 'maint'
2017-08-17 18:17:39 +02:00
Nicolas Goaziou
91c68865c6
Fix deleting region in a table
...
* lisp/org.el (org-self-insert-command): Fix deleting region in
a table.
Reported-by: Nick Helm <nick@tenpoint.co.nz>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00346.html >
2017-08-17 18:16:22 +02:00
Nicolas Goaziou
3fb025137b
Fix previous commit
...
* lisp/org.el (org-display-inline-images): Fix thinko in previous
commit. Also remove code related to nested links as this is no
longer possible in Org syntax.
2017-08-17 15:55:15 +02:00
Nicolas Goaziou
6ec148a263
Allow link abbreviations to be displayed as inline images
...
* lisp/org.el (org-display-inline-images): Also display link
abbreviations when they point to a valid image file.
Reported-by: Fabrice Popineau <fabrice.popineau@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00395.html >
2017-08-17 15:45:47 +02:00
Nicolas Goaziou
2fb129b5c7
`org-scan-tags' retrieve all TODO keywords, not only not-done ones
...
* lisp/org.el (org-scan-tags): Retrieve all TODO keywords. DONE
keywords can be filtered using "/!" matcher syntax or equivalent.
Reported-by: Julien Cubizolles <j.cubizolles@free.fr>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00367.html >
2017-08-17 15:16:07 +02:00
Galen Menzel
10b1cfb031
Fix `org-toggle-tag
...
* lisp/org.el (org-toggle-tag): Fix
d777d5e0b7
.
Reported-by: Josh Moller-Mara <jmm@cns.nyu.edu>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00278.html >
2017-08-11 11:02:01 +02:00
Grant Rettke
33e0dc6155
Add Easy Template for COMMENT (C)
...
* lisp/org.el: (org-structure-template-alist): Added `COMMENT' block template
bound to `C'
* doc/org.texi: Add documentation for `COMMENT' Easy Template.
* contrib/orgmanual.org: Add documentation for `COMMENT' Easy
Template.
* etc/ORG-NEWS: Added note for 9.1 release under Miscellaneous
2017-08-10 12:45:02 +02:00
Nicolas Goaziou
829ffa977c
Merge branch 'maint'
2017-08-10 12:42:51 +02:00
Nicolas Goaziou
313d22dec6
org.el: Fix org-open-at-point for tags.
...
lisp/org.el (org-open-at-point): Move case for tags up so that it's
not shortcutted by the case for no valid context.
TINYCHANGE
2017-08-10 12:41:35 +02:00
Nicolas Goaziou
f1b2a95bee
Merge branch 'maint'
2017-08-07 23:27:51 +02:00
Nicolas Goaziou
1876514e26
Fix customize interface
...
* lisp/org.el (org-tag-alist, org-tag-persistent-alist): Add non-keyed
tag type.
2017-08-07 23:27:10 +02:00
Nicolas Goaziou
bfbaf1caa4
Merge branch 'maint'
2017-08-07 14:47:14 +02:00
Nicolas Goaziou
ec129f8e10
Silence byte-compiler
2017-08-07 14:46:59 +02:00
Nicolas Goaziou
e805aba972
Add "vala" to org-babel-load-languages
...
* lisp/org.el (org-babel-load-languages): Add "vala".
2017-08-07 14:44:38 +02:00
Nicolas Goaziou
d777d5e0b7
Fix thinko
...
* lisp/org.el (org-toggle-tag): Do not call `match-string' after
`replace-match'.
2017-08-07 13:13:56 +02:00
Nicolas Goaziou
7d21349dbe
Merge branch 'maint'
2017-08-07 13:12:32 +02:00
Nicolas Goaziou
f6a28ba1c2
Tiny refactoring
...
* lisp/org.el (org-sort-entries): Use keyword instead of symbol.
2017-08-07 13:11:54 +02:00
Nicolas Goaziou
c8f3833e9b
Merge branch 'maint'
2017-08-07 12:56:20 +02:00
Nicolas Goaziou
6a9fc48097
Fix `org-sort-entries' loosing clock marker
...
* lisp/org.el (org-sort-entries): Properly restore clock marker, when
appropriate.
Reported-by: Samuel Wales <samologist@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00177.html >
2017-08-07 12:51:35 +02:00
Nicolas Goaziou
e83255c993
Silence byte-compiler
2017-08-07 11:43:50 +02:00
Nicolas Goaziou
15f112259b
Fix spurious colons next to TODO keywords
...
* lisp/org.el (org-toggle-tag): Fix spurious colons next to TODO
keywords.
Reported-by: Colin Baxter <m43cap@yandex.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00075.html >
2017-08-07 11:32:39 +02:00
Nicolas Goaziou
bd9f63a22a
Merge branch 'maint'
2017-08-07 10:53:22 +02:00
Nicolas Goaziou
e8fe579a17
Silence byte-compiler
...
* lisp/org-macs.el (org-unique-local-variables):
(org-get-local-variables):
(org-clone-local-variables): Moved from "org.el".
2017-08-07 10:52:37 +02:00
Nicolas Goaziou
a7e11643a9
Merge branch 'maint'
2017-08-06 10:31:06 +02:00
Nicolas Goaziou
fca0dbcc61
Fix `org-clone-local-variables'
...
* lisp/org.el (org-clone-local-variables): Prevent errors that could
happen when trying to set local variables that cannot be set,
e.g. `enable-multibyte-characters'.
2017-08-06 10:26:01 +02:00
Nicolas Goaziou
9d7f8a71a9
Merge branch 'maint'
2017-08-06 02:17:25 +02:00
Nicolas Goaziou
62b4edb263
Fix `org-refile' with prefix argument
...
* lisp/org.el (org-refile): Handle special file targets.
Reported-by: Michaël Cadilhac <michael@cadilhac.name>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00045.html >
2017-08-06 02:16:15 +02:00
Nicolas Goaziou
dd6be5d161
Allow emphasis markers after an hyphen
...
* lisp/org.el (org-emphasis-regexp-components): Allow emphasis markers
after an hyphen.
(org-do-emphasis-faces): Do not strike-through table hlines.
Hypen is already allowed after emphasis markers. This allows one to
write, e.g., 2017-*09*-27.
2017-08-04 18:40:28 +02:00
Nicolas Goaziou
80d7025770
Fix `org-store-log-note'
...
* lisp/org.el (org-store-log-note): Ignore empty log buffers.
The regression was introduced in
f776e65373
. From then, (org-split-string
"") no longer returns nil.
Suggested-by: Dale Sedivec <dale@codefu.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00013.html >
2017-08-01 20:14:23 +02:00
Nicolas Goaziou
e79b0bd9f3
Merge branch 'maint'
2017-07-28 10:15:35 +02:00
Nicolas Goaziou
808089ee04
`org-forward/backward-paragraph' do not error at buffer boundaries
...
* lisp/org.el (org-forward-paragraph):
(org-backward-paragraph): Do not error at buffer boundaries.
Reported-by: Omar Antolín Camarena <omar.antolin@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-07/msg00478.html >
2017-07-28 10:07:53 +02:00
Nicolas Goaziou
648b12d57d
Remove `org-dwidth' and `org-dwidth-n' properties
...
* lisp/org.el (org-raise-scripts):
(org-display-custom-time): Remove `org-dwidth' and `org-dwidth-n'
properties.
2017-07-27 15:32:06 +02:00
Nicolas Goaziou
9a60db0ec3
Move `org-string-width' to "org-macs.el"
...
* lisp/org.el (org-string-width): Move from here...
* lisp/org-macs.el (org-string-width): ... to here.
2017-07-27 15:23:31 +02:00
Nicolas Goaziou
27466a38bc
Fix `org-string-width'
...
* lisp/org.el (org-string-width): Better handle various invisible
characters.
2017-07-27 15:22:45 +02:00
Nicolas Goaziou
f776e65373
Move `org-split-string' to "org-macs.el"
...
* lisp/org.el (org-split-string): Move the function...
* lisp/org-macs.el (org-split-string): ... here. Also clarify
docstring with regards to `split-string'.
2017-07-27 13:39:52 +02:00
Marco Wahl
534678382f
org: User interface message at tag edit slightly more legible
2017-07-19 00:16:23 +02:00
Kyle Meyer
5e4bb2627c
Merge branch 'maint'
2017-07-18 13:32:38 -04:00
Kyle Meyer
52e0966fd4
Document STATE parameter for org-cycle-hide-* functions
...
* lisp/org.el (org-cycle-hide-archived-subtrees):
(org-cycle-hide-drawers): Mention STATE parameter in docstring.
2017-07-18 13:31:07 -04:00
Kyle Meyer
8ed27480aa
org-cycle-hide-drawers: Remove an unnecessary state check
...
* lisp/org.el (org-cycle-hide-drawers): Don't check whether STATE is
`contents' within the `when' body because the `when' condition will
not pass in this case.
2017-07-18 13:24:32 -04:00