org-mode.git
71 min agoorg-attach.el: Get attachments from git annex master
Erik Hetzner [Sat, 6 Feb 2016 12:16:52 +0000]
org-attach.el: Get attachments from git annex

* org-attach.el (org-attach-use-annex): New function to check if git
  annex should be used.
  (org-attach-annex-get-maybe): New function to get a file from git
  annex if necessary.
  (org-attach-annex-auto-get): New defcustom to determine behavior
  of org-attach-annex-get-maybe.
  (org-attach-open): Automatically get attached files from git annex when
  opening if necessary.
* testing/lisp/test-org-annex.el: New file for testing org-attach. Only
  contains code for testing org-attach with git annex at the moment.
* mk/targets.mk: Fix cleantest target so it can delete git annex repos.

4 hours agoox-latex.el: Fix minted inline
Alan Schmitt [Fri, 5 Feb 2016 14:55:54 +0000]
ox-latex.el: Fix minted inline

* lisp/ox-latex.el (org-latex-inline-src-block): Output minted code that
  correctly formats code inline.

14 hours agoFix (void-variable d) error
Nicolas Goaziou [Fri, 5 Feb 2016 23:19:02 +0000]
Fix (void-variable d) error

* lisp/org.el (org-check-before-date):
(org-check-after-date): Ensure D enters the lexical scope.

Reported-by: Eric S Fraga <e.fraga@ucl.ac.uk>
<http://permalink.gmane.org/gmane.emacs.orgmode/104842>

14 hours agoorg-colview: Fix length of columns
Nicolas Goaziou [Fri, 5 Feb 2016 23:04:35 +0000]
org-colview: Fix length of columns

* lisp/org-colview.el (org-columns-display-here): Do not add star to
  headlines at the display level...
(org-columns): ... but when collecting values, here...
(org-agenda-columns): ... and there.

Reported-by: Michael Brand <michael.ch.brand@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104846>

15 hours agoMerge branch 'maint'
Nicolas Goaziou [Fri, 5 Feb 2016 22:01:32 +0000]
Merge branch 'maint'

15 hours agoRemove `org-latex-fragment-image-overlays' maint
Nicolas Goaziou [Fri, 5 Feb 2016 21:47:14 +0000]
Remove `org-latex-fragment-image-overlays'

