Nicolas Goaziou
71aabd9db7
Merge branch 'maint'
2017-08-06 01:55:26 +02:00
Michaël Cadilhac
1f6f46aa69
org-capture.el: Document what the time stamp is in capture templates
...
* lisp/org-capture.el (org-capture-templates): Make explicit that the time
stamp aware %-escapes are influenced by `org-capture-use-agenda-date'.
TINYCHANGE
2017-08-06 01:44:23 +02:00
Nicolas Goaziou
411c603516
Merge branch 'maint'
2017-08-06 01:20:36 +02:00
Nicolas Goaziou
4b89f5c0e4
ox-icalendar: Fix thinko
...
* lisp/ox-icalendar.el (org-icalendar-export-current-agenda): Use
`member' instead of `memq'.
2017-08-06 01:19:49 +02:00
Nicolas Goaziou
569b7d105c
Merge branch 'maint'
2017-08-05 15:38:13 +02:00
Nicolas Goaziou
7e241af591
org-clock: Fix regression in `org-clock-sum'
...
* lisp/org-clock.el (org-clock-sum): Fix regression introduced in
112c5ba479
. Small refactoring.
Reported-by: Josh Moller-Mara <jmm@cns.nyu.edu>
http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00117.html
2017-08-05 15:35:37 +02:00
Nicolas Goaziou
d5690b6206
Merge branch 'maint'
2017-08-05 11:05:45 +02:00
Nicolas Goaziou
e67f0f29de
ox-icalendar: Prevent duplicates when writing agenda view
...
* lisp/ox-icalendar.el (org-icalendar-export-current-agenda): Prevent
duplicates when writing agenda view.
Reported-by: Nicolae Cindea <ncindea@gmail.com>
http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00116.html
2017-08-05 11:02:14 +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
b0776e39b5
org-table: Small refactoring
...
* lisp/org-table.el (org-table-previous-field): Small refactoring.
* testing/lisp/test-org-table.el (test-org-table/previous-field): New
test.
2017-08-02 10:35:57 +02:00
Nicolas Goaziou
29d8d407e8
org-macs: Add tests for `org-split-string.
...
* testing/lisp/test-org-macs.el (test-org/split-string): New test.
2017-08-01 20:29:23 +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
1cf48fc2e7
Merge branch 'maint'
2017-08-01 18:47:56 +02:00
Jay Kamat
f320f05192
ORG-NEWS: Fix a small typo in new org babel header example
...
* etc/ORG-NEWS (Using): Fix typo in babel :header-args: conversion
TINYCHANGE
2017-08-01 18:47:07 +02:00
Adrian Bradd
fbf31df38a
org-depend: Add multi-file TRIGGER and BLOCKER tasks
...
contrib/lisp/org-depend.el (org-depend-trigger-todo):
(org-depend-block-todo): Implement multi-file TRIGGER and BLOCKER
tasks.
2017-08-01 10:33:15 +02:00
Jay Kamat
0c1b4da1f6
ob-C.el: Add support for specifying namespaces in C/C++
...
* lisp/ob-C.el (org-babel-C-expand-C): Add a :namespaces export option
to C++ org babel blocks. Namespaces specified here will be added to
the file in the format 'using namespace %s;'. Multiple namespaces
can be specified, separated by spaces.
TINYCHANGE
2017-08-01 10:20:15 +02:00
Nicolas Goaziou
27e5beaa64
org-clock: Do not inhibit logging with `org-clock-out-switch-to-state'
...
* lisp/org-clock.el (org-clock-out): Do not inhibit logging.
Logging is not inhibited when using `org-clock-in-switch-to-state'.
Reported-by: Рома Рудаков <phentagram@gmail.com>
http://lists.gnu.org/archive/html/emacs-orgmode/2017-07/msg00473.html
2017-07-28 14:50:36 +02:00
Nicolas Goaziou
90f606d9c2
org-macs: Fix `org-string-width' with `display' property
...
* lisp/org-macs.el (org-string-display): New function.
(org-string-width): Use new function.
* testing/lisp/test-org-macs.el: New file.
2017-07-28 12:15:47 +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
720b213a35
ox-texinfo: Default process includes "--no-split" option
...
* lisp/ox-texinfo.el (org-texinfo-info-process): Add "--no-split"
option.
Reported-by: Jonas Bernoulli <jonas@bernoul.li>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-07/msg00458.html >
2017-07-27 13:52:12 +02:00
Nicolas Goaziou
abc4bb26ba
ox-ascii: Fix docstring
...
* lisp/ox-ascii.el (org-ascii-table-use-ascii-art): Fix docstring.
2017-07-27 13:45:32 +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
Nicolas Goaziou
ed6849d18d
ox-texinfo: Insert blank line between sectioning command and contents
...
* lisp/ox-texinfo.el (org-texinfo-headline): Insert blank line between
sectioning command and contents.
2017-07-25 20:44:35 +02:00
Nicolas Goaziou
8112629d37
ox-texinfo: Fix code typo
...
* lisp/ox-texinfo.el (org-texinfo--menu-entries): Only collect direct
children.
The regression was introduced in
1b415735ea
.
2017-07-25 19:24:47 +02:00
Nicolas Goaziou
0623c1c753
org-colview: Allow simultaneous columns views
...
* lisp/org-colview.el (org-columns-overlays):
(org-columns-begin-marker):
(org-columns-top-level-marker): Make variables buffer local.
(org-columns-remove-overlays): Assume columns view are to be removed
in current buffer.
(org-columns-edit-allowed): Small refactoring. Raise an error when
called although no columns view is active in current buffer.
(org-columns-goto-top-level):
(org-columns):
(org-agenda-columns): Do not assume `org-columns-begin-marker' and
`org-columns-top-level-marker' are markers.
(org-columns-store-format):
(org-columns-redo): Skip if no columns view is current active.
(org-agenda-colview-compute): Do not let-bind
`org-columns-begin-marker' and `org-columns-top-level-marker'.
2017-07-25 09:54:06 +02:00
Nicolas Goaziou
6bfe8728e3
Merge branch 'maint'
2017-07-25 09:09:37 +02:00
Jeff Larson
f203d378bd
org-mobile: Specify message digest for OpenSSL commands
...
* lisp/org-mobile.el (org-mobile-encrypt-file):
(org-mobile-decrypt-file): Fix the message digest as MD5 for
compatibility across OpenSSL versions.
OpenSSL switched to using SHA256 by default for symmetric encryption
in version 1.1. Unfortunately that means that newer versions of the
openssl command line tool can not decrypt encrypted org-mobile files
without the '-md md5' option. This commit changes the shell commands
in org-mobile-encrypt-file and org-mobile-decrypt-file to explicitly
specify MD5 as the hash digest.
TINYCHANGE
2017-07-25 09:07:59 +02:00
Nicolas Goaziou
fe48b23448
ob-scheme: Tiny refactoring
...
* lisp/ob-scheme.el (org-babel-scheme-repl-map):
(org-babel-scheme-cleanse-repl-map):
(org-babel-scheme-make-session-name): Tiny refactoring.
2017-07-24 13:57:12 +02:00
Nicolas Goaziou
9adab7ff90
ob-scheme: Fix :prologue handling
...
* lisp/ob-scheme.el (org-babel-expand-body:scheme): Handle :prologue
handling without any :var parameter.
* testing/lisp/test-ob-scheme.el: New file.
2017-07-24 13:55:20 +02:00
José L. Doménech
bb6e40b086
ob-scheme: Handle tables and :prologue params
...
* lisp/ob-scheme.el (org-babel-scheme-null-to): New variable.
(org-babel-scheme--table-or-string): New function.
(org-babel-execute-src-block): Changed to allow the return of a table
for the output.
(org-babel-expand-body:scheme) Add :prologue param support.
TINYCHANGE
2017-07-24 12:01:03 +02:00
Nicolas Goaziou
6b9f9e9aff
Merge branch 'maint'
2017-07-24 09:42:50 +02:00
Nicolas Goaziou
d9713fe3ca
org-clock: Fix :tend with a time zone
...
* lisp/org-clock.el (org-clocktable-steps): Do not force UTC
for :tend.
Reported-by: Dale Sedivec <dale@codefu.org>
2017-07-24 09:40:58 +02:00
Nicolas Goaziou
10bdef394d
org.texi: Fix last commit
2017-07-24 09:34:57 +02:00
Nicolas Goaziou
6c38314429
Merge branch 'maint'
2017-07-23 22:49:11 +02:00
Nicolas Goaziou
16dbf09419
org.texi: Document Org Protocol
...
* doc/org.texi (Protocols): Document feature.
2017-07-23 22:48:51 +02:00
Nicolas Goaziou
f6109d355e
Merge branch 'maint'
2017-07-23 22:42:50 +02:00
Nicolas Goaziou
5e0db07988
ob-emacs-lisp: Fix pp results
...
* lisp/ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Move "pp" handling...
(org-babel-execute:emacs-lisp): ... here.
* testing/lisp/test-ob-emacs-lisp.el (ob-emacs-lisp/commented-last-block-line):
Small refactoring.
Reported-by: Chunyang Xu <mail@xuchunyang.me>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-07/msg00355.html >
2017-07-23 22:41:27 +02:00
Stig Brautaset
a49e146621
Use cl-lib rather than cl variants in org-drill
...
org-drill requires only cl-lib rather than cl, so should use cl-gensym
rather than gensym I believe.
From 1eef99d550e467bf4a3eaf6bdbe4d3a482f6c187 Mon Sep 17 00:00:00 2001
From: Stig Brautaset <stig@brautaset.org>
Date: Fri, 14 Jul 2017 20:45:37 +0100
Subject: [PATCH 2/3] org-drill.el: use cl-gensym rather than gensym
cl-lib is already required by this file, but cl is not.
2017-07-23 11:06:41 +02:00
Stig Brautaset
3e1aeac3b3
use cl-lib functions rather than cl ones in org-test
...
From ead36e862d150e3a83d363bdead850a2e3ec281d Mon Sep 17 00:00:00 2001
From: Stig Brautaset <stig@brautaset.org>
Date: Fri, 14 Jul 2017 20:43:11 +0100
Subject: [PATCH 1/3] org-test.el: use prefixed functions from cl-lib.el rather
than cl.el
2017-07-23 11:06:37 +02:00
Rasmus
edd9049fb9
Merge branch 'maint'
2017-07-22 14:08:08 +02:00
Rasmus
3650c980d8
ox-html: Use correct "br" tag for subtitle
...
* lisp/ox-html.el (org-html-template): Use correct "br" tag depending
on :html-doctype.
Reported-by: Olivier Berger <olivier.berger@telecom-sudparis.eu>
<http://permalink.gmane.org/gmane.emacs.orgmode/114546 >
2017-07-22 14:07:39 +02:00
Rasmus
eb5aa418c1
Update README_maintainer with upstream synchronization instructions
...
* README_maintainer: Update with upstream synchronization
instructions.
2017-07-22 13:47:08 +02:00
Marco Wahl
c7bd60833c
Merge branch 'check-agenda'
2017-07-19 17:46:29 +02:00
Marco Wahl
566e700007
test-org-agenda: Non-todo-kwd scheduled item must appear in agenda
2017-07-19 17:43:50 +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