org-mode.git
3 months agoox-koma-letter.el (koma-letter): Use `org-koma-letter-from-address' release_8.2.7a
IOhannes m zmoelnig [Wed, 18 Jun 2014 22:47:42 +0000]
ox-koma-letter.el (koma-letter): Use `org-koma-letter-from-address'

* ox-koma-letter.el (koma-letter): Use
`org-koma-letter-from-address'.

TINYCHANGE

3 months agoorg-agenda.el (org-agenda-filter-apply): Fix setting of `org-agenda-filtered-by-category'
Bastien Guerry [Mon, 16 Jun 2014 09:41:14 +0000]
org-agenda.el (org-agenda-filter-apply): Fix setting of `org-agenda-filtered-by-category'

* org-agenda.el (org-agenda-filter-apply): Fix setting of
`org-agenda-filtered-by-category'.

3 months agoorg.el (org-fontify-meta-lines-and-blocks-1): Fix handling of `org-hidden-keywords'
Bastien Guerry [Sun, 15 Jun 2014 08:49:01 +0000]
org.el (org-fontify-meta-lines-and-blocks-1): Fix handling of `org-hidden-keywords'

* org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
of `org-hidden-keywords'.

Thanks to Leu Zhe for reporting this.

3 months agoorg-agenda.el (org-cmp-ts): Fix agenda entry type checking
Bastien Guerry [Sun, 15 Jun 2014 08:43:17 +0000]
org-agenda.el (org-cmp-ts): Fix agenda entry type checking

* org-agenda.el (org-cmp-ts): Fix agenda entry type checking.

Thanks to Trevor Murphy for reporting this.

3 months agoorg-agenda.el (org-entries-lessp): Fix inactive timestamp comparison
Bastien Guerry [Sun, 15 Jun 2014 08:36:59 +0000]
org-agenda.el (org-entries-lessp): Fix inactive timestamp comparison

* org-agenda.el (org-entries-lessp): Fix inactive timestamp
comparison.

3 months agoorg-macs: Remove restriction when locating markers
Bernt Hansen [Sun, 15 Jun 2014 02:50:07 +0000]
org-macs: Remove restriction when locating markers

* org-macs.el: Remove restriction when locating markers

Allows org-with-point-at to locate point outside the current
restriction.

3 months agofix semi-backend bug in org-mime release_8.2.7
Eric Schulte [Thu, 12 Jun 2014 18:40:32 +0000]
fix semi-backend bug in org-mime

* contrib/lisp/org-mime.el (org-mime-multipart): Fix bug in use of the
  semi org-mime-library when converting emails to HTML.

3 months agoFix 30220ff
Bastien Guerry [Thu, 12 Jun 2014 13:25:42 +0000]
Fix 30220ff

3 months agoorg-agenda.el: Fix bug when redoing sticky agendas with log mode and/or clockreport...
Bastien Guerry [Thu, 12 Jun 2014 13:07:35 +0000]
org-agenda.el: Fix bug when redoing sticky agendas with log mode and/or clockreport mode on

* org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
when agenda are sticky.
(org-agenda-tag-filter-while-redo): Delete.
(org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
Remove unused code.
(org-agenda-clockreport-mode, org-agenda-set-mode-name): Don't
consider tag filters.

Thanks to Bernt Hansen for reporting this.

3 months agoPrefer `set-window-start' over `recenter' in some places.
Bastien Guerry [Thu, 12 Jun 2014 10:04:24 +0000]
Prefer `set-window-start' over `recenter' in some places.

* org-agenda.el (org-agenda-show-1):
* org-table.el (org-table-show-reference):
* org.el (org-fix-ellipsis-at-bol)
(org-first-headline-recenter): Use `set-window-start' instead
of `recenter'.

* org-agenda.el (org-recenter-heading): Delete.

3 months agoorg.el (org-insert-heading): Be more consistent in respecting content
Bastien Guerry [Wed, 11 Jun 2014 15:45:13 +0000]
org.el (org-insert-heading): Be more consistent in respecting content

* org.el (org-insert-heading): With one universal prefix
argument or `org-insert-heading-respect-content' set to `t',
always respect the content, i.e. don't insert a list item and
don't convert normal lines into headings.  Update docstring.
(org-insert-heading-respect-content): Remove unused arg.
(org-insert-todo-heading-respect-content): Don't use
`org-insert-todo-heading-respect-content', use the second
argument of `org-insert-todo-heading' instead.

* org-mobile.el (org-mobile-edit): Use only one arg.

Thanks to Bernt Hansen for reporting this.