* lisp/org.el (org-latex-fragment-image-overlays): Remove variable.
(org--format-latex-make-overlay): Do not register anymore created
overlays in the removed variable.
(org--list-latex-overlays): New function.
(org-remove-latex-fragment-image-overlays): Use new function.
(org-context): Work around use of `org-latex-fragment-image-overlays'.

Reported-by: Dima Kogan <dima@secretsauce.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/104822>

19 hours agoMerge branch 'maint'
Nicolas Goaziou [Fri, 5 Feb 2016 17:39:49 +0000]
Merge branch 'maint'

19 hours agoSilence byte-compiler
Nicolas Goaziou [Fri, 5 Feb 2016 17:39:06 +0000]
Silence byte-compiler

* lisp/org.el (org--format-latex-make-overlay): Silence byte-compiler.

19 hours agoMerge branch 'maint'
Nicolas Goaziou [Fri, 5 Feb 2016 17:36:39 +0000]
Merge branch 'maint'

26 hours agoorg-colview: Fix column view in agenda
Marco Wahl [Fri, 5 Feb 2016 10:56:01 +0000]
org-colview: Fix column view in agenda

* org-colview(org-columns-display-here): Fix for lines without level by
  giving them artificially level 0.

Idea: Exclude lines without level from column-view.

38 hours agoRemove LaTeX overlay when text below is modified
Nicolas Goaziou [Thu, 4 Feb 2016 08:32:51 +0000]
Remove LaTeX overlay when text below is modified

* lisp/org.el (org--format-latex-make-overlay): New function.
(org-format-latex): Use new function.

Reported-by: Dima Kogan <dima@secretsauce.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/104800>

39 hours agoorg-colview: Add :indent parameter
Nicolas Goaziou [Thu, 4 Feb 2016 17:43:08 +0000]
org-colview: Add :indent parameter

* lisp/org-colview.el (org-dblock-write:columnview): Handle :indent
  parameter.
* doc/org.texi (Capturing column view): Document new feature.

39 hours agoSpecial property "ITEM" contains headline without stars
Nicolas Goaziou [Thu, 4 Feb 2016 12:50:44 +0000]
Special property "ITEM" contains headline without stars

* lisp/org.el (org-entry-properties): "ITEM" contains headline without
  stars.
* lisp/org-colview.el (org-columns-display-here): Apply changes.
* doc/org.texi (Special properties): Update documentation.
* testing/lisp/test-org.el (test-org/entry-properties): Update tests.

43 hours ago`org-file-apps' add migration hint
Michael Brand [Thu, 4 Feb 2016 17:41:30 +0000]
`org-file-apps' add migration hint

* lisp/org.el (org-file-apps): Add an error when still a sexp is in
use.

2 days agoorg-agenda: Fix org-agenda-filter-by-tag-refine
Kyle Meyer [Thu, 4 Feb 2016 04:39:24 +0000]
org-agenda: Fix org-agenda-filter-by-tag-refine

* lisp/org-agenda.el (org-agenda-filter-by-tag-refine): Remove command
  because this functionality is redundant with org-agenda-filter-by-tag
  as of 6c6ae99.

Reported-by: Viktor Rosenfeld <v.rosenfeld@gmx.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/104605>

2 days agoMerge branch 'maint'
Kyle Meyer [Thu, 4 Feb 2016 04:37:26 +0000]
Merge branch 'maint'

2 days agoorg-agenda: Fix org-agenda-filter-by-tag-refine
Kyle Meyer [Thu, 4 Feb 2016 04:34:26 +0000]
org-agenda: Fix org-agenda-filter-by-tag-refine

* lisp/org-agenda.el (org-agenda-filter-by-tag-refine): Refine rather
  than exlude tags, reverting change from 6c6ae99.  Mark as obsolete
  because this functionality is now redundant with
  org-agenda-filter-by-tag.

Reported-by: Viktor Rosenfeld <v.rosenfeld@gmx.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/104605>

2 days agoFix "it's" typos
Kyle Meyer [Thu, 4 Feb 2016 04:33:28 +0000]
Fix "it's" typos

* lisp/ob-C.el (org-babel-expand-body:cpp):
(org-babel-expand-body:C++):
(org-babel-expand-body:D):
(org-babel-expand-body:C):
(org-babel-C-expand-C++):
(org-babel-C-expand-C):
(org-babel-C-expand-D):
* lisp/ob-exp.el (org-babel-exp-src-block):
* lisp/ob-fortran.el (org-babel-expand-body:fortran):
* testing/org-test.el (org-test-buffer):
Correct "it's" typo in docstring.

* doc/org.texi:
Correct "it's" typos.

2 days ago`org-file-apps' accept functions instead of sexp
Nicolas Goaziou [Wed, 3 Feb 2016 17:30:17 +0000]
`org-file-apps' accept functions instead of sexp

* lisp/org.el (org-file-apps-defaults-macosx): Tiny re-ordering.
(org-file-apps-defaults-windowsnt): Default values provide functions
instead of sexp.
(org-file-apps): Use a function instead of a sexp.

See <http://permalink.gmane.org/gmane.emacs.orgmode/104272>.

3 days agoox-html: Fix org-html-table-row wrt lexical binding
Fabrice Popineau [Tue, 2 Feb 2016 23:10:24 +0000]
ox-html: Fix org-html-table-row wrt lexical binding

* lisp/ox-html.el (org-html-table-row-open-tag):
(org-html-table-row-close-tag): New variables.
(org-html-table-row-tags): Remove variable.

(org-html-table-row): Use new variables.

3 days agoFix `org-make-tags-matcher'
Nicolas Goaziou [Tue, 2 Feb 2016 21:57:56 +0000]
Fix `org-make-tags-matcher'

* lisp/org.el (org-make-tags-matcher): With no filter, match everything.

Reported-by: Michael Strey <mstrey@strey.biz>
<http://permalink.gmane.org/gmane.emacs.orgmode/104729>

3 days agoResurrect `org-switchb'
Nicolas Goaziou [Tue, 2 Feb 2016 21:33:09 +0000]
Resurrect `org-switchb'

* lisp/org.el (org-switchb): New function.

This was removed by mistake in commit
8eb0ef0b427142bbbe6073e3f8f02c7fccd7217e.

3 days agoORG-NEWS: Document removal of ido and iswitchb variables
Nicolas Goaziou [Tue, 2 Feb 2016 21:23:02 +0000]
ORG-NEWS: Document removal of ido and iswitchb variables

3 days agoClean up ido and iswitchb left-overs
Nicolas Goaziou [Tue, 2 Feb 2016 21:05:22 +0000]
Clean up ido and iswitchb left-overs

* lisp/org.el (org-completion-use-ido):
(org-completion-use-iswitchb):
(org-completion-fallback-command): Remove variables.
(org-refile):
(org-set-effort):
(org-read-property-value): Apply variables removal.

(org-iread-file-name): Make it an obsolete alias for `read-file-name'.
(org-file-complete-link): Use `read-file-name'.

(org-switchb): Remove unused function.

Completion mechanisms are expected to be handled at a lower level,
e.g. in `read-file-name-function'.

