org-mode.git
4 hours agoMerge branch 'maint' master
Nicolas Goaziou [Mon, 21 Apr 2014 07:50:10 +0000]
Merge branch 'maint'

Conflicts:
lisp/ox.el

4 hours agoSmall documentation improvements maint
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.

4 hours agoorg.texi: Update documentation
Nicolas Goaziou [Mon, 21 Apr 2014 07:44:54 +0000]
org.texi: Update documentation

* doc/org.texi (The export dispatcher): Update documentation since
  `org-export-copy-to-kill-ring' has a different default value.

The change happened in 53aab23e70e16e872c8a7194b2601f3205aa417d.

4 hours agoMerge branch 'maint'
Nicolas Goaziou [Mon, 21 Apr 2014 07:25:22 +0000]
Merge branch 'maint'

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

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

4 hours agoMerge branch 'maint'
Nicolas Goaziou [Mon, 21 Apr 2014 07:22:54 +0000]
Merge branch 'maint'

4 hours 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

23 hours agoorg-clock.el: New function `org-clock-sum-custom'
Bastien Guerry [Sun, 20 Apr 2014 13:09:32 +0000]
org-clock.el: New function `org-clock-sum-custom'

* org-clock.el (org-clock-sum-today): Use `headline-filter'.
Remove interactive form.
(org-clock-display): Change the meaning of prefix argument:
one prefix arg shows today's time; two prefix args show clocks
from a custom range; three prefix args show the total time in
the echo area.
(org-clock-sum-custom): New function.
(org-clock-sum): Remove interactive form.

25 hours agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Sun, 20 Apr 2014 10:19:28 +0000]
Merge branch 'master' of orgmode.org:org-mode

25 hours agoorg.el: New alias: `org-highlight-links' -> `org-activate-links'
Bastien Guerry [Sun, 20 Apr 2014 10:12:21 +0000]
org.el: New alias: `org-highlight-links' -> `org-activate-links'

* org.el (org-highlight-links): Rename from
`org-activate-links'.  Update docstring.
(org-update-radio-target-regexp, org-set-font-lock-defaults):
Use `org-highlight-links'.

26 hours agoFix previous commit
Bastien Guerry [Sun, 20 Apr 2014 10:03:50 +0000]
Fix previous commit

26 hours agoox.el: German localization of 'References' section
Julian Gehring [Sun, 20 Apr 2014 08:48:07 +0000]
ox.el: German localization of 'References' section

* lisp/ox.el: Add German localization of the 'References' section

Suggested by Batien Guerry

27 hours agoMerge branch 'maint'
Nicolas Goaziou [Sun, 20 Apr 2014 08:15:01 +0000]
Merge branch 'maint'

27 hours 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.

28 hours agoMerge branch 'maint'
Bastien Guerry [Sun, 20 Apr 2014 07:31:36 +0000]
Merge branch 'maint'

28 hours 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.

29 hours agoMerge branch 'maint'
Bastien Guerry [Sun, 20 Apr 2014 06:44:33 +0000]
Merge branch 'maint'

29 hours 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

29 hours agoMerge branch 'maint'
Bastien Guerry [Sun, 20 Apr 2014 06:30:53 +0000]
Merge branch 'maint'

29 hours 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

30 hours agoMerge branch 'maint'
Bastien Guerry [Sun, 20 Apr 2014 06:01:14 +0000]
Merge branch 'maint'

Conflicts:
lisp/org.el

30 hours agoRevert "org.el (org-refile): Allow org-refile goto from everywhere"
Bastien Guerry [Sun, 20 Apr 2014 06:00:19 +0000]
Revert "org.el (org-refile): Allow org-refile goto from everywhere"

This reverts commit faa1703b8f9c2bc2d1b9317c29fde75b764f41fc.

40 hours agoorg-element: Fix code typo
Nicolas Goaziou [Sat, 19 Apr 2014 19:59:35 +0000]
org-element: Fix code typo