3 months agoorg.el (org-overview): Don't call `recenter'
Bastien Guerry [Thu, 15 May 2014 09:11:43 +0000]
org.el (org-overview): Don't call `recenter'

* org.el (org-overview): Don't call `recenter'.

Thanks to Nicolas Richard for suggesting this.

3 months agoFix `org-insert-heading' before first headline
Nicolas Goaziou [Mon, 9 Jun 2014 16:07:07 +0000]
Fix `org-insert-heading' before first headline

* lisp/org.el (org-insert-heading): Fix error when inserting
  a headline before first headline, with point not at bol.  Remove
  source block check for consistency with behavior after first
  headline.  Tiny fix to docstring.

* testing/lisp/test-org.el (test-org/meta-return): Remove unnecessary
  test (not testing specifications).
(test-org/insert-heading): New test.

3 months agoFix typo
Nicolas Goaziou [Tue, 3 Jun 2014 21:28:08 +0000]
Fix typo

* lisp/org.el (org-scan-tags): Fix typo in docstring.

3 months agoox: Fix priority bug in :title property
Nicolas Goaziou [Tue, 3 Jun 2014 20:07:35 +0000]
ox: Fix priority bug in :title property

* lisp/ox.el (org-export--get-inbuffer-options): Return the empty
  string instead of nil when TITLE keywords has no value.
(org-export--get-buffer-attributes): Do not set :title property
early.
(org-export--get-global-options): Do not ignore anymore nil values.
Small refactoring.
(org-export-as): Correctly set :title here.

Thanks to Nicolas Richard for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/87149

3 months agomk/server.mk: add testing/ directory to distribution tarball
Achim Gratz [Mon, 2 Jun 2014 17:33:27 +0000]
mk/server.mk: add testing/ directory to distribution tarball

* mk/server.mk (ORGFULL): Add testing/ directory to distribution
  tarball.

3 months agoMakefile: remove empty line in help output
Achim Gratz [Mon, 2 Jun 2014 17:32:26 +0000]
Makefile: remove empty line in help output

* Makefile (help helpall): Remove empty line in help output.

3 months agoorg-agenda.el (org-agenda-custom-commands-local-options): Fix misquoted values
Bastien Guerry [Mon, 2 Jun 2014 17:59:36 +0000]
org-agenda.el (org-agenda-custom-commands-local-options): Fix misquoted values

* org-agenda.el (org-agenda-custom-commands-local-options):
Fix misquoted values.

Thanks to Thomas Morgan for reporting this.

3 months agoorg.el: Fix setting and deleting properties with a null value
Bastien Guerry [Mon, 2 Jun 2014 13:40:04 +0000]
org.el: Fix setting and deleting properties with a null value

* org.el (org-property-re): Also match null properties by
default.
(org-entry-delete): Also delete null properties.
(org-read-property-value): Allow the empty string as a new
value.
(org-delete-property): Throw a message when there is not
property to delete.

Thanks to Andrea Rossetti for reporting this.

4 months agoorg.texi: Add f-1 to TBLFM example about nan
Michael Brand [Sun, 1 Jun 2014 13:27:07 +0000]
org.texi: Add f-1 to TBLFM example about nan

* doc/org.texi (Formula syntax for Calc): Add `f-1' to TBLFM example
about `nan'.

4 months agoReverting "org-footnote: forward declare functions"
Achim Gratz [Sun, 1 Jun 2014 12:28:13 +0000]
Reverting "org-footnote: forward declare functions"
Revert "org-footnote: forward declare functions"

This reverts commit 814188ac7e25c500433c13d8696af47d62f0de23.

Accidentally applied to the wrong branch.

4 months agoorg-footnote: forward declare functions
Achim Gratz [Sun, 1 Jun 2014 12:19:25 +0000]
org-footnote: forward declare functions

* lisp/org-footnote.el: Forward declare `org-element-context',
  `org-element-property' and `org-element-type'.

Introduced with 51e1131ff8.

4 months agoorg-list: Fix typo in docstring
Nicolas Goaziou [Sun, 1 Jun 2014 12:20:12 +0000]
org-list: Fix typo in docstring

* lisp/org-list.el (org-list-repair): Fix typo in docstring.

4 months agoDocumentation fix
Nicolas Goaziou [Sun, 1 Jun 2014 06:52:16 +0000]
Documentation fix

* doc/org.texi (Include files):
* doc/orgguide.texi (Include files): Remove reference to non-existent
  "quote" markup.

4 months agoorg-agenda.el (org-agenda-insert-diary-make-new-entry): Fix docstring
Bastien Guerry [Fri, 30 May 2014 11:58:50 +0000]
org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix docstring

* org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix
docstring.

Thanks to Nikolai Weibull for reporting this.