3 days agoob-R: Silence byte-compiler
Nicolas Goaziou [Tue, 2 Feb 2016 17:02:08 +0000]
ob-R: Silence byte-compiler

* lisp/ob-R.el (org-babel-expand-body:R): Silence byte-compiler.

3 days agoMerge branch 'maint'
Nicolas Goaziou [Tue, 2 Feb 2016 16:51:33 +0000]
Merge branch 'maint'

3 days agoorg-compat: Fix error on newest Emacsen (>= 25)
Nicolas Goaziou [Tue, 2 Feb 2016 16:49:23 +0000]
org-compat: Fix error on newest Emacsen (>= 25)

* lisp/org-compat.el (org-move-to-column): Ensure `remove' is called on
a list.

Reported-by: Julien Cubizolles <j.cubizolles@free.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/104703>

4 days agolisp/ob-R.el: Rename graphics-file arg of org-babel-expand-body:R.
Charles Berry [Tue, 2 Feb 2016 03:34:34 +0000]
lisp/ob-R.el: Rename graphics-file arg of org-babel-expand-body:R.

* lisp/ob-R.el: (org-babel-expand-body:R) The third arg is now
  `graphics-file' with no `&' prefix, so edebug can instrument it.

5 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 31 Jan 2016 23:19:37 +0000]
Merge branch 'maint'

5 days agoorg-element: Disable cache for orgstruct-mode
Nicolas Goaziou [Sun, 31 Jan 2016 23:17:39 +0000]
org-element: Disable cache for orgstruct-mode

* lisp/org-element.el (org-element--cache-active-p):
(org-element-cache-reset): Do not activate cache outside Org buffers,
even if using "orgstruct-mode".

Reported-by: "Mark A. Hershberger" <mah@nichework.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104648>

5 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 31 Jan 2016 23:02:08 +0000]
Merge branch 'maint'

5 days agoob-tangle: Fix :comment org behavior
Nicolas Goaziou [Sun, 31 Jan 2016 22:59:50 +0000]
ob-tangle: Fix :comment org behavior

* lisp/ob-tangle.el (org-babel-spec-to-string): Do not try to comment
  empty text.

Reported-by: Titus von der Malsburg <malsburg@posteo.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/104637>

5 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 31 Jan 2016 22:32:07 +0000]
Merge branch 'maint'

5 days agoox-latex: Fix numbering of source blocks
Nicolas Goaziou [Sun, 31 Jan 2016 22:30:49 +0000]
ox-latex: Fix numbering of source blocks

* lisp/ox-latex.el (org-latex-src-block): Fix numbering reset on source
  blocks when using the listings package.

Reported-by: P-O Gustafsson <kullager@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104650>

5 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 31 Jan 2016 22:23:13 +0000]
Merge branch 'maint'

5 days agoox-html: Properly encode links without a description
Nicolas Goaziou [Sun, 31 Jan 2016 22:21:34 +0000]
ox-html: Properly encode links without a description

* lisp/ox-html.el (org-html-link): Encode URI in default description
  when none is provided.