* lisp/org-element.el (org-element--cache-remove): Fix code typo.

40 hours agoorg-element: Fix leakage in objects cache
Nicolas Goaziou [Sat, 19 Apr 2014 19:45:57 +0000]
org-element: Fix leakage in objects cache

* lisp/org-element.el (org-element--cache-remove): New function.
(org-element--cache-process-request): Use new function.
(org-element-cache-reset): Do not rely on a weak hash table to handle
objects cache.

Elements used as keys in object cache cannot be garbage collected
since they appear in the :parent hierarchy in objects.  Instead we
remove entries from the objects cache whenever an element is removed
from the element cache.

40 hours agotest-org-element: Add tests for links
Nicolas Goaziou [Sat, 19 Apr 2014 19:28:34 +0000]
test-org-element: Add tests for links

* testing/lisp/test-org-element.el (test-org-element/link-parser): add
  tests.

41 hours agotest-org: Tiny clean-up
Nicolas Goaziou [Sat, 19 Apr 2014 18:27:21 +0000]
test-org: Tiny clean-up

* testing/lisp/test-org.el (test-org/update-radio-target-regexp): Tiny
  clean-up.

43 hours agoFix cache update when radio targets are being refreshed
Nicolas Goaziou [Sat, 19 Apr 2014 12:38:25 +0000]
Fix cache update when radio targets are being refreshed

* lisp/org-element.el (org-element-cache-refresh): New function.
* lisp/org.el (org-update-radio-target-regexp): Make it standalone.
  Also refresh fontification only when necessary.
(org-all-targets, org-make-target-link-regexp): Remove functions.

* testing/lisp/test-org.el (test-org/update-radio-target-regexp): New
  test
(test-org/all-targets): Remove test.

We need to manually reset cache on radio links as re-fontification
doesn't trigger a buffer change, and, as a consequence, a cache reset.

45 hours agoMerge branch 'maint'
Bastien Guerry [Sat, 19 Apr 2014 14:40:24 +0000]
Merge branch 'maint'

45 hours agoorg-bibtex.el (org-bibtex-headline): Don't throw an error
Bastien Guerry [Sat, 19 Apr 2014 14:40:11 +0000]
org-bibtex.el (org-bibtex-headline): Don't throw an error

* org-bibtex.el (org-bibtex-headline): Don't throw an error
when trying to add a keyword field to a BibTeX entry that is
not known by BibTeX or defined by the user.

Thanks to Leonard Randall for reporting this and suggesting a fix.

45 hours agoMerge branch 'maint'
Bastien Guerry [Sat, 19 Apr 2014 14:29:27 +0000]
Merge branch 'maint'

45 hours agoorg-bibtex.el (org-bibtex): Fix docstring
Bastien Guerry [Sat, 19 Apr 2014 14:22:15 +0000]
org-bibtex.el (org-bibtex): Fix docstring

* org-bibtex.el (org-bibtex): Fix docstring.

Thanks to Leonard Randall for reporting this.

47 hours agoRevert "ob-tangle.el (org-babel-spec-to-string): Don't use `org-babel-trim"
Bastien Guerry [Sat, 19 Apr 2014 12:54:48 +0000]
Revert "ob-tangle.el (org-babel-spec-to-string): Don't use `org-babel-trim"

This reverts commit a13e133f5a5330f82683fe490d6d697d9aa55c51.

47 hours agoMinor updates on org-trim, org-babel-chomp and org-babel-trim
Bastien Guerry [Sat, 19 Apr 2014 12:43:28 +0000]
Minor updates on org-trim, org-babel-chomp and org-babel-trim

* org.el (org-trim): Make a defsubst, use `replace-regexp-in-string'.

* ob-core.el (org-babel-chomp, org-babel-trim): Fix docstrings.

47 hours agoRevert "Alias `org-babel-trim' and `org-babel-chomp' to `org-trim' and `org-trim...
Bastien Guerry [Sat, 19 Apr 2014 12:36:00 +0000]
Revert "Alias `org-babel-trim' and `org-babel-chomp' to `org-trim' and `org-trim-trailing'."