4 months agoorg.el: Fix bug when setting properties with a null value
Bastien Guerry [Fri, 30 May 2014 06:46:39 +0000]
org.el: Fix bug when setting properties with a null value

* org.el (org-re-property): New parameter `allow-null' to
match property with a null value.
(org-entry-put): Correctly update a property with a null
value.

Thanks to Andrea Rossetti for reporting this and suggesting a fix.

4 months agoox-md.el (org-md-headline): Add anchors when exporting with a table of contents
Bastien Guerry [Thu, 29 May 2014 19:20:55 +0000]
ox-md.el (org-md-headline): Add anchors when exporting with a table of contents

* ox-md.el (org-md-headline): When exporting with a HTML table
of contents, add HTML anchors to Markdown headlines.

Thanks to Marko Dimjašević for reporting this.

4 months agoorg.el (org-insert-heading): Don't insert an item when called with two universal...
Bastien Guerry [Thu, 29 May 2014 17:48:47 +0000]
org.el (org-insert-heading): Don't insert an item when called with two universal prefix arguments

* org.el (org-insert-heading): Don't insert an item when
called with two universal prefix arguments.

4 months agoorg-agenda.el (org-agenda-finalize): Remove duplicate check for 'org-hd-marker
Bastien Guerry [Thu, 29 May 2014 07:57:19 +0000]
org-agenda.el (org-agenda-finalize): Remove duplicate check for 'org-hd-marker

* org-agenda.el (org-agenda-finalize): Remove duplicate check
for 'org-hd-marker.

4 months agoorg.texi: Small documentation fix
Nicolas Goaziou [Wed, 28 May 2014 13:35:17 +0000]
org.texi: Small documentation fix

* doc/org.texi (Publishing options): Remove reference to inexistent
  variable.  The associated property is misplaced, too.

4 months agoorg: add forward declarations
Achim Gratz [Wed, 28 May 2014 13:17:29 +0000]
org: add forward declarations

* lisp/org.el: Add forward declarations for a number of functions that
  the compiler otherwise warns about as potentially undefined at
  runtime.

4 months agoob-core, ob-exp, ob-haskell, ob-python: declarations for org-src-preserve-indentations
Achim Gratz [Wed, 28 May 2014 12:52:14 +0000]
ob-core, ob-exp, ob-haskell, ob-python: declarations for org-src-preserve-indentations

* lisp/ob-core.el: Add comment to forward declaration of
  'org-src-preserve-indentations'.
* lisp/ob-exp.el: Require org-src to import
  'org-src-preserve-indentations'.
* lisp/ob-haskell.el, lisp/ob-python.el: Remove superfluous forward
  declaration of 'org-src-preserve-indentations', since it gets
  imported by other requires.

4 months agoob-core:forward declare org-every
Achim Gratz [Wed, 28 May 2014 12:47:23 +0000]
ob-core:forward declare org-every

* lisp/ob-core.el (org-every): Forward declare 'org-every'.

4 months agoob-C: lexical-let requires cl at compilation time
Achim Gratz [Wed, 28 May 2014 12:40:52 +0000]
ob-C: lexical-let requires cl at compilation time

* lisp/ob-C.el: Require cl during compilation so that lexical-let is
  known.

4 months agoorg-entities: forward declaration of org-toggle-pretty-entities and org-pretty-entities
Achim Gratz [Wed, 28 May 2014 12:16:21 +0000]
org-entities: forward declaration of org-toggle-pretty-entities and org-pretty-entities

* lisp/org-entities.el: Remove superfluous require of org-macs.
  Forward declare 'org-toggle-pretty-entities' and
  'org-pretty-entities'.

4 months agoorg, ox: move defsubst before first use
Achim Gratz [Wed, 28 May 2014 11:18:05 +0000]
org, ox: move defsubst before first use

* lisp/ox.el (org-export-get-parent): Move definition of
  'org-export-get-parent' before first use.  Leave comment at original
  place of definition.

* lisp/org.el (org-uniquify): Move definition of 'org-uniquify' before
  first use.  Leave comment at original place of definition.

4 months agoorg-agenda.el: Fix bug wrt `org-agenda-persistent-filter'
Bastien Guerry [Mon, 26 May 2014 13:29:02 +0000]
org-agenda.el: Fix bug wrt `org-agenda-persistent-filter'

* org-agenda.el (org-agenda-prepare-window): New parameter
`filter-alist' to set the filters correctly when
`org-agenda-persistent-filter' is on.
(org-agenda-prepare): Use the new parameter for
`org-agenda-prepare-window'.

Thanks to Thomas Morgan for reporting this.

