org-mode.git
19 hours agoox-publish: Fix :base-extension any with :recursive t maint
Nicolas Goaziou [Sun, 24 Sep 2017 08:57:11 +0000 (10:57 +0200)]
ox-publish: Fix :base-extension any with :recursive t

* lisp/ox-publish.el (org-publish-get-base-files): Ensure MATCH regexp
  is always a string since `directory-files-recursively' requires it.
* testing/lisp/test-ox-publish.el (test-org-publish/get-project-from-filename):
  Add test.

Suggested-by: Jens Lechtenboerger <lechten@wi.uni-muenster.de>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00528.html>

3 days agoAdd publishing function to "Simple example"
Nick Dokos [Wed, 20 Sep 2017 12:03:49 +0000 (08:03 -0400)]
Add publishing function to "Simple example"

The simple example project definition is missing a publishing
function. Added org-html-publish-to-html as the publishing function.

4 days agoRephrase `org-cycle-global-at-bob' documantion
Nicolas Goaziou [Wed, 20 Sep 2017 10:52:43 +0000 (12:52 +0200)]
Rephrase `org-cycle-global-at-bob' documantion

* doc/org.texi (Global and local cycling): Rephrase
  `org-cycle-global-at-bob' documantion.

Reported-by: Alain.Cochard@unistra.fr
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00447.html>

5 days agoox-html.el: Partially revert d5bbf36553
N. Raghavendra [Tue, 19 Sep 2017 17:07:02 +0000 (22:37 +0530)]
ox-html.el: Partially revert d5bbf36553

* lisp/ox-html.el (org-html-src-block): Unless klipse is used, export
source code blocks as content of `pre' elements, and not as content of
`code' children of `pre' elements.  Restores the previous way of
exporting source code blocks, and fixes the display of language
indicators while hovering over the blocks in the exported HTML file,
when klipse is not used.
(org-html-keep-old-src): Remove it.  Not needed because it is now the
default, unless klipse is used.

6 days agoob-hledger.el: Correct file name in header
Kyle Meyer [Mon, 18 Sep 2017 17:09:56 +0000 (13:09 -0400)]
ob-hledger.el: Correct file name in header

7 days agoRemove useless binding
Nicolas Goaziou [Sun, 17 Sep 2017 10:48:17 +0000 (12:48 +0200)]
Remove useless binding

* lisp/org.el (org-mode-map): Remove [(meta return)] binding, handled
  by (kbd "M-RET").

Suggested-by: Allen Li <vianchielfaura@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00411.html>