Reported-by: mail@fritzreichwald.de
<http://permalink.gmane.org/gmane.emacs.orgmode/104645>

5 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 31 Jan 2016 19:58:47 +0000]
Merge branch 'maint'

5 days agoob-core: Silence byte-compiler
Nicolas Goaziou [Sun, 31 Jan 2016 19:57:47 +0000]
ob-core: Silence byte-compiler

5 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 31 Jan 2016 19:47:06 +0000]
Merge branch 'maint'

5 days agoob-tangle: Fix `org-babel-tangle-jump-to-org'
Nicolas Goaziou [Sun, 31 Jan 2016 10:37:05 +0000]
ob-tangle: Fix `org-babel-tangle-jump-to-org'

* lisp/ob-tangle.el (org-babel-tangle-jump-to-org): Find correct
  location in the Org document.

* testing/lisp/test-ob-tangle.el (ob-tangle/jump-to-org): New test.

5 days agoob: Fix `org-babel-update-block-body'
Nicolas Goaziou [Sun, 31 Jan 2016 10:36:52 +0000]
ob: Fix `org-babel-update-block-body'

* lisp/ob-core.el (org-babel-update-block-body): Correctly handle block
  indentation.
(org-babel-where-is-src-block-head): Accept an optional argument in
order to avoid parsing twice the same element.

* testing/lisp/test-ob.el (org-test-ob/update-block-body): New test.

6 days agoorg-habit: Fix ++ repeaters handling
Nicolas Goaziou [Sat, 30 Jan 2016 23:06:29 +0000]
org-habit: Fix ++ repeaters handling

* lisp/org-habit.el (org-habit-build-graph): Fix algorithm handling "++"
  repeaters.

Reported-by: Yasushi SHOJI <yashi@atmark-techno.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104582>

6 days agoorg-table: Fix ranges in `orgtbl-ascii-draw'
Michael Brand [Sat, 30 Jan 2016 15:30:52 +0000]
org-table: Fix ranges in `orgtbl-ascii-draw'

* lisp/org-table.el (orgtbl-ascii-draw): Fix float to integer
  conversion.
* testing/lisp/test-org-table.el (test-org-table/orgtbl-ascii-draw):
  Adapt test.

6 days agoorg-table: Add test for `orgtbl-ascii-draw'
Michael Brand [Sat, 30 Jan 2016 15:29:14 +0000]
org-table: Add test for `orgtbl-ascii-draw'

* testing/lisp/test-org-table.el (test-org-table/orgtbl-ascii-draw):
  New test.

8 days agoMerge branch 'maint'
Kyle Meyer [Fri, 29 Jan 2016 05:28:48 +0000]
Merge branch 'maint'

8 days agoorg-src: Use font-lock-ensure to highlight blocks
Kyle Meyer [Fri, 29 Jan 2016 05:10:08 +0000]
org-src: Use font-lock-ensure to highlight blocks

* lisp/org-src.el (org-src-font-lock-fontify-block): Use
  org-font-lock-ensure instead of font-lock-fontify-buffer.