This reverts commit 7925d42d43c35093c2a7b943fc44d36043f9786d.

47 hours agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Sat, 19 Apr 2014 12:27:27 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 days agoorg-agenda.el (org-agenda-error): Add docstring
Bastien Guerry [Sat, 19 Apr 2014 08:04:21 +0000]
org-agenda.el (org-agenda-error): Add docstring

* org-agenda.el (org-agenda-error): Add docstring.

2 days agoorg-bibtex: Fix docstrings
Nicolas Goaziou [Fri, 18 Apr 2014 19:39:35 +0000]
org-bibtex: Fix docstrings

* lisp/org-bibtex.el (org-bibtex-inherit-tags,
org-bibtex-no-export-tags, org-bibtex-tags-are-keywords): Fix
docstrings.

2 days agoMerge branch 'maint'
Bastien Guerry [Fri, 18 Apr 2014 19:33:52 +0000]
Merge branch 'maint'

Conflicts:
lisp/org-clock.el

2 days agoFix `org-clock-put-overlay' again.
Bastien Guerry [Fri, 18 Apr 2014 19:30:12 +0000]
Fix `org-clock-put-overlay' again.

2 days agoorg-bibtex.el: New option `org-bibtex-inherit-tags'
Leonard Randall [Fri, 18 Apr 2014 14:45:44 +0000]
org-bibtex.el: New option `org-bibtex-inherit-tags'

* org-bibtex.el (org-bibtex-tags-are-keywords): Enhance
docstring.
(org-bibtex-inherit-tags): New option.
(org-bibtex-headline): Use the new option.

TINYCHANGE

2 days agoMerge branch 'maint'
Bastien Guerry [Fri, 18 Apr 2014 14:41:29 +0000]
Merge branch 'maint'

Conflicts:
lisp/org-clock.el

2 days agoFix `org-clock-put-overlay'
Bastien Guerry [Fri, 18 Apr 2014 14:35:27 +0000]
Fix `org-clock-put-overlay'

2 days agoAlias `org-babel-trim' and `org-babel-chomp' to `org-trim' and `org-trim-trailing'.
Bastien Guerry [Fri, 18 Apr 2014 13:11:42 +0000]
Alias `org-babel-trim' and `org-babel-chomp' to `org-trim' and `org-trim-trailing'.

* org.el (org-trim): Rewrite and make a defsubst.

* org-bibtex.el (org-bibtex-get): Use `org-trim' instead of
`org-babel-trim'.

* ob-core.el (org-babel-trim): Delete and alias to `org-trim'.
(org-babel-chomp): Delete and alias to `org-trim-trailing'.
(org-trim-trailing): New defsubst.
(org-babel-examplize-region): Fix version.

2 days agoob-tangle.el (org-babel-spec-to-string): Don't use `org-babel-trim
Bastien Guerry [Fri, 18 Apr 2014 12:49:21 +0000]
ob-tangle.el (org-babel-spec-to-string): Don't use `org-babel-trim