4 months agoFix bug when update timestamps on filtered agenda entries
Bastien Guerry [Mon, 26 May 2014 12:55:50 +0000]
Fix bug when update timestamps on filtered agenda entries

* org-compat.el (org-in-invisibility-spec-p): Tiny code
cleanup.
(org-move-to-column): Only remove '(org-filtered) from
`buffer-invisibility-spec'.

* org-agenda.el (org-agenda-mode): Add buffer invisibility
specs.
(org-agenda-filter-hide-line, org-agenda-remove-filter): Set
the 'invisible text property to 'org-filtered.
(org-agenda-show-new-time): Add the default face to avoid the
foreground of the last character on the line to leak into the
timestamp notification.

Thanks to Thomas Morgan for reporting this.

4 months agoorg-agenda.el (org-get-time-of-day): Don't return time string from within links
Bastien Guerry [Mon, 26 May 2014 05:35:24 +0000]
org-agenda.el (org-get-time-of-day): Don't return time string from within links

* org-agenda.el (org-get-time-of-day): Don't return time
string from within links.

Thanks to Thomas Morgan for reporting this.

4 months agoox-ascii: Tiny fix
Nicolas Goaziou [Sat, 24 May 2014 13:44:08 +0000]
ox-ascii: Tiny fix

* lisp/ox-ascii.el (org-ascii--current-text-width): Tiny fix.

4 months agoorg-timer.el (org-timer-value-string): Always return a positive value
Bastien Guerry [Sat, 24 May 2014 12:12:56 +0000]
org-timer.el (org-timer-value-string): Always return a positive value

* org-timer.el (org-timer-value-string): Always return a
positive value.  Add docstring.

4 months agoorg-capture.el (org-capture-fill-template): Set `mark-active' to nil
Alex Kosorukoff [Fri, 23 May 2014 19:50:24 +0000]
org-capture.el (org-capture-fill-template): Set `mark-active' to nil

* org-capture.el (org-capture-fill-template): Set
`mark-active' to nil.

TINYCHANGE

4 months agoRevert "org-capture.el (org-capture-steal-local-variables): Don't steal `mark-active'"
Bastien Guerry [Fri, 23 May 2014 19:49:19 +0000]
Revert "org-capture.el (org-capture-steal-local-variables): Don't steal `mark-active'"

This reverts commit ee5a88cd01cccc7b12422aebe6269bfeb444d387.

4 months agoorg-capture.el (org-capture-steal-local-variables): Don't steal `mark-active'
Bastien Guerry [Fri, 23 May 2014 12:01:39 +0000]
org-capture.el (org-capture-steal-local-variables): Don't steal `mark-active'

* org-capture.el (org-capture-steal-local-variables): Don't
steal `mark-active', which should be nil in the target buffer.

Thanks to Alex Kosorukoff for raising this issue.

4 months agoorg-agenda.el (org-agenda-remove-filter): Use `save-excursion'
Bastien Guerry [Fri, 23 May 2014 11:43:11 +0000]
org-agenda.el (org-agenda-remove-filter): Use `save-excursion'

* org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.

4 months agoorg.el: Don't advise `outline-end-of-subtree'
Bastien Guerry [Fri, 23 May 2014 11:11:57 +0000]
org.el: Don't advise `outline-end-of-subtree'

* org.el (org-move-subtree-down): Use `org-end-of-subtree'
instead of `outline-end-of-subtree'.
(outline-end-of-subtree): Remove advice.

* org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely):
Use `org-end-of-subtree' instead of `outline-end-of-subtree'.

4 months agoorg.el (org-cycle-internal-local): Fix trailing character bug
Nicolas Richard [Fri, 23 May 2014 11:04:28 +0000]
org.el (org-cycle-internal-local): Fix trailing character bug

* org.el (org-cycle-internal-local): Don't show a trailing
character when cycling a subtree that ends with a non-newline
character at the end of the buffer or the narrowed region.

4 months agoorg-agenda.el (org-cmp-ts): Fix call to `type'
Bastien Guerry [Thu, 22 May 2014 19:15:01 +0000]
org-agenda.el (org-cmp-ts): Fix call to `type'