This replacement has previously been made (f36b19e, d81e6b5) and then reverted
(99f9999, 003a0f1) twice because source blocks were not being reliably
highlighted when font-lock-ensure was used instead of
font-lock-fontify-buffer.  This was due to a bug in font-lock-ensure
that has now been fixed (see Emacs's 21beb19 and bug#22399).

font-lock-ensure was introduced after Emacs 24.5, so this issue only
pertains to users with a developmental version of Emacs.

8 days agoorg-compat: Update font-lock-ensure alias
Kyle Meyer [Fri, 29 Jan 2016 05:07:33 +0000]
org-compat: Update font-lock-ensure alias

* lisp/org-compat.el (org-font-lock-ensure): Add new alias that accepts
  the same number of arguments as font-lock-ensure does.  Use an org-
  prefix.
* lisp/org-clock.el (org-clock-get-clocktable):
* lisp/org.el (org-fontify-like-in-org-mode):
* lisp/ox-html.el (org-html-fontify-code):
* lisp/ox-odt.el (org-odt-do-format-code):
* lisp/ox-org.el (org-org-publish-to-org): Use org-font-lock-ensure.

See Emacs's bug#22399.

8 days agoMerge branch 'maint'
Nicolas Goaziou [Thu, 28 Jan 2016 23:53:58 +0000]
Merge branch 'maint'

8 days agoorg-macro: Fix expansion in narrowed buffers
Nicolas Goaziou [Thu, 28 Jan 2016 23:52:49 +0000]
org-macro: Fix expansion in narrowed buffers

* lisp/org-macro.el (org-macro-replace-all): Expand macro even outside
  narrowed part of the buffer.

* testing/lisp/test-org-macro.el (test-org/macro-replace-all): Add test.

Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104562>

9 days agoImprove compilation checks for some back-ends
Nicolas Goaziou [Thu, 28 Jan 2016 09:02:04 +0000]
Improve compilation checks for some back-ends

* contrib/lisp/ox-groff.el (org-groff-compile):
* lisp/ox-man.el (org-man-compile):
* lisp/ox-texinfo.el (org-texinfo-compile): Check more carefully if
  output file was produced.

10 days agoMerge branch 'maint'
Nicolas Goaziou [Tue, 26 Jan 2016 23:33:15 +0000]
Merge branch 'maint'

10 days agoorg-table: Fix table formulas editing
Nicolas Goaziou [Tue, 26 Jan 2016 23:28:56 +0000]
org-table: Fix table formulas editing

* lisp/org-table.el (org-table-show-reference): Do not move point
  outside the table when editing formulas.  Fix docstring.

Reported-by: Samuel Wales <samologist@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104472>

10 days agoox-latex: Use `cl-subseq' instead of `org-sublist'
Nicolas Goaziou [Tue, 26 Jan 2016 22:05:04 +0000]
ox-latex: Use `cl-subseq' instead of `org-sublist'

* lisp/ox-latex.el (org-latex-compile): Use `cl-subseq' instead of
  `org-sublist'.

10 days agoMerge branch 'maint'
Nicolas Goaziou [Tue, 26 Jan 2016 22:03:11 +0000]
Merge branch 'maint'

10 days agoox-latex: PDF generation timestamp check
Anthony Cowley [Thu, 14 Jan 2016 23:13:45 +0000]
ox-latex: PDF generation timestamp check

* lisp/ox-latex.el (org-latex-compile): Improve timestamp check on HFS+
  filesystem by only considering 1-second clock resolution.

Previously, the call to (current-time) could return a timestamp with
a non-zero microsecond or picosecond fields, while the file attribute
always has zeros for these fields.  The check that the generated file is
newer than the reference timestamp only succeeded when the time to
generate the file crossed a 1-second clock interval.

TINYCHANGE

10 days agoorg-element: Do not remove TAB characters from parsed text
Nicolas Goaziou [Tue, 26 Jan 2016 21:53:55 +0000]
org-element: Do not remove TAB characters from parsed text

* lisp/org-element.el (org-element--parse-objects): Do not remove TAB
  characters from plain text.
(org-element-normalize-contents): Handle TAB characters in indentation.

* testing/lisp/test-org-element.el (test-org-element/normalize-contents):
Update test.

10 days agoorg-element: Small speed-up
Nicolas Goaziou [Thu, 21 Jan 2016 17:43:20 +0000]
org-element: Small speed-up

* lisp/org-element.el (org-element--parse-objects): Add an optional
  argument to avoid walking a secondary string twice.  Make less
  consing.
(org-element--parse-elements): Make less consing.
(org-element-headline-parser):
(org-element-inlinetask-parser):
(org-element-item-parser):
(org-element-parse-secondary-string): Apply changes.

10 days agoorg-element: Fix `org-element-set-contents'
Nicolas Goaziou [Thu, 21 Jan 2016 17:42:24 +0000]
org-element: Fix `org-element-set-contents'

* lisp/org-element.el (org-element-set-contents): Fix return value when
  element is empty. Also make sure to always return the element.

11 days agoMerge branch 'maint'
Kyle Meyer [Tue, 26 Jan 2016 06:17:43 +0000]
Merge branch 'maint'

11 days agoob-core: Fix comment typo from Emacs's 1203e8a
Kyle Meyer [Tue, 26 Jan 2016 06:13:51 +0000]
ob-core: Fix comment typo from Emacs's 1203e8a

11 days agoBackport commit 1203e8a from Emacs
Stefan Monnier [Mon, 25 Jan 2016 15:11:31 +0000]
Backport commit 1203e8a from Emacs

* lisp/ob-core.el (org-babel-check-confirm-evaluate)
(org-babel-map-src-blocks): Don't emit warnings if added vars are not used.
(*this*): Declare as dyn-bound.
(org-babel-expand-src-block, org-babel-load-in-session)
(org-babel-switch-to-session-with-code, org-babel-get-rownames):
Mark unused args.
(org-babel-combine-header-arg-lists): Remove unused var `args'.

* lisp/org-src.el (org-inhibit-startup):
Declare as dyn-bound.

lisp/org: Fix some compiler warnings
1203e8aecb7f49621af52cc13bc0e4427545dd4f
Stefan Monnier
Mon Jan 25 10:11:31 2016 -0500

11 days agoFix logic when activating plain links
Rafael Laboissiere [Mon, 25 Jan 2016 16:09:23 +0000]
Fix logic when activating plain links

* lisp/org.el: Activate plain link when point is outside a tag, instead
  of the other way around.

TINYCHANGE

11 days agoMerge branch 'master' of orgmode.org:org-mode
David Arroyo Menéndez [Mon, 25 Jan 2016 14:36:22 +0000]
Merge branch 'master' of orgmode.org:org-mode

11 days agoorg-effectiveness.el: Add org-effectiveness-plot-ascii-dones, fix org-effectiveness...
David Arroyo Menéndez [Mon, 25 Jan 2016 14:24:25 +0000]
org-effectiveness.el: Add org-effectiveness-plot-ascii-dones, fix org-effectiveness-advice and fix org-effectiveness-dones-in-date.

12 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 25 Jan 2016 12:58:28 +0000]
Merge branch 'maint'

12 days agoTiny refactoring
Nicolas Goaziou [Mon, 25 Jan 2016 12:58:05 +0000]
Tiny refactoring

* lisp/org.el (org-activate-plain-links): Tiny refactoring.

12 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 25 Jan 2016 12:57:25 +0000]
Merge branch 'maint'

12 days agoFix (wrong-type-argument listp org-link) error
Nicolas Goaziou [Mon, 25 Jan 2016 12:54:47 +0000]
Fix (wrong-type-argument listp org-link) error

* lisp/org.el (org-activate-plain-links): `face' property doesn't not
  necessarily is a list.

Reported-by: gongzhitaao <zhitaao.gong@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104444>

12 days agoorg-effectiveness.el: Add save-excursion to org-effectiveness-dones-in-date, org...
David Arroyo Menéndez [Mon, 25 Jan 2016 11:07:16 +0000]
org-effectiveness.el: Add save-excursion to org-effectiveness-dones-in-date, org-effectiveness-canceled-in-date, org-effectiveness-todos-in-date

            * contrib/lisp/org-effectiveness.el (org-effectiveness-dones-in-date, org-effectiveness-canceled-in-date, org-effectiveness-todos-in-date): Add save-excursion

12 days agoorg-feed: Fix 034c176 merge resolution
Kyle Meyer [Sun, 24 Jan 2016 23:23:42 +0000]
org-feed: Fix 034c176 merge resolution

Restore unrelated change from 528a274 (org-feed: Silence byte-compiler,
2016-01-07).

12 days agoMerge branch 'maint'
Kyle Meyer [Sun, 24 Jan 2016 21:41:20 +0000]
Merge branch 'maint'

12 days agoorg-crypt: Fix comment typo from Emacs's fbce475
Kyle Meyer [Sun, 24 Jan 2016 21:21:53 +0000]
org-crypt: Fix comment typo from Emacs's fbce475

12 days agoBackport commit fbce475 from Emacs
Alan Mackenzie [Sun, 24 Jan 2016 20:30:39 +0000]
Backport commit fbce475 from Emacs

Expunge "allow" + infinitive without direct object from source and doc.
fbce4757a874cc43806eb41b8637538b101c3c69
Alan Mackenzie
Sun Jan 24 20:30:39 2016 +0000

12 days agotesting/lisp/test-ob-R.el: Initialize ESS vars for :session tests
Charles Berry [Sun, 24 Jan 2016 18:04:43 +0000]
testing/lisp/test-ob-R.el: Initialize ESS vars for :session tests

* test-ob-R.el: (test-ob-R/simple-session, test-ob-R/results-file)
  tests start sessions.  As a consequence `ess-ask-for-ess-directory'
  and `ess-history-file' are let bound to `nil' to avoid prompting for
  the startup directory and using a history file.

Bug Reported by: Achim Gratz
Subject: [Bug] Testing: ESS (*R*, R (newest)) starting data directory?
Archived-At: <http://permalink.gmane.org/gmane.emacs.orgmode/104424>

12 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 24 Jan 2016 17:23:58 +0000]
Merge branch 'maint'