* ob-tangle.el (org-babel-spec-to-string): Don't use
`org-babel-trim'.

2 days agoob-ocaml.el (org-babel-execute:ocaml): Code cleanup
Bastien Guerry [Fri, 18 Apr 2014 12:47:46 +0000]
ob-ocaml.el (org-babel-execute:ocaml): Code cleanup

* ob-ocaml.el (org-babel-execute:ocaml): Code cleanup.

3 days agoob-table.el (org-sbe): Minor enhancements
Bastien Guerry [Fri, 18 Apr 2014 12:09:37 +0000]
ob-table.el (org-sbe): Minor enhancements

* ob-table.el (org-sbe): Minor enhancements.

3 days agoorg.el (org-do-emphasis-faces): Fix docstring
Bastien Guerry [Fri, 18 Apr 2014 11:56:41 +0000]
org.el (org-do-emphasis-faces): Fix docstring

* org.el (org-do-emphasis-faces): Fix docstring.

3 days agoorg.texi (Property syntax, noweb-ref): Minor fixes
Bastien Guerry [Fri, 18 Apr 2014 11:21:37 +0000]
org.texi (Property syntax, noweb-ref): Minor fixes

* org.texi (Property syntax, noweb-ref): Minor fixes.

3 days agoMerge branch 'maint'
Bastien Guerry [Fri, 18 Apr 2014 11:12:55 +0000]
Merge branch 'maint'

3 days agoorg-bibtex.el (org-bibtex-no-export-tags): Fix docstring
Bastien Guerry [Fri, 18 Apr 2014 11:12:34 +0000]
org-bibtex.el (org-bibtex-no-export-tags): Fix docstring

* org-bibtex.el (org-bibtex-no-export-tags): Fix docstring.

Thanks to Leonard Randall for the fix.

3 days agoBetter handling for "mailto" links
Nicolas Goaziou [Thu, 17 Apr 2014 19:44:50 +0000]
Better handling for "mailto" links

* lisp/org.el (org-link-mailto-program): Remove variable.
(org-open-at-point): Delegate "mailto" links handling to `browse-url'
and `browse-url-mailto-function'.

This patch allows to use regular URI syntax and deprecates old Org
specific syntax: mailto:user@domain::Title.

http://permalink.gmane.org/gmane.emacs.orgmode/85007

3 days agoorg-element: Fix infloop at the end of an incomplete table row
Nicolas Goaziou [Thu, 17 Apr 2014 19:37:07 +0000]
org-element: Fix infloop at the end of an incomplete table row

* lisp/org-element.el (org-element-context): Fix infloop.  Be more
  cautious when point is at the end of buffer.

* testing/lisp/test-org-element.el (test-org-element/context): Add
  test.

3 days agoFix list item class attribute.
Rick Frankel [Thu, 17 Apr 2014 16:40:26 +0000]
Fix list item class attribute.

* lisp/ox-html.el (org-html-format-list-item): Make sure checkbox type
  class attribute only added to list item if item is a checkbox.

3 days agoFix commit 53aab23e70
Bastien Guerry [Thu, 17 Apr 2014 16:22:53 +0000]
Fix commit 53aab23e70

Thanks to Nicolas for spotting this.

3 days agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 17 Apr 2014 16:13:50 +0000]
Merge branch 'master' of orgmode.org:org-mode

3 days agoorg.texi (Feedback): Add a link to the mailman subscription page
Bastien Guerry [Thu, 17 Apr 2014 16:04:33 +0000]
org.texi (Feedback): Add a link to the mailman subscription page

* org.texi (Feedback): Add a link to the mailman subscription
page.

3 days agoSmall fix
Nicolas Goaziou [Thu, 17 Apr 2014 15:35:48 +0000]
Small fix

* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files,
org-bibtex-process-bib-files): Use correct encoding.

* lisp/ox.el (org-export-dictionary): Update "Reference" entry.

3 days agoox.el (org-export-dictionary): Add "References"
Bastien Guerry [Thu, 17 Apr 2014 15:25:03 +0000]
ox.el (org-export-dictionary): Add "References"

* ox.el (org-export-dictionary): Add "References".

* contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files):
Translate "References" according to the export language.

Thanks to Julian Gehring for suggesting this.

3 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 15:11:35 +0000]
Merge branch 'maint'

Conflicts:
lisp/ox-latex.el

3 days agoox-latex.el (org-latex-src-block): Fix wrong propagation of labels and captions
Bastien Guerry [Thu, 17 Apr 2014 15:09:11 +0000]
ox-latex.el (org-latex-src-block): Fix wrong propagation of labels and captions

* ox-latex.el (org-latex-src-block): Fix wrong propagation of
labels and captions when using the listings environment.

Thanks to Dominik Ernst for reporting this:
http://article.gmane.org/gmane.emacs.orgmode/84932

3 days agoox.el (org-export-copy-to-kill-ring): Default to nil
Bastien Guerry [Thu, 17 Apr 2014 14:31:56 +0000]
ox.el (org-export-copy-to-kill-ring): Default to nil

* ox.el (org-export-copy-to-kill-ring): Default to nil.

3 days agoComplete previous patch
Bastien Guerry [Thu, 17 Apr 2014 14:20:48 +0000]
Complete previous patch

3 days agoorg.el (org-insert-heading): Minor docstring enhancement
Bastien Guerry [Thu, 17 Apr 2014 14:15:48 +0000]
org.el (org-insert-heading): Minor docstring enhancement

* org.el (org-insert-heading): Minor docstring enhancement.

4 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 11:38:41 +0000]
Merge branch 'maint'

4 days agoorg.texi (Installation): Fix documentation bug
Bastien Guerry [Thu, 17 Apr 2014 11:38:29 +0000]
org.texi (Installation): Fix documentation bug

* org.texi (Installation): Be more clear on why installing Org
through ELPA should be done without loading any Org file.

This is a very common pitfall that needs to be considered a
documentation bug.

4 days agoFix commit 5ec31814
Bastien Guerry [Thu, 17 Apr 2014 11:19:15 +0000]
Fix commit 5ec31814

4 days agoorg-clock.el (org-clock-put-overlay): Minor enhancements
Bastien Guerry [Thu, 17 Apr 2014 11:10:09 +0000]
org-clock.el (org-clock-put-overlay): Minor enhancements

* org-clock.el (org-clock-put-overlay): Don't use a line of
dots anymore.  Enhance display of time.

Thanks to Noah Slater for suggesting this.

4 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 10:52:04 +0000]
Merge branch 'maint'

4 days agoorg.el (org-sort-entries): Fix the number of blank lines to keep for the last entry...
Bastien Guerry [Thu, 17 Apr 2014 10:51:49 +0000]
org.el (org-sort-entries): Fix the number of blank lines to keep for the last entry to sort

* org.el (org-sort-entries): Fix the number of blank lines to
keep for the last entry to sort.

Thanks to Kyle Meyer for raising this issue.

4 days agoorg.texi (Beamer export): Update example to let it display a table of contents
Bastien Guerry [Thu, 17 Apr 2014 10:09:53 +0000]
org.texi (Beamer export): Update example to let it display a table of contents

* org.texi (Beamer export): Update example to let it display a
table of contents.

4 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 09:42:16 +0000]
Merge branch 'maint'

Conflicts:
lisp/org-clock.el

4 days agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Thu, 17 Apr 2014 09:39:02 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

4 days agoorg-clock.el (org-clock-put-overlay): Fix display when `org-indent-mode' is on
Bastien Guerry [Thu, 17 Apr 2014 09:38:53 +0000]
org-clock.el (org-clock-put-overlay): Fix display when `org-indent-mode' is on

* org-clock.el (org-clock-put-overlay): Fix display when
`org-indent-mode' is on.