7 days agoAdjust the license link in new lisp/*.el files release_9.1.1
Kyle Meyer [Sun, 17 Sep 2017 05:00:09 +0000 (01:00 -0400)]
Adjust the license link in new lisp/*.el files

Emacs's bc511a64f6d made tree-wide changes to prefer https to http.
For Org, this resulted in the header of every lisp/*.el file being
changed.  Make the same changes in lisp/*.el files that were added
since Org version 9.0.10 (the last version that was synced with
Emacs).

7 days agoBackport commit bc511a64f from Emacs
Paul Eggert [Wed, 13 Sep 2017 22:52:52 +0000 (15:52 -0700)]
Backport commit bc511a64f from Emacs

Prefer HTTPS to FTP and HTTP in documentation
bc511a64f6da9ab51acc7c8865e80c4a4cb655c2
Paul Eggert
Wed Sep 13 15:54:37 2017 -0700

7 days agoBackport commit 5da53a019 from Emacs
Paul Eggert [Wed, 13 Sep 2017 22:46:16 +0000 (15:46 -0700)]
Backport commit 5da53a019 from Emacs

* lisp/org-info.el (org-info-other-documents)
(org-info-map-html-url):
* lisp/ox-html.el (org-html-creator-string): Use HTTPS instead of
HTTP.

Prefer HTTPS to HTTP for gnu.org
5da53a01912c2f5d46f5df4ef8cc13a34b5017d4
Paul Eggert
Wed Sep 13 15:54:25 2017 -0700

8 days agoBackport commit 74b8615fc from Emacs
Paul Eggert [Mon, 11 Sep 2017 05:22:55 +0000 (22:22 -0700)]
Backport commit 74b8615fc from Emacs

* lisp/ob-tangle.el (org-babel-tangle-publish): Port to new copy-file
behavior.

Adjust ob-tangle to new copy-file behavior
74b8615fcceba7b92c4938e1bcc92015f10ae899
Paul Eggert
Sun Sep 10 22:31:23 2017 -0700

8 days agoAdd M-RET binding for terminal
Nicolas Goaziou [Sat, 16 Sep 2017 15:19:00 +0000 (17:19 +0200)]
Add M-RET binding for terminal

* lisp/org.el (org-mode-map): Add M-RET binding.

Reported-by: Allen Li <vianchielfaura@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00386.html>

9 days agoorg.texi: Update for library-of-babel.org move
Kyle Meyer [Fri, 15 Sep 2017 22:58:41 +0000 (18:58 -0400)]
org.texi: Update for library-of-babel.org move

* doc/org.texi (Library of Babel): Point to library-of-babel.org's new
location (as of 517637012).

9 days agoorgguide.texi: Fix Library of Babel link
Kyle Meyer [Fri, 15 Sep 2017 22:58:41 +0000 (18:58 -0400)]
orgguide.texi: Fix Library of Babel link

* doc/orgguide.texi (Working With Source Code): Fix typo in Library of
Babel link.

9 days agoox-texinfo: Add missing autoload cookies
Nicolas Goaziou [Fri, 15 Sep 2017 19:10:29 +0000 (21:10 +0200)]
ox-texinfo: Add missing autoload cookies

* lisp/ox-texinfo.el (org-texinfo-export-to-texinfo):
(org-texinfo-export-to-info): Add autoload cookie.

10 days agoFix `org-auto-repeat-maybe'
Nicolas Goaziou [Thu, 14 Sep 2017 13:33:51 +0000 (15:33 +0200)]
Fix `org-auto-repeat-maybe'

* lisp/org.el (org-auto-repeat-maybe): Fix `org-auto-repeat-maybe'.

* testing/lisp/test-org.el (test-org/auto-repeat-maybe): Add test.

Reported-by: Samuel Wales <samologist@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00298.html>

10 days agoob-scheme: Fix results error on unspecified and void values
Nicolas Goaziou [Thu, 14 Sep 2017 13:19:14 +0000 (15:19 +0200)]
ob-scheme: Fix results error on unspecified and void values

* lisp/ob-scheme.el (org-babel-scheme-execute-with-geiser): Return
  "#<void>" or "#<unspecified>" when the REPL says so.

* testing/lisp/test-ob-scheme.el (test-ob-scheme/unspecified): New
  test.
(test-ob-scheme/prologue): Fix tests.

Reported-by: Lawrence Bottorff <borgauf@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00346.html>

10 days agoox-html: Fix missing Mathjax config with maths elements in captions
Nicolas Goaziou [Thu, 14 Sep 2017 12:40:33 +0000 (14:40 +0200)]
ox-html: Fix missing Mathjax config with maths elements in captions

* lisp/ox-html.el (org-html--build-mathjax-config): Fix missing
  Mathjax config with maths elements in captions.

Reported-by: Lawrence Bottorff <borgauf@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00302.html>

11 days agoorg-table: Fix `org-table-copy-down' with timestamps
Nicolas Goaziou [Wed, 13 Sep 2017 11:03:11 +0000 (13:03 +0200)]
org-table: Fix `org-table-copy-down' with timestamps

* lisp/org-table.el (org-table-copy-down): Allow matching inactive
  timestamps.

Reported-by: Alan Schmitt <alan.schmitt@polytechnique.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00304.html>

12 days agoFix `org-forward-sentence' on a headline
Nicolas Goaziou [Tue, 12 Sep 2017 07:02:02 +0000 (09:02 +0200)]
Fix `org-forward-sentence' on a headline

* lisp/org.el (org-forward-sentence): Fix `org-forward-sentence' on a headline.

* testing/lisp/test-org.el (test-org/forward-sentence): Add tests.

Reported-by: Mat Vibrys <vibrysec@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00282.html>

2 weeks agoBackport commit cdef84fb6 from Emacs
Paul Eggert [Sun, 10 Sep 2017 16:20:27 +0000 (09:20 -0700)]
Backport commit cdef84fb6 from Emacs

Spelling fixes
cdef84fb6893f69ffee1a99fe82a262e02e59bf5
Paul Eggert
Sun Sep 10 09:24:37 2017 -0700

2 weeks agoorg-agenda: Fix `org-agenda-skip-if-todo'
Nicolas Goaziou [Sun, 10 Sep 2017 12:10:49 +0000 (14:10 +0200)]
org-agenda: Fix `org-agenda-skip-if-todo'

* lisp/org-agenda.el (org-agenda-skip-if-todo): Make sure TODO search
  is case sensitive.  Refactor function.

2 weeks agoorg-agenda: Fix `org-agenda-skip-if'
Nicolas Goaziou [Sun, 10 Sep 2017 12:08:16 +0000 (14:08 +0200)]
org-agenda: Fix `org-agenda-skip-if'

* lisp/org-agenda.el (org-agenda-skip-if): Prevent some checks from
  moving point, since this stops following checks from running
  properly.

Reported-by: "cro cefisso" <crocefisso@gmx.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00182.html>

2 weeks agoEnsure that top-level capture targets are pasted at level 1
Matt Lundin [Sat, 9 Sep 2017 16:08:06 +0000 (11:08 -0500)]
Ensure that top-level capture targets are pasted at level 1

* lisp/org-capture.el: (org-capture-place-entry) Ensure that level is
  set to 1 (i.e., the top level) if there is no headline target
  defined. Otherwise, captured items are improperly nested by context.

2 weeks agoorg-agenda: Fix typo
Nicolas Goaziou [Fri, 8 Sep 2017 20:35:54 +0000 (22:35 +0200)]
org-agenda: Fix typo

* lisp/org-agenda.el (org-search-view): Add missing :test keyword.

2 weeks agoorg-agenda: Better state change detection
Nicolas Goaziou [Fri, 8 Sep 2017 19:18:22 +0000 (21:18 +0200)]
org-agenda: Better state change detection

* lisp/org-agenda.el (org-agenda-get-progress): Use appropriate regexp
  as TODO keywords are not limited to alphanumeric characters.

Reported-by: email@edgar-kalkowski.de
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00206.html>

2 weeks agoFix duplicate tests
Nicolas Goaziou [Fri, 8 Sep 2017 11:20:48 +0000 (13:20 +0200)]
Fix duplicate tests

Reported-by: Stig Brautaset <stig@brautaset.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00187.html>

2 weeks agoFix logic of calling org-make-link-desciption-function
Reuben Thomas [Tue, 5 Sep 2017 16:00:25 +0000 (17:00 +0100)]
Fix logic of calling org-make-link-desciption-function

* lisp/org.el (org-insert-link): Simplify so that description is only
prompted for once, if auto-desc is not set, and takes as its default
value, in order, default-description, the return value of
org-make-link-description-function (if the variable is non-nil), and
the current desc. Update the docstring to reflect that
default-description takes precedence over
org-make-link-description-function.
(org-make-link-description-function): Remove from docstring the
statement that if the variable is nil, then the link will be used as
the default description. This is undesirable, and was not in any case
implemented.

2 weeks agoImprove Scheme code evaluation
Neil Jerram [Sun, 20 Aug 2017 16:25:58 +0000 (17:25 +0100)]
Improve Scheme code evaluation

* lisp/ob-scheme.el (org-babel-scheme-execute-with-geiser): Use
  Geiser's explicit 'retort' object, instead of catching and parsing
  an expected Emacs message (which for me is in any case overwritten
  by a following "Mark set" message); this also means we don't need
  the with-output-to-string approach for getting 'output' results.
  Also 'let' Geiser variables so as to avoid popping up the REPL
  and *Geiser dbg* buffers.

2 weeks agoUpdate customize-package-emacs-version-alist
Kyle Meyer [Thu, 7 Sep 2017 20:56:11 +0000 (16:56 -0400)]
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.

2 weeks agoCorrect defcustom version information
Kyle Meyer [Thu, 7 Sep 2017 20:56:11 +0000 (16:56 -0400)]
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.

2 weeks agoMake ob-sclang.el work on emacs 24.3
Kaushal Modi [Thu, 7 Sep 2017 18:08:31 +0000 (14:08 -0400)]
Make ob-sclang.el work on emacs 24.3

* contrib/lisp/ob-sclang.el: Use eval-after-load instead of
  with-eval-after-load.

2 weeks agoFix `org-confirm-babel-evaluate' with `org-sbe'
Nicolas Goaziou [Thu, 7 Sep 2017 15:43:32 +0000 (17:43 +0200)]
Fix `org-confirm-babel-evaluate' with `org-sbe'

* lisp/ob-core.el (org-babel-check-confirm-evaluate): Do not move
  point, as it is neither necessary nor expected by
  `org-babel-check-confirm-evaluate'.

Reported-by: Alex Bennée <alex.bennee@linaro.org>
http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00167.html

2 weeks agoorg-agenda: Remove duplicate files when building a search view
Nicolas Goaziou [Thu, 7 Sep 2017 13:52:56 +0000 (15:52 +0200)]
org-agenda: Remove duplicate files when building a search view

* lisp/org-agenda.el (org-search-view): Remove duplicate files when
  building a search view.

Reported-by: Samuel Wales <samologist@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00112.html>

2 weeks agoRestriction lock means no extra files in agenda search view
Nicolas Goaziou [Thu, 7 Sep 2017 13:51:30 +0000 (15:51 +0200)]
Restriction lock means no extra files in agenda search view

* lisp/org-agenda.el (org-search-view): Restriction lock means no
  extra files in agenda search view.

Reported-by: Samuel Wales <samologist@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00112.html>

2 weeks agoTolerate editing an export block without type
Nicolas Goaziou [Thu, 7 Sep 2017 13:27:55 +0000 (15:27 +0200)]
Tolerate editing an export block without type

* lisp/org-src.el (org-edit-export-block): Tolerate editing an export
  block without type.

2 weeks agoorg-duration: Fix `org-duration-to-minutes' with the empty string
Nicolas Goaziou [Thu, 7 Sep 2017 13:20:26 +0000 (15:20 +0200)]
org-duration: Fix `org-duration-to-minutes' with the empty string

* lisp/org-duration.el (org-duration-to-minutes): Accept the empty
  string.

* testing/lisp/test-org-duration.el (test-org-duration/to-minutes):
  Add test.

For backward compatibility with `org-duration-string-to-minutes'
accept the empty string as a duration.

2 weeks agoORG-NEWS: Add incompatible change about `org-split-string'
Nicolas Goaziou [Thu, 7 Sep 2017 12:37:49 +0000 (14:37 +0200)]
ORG-NEWS: Add incompatible change about `org-split-string'

2 weeks agoUse `split-string' instead of `org-split-string'
Nicolas Goaziou [Thu, 7 Sep 2017 12:34:25 +0000 (14:34 +0200)]
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'.

2 weeks agoFix table variable with commas in ob-sqlite
Eduardo Bellani [Tue, 5 Sep 2017 21:17:22 +0000 (18:17 -0300)]
Fix table variable with commas in ob-sqlite

* lisp/ob-sqlite.el (org-babel-sqlite-expand-vars): Stop interfering
  with the 'orgtbl-to-csv' default formatting.

* testing/lisp/test-ob-sqlite.el: New file.

The problem here was that ob-sqlite was providing a format to the
`orgtbl-to-csv' that actually overwrote the default format in that
function, and in the case where there were commas in the content of
the table, broke the table as argument mechanism.

TINYCHANGE

2 weeks agoFix org-duration-to-minutes call on ox-taskjuggler release_9.1
Nicolas Goaziou [Tue, 5 Sep 2017 21:54:29 +0000 (23:54 +0200)]
Fix org-duration-to-minutes call on ox-taskjuggler

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Fix
  typo.

TINYCHANGE

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Tue, 5 Sep 2017 20:34:38 +0000 (22:34 +0200)]
Merge branch 'maint'

2 weeks agoox-odt: Small fix
Nicolas Goaziou [Tue, 5 Sep 2017 20:33:29 +0000 (22:33 +0200)]
ox-odt: Small fix

* lisp/ox-odt.el (org-odt--translate-latex-fragments): Ignore blank
  lines before link to parse.

Reported-by: Alastair Burt <alastair.burt@gmail.com>
2 weeks agoupdated org-index to version 5.5
U-IHM-NOTEBOOK\Olli [Mon, 4 Sep 2017 19:02:31 +0000 (21:02 +0200)]
updated org-index to version 5.5

3 weeks agoorg-agenda: Fix `org-agenda-custom-command' customization
Nicolas Goaziou [Sun, 3 Sep 2017 12:19:05 +0000 (14:19 +0200)]
org-agenda: Fix `org-agenda-custom-command' customization

* lisp/org-agenda.el (org-agenda-custom-commands-local-options): Quote
  symbols.

Reported-by: Niall Dooley <dooleyn@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00659.html>

3 weeks agoFix last commit
Nicolas Goaziou [Sat, 2 Sep 2017 17:33:27 +0000 (19:33 +0200)]
Fix last commit

3 weeks agoorg.texi: Fix info compilation
Nicolas Goaziou [Sat, 2 Sep 2017 17:28:13 +0000 (19:28 +0200)]
org.texi: Fix info compilation

* doc/org.texi (Global and local cycling):
(A Texinfo example): Use appropriate command.

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Thu, 31 Aug 2017 21:15:56 +0000 (23:15 +0200)]
Merge branch 'maint'

3 weeks agoFix `:jump-to-captured' when refiling a capture target
Nicolas Goaziou [Thu, 31 Aug 2017 21:14:04 +0000 (23:14 +0200)]
Fix `:jump-to-captured' when refiling a capture target

* lisp/org-capture.el (org-capture-refile): Call
  `org-capture-goto-last-stored' at the appropriate time.

* testing/lisp/test-org-capture.el (test-org-capture/refile): Add
  test.

Reported-by: "Raymond Zeitler" <zeitra@yahoo.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00704.html>

3 weeks agoox-icalendar: release buffers less aggressively
Nicolas Goaziou [Thu, 31 Aug 2017 13:58:51 +0000 (15:58 +0200)]
ox-icalendar: release buffers less aggressively

* lisp/ox-icalendar.el (org-icalendar--combine-files): Release only
  newly created buffers.

Reported-by: Michaël Cadilhac <michael@cadilhac.name>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00691.html>

3 weeks agoorg-agenda: Remove unnecessary sentence
Nicolas Goaziou [Wed, 30 Aug 2017 12:52:28 +0000 (14:52 +0200)]
org-agenda: Remove unnecessary sentence

* lisp/org-agenda.el (org-agenda-entry-types): Remove a sentence.

3 weeks agoorg-agenda: Tiny clean-up
Nicolas Goaziou [Wed, 30 Aug 2017 12:30:30 +0000 (14:30 +0200)]
org-agenda: Tiny clean-up

* lisp/org-agenda.el (org-agenda-to-appt): Remove obsolete code.

3 weeks agoRemove "timeline" remnants
Nicolas Goaziou [Wed, 30 Aug 2017 12:22:28 +0000 (14:22 +0200)]
Remove "timeline" remnants

* doc/orgguide.texi (Timeline): Remove node.
(Top):
(Using TODO states):
(Clocking work time):
(Agenda dispatcher):
(Built-in agenda views):
(Matching tags and properties): Update.
* lisp/org-agenda.el (org-agenda-include-inactive-timestamps):
(org-agenda-format-date):
(org-agenda-format-date-aligned):
(org-agenda-weekend-days):
(org-agenda-prefix-format):
(org-agenda-show-inherited-tags):
(org-agenda-use-tag-inheritance):
(org-agenda-menu):
(org-agenda-max-entries):
(org-agenda-max-todos):
(org-agenda-max-tags):
(org-agenda-max-effort):
(org-agenda-check-type):
(org-agenda-manipulate-query):
(org-agenda-goto-today):
(org-agenda-view-mode-dispatch):
(org-agenda-next-date-line):
(org-agenda-previous-date-line):
(org-agenda-log-mode):
(org-agenda-date-later):
(org-agenda-date-prompt):
(org-agenda-schedule):
(org-agenda-deadline):
(org-agenda-execute-calendar-command):
(org-agenda-goto-calendar):
(org-agenda-convert-date):
(org-agenda-bulk-action):
* lisp/org-mouse.el (org-mouse-agenda-context-menu): Remove reference
  to "timeline".

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Wed, 30 Aug 2017 06:12:29 +0000 (08:12 +0200)]
Merge branch 'maint'

3 weeks agoFix ODT priority styling
Nicolas Goaziou [Wed, 30 Aug 2017 06:04:25 +0000 (08:04 +0200)]
Fix ODT priority styling

* lisp/ox-odt.el (org-odt-format-headline-default-function): Fix style
  name for priority cookie.

Reported-by: Henry Todd <hjst@me.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00648.html>

3 weeks agoFix "Symbol’s function definition is void: org-clocking-buffer"
Nicolas Goaziou [Tue, 29 Aug 2017 22:10:45 +0000 (00:10 +0200)]
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>

3 weeks agoREADME_maintainer: Fix typo
Rasmus [Tue, 29 Aug 2017 08:35:10 +0000 (10:35 +0200)]
README_maintainer: Fix typo

3 weeks agoUpdate README_maintainer not to mention library-of-babel.org
Rasmus [Tue, 29 Aug 2017 07:57:59 +0000 (09:57 +0200)]
Update README_maintainer not to mention library-of-babel.org

* README_maintainer: No longer mention library-of-babel.org as it is
  now distributed via Worg.

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 28 Aug 2017 07:15:54 +0000 (09:15 +0200)]
Merge branch 'maint'

3 weeks agoFix deleting a region in a table (part 2)
Nicolas Goaziou [Mon, 28 Aug 2017 07:14:57 +0000 (09:14 +0200)]
Fix deleting a region in a table (part 2)

* lisp/org.el (org-delete-backward-char): Fix deleting a region in
  a table.

4 weeks agoImprove an example in manual
Nicolas Goaziou [Sun, 27 Aug 2017 14:44:42 +0000 (16:44 +0200)]
Improve an example in manual

* doc/org.texi (Batch execution): Improve example.

4 weeks agoMerge branch 'maint'
Kyle Meyer [Sun, 27 Aug 2017 14:09:26 +0000 (10:09 -0400)]
Merge branch 'maint'

4 weeks agoBackport commit 05f9ffd53 from Emacs
Paul Eggert [Sat, 26 Aug 2017 04:12:37 +0000 (21:12 -0700)]
Backport commit 05f9ffd53 from Emacs

* doc/org.texi (Batch execution): Simplify example script so that it
does not need expand-file-name and thus will not mishandle file names
with leading ~.

Improve expand-file-name doc
05f9ffd53c65699e8de6cca4817b1f2dc2f63a79
Paul Eggert
Fri Aug 25 21:14:06 2017 -0700

4 weeks agoTiny refactoring
Nicolas Goaziou [Sat, 26 Aug 2017 09:27:51 +0000 (11:27 +0200)]
Tiny refactoring

* lisp/ox.el (org-export-with-drawers): Tiny refactoring.

4 weeks agoRemove `inline-only' option for `org-export-use-babel'
Nicolas Goaziou [Sat, 26 Aug 2017 08:32:26 +0000 (10:32 +0200)]
Remove `inline-only' option for `org-export-use-babel'

* lisp/ob-exp.el (org-export-use-babel): Remove `inline-only' option.
(org-babel-exp-process-buffer): Ignore `inline-only' value.

* doc/org.texi (Exporting code blocks): Remove documentation.

* testing/lisp/test-ob-exp.el (ob-export/babel-evaluate): Remove tests.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 25 Aug 2017 22:12:46 +0000 (00:12 +0200)]
Merge branch 'maint'

4 weeks agoFix `org-copy-visible' release_9.0.10
Nicolas Goaziou [Fri, 25 Aug 2017 22:09:51 +0000 (00:09 +0200)]
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>

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 25 Aug 2017 20:00:38 +0000 (22:00 +0200)]
Merge branch 'maint'

4 weeks agoob-core: Fix going to a named block.
Nicolas Goaziou [Fri, 25 Aug 2017 19:59:28 +0000 (21:59 +0200)]
ob-core: Fix going to a named block.

* lisp/ob-core.el (org-babel-find-named-block): Add missing argument.

Reported-by: Eric S Fraga <ucecesf@ucl.ac.uk>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00576.html>

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 25 Aug 2017 19:51:56 +0000 (21:51 +0200)]
Merge branch 'maint'

4 weeks agoorg-capture: Fix "org-capture: Fix %^T and %^U placeholders"
Nicolas Goaziou [Fri, 25 Aug 2017 19:51:04 +0000 (21:51 +0200)]
org-capture: Fix "org-capture: Fix %^T and %^U placeholders"

* lisp/org-capture.el (org-capture-fill-template): Fix
  2ff3101c0e555627421162a759c4342f0b923a34.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 25 Aug 2017 13:25:02 +0000 (15:25 +0200)]
Merge branch 'maint'

4 weeks agoorg-lint: Fix wrong warning with inline footnotes
Nicolas Goaziou [Fri, 25 Aug 2017 13:24:07 +0000 (15:24 +0200)]
org-lint: Fix wrong warning with inline footnotes

* lisp/org-lint.el (org-lint-undefined-footnote-reference): Do not
  warn when definition is inline.

* testing/lisp/test-org-lint.el (test-org-lint/undefined-footnote-reference):
  Add tests.

Reported-by: Eric S Fraga <esflists@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00577.html>

4 weeks agoorg-table: Fix sorting with times > 100 hours
Nicolas Goaziou [Thu, 24 Aug 2017 22:04:28 +0000 (00:04 +0200)]
org-table: Fix sorting with times > 100 hours

* lisp/org-table.el (org-table-sort-lines): Fix regexp.  Also test
  durations.

* testing/lisp/test-org-table.el (test-org-table/sort-lines): Update
  tests.  Add a new one.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Wed, 23 Aug 2017 08:30:33 +0000 (10:30 +0200)]
Merge branch 'maint'

4 weeks agoorg-capture: Fix %^T and %^U placeholders
Nicolas Goaziou [Wed, 23 Aug 2017 08:28:39 +0000 (10:28 +0200)]
org-capture: Fix %^T and %^U placeholders

* lisp/org-capture.el (org-capture-fill-template): Fix %^T and %^U
  placeholders.

Reported-by: Ken Mankoff <mankoff@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00528.html>

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Tue, 22 Aug 2017 21:46:00 +0000 (23:46 +0200)]
Merge branch 'maint'

4 weeks agoox-md: Fix missing ':' in exported markdown image links
Jay Kamat [Tue, 22 Aug 2017 21:28:28 +0000 (17:28 -0400)]
ox-md: Fix missing ':' in exported markdown image links

* lisp/ox-md.el (org-md-link): Append ':' to the type of non-file
  image links.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 21 Aug 2017 19:27:06 +0000 (21:27 +0200)]
Merge branch 'maint'

4 weeks agoRevert "org-macro: Expand macros only within narrowed part of buffer"
Nicolas Goaziou [Mon, 21 Aug 2017 19:21:30 +0000 (21:21 +0200)]
Revert "org-macro: Expand macros only within narrowed part of buffer"

This reverts commit 82db669de6a4b7cd1f39bbf692a42c32a96ebb31.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 21 Aug 2017 09:31:29 +0000 (11:31 +0200)]
Merge branch 'maint'

4 weeks agoorg-src: Fix remote footnote edition
Nicolas Goaziou [Mon, 21 Aug 2017 09:27:41 +0000 (11:27 +0200)]
org-src: Fix remote footnote edition

* lisp/org-src.el (org-src--edit-element): Ensure read-only overlay in
  source buffer is properly removed upon exiting the remote editing
  buffer.

5 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sun, 20 Aug 2017 12:49:42 +0000 (14:49 +0200)]
Merge branch 'maint'

5 weeks agoREADME_contribute: Change "Org-mode" into "Org mode"
Nicolas Goaziou [Sun, 20 Aug 2017 12:49:10 +0000 (14:49 +0200)]
README_contribute: Change "Org-mode" into "Org mode"

5 weeks agoFix typo in README_contribute
Neil Jerram [Sun, 20 Aug 2017 12:26:19 +0000 (13:26 +0100)]
Fix typo in README_contribute

* README_contribute: Fix typo

TINYCHANGE

5 weeks agoInherit TIMEZONE and LOCATION properties in iCalendar export
Eric Abrahamsen [Sat, 19 Aug 2017 22:12:57 +0000 (00:12 +0200)]
Inherit TIMEZONE and LOCATION properties in iCalendar export

* lisp/ox-icalendar.el (org-icalendar-entry): Both properties now
optionally inherit, depending on value of
`org-use-property-inheritance'.
* doc/org.texi: Mention change.

5 weeks agoAdd per-entry timezone support for icalendar export
Eric Abrahamsen [Sat, 19 Aug 2017 22:11:18 +0000 (00:11 +0200)]
Add per-entry timezone support for icalendar export

* lisp/ox-icalendar.el (org-icalendar-entry): Look for a "TIMEZONE"
  property.
(org-icalendar--vevent, org-icalendar--vtodo): Accept additional
timezone argument.
(org-icalendar-convert-timestamp): Change parameter name to "tz", and
accept a wider variety of values.

* doc/org.texi: Mention in manual.

5 weeks agoRemove `org-enable-table-editor'
Nicolas Goaziou [Sat, 19 Aug 2017 21:39:22 +0000 (23:39 +0200)]
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.

5 weeks ago`org-enable-table-editor' does not affect syntax
Nicolas Goaziou [Sat, 19 Aug 2017 19:44:47 +0000 (21:44 +0200)]
`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'.

5 weeks agotest-org-agenda: Small refactoring
Nicolas Goaziou [Sat, 19 Aug 2017 17:42:20 +0000 (19:42 +0200)]
test-org-agenda: Small refactoring

* testing/lisp/test-org-agenda.el (org-test-agenda--agenda-buffers):
(org-test-agenda--kill-all-agendas): Use appropriate prefix.

(test-org-agenda/empty):
(test-org-agenda/one-line):
(test-org-agenda/scheduled-non-todo):
(test-org-agenda/sticky-agenda-name):
(test-org-agenda/sticky-agenda-name-after-reload): Find a human
readable name.

5 weeks agoFix failing test
Nicolas Goaziou [Sat, 19 Aug 2017 17:12:08 +0000 (19:12 +0200)]
Fix failing test

* testing/lisp/test-ob-lob.el (test-ob-lob/call-with-header-arguments):
  Fix failing test.

5 weeks agoFix some failing tests
Nicolas Goaziou [Sat, 19 Aug 2017 16:56:31 +0000 (18:56 +0200)]
Fix some failing tests

* testing/lisp/test-ob-exp.el (test-ob-exp/org-babel-exp-src-blocks/w-no-headers):
(test-ob-exp/org-babel-exp-src-blocks/w-no-file): Fix test.

These tests fail when "htmlize" is not available on the machine.

5 weeks agoorg-table: Fix table alignment
Nicolas Goaziou [Sat, 19 Aug 2017 10:13:26 +0000 (12:13 +0200)]
org-table: Fix table alignment

* lisp/org-table.el (org-table-align): Fix table alignment.

5 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sat, 19 Aug 2017 09:11:55 +0000 (11:11 +0200)]
Merge branch 'maint'

5 weeks agoDocument backslash escaping rule in capture templates
Nicolas Goaziou [Sat, 19 Aug 2017 09:10:55 +0000 (11:10 +0200)]
Document backslash escaping rule in capture templates

* doc/org.texi (Template expansion): Document backslash escaping rule
  in capture templates.

Reported-by: Peter Tomhas <peter.tomhas@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00429.html>

5 weeks agoFix org.texi compilation
Kaushal Modi [Fri, 18 Aug 2017 16:32:31 +0000 (12:32 -0400)]
Fix org.texi compilation

* doc/org.texi (Exporting agenda views): Add the missing closing brace
  for a footnote.

5 weeks agoDelete htmlize.el from Org’s contrib directory
Bastien [Fri, 18 Aug 2017 07:54:19 +0000 (09:54 +0200)]
Delete htmlize.el from Org’s contrib directory

* lisp/ox-org.el (org-org-publish-to-org):
* lisp/ox-html.el (org-html-htmlize-generate-css):
(org-html-fontify-code):
* lisp/org-agenda.el (org-agenda-write): Throw an error
requesting the user to install htmlize.el.

* doc/org.texi (Exporting agenda views, Literal examples):
Don’t assume htmlize.el is available.

You need to install it from https://github.com/hniksic/emacs-htmlize

See https://github.com/hniksic/emacs-htmlize/issues/7 for this issue.

5 weeks agoRemove ob-scala.el
Bastien [Fri, 18 Aug 2017 07:35:14 +0000 (09:35 +0200)]
Remove ob-scala.el

See https://github.com/ensime/emacs-scala-mode/issues/114#issuecomment-323281255

5 weeks agoMove the library-of-babel.org to Worg
Bastien [Fri, 18 Aug 2017 07:34:34 +0000 (09:34 +0200)]
Move the library-of-babel.org to Worg

5 weeks agoREADME_maintainer: tiny formatting clean up
Bastien [Fri, 18 Aug 2017 07:09:34 +0000 (09:09 +0200)]
README_maintainer: tiny formatting clean up

5 weeks agoMerge branch 'maint'
Nicolas Goaziou [Thu, 17 Aug 2017 16:17:39 +0000 (18:17 +0200)]
Merge branch 'maint'