12 days agoFix plain links fontification in a narrowed buffer
Nicolas Goaziou [Sun, 24 Jan 2016 17:22:00 +0000]
Fix plain links fontification in a narrowed buffer

* lisp/org.el (org-activate-plain-links): Fix fontification when buffer
  is narrowed and (point-min) is no longer 1.

12 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 24 Jan 2016 17:09:22 +0000]
Merge branch 'maint'

12 days agoFix `org-format-latex' with $$...$$ snippets
Nicolas Goaziou [Sun, 24 Jan 2016 17:08:23 +0000]
Fix `org-format-latex' with $$...$$ snippets

* lisp/org.el (org-format-latex): Transform $$...$$ into \[...\] before
  processing with mathjax.

13 days agoMerge branch 'maint'
Achim Gratz [Sun, 24 Jan 2016 11:09:34 +0000]
Merge branch 'maint'

13 days agolisp/org.el: correct filemode, changed in b3fbd31f17
Achim Gratz [Sun, 24 Jan 2016 11:09:03 +0000]
lisp/org.el: correct filemode, changed in b3fbd31f17

13 days agoMerge branch 'maint'
Achim Gratz [Sun, 24 Jan 2016 10:25:30 +0000]
Merge branch 'maint'

2 weeks agoFix fontification of plain links at beginning of buffer
Rafael Laboissiere [Fri, 22 Jan 2016 23:16:56 +0000]
Fix fontification of plain links at beginning of buffer