Thanks to Christoph Groth for reporting this.

4 days agoMerge branch 'maint'
Nicolas Goaziou [Thu, 17 Apr 2014 09:34:54 +0000]
Merge branch 'maint'

Conflicts:
lisp/org-element.el
lisp/ox-html.el

4 days agoUpdate export back-ends wrt "file" link changes
Nicolas Goaziou [Thu, 17 Apr 2014 07:15:09 +0000]
Update export back-ends wrt "file" link changes

* lisp/ox-latex.el (org-latex-link):
* lisp/ox-html.el (org-html-link):  Do not expand absolute file names
  and do not try to fix hierarchy part, as it is already taken care of
  at the parser level.

* lisp/ox-md.el (org-md-link): Ditto.  Also fix absolute file names.

* lisp/ox-odt.el (org-odt-link):
* lisp/ox-man.el (org-man-link):
* lisp/ox-texinfo.el (org-texinfo-link):
* contrib/lisp/ox-groff.el (org-groff-link): Ditto.  Do not prepend
  scheme part to relative file names either.

* contrib/lisp/ox-deck.el (org-deck-link): Small refactoring.

4 days agoorg-element: Fix ill-defined "file" type links
Nicolas Goaziou [Thu, 17 Apr 2014 06:44:37 +0000]
org-element: Fix ill-defined "file" type links