* org-agenda.el (org-cmp-ts): Argument `type' is not optional.
Don't quote it.

4 months agoorg-habit.el (org-habit-insert-consistency-graphs): Don't remove filter overlays
Bastien Guerry [Thu, 22 May 2014 12:34:46 +0000]
org-habit.el (org-habit-insert-consistency-graphs): Don't remove filter overlays

* org-habit.el (org-habit-insert-consistency-graphs): Don't
remove filter overlays as we don't use overlays for filters
anymore.

4 months agoorg-agenda.el: Fixes for top headline filtering
Bastien Guerry [Thu, 22 May 2014 11:37:27 +0000]
org-agenda.el: Fixes for top headline filtering

* org-agenda.el (org-agenda-local-vars): Add
`org-agenda-top-headline-filter'.
(org-agenda-filter-by-category): Fix syntax.
(org-agenda-filter-show-all-top-filter): New function.
(org-agenda-filter-by-top-headline)
(org-agenda-filter-remove-all): Use the new function.
(org-agenda-filter-top-headline-apply): Use a dedicated symbol
`top-headline'.

Thanks to Greg Troxel who provided a preliminary patch.

4 months agoorg-agenda.el (org-agenda-redo): Reapply the filters correctly
Konstantin Kliakhandler [Thu, 22 May 2014 10:55:30 +0000]
org-agenda.el (org-agenda-redo): Reapply the filters correctly

* org-agenda.el (org-agenda-redo): Reapply the filters
correctly.

TINYCHANGE

4 months agoorg.el (org-entry-properties): Ensure the special property is not commented out when...
Bastien Guerry [Thu, 22 May 2014 10:38:06 +0000]
org.el (org-entry-properties): Ensure the special property is not commented out when matched

* org.el (org-entry-properties): Ensure the special property
is not commented out when matched.

Other an agenda view like (tags "DEADLINE<\"<+0d>\"" ...) will
wrongly list an entry with a commented out DEADLINE line, because
org-agenda-skip only skip commented out stuff on the current line,
with is the headline itself when using "tags" agenda.

Thanks to Sébastien for reporting this.

4 months agoorg-agenda.el: Rewrite agenda filtering using text properties
Bastien Guerry [Wed, 21 May 2014 17:02:36 +0000]
org-agenda.el: Rewrite agenda filtering using text properties

* org-agenda.el (org-agenda-write): Code cleanup.
(org-agenda-mark-filtered-text)
(org-agenda-unmark-filtered-text)
(org-agenda-fix-tags-filter-overlays-at): Delete.
(org-agenda-remove-marked-text): Use the `property' argument
instead of hard-coding 'org-filtered.
(org-agenda-filter-remove-all): Use `org-agenda-finalize'.
(org-agenda-filter-hide-line): Rewrite using text properties
instead of overlays.
(org-agenda-remove-filter): New function.
(org-agenda-filter-show-all-tag)
(org-agenda-filter-show-all-cat)
(org-agenda-filter-show-all-re): Rewrite using
`org-agenda-remove-filter'.

4 months agoox-org: Tiny refactoring
Nicolas Goaziou [Wed, 21 May 2014 19:29:16 +0000]
ox-org: Tiny refactoring

* lisp/ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
  property.

4 months agoorg-attach.el (org-attach-dir): Fix bug
Bastien Guerry [Wed, 21 May 2014 17:47:13 +0000]
org-attach.el (org-attach-dir): Fix bug

* org-attach.el (org-attach-dir): When the property is
"inherited" from a variable outside of the file, do not use
`org-entry-property-inherited-from' to find the attachment
position, assume we need to go back to the current headline.

4 months agoox-org: Fix missing footnote definitions
Nicolas Goaziou [Wed, 21 May 2014 16:33:53 +0000]
ox-org: Fix missing footnote definitions

* lisp/ox-org.el (org-org-headline): Ignore footnote sections.
(org-org-section): New function.

Some footnote definitions may be outside of the scope of the export
and, therefore, do not appear in the generated output.  This patch
ensures that all footnote definitions appear at the end of the section
they belong to.

Thanks to Leonard Randall for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/86558

4 months agoFix error prone babel table output format detection
Ian Kelling [Thu, 1 May 2014 04:56:52 +0000]
Fix error prone babel table output format detection

* ob-core.el (org-babel-insert-result): Test all list elements against
listp and (eq element 'hline) instead of checking just the first.

org-babel table output uses different formatting for a list of lists,
but detects it incorrectly causing an error. An example of a block
causing an error is an emacs lisp source block containing just 1 line:
'((1) 2)

4 months agoob-R.el (org-babel-R-assign-elisp): Fix parsing of a one-dimensional value
Bastien Guerry [Wed, 21 May 2014 02:21:00 +0000]
ob-R.el (org-babel-R-assign-elisp): Fix parsing of a one-dimensional value

* ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
one-dimensional value.

Thanks to Daniil Mirylenka for the fix.

4 months agoContinue fixing fdb4b54e
Bastien Guerry [Wed, 21 May 2014 01:56:26 +0000]
Continue fixing fdb4b54e

4 months agoorg.el (org-insert-heading): Fix bug
Bastien Guerry [Tue, 20 May 2014 21:28:06 +0000]
org.el (org-insert-heading): Fix bug

* org.el (org-insert-heading): Fix bug when trying to insert a
heading when point is before the first headline and not at the
beginning of a line.

4 months agoorg.el (org-fast-tag-selection): Fix window splitting
Dmitry Gorbik [Tue, 20 May 2014 20:20:56 +0000]
org.el (org-fast-tag-selection): Fix window splitting

* org.el (org-fast-tag-selection): Fix window splitting.

This is basically the same fix than the one listed here:
http://article.gmane.org/gmane.emacs.orgmode/34802

TINYCHANGE

4 months agoorg-table.el (org-table-eval-formula): Fix conversion of inactive timestamps
Bastien Guerry [Tue, 20 May 2014 20:03:30 +0000]
org-table.el (org-table-eval-formula): Fix conversion of inactive timestamps

* org-table.el (org-table-eval-formula): Fix conversion of
inactive timestamps to active ones.

Thanks to Gang Chen for reporting this.

4 months ago* org.el (org-set-regexps-and-options): Fix
Bastien Guerry [Tue, 20 May 2014 16:00:05 +0000]
* org.el (org-set-regexps-and-options): Fix

* org.el (org-set-regexps-and-options): Allow
`org-complex-heading-regexp-format' to match [/] and [%]
cookies when they are both before and after the heading.