* lisp/org.el (org-activate-plain-links): Ensure that a valid buffer
  position is given as first argument to get-text-property, in
  particular when the plain link is at the very beginning of the buffer.

TINYCHANGE

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 22 Jan 2016 21:59:29 +0000]
Merge branch 'maint'

2 weeks agoox-icalendar: Fix timezone export bug
Richard Lawrence [Fri, 22 Jan 2016 01:28:58 +0000]
ox-icalendar: Fix timezone export bug

* ox-icalendar.el (org-icalendar-export-current-agenda): Correct
  argument order in call to org-icalendar--vcalendar (timezone should be
  third, description fourth).

TINYCHANGE

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Thu, 21 Jan 2016 09:42:58 +0000]
Merge branch 'maint'

2 weeks agoUse `org-back-to-heading' instead of `outline-back-to-heading'
Nicolas Goaziou [Thu, 21 Jan 2016 09:42:03 +0000]
Use `org-back-to-heading' instead of `outline-back-to-heading'

* lisp/org-agenda.el (org-search-view):
* lisp/org-clock.el (org-with-clock):
(org-clock-jump-to-current-clock):
* lisp/org.el (org-entry-beginning-position): Use `org-back-to-heading'
  instead of `outline-back-to-heading'.

Reported-by: Derek Feichtinger <dfeich@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104375>

2 weeks agoFix lexical variable warning
Kyle Meyer [Thu, 21 Jan 2016 05:50:32 +0000]
Fix lexical variable warning

* lisp/org.el (org-fast-tag-selection): Don't use add-to-list with
  lexical variable.

Reported-by: Vicente Vera <vicentemvp@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104363>

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Wed, 20 Jan 2016 23:54:37 +0000]
Merge branch 'maint'

2 weeks agoorg-colview: Fix column view editing
Nicolas Goaziou [Wed, 20 Jan 2016 23:51:13 +0000]
org-colview: Fix column view editing