* lisp/org-element.el (org-element-link-parser): Fix ill-defined
  "file" type links.  Expand absolute file names in the process.

Org accepts invalid URI syntax for absolute "file" links, e.g.,
file:/home/user/file.txt.  This patch normalizes them.

4 days agoSmall refactoring
Nicolas Goaziou [Thu, 17 Apr 2014 06:42:14 +0000]
Small refactoring

* lisp/org.el (org-make-link-regexps): Use `regexp-opt' instead of
  `mapconcat' and `regexp-quote'.

4 days agoRevert "Make Org links compatible with URI syntax"
Nicolas Goaziou [Thu, 17 Apr 2014 06:41:14 +0000]
Revert "Make Org links compatible with URI syntax"

This reverts commit 3589f64e42dfbc894e789c2a9fba530eac36c665.

4 days agoRevert "Fix link export"
Nicolas Goaziou [Wed, 16 Apr 2014 20:46:53 +0000]
Revert "Fix link export"

This reverts commit fc1f7d752fcd526909f0bb619cb9b3568c87665f.

4 days agoRevert "Fix mailto links"
Nicolas Goaziou [Wed, 16 Apr 2014 20:46:30 +0000]
Revert "Fix mailto links"

This reverts commit f61cd6b7a17507dbcbd96a105d6c2e59a5b087b4.

4 days agoorg.el (org-sort-entries): Allow to sort by clocking time
Bastien Guerry [Thu, 17 Apr 2014 08:30:44 +0000]
org.el (org-sort-entries): Allow to sort by clocking time

* org.el (org-sort-entries): Allow to sort by clocking time.

Thanks to Noah Slater for this idea.

4 days agoRevert "org.el (org-sort-entries): Allow to sort by clocking time"
Bastien Guerry [Thu, 17 Apr 2014 08:32:23 +0000]
Revert "org.el (org-sort-entries): Allow to sort by clocking time"

This reverts commit 1cca8f534fdfcb34d2bce53a179604f6f8f491f2.

4 days agoorg.el (org-sort-entries): Allow to sort by clocking time
Bastien Guerry [Thu, 17 Apr 2014 08:30:44 +0000]
org.el (org-sort-entries): Allow to sort by clocking time

* org.el (org-sort-entries): Allow to sort by clocking time.

Thanks to Noah Slater for this idea.

4 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 08:20:32 +0000]
Merge branch 'maint'

4 days agoMinor enhancements to displaying clocks as overlays
Bastien Guerry [Thu, 17 Apr 2014 08:19:58 +0000]
Minor enhancements to displaying clocks as overlays

* org-faces.el (org-clock-overlay): Use a gray background and
don't inherit the foreground.

* org-clock.el (org-clock-put-overlay): Don't add the stars.

4 days agoFix previous commit
Bastien Guerry [Thu, 17 Apr 2014 08:18:32 +0000]
Fix previous commit

4 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 07:56:11 +0000]
Merge branch 'maint'

4 days agoorg-agenda.el (org-agenda-finalize): Apply all filters correctly
Bastien Guerry [Thu, 17 Apr 2014 07:55:57 +0000]
org-agenda.el (org-agenda-finalize): Apply all filters correctly

* org-agenda.el (org-agenda-finalize): Apply all filters
correctly.