Thanks to Nicolas Bercher for reporting this.

4 months agoox-beamer: Fix environment selection wrt persistent tags
Nicolas Goaziou [Mon, 19 May 2014 11:37:16 +0000]
ox-beamer: Fix environment selection wrt persistent tags

* lisp/ox-beamer.el (org-beamer-select-environment): Ignore persistent
  tags when displaying environments.

Thanks to Anders Johansson for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/86441

4 months agoox-ascii: Fix indentation in the first paragraph of a section
Nicolas Goaziou [Sat, 17 May 2014 08:00:41 +0000]
ox-ascii: Fix indentation in the first paragraph of a section

* lisp/ox-ascii.el (org-ascii-indented-line-width): Update docstring.
(org-ascii-paragraph): Do not apply indentation to the very first line
of a section.

4 months agoox-latex: Fix export of inlinetasks with empty contents
Nicolas Goaziou [Fri, 16 May 2014 08:33:20 +0000]
ox-latex: Fix export of inlinetasks with empty contents

* lisp/ox-latex.el (org-latex-inlinetask): Skip body if contents are
  empty.

Thanks to Michael Weylandt for reporting it and providing
a preliminary patch.
http://permalink.gmane.org/gmane.emacs.orgmode/86384

4 months agoox-html: Fix spurious "figure" divs on empty paragraphs
Nicolas Goaziou [Thu, 15 May 2014 11:39:28 +0000]
ox-html: Fix spurious "figure" divs on empty paragraphs

* lisp/ox-html.el (org-html-standalone-image-p): Ensure paragraph
  contains at least a link before return a non-nil value.  Clarify
  docstring.

Thanks to Fabrice Popineau for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/86314

4 months agoox: Fix Wrong type argument error with empty footnotes
Nicolas Goaziou [Mon, 12 May 2014 20:18:00 +0000]
ox: Fix Wrong type argument error with empty footnotes

* lisp/ox.el (org-export-data): Always return a string, as specified
  by the docstring.

Thanks to kuanyui for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/86183

4 months agoUpdate org-mime to current export functions
Eric Abrahamsen [Thu, 8 May 2014 14:32:01 +0000]
Update org-mime to current export functions

* /contrib/lisp/org-mime.el (org-mime-send-buffer):