* lisp/org-colview.el (org-columns-next-allowed-value): Fix error when
  trying to edit a column from a headline starting at the very beginning
  of the buffer.

This patch also prepares for lexical binding.

Reported-by: "T.F. Torrey" <tftorrey@tftorrey.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104370>

2 weeks agoob-R.el: Trim extraneous newline from results
Charles Berry [Wed, 20 Jan 2016 03:32:11 +0000]
ob-R.el: Trim extraneous newline from results

* lisp/ob-R.el: org-babel-R-evaluate-external-process and
  org-babel-R-evaluate-session trim the extraneous newlines from the
  end of R output.

* testing/lisp/test-ob-R.el: test-ob-R/results-file tests that
  `:results file' yields one line enclosed in square brackets for a
  result like "abc/def.ghi".

Fixes issue noted by Andreas Leha
Subject: [babel] return file from R
Archived-At: <http://permalink.gmane.org/gmane.emacs.orgmode/103658>

2 weeks agoRemove unused code related to isearch
Nicolas Goaziou [Mon, 18 Jan 2016 22:13:11 +0000]
Remove unused code related to isearch

* lisp/org.el (org-mode): Remove compatibility cruft.
(org-isearch-end, org-isearch-post-command): Remove functions.

2 weeks agoORG-NEWS: signal new option for org-latex-custom-lang-environments
Alan Schmitt [Mon, 18 Jan 2016 14:38:20 +0000]
ORG-NEWS: signal new option for org-latex-custom-lang-environments

2 weeks ago org-effectiveness.el: Add org-effectiveness-ntasks-in-date and org-effectiveness...
David Arroyo Menéndez [Mon, 18 Jan 2016 09:21:02 +0000]
org-effectiveness.el: Add org-effectiveness-ntasks-in-date and org-effectiveness-plot-ascii-ntasks

        * contrib/lisp/org-effectiveness.el (org-effectiveness-ntasks-in-date, org-effectiveness-plot-ascii-ntasks): Add functions.

2 weeks ago org-effectiveness.el: Add org-effectiveness-count-task
David Arroyo Menéndez [Mon, 18 Jan 2016 08:45:21 +0000]
org-effectiveness.el: Add org-effectiveness-count-task

    * contrib/lisp/org-effectiveness.el (org-effectiveness-count-task): Add function.

2 weeks agoFix last commit
Nicolas Goaziou [Sun, 17 Jan 2016 23:58:34 +0000]
Fix last commit

* lisp/org.el (org-do-latex-and-related): Extract face from the correct
  location.

2 weeks agoFix fontification of properties with an underscore
Nicolas Goaziou [Sun, 17 Jan 2016 22:49:28 +0000]
Fix fontification of properties with an underscore

* lisp/org.el (org-do-latex-and-related): Prevent properties with an
  underscore from being fontified like a subscript.

2 weeks agoIgnore repeaters in protected areas
Nicolas Goaziou [Sun, 17 Jan 2016 21:21:15 +0000]
Ignore repeaters in protected areas

* lisp/org.el (org-auto-repeat-maybe): Only consider repeaters in
  regular text, not within, e.g., example blocks.

Reported-by: Karl Voit <devnull@Karl-Voit.at>
<http://permalink.gmane.org/gmane.emacs.orgmode/104260>

2 weeks ago`org-font-lock-extra-keywords' is dynamically scoped
Nicolas Goaziou [Sun, 17 Jan 2016 20:59:23 +0000]
`org-font-lock-extra-keywords' is dynamically scoped

Reported-by: mc <mc@aiguphonie.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104265>

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sat, 16 Jan 2016 14:59:05 +0000]
Merge branch 'maint'

2 weeks agoFix memory leak in `org-agenda-prepare-buffers'
Nicolas Goaziou [Sat, 16 Jan 2016 14:56:03 +0000]
Fix memory leak in `org-agenda-prepare-buffers'

* lisp/org.el (org-agenda-prepare-buffers): Do not use
  `org-uniquify-alist' since it uses `eq' for comparison, whereas where
  are using strings as keys.

Reported-by: Vincent Emanuele <vincent.emanuele@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104196>