Nicolas Goaziou
e1f24f537e
Fix `org-compile-file' error
...
* lisp/org.el (org-compile-file): Fix error when source file is not
located in current directory.
Reported-by: "Charles C. Berry" <ccberry@ucsd.edu>
<http://permalink.gmane.org/gmane.emacs.orgmode/108245 >
2016-07-17 14:28:00 +02:00
Nicolas Goaziou
08d91f37af
Merge branch 'maint'
2016-07-17 12:06:55 +02:00
Nicolas Goaziou
8301b72ed2
Revert "ob-exp: Remove spurious comma un-escaping"
...
This reverts commit 0279d84cd7
.
2016-07-17 12:04:28 +02:00
thomas
63f7f6cd22
* ob-vbnet.el: Org-babel functions for VB.Net evaluation
...
* contrib/lisp/ob-vbnet.el: Add org-babel functions for VB.Net evaluation.
(org-babel-vbnet-command): Name of the VB command (mono)
(org-babel-vbnet-compiler): Name of the VB compiler (vbnc)
(org-babel-execute:vbnet): Execute VB.Net code
(org-babel-prep-session:vbnet): Throw error (sessions are not supported)
2016-07-08 12:27:33 +02:00
Nicolas Goaziou
482db1551d
Merge branch 'maint'
2016-07-07 12:21:21 +02:00
Fabrice Popineau
ebe7aa6692
org-eldoc: Handle source blocks with empty language
...
* contrib/lisp/org-eldoc.el (org-eldoc-get-src-header): When inserting
a new src block, the language may not yet be chosen when this is
called.
2016-07-07 12:17:49 +02:00
Fabrice Popineau
e31587fa13
org-eldoc: Fix "wrong-type-argument symbolp" error
...
* contrib/lisp/org-eldoc.el (org-eldoc-documentation-function): The
doc-fun object may be a function object and not a symbol.
2016-07-07 12:15:03 +02:00
Nicolas Goaziou
610ec90cf4
Move `org-toggle-item' in "org-list.el"
...
* lisp/org.el (org-toggle-item): Move function ...
* lisp/org-list.el (org-toggle-item): ... here.
* testing/lisp/test-org-list.el (test-org-list/toggle-item): New test.
2016-07-04 23:52:40 +02:00
Nicolas Goaziou
1b8e1fc63f
Merge branch 'maint'
2016-07-04 23:23:51 +02:00
thomas
9494706b86
ob-csharp.el: Org-babel functions for C# evaluation
...
* contrib/lisp/ob-csharp.el: Add org-babel functions for C# evaluation.
(org-babel-csharp-command): Name of the C# command (mono)
(org-babel-csharp-compiler): Name of the C# compiler (mcs)
(org-babelexecute:csharp): Execute C# code.
(org-babel-prep-session:csharp): Throw error (sessions are not supported).
2016-07-04 15:25:21 +02:00
Nicolas Goaziou
cd3a552ef4
Fix toggling multiple headings with a TODO keyword
...
* lisp/org.el (org-toggle-item): Remove TODO keyword in each headling
when changed to an item.
2016-07-04 14:12:13 +02:00
Nicolas Goaziou
f38f83b4f1
Remove deprecated syntax for Babel properties
...
* doc/org.texi (Header arguments in Org mode properties): Remove
reference to deprecated syntax.
* lisp/ob-core.el (org-babel-params-from-properties): Ignore deprecated
syntax.
* testing/examples/babel.org:
* testing/examples/normal.org:
* testing/examples/ob-header-arg-defaults.org:
* testing/examples/property-inheritance.org:
* testing/lisp/test-ob-header-arg-defaults.el
(test-ob-header-arg-defaults/global/noweb):
(test-ob-header-arg-defaults/global/call):
(test-ob-header-arg-defaults/tree/overwrite/call):
(test-ob-header-arg-defaults/tree/overwrite/noweb):
(test-ob-header-arg-defaults/tree/accumulate/call):
(test-ob-header-arg-defaults/tree/accumulate/noweb):
(test-ob-header-arg-defaults/tree/complex/call):
(test-ob-header-arg-defaults/tree/complex/noweb):
* testing/lisp/test-ob.el (test-ob/elisp-in-header-arguments):
* testing/lisp/test-property-inheritance.el
(test-org-property-accumulation-overwrite-use): Update syntax.
(test-org-property-accumulation-append-use): Use new syntax.
(test-org-property-accumulation-top-val)
(test-org-property-accumulation-overwrite-val)
(test-org-property-accumulation-append-val): Remove tests.
2016-07-04 00:41:56 +02:00
Charles Berry
ea94c14d92
org-export-babel-evaluate docstring expanded.
...
* lisp/ob-exp.el (org-export-babel-evaluate); Inform users that `:eval
never-export' should be used to avoid rerunning code on export.
Some users are puzzled when setting this variable to `nil' disables
all of babel.
The issue was raised by Ken Mankoff:
http://article.gmane.org/gmane.emacs.orgmode/107230
2016-07-03 09:58:42 -07:00
Don March
43303e4e92
ORG-NEWS: document last "++" repeater change
2016-07-03 00:23:11 +02:00
Nicolas Goaziou
adcaf91648
Mark `org-link-escape-browser' as obsolete
...
* lisp/org-compat.el (org-link-escape-browser): Make function an alias
for `url-encode-url'.
* lisp/org.el (org-link-escape-chars-browser): Remove variable.
(org-link-escape-browser): Remove function.
(org-open-at-point):
* lisp/ox-html.el (org-html-link): Use `url-encode-url'.
* testing/lisp/test-org.el(test-org/org-link-escape-chars-browser):
Remove test.
2016-07-01 12:00:23 +02:00
Don March
86e592cb66
Reschedule "++" repeaters on same day if in future
...
* lisp/org.el (org-auto-repeat-maybe): Include the time in a
timestamp (hours and minutes) when checking if a repeat occurrence is
in the future.
* doc/org.texi (Repeated Tasks): Document repeat occurrences with a time
in the timestamp.
2016-07-01 10:59:20 +02:00
Nicolas Goaziou
11df58e6f4
Merge branch 'maint'
2016-07-01 09:13:52 +02:00
Konstantin Kliakhandler
a8e4a393bf
org-entities: Swapped symbols of varphi and phi
...
* org-entities.el (org-entities): Swap the unicode symbol of phi and of
varphi.
TINYCHANGE
2016-07-01 09:12:43 +02:00
Nicolas Goaziou
67023930e7
org-compat: Mark `org-compatible-face' as obsolete
...
* lisp/org-inlinetask.el (org-inlinetask): Remove `org-compatible-face'
call.
2016-06-30 17:47:39 +02:00
Nicolas Goaziou
e2bff4bbc0
org-faces: Simplify face definitions
...
* lisp/org-faces.el (org-default):
(org-level-1):
(org-level-2):
(org-level-3):
(org-level-4):
(org-level-5):
(org-level-6):
(org-level-7):
(org-level-8):
(org-special-keyword):
(org-drawer):
(org-column):
(org-column-title):
(org-agenda-column-dateline):
(org-warning):
(org-archived):
(org-link):
(org-date-selected):
(org-todo):
(org-done):
(org-agenda-done):
(org-headline-done):
(org-priority):
(org-table):
(org-formula):
(org-code):
(org-meta-line):
(org-document-info-keyword):
(org-block):
(org-verbatim):
(org-clock-overlay):
(org-agenda-structure):
(org-agenda-clocking):
(org-agenda-date-weekend):
(org-scheduled):
(org-scheduled-today):
(org-scheduled-previously):
(org-upcoming-deadline):
(org-agenda-restriction-lock):
(org-agenda-filter-tags):
(org-agenda-filter-regexp):
(org-agenda-filter-category):
(org-time-grid):
(org-agenda-diary):
(org-agenda-calendar-event):
(org-agenda-calendar-sexp):
(org-macro):
(org-tag-group): Eschew `org-compatible-face' usage.
Also use lexical binding.
2016-06-30 17:40:58 +02:00
Nicolas Goaziou
b2091f6d75
Move obsolete declarations into "org-compat.el"
...
* lisp/org-agenda.el (org-agenda-list):
(org-agenda-goto-today):
(org-agenda-reset-view): Remove reference to obsolete
`org-agenda-ndays'.
2016-06-30 15:20:51 +02:00
Nicolas Goaziou
8d3586faac
org-compat: Fix typo
...
* lisp/org-compat.el (org-match-string-no-properties): Fix typo.
Reported-by: Michael Welle <mwe012008@gmx.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/108017 >
2016-06-30 13:37:44 +02:00
Nicolas Goaziou
f0ff257fa7
Merge branch 'maint'
2016-06-28 00:31:09 +02:00
Nicolas Goaziou
07de65e1ea
ox: Small fix
...
* lisp/ox.el (org-export--missing-definitions): Fix typo and remove
useless comment
* testing/lisp/test-ox.el (test-org-export/footnotes): Add test.
2016-06-28 00:28:47 +02:00
Nicolas Goaziou
8285ff4cf2
Merge branch 'maint'
2016-06-28 00:24:50 +02:00
Nicolas Goaziou
f196fb3bed
ob-exp: Silence byte compiler
2016-06-28 00:01:48 +02:00
Nicolas Goaziou
96a9542ae1
org-element: Remove spurious blank when interpreting a row
...
* lisp/org-element.el (org-element-table-row-interpreter): Remove
spurious white space.
2016-06-27 23:59:44 +02:00
Nicolas Goaziou
a131fd1a1d
ox: Fix typo in comment
...
* lisp/ox.el (org-export-get-footnote-definition): Fix typo.
2016-06-27 23:58:08 +02:00
Nicolas Goaziou
5e37a5c116
ox: Fix export of footnote definitions in pruned parts of tree
...
* lisp/ox.el (org-export--missing-definitions):
(org-export--install-footnote-definitions): New functions
(org-export--merge-external-footnote-definitions): Remove function
(org-export-as):
(org-export--prune-tree): Use new functions.
* testing/lisp/test-ox.el (test-org-export/footnotes): Add tests.
Reported-by: Mark Edgington <edgimar@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/107940 >
2016-06-27 23:57:42 +02:00
Nicolas Goaziou
d4408684e1
org-compat: Small refactoring
...
* lisp/org-compat.el (org-compatible-face): Small refactoring. Remove
Emacs 22 related part of the code.
2016-06-26 14:43:20 +02:00
Nicolas Goaziou
2f90a60bd8
Remove Emacs 22 related code
...
* contrib/lisp/htmlize.el (htmlize-face-color-internal):
(htmlize-face-to-fstruct):
* lisp/org-agenda.el (org-anniversary):
(org-cyclic):
(org-block):
(org-date):
* lisp/org-compat.el (org-region-active-p):
* lisp/org.el (org-use-extra-keys):
(occur-mode-find-occurrence-hook): Remove Emacs 22 related code and
comments.
(org-diary-class): Remove function.
2016-06-26 14:35:22 +02:00
Nicolas Goaziou
1891dd4816
org-compat: Tiny refactoring
...
* lisp/org-compat.el (org-re): Use `obsolete' in `declare'.
2016-06-26 10:29:27 +02:00
Michael Brand
994e9ebf0b
Update testing/README
...
* testing/README: Minor update, add how to run several tests.
2016-06-25 17:08:23 +02:00
Michael Brand
4b2aa43ce6
ERT: Spreadsheet references more sensitive
...
* testing/lisp/test-org-table.el:
(test-org-table/org-table-convert-refs-to-an/1):
(test-org-table/org-table-convert-refs-to-rc/1): Row and column number
different.
2016-06-25 17:06:12 +02:00
Michael Brand
e4baab8e10
Extend a docstring
...
* lisp/org.el (org-startup-truncated): Extend docstring.
(org-set-font-lock-defaults): Also the last top level expression on an
own line.
2016-06-25 17:04:43 +02:00
Lele Gaifax
c338f9c630
org-colview.el: Fix typo in function name
...
* lisp/org-colview.el (org-columns-hscroll-title): Rename from
`org-columns-hscoll-title'.
(org-columns--display-here-title):
(org-columns-remove-overlays): Adjust reference to renamed function.
2016-06-24 15:58:29 +02:00
Nicolas Goaziou
313146374e
org-colview: Fix last commit
...
* lisp/org-colview.el (org-columns-edit-value): Fix last commit.
2016-06-24 10:06:02 +02:00
Nicolas Goaziou
1114418dd4
org-colview: Replace `org-columns-eval' with `org-columns--call'
...
* lisp/org-colview.el (org-columns-edit-value): Small refactoring. Use
new function.
(org-columns--call): New function.
(org-columns-eval): Remove function.
(org-columns-next-allowed-value): Use new function.
2016-06-24 09:59:49 +02:00
Nicolas Goaziou
f364229176
Merge branch 'maint'
2016-06-24 09:22:00 +02:00
Nicolas Goaziou
0d72c34937
Improve a docstring
...
* lisp/org.el (org-delete-all): Improve docstring.
2016-06-24 09:21:38 +02:00
Nicolas Goaziou
bffa144f54
org-mobile: Fix TODO keywords generation
...
* lisp/org-mobile.el (org-mobile-create-index-file): Call
`org-delete-all' later since it is a destructive operation.
Reported-by: Ian Dunn <dunni@gnu.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/107900 >
2016-06-24 09:18:30 +02:00
Nicolas Goaziou
5485170263
org-capture: Remove forbidden value type from "file" templates
...
* lisp/org-capture.el (org-capture-expand-file): Remove plain S-exps
from allowed values.
2016-06-24 01:11:49 +02:00
Nicolas Goaziou
8860c92f62
ob-exp: Small fix
...
* lisp/ob-exp.el (org-babel-exp-src-block): Use `symbol-name' instead of
`eval' since the argument is a dynamically scoped variable anyhow.
2016-06-24 00:55:03 +02:00
Nicolas Goaziou
3bfbd26acd
org-clock: Remove handling for illicit :scope values
...
* lisp/org-clock.el (org-dblock-write:clocktable): :scope is not meant
to be a s-exp, so don't use `eval' on it.
2016-06-24 00:52:19 +02:00
Nicolas Goaziou
ba4831bba8
Fix `org-no-properties' called with an optional argument
...
* lisp/org-macs.el (org-no-properties): Fix function so that optional
argument `restricted' is not ignored.
2016-06-23 15:55:39 +02:00
Nicolas Goaziou
89d2006e84
Remove `org-substitute-posix-classes'
...
* lisp/org-macs.el (org-substitute-posix-classes): Remove function.
This function is unused throughout the code base and not part of any
public API.
2016-06-23 15:28:45 +02:00
Nicolas Goaziou
aae0b22a0c
Deprecate `org-format-seconds' in favor of `format-seconds'
...
* lisp/org-macs.el (org-format-seconds): Remove function.
* lisp/org-compat.el (org-format-seconds): Mark function as an obsolete
alias.
* lisp/org-table.el (org-table-time-seconds-to-string):
* lisp/ox.el (org-export-stack-refresh): Apply removal.
2016-06-23 15:26:17 +02:00
Nicolas Goaziou
ee7aa9878f
Deprecate `org-no-warnings' in favor of `with-no-warnings'
...
* lisp/org-macs.el (org-no-warnings): Rewove macro.
* lisp/org-compat.el (org-no-warnings): Mark `org-no-warnings' as
obsolete.
* contrib/lisp/org-contacts.el (defvar):
* contrib/lisp/org-wl.el (org-wl-open):
* lisp/org-agenda.el (defvar):
(org-anniversary):
(org-cyclic):
(org-block):
(org-date):
* lisp/org-bbdb.el (defvar):
* lisp/org-clock.el (org-clock-out):
(org-clock-cancel):
* lisp/org-mouse.el (org-mouse-show-context-menu):
* lisp/org.el (org-modify-ts-extra):
(org-order-calendar-date-args): Small refactoring.
* lisp/ox-odt.el (org-odt-htmlfontify-string):
2016-06-23 15:20:32 +02:00
Nicolas Goaziou
28ba698262
org-macs: Remove `org-replace-match-keep-properties'
...
* lisp/org-macs.el (org-replace-match-keep-properties): Remove function.
This function is unused through the code base and doesn't specifically
belong to a public API.
2016-06-23 15:13:14 +02:00
Nicolas Goaziou
999f224299
Deprecate `org-called-interactively-p' in favor of `called-interactively-p'
...
* lisp/org-compat.el (org-called-interactively-p): Make it an obsolete
alias for `called-interactively-p'.
* lisp/org-macs.el (org-called-interactively-p): Remove function.
* contrib/lisp/org-expiry.el (org-expiry-insinuate):
(org-expiry-deinsinuate):
(org-expiry-process-entry):
(org-expiry-process-entries):
(org-expiry-archive-subtree):
(org-expiry-add-keyword):
* lisp/ob-core.el (org-babel-expand-src-block):
(org-babel-sha1-hash):
* lisp/org-agenda.el (org-toggle-sticky-agenda):
(org-agenda-write):
(org-agenda-dim-blocked-tasks):
(org-agenda-redo):
(org-agenda-show-1):
(org-agenda-set-tags):
* lisp/org-lint.el (org-lint):
* lisp/org-table.el (org-table-blank-field):
(org-table-current-column):
(org-table-current-dline):
(org-table-sort-lines):
(org-table-sum):
(org-table-rotate-recalc-marks):
(org-table-eval-formula):
(orgtbl-send-table):
* lisp/org.el (org-mode):
(org-copy-subtree):
(org-paste-subtree):
(org-store-link):
(org-todo):
(org-occur):
(org-create-math-formula):
(org-toggle-inline-images):
(org-mark-subtree):
(org-mark-element): Apply removal.
2016-06-23 15:08:03 +02:00