This function was using `org-export-grab-title-from-buffer', which no
longer exists.

4 months agoMake superscripts produce a ^ in the output, instead of _
Nick Dokos [Fri, 9 May 2014 03:47:14 +0000]
Make superscripts produce a ^ in the output, instead of _

* ox-ascii.el (org-ascii-superscript): Change _ to ^ in the output.

Reported by Suvayu Ali: http://thread.gmane.org/gmane.emacs.orgmode/86014

4 months agoob-screen, use unpredictable temp file name
Eric Schulte [Thu, 8 May 2014 18:16:45 +0000]
ob-screen, use unpredictable temp file name

* lisp/ob-screen.el (org-babel-screen-test): Use unpredictable name
  for temporary file.

4 months agodon't use predictable temp files in ob-screen
Eric Schulte [Wed, 7 May 2014 09:34:26 +0000]
don't use predictable temp files in ob-screen

* lisp/ob-screen.el (org-babel-screen-session-write-temp-file):
  Unpredictable temp file name, fixes bug 17416.

4 months agoob-tangle: do not run make-directory with nil argument
Achim Gratz [Sat, 3 May 2014 08:12:10 +0000]
ob-tangle: do not run make-directory with nil argument

* lisp/ob-tangle.el (org-babel-tangle): When `file-name-directory'
  returns nil, do not run make-directory.  Remove superfluous when
  clauses by using short-circuiting `and' instead.

Thanks to R. Michael Weylandt for reporting the problem and offering a
patch.

http://permalink.gmane.org/gmane.emacs.orgmode/85749
http://permalink.gmane.org/gmane.emacs.orgmode/85774

5 months agoorg-agenda.el: Fix some type strings
Bastien Guerry [Fri, 2 May 2014 13:30:46 +0000]
org-agenda.el: Fix some type strings

* org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
(org-agenda-max-effort): Fix type strings.

5 months agoFix commit fdb4b54e
Bastien Guerry [Wed, 30 Apr 2014 08:43:40 +0000]
Fix commit fdb4b54e

5 months agodoc/texinfo.tex: Update to stable version 5.2
Bastien Guerry [Tue, 29 Apr 2014 11:46:21 +0000]
doc/texinfo.tex: Update to stable version 5.2

5 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Tue, 29 Apr 2014 11:08:10 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

5 months agoorg-capture.el (org-capture-fill-template): Fix bug
Bastien Guerry [Tue, 29 Apr 2014 11:05:04 +0000]
org-capture.el (org-capture-fill-template): Fix bug

* org-capture.el (org-capture-fill-template): Deactivate
region while trying to align tags on the current headline.

Thanks to Alex Kosorukoff for reporting this.

5 months agoFix BBDB link completion
Eric Abrahamsen [Tue, 29 Apr 2014 00:59:13 +0000]
Fix BBDB link completion

lisp/org-bbdb.el (org-bbdb-complete-link): Fix link completion with
newer versions of BBDB.

Newer versions of BBDB seem to be returning atomic values from
`bbdb-completing-read-record', we should be prepared for both atoms
and lists.

5 months agoox-ascii: Tiny fix
Nicolas Goaziou [Mon, 28 Apr 2014 14:48:07 +0000]
ox-ascii: Tiny fix

* lisp/ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
  stack overflow in regexp matcher on very long lines.

5 months agoFix bug introduced in commit fdb4b54e
Bastien Guerry [Fri, 25 Apr 2014 07:27:12 +0000]
Fix bug introduced in commit fdb4b54e

Thanks to Leonard Randall for reporting it.

5 months agoorg-element: Fix docstring
Nicolas Goaziou [Wed, 23 Apr 2014 20:02:10 +0000]
org-element: Fix docstring

* lisp/org-element.el (org-element-timestamp-parser): Fix docstring.

5 months agoox-icalendar: Tiny fixes
Nicolas Goaziou [Wed, 23 Apr 2014 19:53:58 +0000]
ox-icalendar: Tiny fixes

* lisp/ox-icalendar.el (org-icalendar-include-sexps,
org-icalendar-blocked-headline-p): Fix docstrings.
(org-icalendar-clear-blank-lines): Fix docstring and regexp.

5 months agoox-icalendar: Use `org-icalendar-with-timestamps'
Nicolas Goaziou [Wed, 23 Apr 2014 19:31:34 +0000]
ox-icalendar: Use `org-icalendar-with-timestamps'

* lisp/ox-icalendar.el (org-icalendar-entry): Use
  `org-icalendar-with-timestamps'.

We cannot simply rely on ignored timestamps in communication channels,
as regular `org-export-with-timestamps' only applies to isolated
timestamps.

Thanks to Greg Troxel for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/85387

5 months agoorg-agenda.el (org-agenda-finalize): Filter by top headline
Bastien Guerry [Wed, 23 Apr 2014 06:11:29 +0000]
org-agenda.el (org-agenda-finalize): Filter by top headline