4 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 07:18:19 +0000]
Merge branch 'maint'

4 days agoorg.el (org-update-dblock): Use `save-excursion'
Bastien Guerry [Thu, 17 Apr 2014 07:18:08 +0000]
org.el (org-update-dblock): Use `save-excursion'

* org.el (org-update-dblock): Use `save-excursion' instead of
`save-window-excursion' so that blocks can edit other windows and
change the window layout.

Thanks to Martin for reporting this.

4 days agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 17 Apr 2014 06:42:49 +0000]
Merge branch 'master' of orgmode.org:org-mode

4 days agoOrg babel: Add function and keybinding to remove result blocks
Michael Weylandt [Sun, 13 Apr 2014 16:58:31 +0000]
Org babel: Add function and keybinding to remove result blocks

* ob-core.el (org-babel-remove-result-one-or-many): New function.

* ob-keys.el (org-babel-key-bindings): Add a keybinding for the
new function `org-babel-remove-result-one-or-many'.

TINYCHANGE

4 days agoKeybinding to remove result blocks
Michael Weylandt [Sun, 13 Apr 2014 16:58:31 +0000]
Keybinding to remove result blocks

* ob-core.el (org-babel-remove-result-one-or-many): New function.
* ob-keys.el: Keybinding for new function org-babel-remove-result-one-or-many

TINYCHANGE

4 days agoAdd classes to checkbox list elements.
Rick Frankel [Wed, 16 Apr 2014 17:39:20 +0000]
Add classes to checkbox list elements.

* lisp/ox-html.el (org-html-format-list-item): Add the appropriate
  class `on', `off' or `trans' (the tri-state checkbox types) to the
  list elements in checkbox lists.

4 days agoProcess html attributes on paragraphs.
Rick Frankel [Wed, 16 Apr 2014 15:11:17 +0000]
Process html attributes on paragraphs.

* lisp/ox-html.el (org-html-paragraph): Add processed html attributes
  to paragraph tag.

4 days agoMerge branch 'maint'
Bastien Guerry [Thu, 17 Apr 2014 00:31:37 +0000]
Merge branch 'maint'

4 days agoorg-agenda.el: Fix bug when displaying the changed date
Bastien Guerry [Thu, 17 Apr 2014 00:31:23 +0000]
org-agenda.el: Fix bug when displaying the changed date

* org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
(org-agenda-dim-blocked-tasks): Make overlays intangible.
(org-agenda-show-new-time): Fix bug when deleting a timestamp
right after changing it.
(org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
(org-agenda-get-sexps, org-agenda-filter-by-regexp)
(org-agenda-filter-top-headline-apply): Fix indentation.

Thanks to Fletcher Charest and Nick Dokos for reporting issues
in this area.

There is one bug left: in a filtered agenda, changing a timestamp
will not always correctly display the warning.  This happens when
the headline at point is followed by hidden headlines, because
`org-agenda-show-new-time' tries to set a text property at a
point where there is an overlay that hides then text.  Because
the overlay is now intangible, the warning text will be displayed
too far on the right, and may be outside of the window.

4 days agoMerge branch 'maint'
Bastien Guerry [Wed, 16 Apr 2014 22:35:39 +0000]
Merge branch 'maint'

4 days agoRevert "org-agenda.el: Fix bug when using `org-agenda-do-date-later' in filtered...
Bastien Guerry [Wed, 16 Apr 2014 22:35:14 +0000]
Revert "org-agenda.el: Fix bug when using `org-agenda-do-date-later' in filtered agendas"

This reverts commit 3559ff84b244dae2109131507804b21126e0b07c.

4 days agoorg.el (org-insert-heading): Fix code typo
Bastien Guerry [Wed, 16 Apr 2014 16:28:26 +0000]
org.el (org-insert-heading): Fix code typo

* org.el (org-insert-heading): Fix code typo.

Thanks to Thorsten Jolitz for reporting this and to Nicolas Richard
for his comments.