* org-agenda.el (org-agenda-finalize): Filter by top headline
if `org-agenda-top-headline-filter' is set.

Thanks to Brady Trainor for reporting this.

5 months agoComplete fix 369e3d77
Bastien Guerry [Tue, 22 Apr 2014 13:24:14 +0000]
Complete fix 369e3d77

5 months agotest-org.el: Fix test release_8.2.6
Bastien Guerry [Tue, 22 Apr 2014 10:08:15 +0000]
test-org.el: Fix test

* test-org.el (test-org/insert-todo-heading-respect-content):
Fix test.

5 months agoorg.el (org-insert-heading): Fix behavior
Bastien Guerry [Tue, 22 Apr 2014 09:18:12 +0000]
org.el (org-insert-heading): Fix behavior

* org.el (org-insert-heading): Fix behavior when point is at
the beginning of a heading or a list item.  Enhance docstring.

Thanks to York Zhao for reporting this.

5 months agoox-html.el (org-html-infojs-install-script): Don't install infojs scripts when #...
Bastien Guerry [Tue, 22 Apr 2014 08:41:56 +0000]
ox-html.el (org-html-infojs-install-script): Don't install infojs scripts when #+INFOJS_OPT: is empty

* ox-html.el (org-html-infojs-install-script): Don't install
infojs scripts when #+INFOJS_OPT: is empty.

Thanks to Diez B. Roggisch for reporting this.

5 months agoorg.el (org-mode): Use `org-*-element' functions again
Bastien Guerry [Tue, 22 Apr 2014 06:03:44 +0000]
org.el (org-mode): Use `org-*-element' functions again

* org.el (org-mode): Use `org-*-element' functions for C-M-a
and C-M-e but fix C-M-e.

5 months agoRevert "org.el (org-mode): Use `org-back-to-heading' and `org-end-of-subtree' for...
Bastien Guerry [Tue, 22 Apr 2014 06:02:05 +0000]
Revert "org.el (org-mode): Use `org-back-to-heading' and `org-end-of-subtree' for C-M-a and C-M-e"

This reverts commit 47e456d8a6e1c818b820a31f447496b89ed45445.

5 months agoorg-agenda.el (org-agenda-search-view): Fix tag
Bastien Guerry [Mon, 21 Apr 2014 19:56:28 +0000]
org-agenda.el (org-agenda-search-view): Fix tag

* org-agenda.el (org-agenda-search-view): Fix tag.

Thanks to Brady Trainor for reporting this.

5 months agoorg.el (org-mode): Use `org-back-to-heading' and `org-end-of-subtree' for C-M-a and...
Bastien Guerry [Mon, 21 Apr 2014 17:25:27 +0000]
org.el (org-mode): Use `org-back-to-heading' and `org-end-of-subtree' for C-M-a and C-M-e

* org.el (org-mode): Use `org-back-to-heading' and
`org-end-of-subtree' for C-M-a and C-M-e.

This partially reverts commit 76fa97922.

Thanks to Leo Liu for reporting this.

5 months agoSmall documentation improvements
Nicolas Goaziou [Mon, 21 Apr 2014 07:48:17 +0000]
Small documentation improvements

* doc/org.texi (The Export Dispatcher): Reformulation.
* lisp/ox.el (org-export-copy-to-kill-ring): Comply to docstrings
  standards.

5 months agoTiny fix
Nicolas Goaziou [Mon, 21 Apr 2014 07:24:58 +0000]
Tiny fix

* lisp/org.el (org-sparse-tree): Tiny fix.

5 months agoFix code typo
Nicolas Goaziou [Mon, 21 Apr 2014 07:19:37 +0000]
Fix code typo

* lisp/org.el (org-sparse-tree): Fix code typo.  Small refactoring.

Thanks to Brady Trainor for spotting it.
http://permalink.gmane.org/gmane.emacs.orgmode/85320

5 months agoorg-bibtex: Tiny code clean-up
Nicolas Goaziou [Sun, 20 Apr 2014 08:14:03 +0000]
org-bibtex: Tiny code clean-up

* lisp/org-bibtex.el (org-bibtex-headline): Tiny code clean-up.

5 months agoorg.el (org-check-before-invisible-edit): Show the subtree
Bastien Guerry [Sun, 20 Apr 2014 07:31:28 +0000]
org.el (org-check-before-invisible-edit): Show the subtree

* org.el (org-check-before-invisible-edit): Don't just cycle,
show the subtree, as cycling may leave the current heading
folded.

Thanks to Paul Stansell for reporting this.

5 months agoorg.el (org-contextualize-validate-key): Fix wrong test
Bastien Guerry [Sun, 20 Apr 2014 06:44:07 +0000]
org.el (org-contextualize-validate-key): Fix wrong test

* org.el (org-contextualize-validate-key): Fix wrong test.

Thanks to Eric Abrahamsen for reporting the problem and the fix:
http://article.gmane.org/gmane.emacs.orgmode/85276

5 months agoorg-bibtex.el (org-bibtex-headline): Fix insertion of keywords
Leonard Randall [Sun, 20 Apr 2014 06:30:01 +0000]
org-bibtex.el (org-bibtex-headline): Fix insertion of keywords

* org-bibtex.el (org-bibtex-headline): Fix insertion of
keywords of unknown BibTeX entries.

TINYCHANGE