org-mode.git
17 months agoMove new export framework files into core release_8.0-alpha
Nicolas Goaziou [Sun, 27 Jan 2013 22:11:34 +0000]
Move new export framework files into core

* contrib/README: Remove references to new export framework.
* contrib/lisp/org-e-ascii.el: Removed file.
* contrib/lisp/org-e-beamer.el: Removed file.
* contrib/lisp/org-e-confluence.el: Removed file.
* contrib/lisp/org-e-groff.el: Removed file.
* contrib/lisp/org-e-html.el: Removed file.
* contrib/lisp/org-e-icalendar.el: Removed file.
* contrib/lisp/org-e-latex.el: Removed file.
* contrib/lisp/org-e-man.el: Removed file.
* contrib/lisp/org-e-odt.el: Removed file.
* contrib/lisp/org-e-publish.el: Removed file.
* contrib/lisp/org-e-texinfo.el: Removed file.
* contrib/lisp/org-export.el: Removed file.
* contrib/lisp/org-koma-letter.el: Removed file.
* contrib/lisp/org-md.el: Removed file.
* contrib/lisp/ox-confluence.el: New file.
* contrib/lisp/ox-groff.el: New file.
* contrib/lisp/ox-koma-letter.el: New file.
* lisp/ox-ascii.el: New file.
* lisp/ox-beamer.el: New file.
* lisp/ox-html.el: New file.
* lisp/ox-icalendar.el: New file.
* lisp/ox-jsinfo.el: New file.
* lisp/ox-latex.el: New file.
* lisp/ox-man.el: New file.
* lisp/ox-md.el: New file.
* lisp/ox-odt.el: New file.
* lisp/ox-publish.el: New file.
* lisp/ox-texinfo.el: New file.
* lisp/ox.el: New file.
* mk/org-fixup.el (org-make-org-loaddefs): Install new export
  framework and back-end files.
* testing/lisp/test-org-export.el: Removed file.
* testing/lisp/test-ox.el: New file.

17 months agoorg-agenda.el: New options to limit the number of displayed entries
Bastien Guerry [Wed, 6 Feb 2013 16:16:35 +0000]
org-agenda.el: New options to limit the number of displayed entries

* org-agenda.el (org-agenda-max-entries)
(org-agenda-max-todos, org-agenda-max-tags)
(org-agenda-max-effort): New options.
(org-timeline, org-agenda-list, org-search-view)
(org-todo-list, org-tags-view): Tell
`org-agenda-finalize-entries' what agenda type we are
currently finalizing for.
(org-agenda-finalize-entries): Limit the number of entries
depending on the new options.
(org-agenda-limit-entries): New function.

Thanks to the various people who asked for this feature
or for a variation of it.

You can set the new options to an integer or to an alist.

(setq org-agenda-max-effort 120)
  => Don't display entries beyond 120 minutes of effort

(setq org-agenda-max-effort '((todo . 60) (agenda . 240)))
  => Limit to 60 minutes in TODO agenda and to 240 in
     "agenda" agenda views.

17 months agoorg.el: Allow C-u C-u to insert a warning/delay cookie for org-deadline/org-schedule
Bastien Guerry [Tue, 5 Feb 2013 17:49:19 +0000]
org.el: Allow C-u C-u to insert a warning/delay cookie for org-deadline/org-schedule

* org.el (org-deadline): Allow a double universal prefix
argument to insert/update a warning cookie.
(org-deadline): Allow a double universal prefix argument to
insert/update a delay cookie.

17 months agoImplement "delay" cookies for scheduled items.
Bastien Guerry [Tue, 5 Feb 2013 16:35:51 +0000]
Implement "delay" cookies for scheduled items.

* org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
New option.  The structure of the possible values is copied
from `org-agenda-skip-deadline-prewarning-if-scheduled'.
(org-agenda-get-scheduled): Honor the two new option,
`org-scheduled-delay-days' and
`org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
scheduled entry has a delay cookie like "-2d" (similar to the
prewarning cookie for deadline), don't show the entry until
needed.

* org.el (org-deadline-warning-days): Small docstring fix.
(org-scheduled-delay-days): New option (see
`org-deadline-warning-days'.)
(org-get-wdays): Use the new option.

Thanks to Andrew M. Nuxoll and Michael Brand for this idea.

You can now use a "delay cookie" in scheduled items.  For example,

* TODO Sleep
  SCHEDULED: <2013-02-06 mer. -3d>

will not be shown on 06/02 but on 09/02, three days later.

The value of the cookie overrides any value of `org-scheduled-delay-days',
unless `org-scheduled-delay-days' is negative (same logic than for
`org-deadline-warning-days'.)

Also check org-agenda-skip-scheduled-delay-if-deadline, which does for
delay cookies what `org-agenda-skip-deadline-prewarning-if-scheduled' does
for prewarning deadline cookies.

17 months agoorg-agenda.el: Implement new sorting strategies
Bastien Guerry [Tue, 5 Feb 2013 14:03:29 +0000]
org-agenda.el: Implement new sorting strategies

* org-agenda.el (org-agenda-sorting-strategy): Document the
new sorting strategies.
(org-agenda-get-todos, org-agenda-get-timestamps)
(org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
`ts-date' text property with scheduled, deadline or timetamp
date.
(org-cmp-ts): New function to compare timestamps.
(org-em): Add a docstring.
(org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
Implement the following sorting strategies: timestamp-up/down,
scheduled-up/down, deadline-up/down, ts-up/down (for active
timestamps) and tsia-up/down (for inactive timestamps.)

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 6 Feb 2013 16:21:31 +0000]
Merge branch 'maint'

Conflicts:
lisp/org-agenda.el

17 months agoorg-agenda.el: Bugfix.
Bastien Guerry [Wed, 6 Feb 2013 16:18:03 +0000]
org-agenda.el: Bugfix.

* org-agenda.el (org-agenda-get-deadlines)
(org-agenda-get-scheduled): Fix bug: use text properties for
the headline text since we rely on properties to get e.g. the
effort.

17 months agoMerge branch 'maint'
Bastien Guerry [Mon, 4 Feb 2013 23:11:08 +0000]
Merge branch 'maint'

17 months agoorg.el (org-get-wdays): Handle matching a lead time specified in hours
John K. Luebs [Mon, 4 Feb 2013 23:09:19 +0000]
org.el (org-get-wdays): Handle matching a lead time specified in hours

* org.el (org-get-wdays): Handle matching a lead time specified in
hours.

TINYCHANGE

A lead time in hours is matched but will erroneously return nil.

17 months agoMerge branch 'maint'
Bastien Guerry [Mon, 4 Feb 2013 22:03:48 +0000]
Merge branch 'maint'

17 months agoorg-exp.el (org-export-normalize-links): Don't match links within tags
Bastien Guerry [Mon, 4 Feb 2013 21:14:52 +0000]
org-exp.el (org-export-normalize-links): Don't match links within tags

* org-exp.el (org-export-normalize-links): Don't match links
within tags.

A headline with tags like :info:test: would not be exported correctly
because info:test is first matched and normalized as a link.

17 months agoorg-export: Fix smart quote bug with footnote definitions in ascii back-end
Nicolas Goaziou [Sun, 3 Feb 2013 18:44:51 +0000]
org-export: Fix smart quote bug with footnote definitions in ascii back-end

* contrib/lisp/org-export.el (org-export-activate-smart-quotes): Fix
  error when exporting a footnote definition.

17 months agoob-exp: Fix code indentation after src block evaluation
Nicolas Goaziou [Sun, 3 Feb 2013 16:06:16 +0000]
ob-exp: Fix code indentation after src block evaluation

* lisp/ob-exp.el (org-export-blocks-preprocess): Do not use
  `indent-code-rigidly' as it doesn't indent contents of strings.

17 months agoorg-e-ascii: Fix justification for lines looking like a fill-prefix
Nicolas Goaziou [Fri, 1 Feb 2013 22:47:00 +0000]
org-e-ascii: Fix justification for lines looking like a fill-prefix

* contrib/lisp/org-e-ascii.el (org-e-ascii--justify-string): Fill
  justification for lines looking-like a fill-prefix.

17 months agoMerge branch 'maint'
Nicolas Goaziou [Thu, 31 Jan 2013 21:16:23 +0000]
Merge branch 'maint'

17 months agoorg-element: Fix macro parsing with protected commas 7.9.3e
Nicolas Goaziou [Thu, 31 Jan 2013 21:15:15 +0000]
org-element: Fix macro parsing with protected commas

* lisp/org-element.el (org-element-macro-parser): Fix error when last
  argument ends with a protected comma.
* testing/lisp/test-org-element.el (test-org-element/macro-parser):
  Add tests.

17 months agoMerge branch 'maint'
Bastien Guerry [Thu, 31 Jan 2013 13:18:24 +0000]
Merge branch 'maint'

17 months agoorg-clock.el (org-clock-sum): Fix indentation
Bastien Guerry [Thu, 31 Jan 2013 13:18:14 +0000]
org-clock.el (org-clock-sum): Fix indentation

17 months agoMerge branch 'maint'
Bastien Guerry [Thu, 31 Jan 2013 13:17:13 +0000]
Merge branch 'maint'

17 months agoorg-clock.el (org-clock-sum): Protect with `org-unmodified'
Francesco Pizzolante [Wed, 30 Jan 2013 16:21:42 +0000]
org-clock.el (org-clock-sum): Protect with `org-unmodified'

* org-clock.el (org-clock-sum): Protect with `org-unmodified'.

TINYCHANGE

17 months agoMerge branch 'maint'
Bastien Guerry [Thu, 31 Jan 2013 11:06:49 +0000]
Merge branch 'maint'

17 months agoMerge branch 'master-new-features'
Bastien Guerry [Thu, 31 Jan 2013 11:06:39 +0000]
Merge branch 'master-new-features'

17 months agoorg-html.el: Enhance docstrings
Bastien Guerry [Thu, 31 Jan 2013 10:30:43 +0000]
org-html.el: Enhance docstrings

* org-html.el (org-export-html-preamble-format)
(org-export-html-postamble-format): Mention that
org-export-html-preamble/postamble need to be `t' in order for
these variables to have any effect.

17 months agoob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'
Bastien Guerry [Thu, 31 Jan 2013 10:17:18 +0000]
ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'

* ob-lilypond.el (ly-process-basic): Bugfix, don't use
`pcase'.

Thanks to Achim Gratz for suggesting this.

17 months agoAllow to contextualize capture and agenda commands by checking the name of the buffer
Bastien Guerry [Thu, 31 Jan 2013 10:06:04 +0000]
Allow to contextualize capture and agenda commands by checking the name of the buffer

* org.el (org-contextualize-validate-key): Check against two
new context predicates [not-]in-buffer.

* org-capture.el (org-capture-templates-contexts):
* org-agenda.el (org-agenda-custom-commands-contexts):
Document the new [not-]in-buffer context predicates.

Thanks to Paul Sexton for triggering this and for proposing a patch.

17 months agoob-core.el (org-ts-regexp): Remove duplicate defconst'ing
Bastien Guerry [Thu, 31 Jan 2013 09:57:49 +0000]
ob-core.el (org-ts-regexp): Remove duplicate defconst'ing

* ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
(org-babel-result-regexp): Don't use `org-ts-regexp', use a
regexp string directly.

This is not the best solution, we should be able to use
`org-ts-regexp' here, but the dependencies makes it hard.
So let's not define org-ts-regexp twice, just use a raw
regexp instead, and add a FIXME warning about this.

17 months agoorg-e-html.el (org-e-html-link): Don't add attributes to the link when they are alrea...
Bastien Guerry [Thu, 31 Jan 2013 09:44:15 +0000]
org-e-html.el (org-e-html-link): Don't add attributes to the link when they are already part of the link description

* org-e-html.el (org-e-html-link): Don't add attributes to the
link when they are already part of the link description.

17 months agoorg-html.el (org-html-handle-links): Fix bug in setting the attribute for link with...
Bastien Guerry [Thu, 31 Jan 2013 09:25:03 +0000]
org-html.el (org-html-handle-links): Fix bug in setting the attribute for link with images

* org-html.el (org-html-handle-links): When the link
description is an image and the attribute is "width",
pass the attribute to the <img ...> tag.

Thanks to John Hendy for reporting this.

17 months agoorg-e-latex: Allow to provide a format string for date keyword
Nicolas Goaziou [Wed, 30 Jan 2013 21:41:38 +0000]
org-e-latex: Allow to provide a format string for date keyword

* contrib/lisp/org-e-latex.el (org-e-latex-date-timestamp-format): New
  variable.
(org-e-latex-date-format): Removed variable.
(org-e-latex-template): Allow to provide a format string iff date
consists in a single timestamp.

17 months agofix bug introduced in c1226e8
Eric Schulte [Wed, 30 Jan 2013 20:53:50 +0000]
fix bug introduced in c1226e8

* lisp/ob-core.el (org-ts-regexp): Declare this here as well.

17 months agoorg-export: Fix failing test
Nicolas Goaziou [Wed, 30 Jan 2013 20:32:50 +0000]
org-export: Fix failing test

* testing/lisp/test-org-export.el: Fix failing test.

17 months agooption to show time stamps over result hashes
Eric Schulte [Wed, 30 Jan 2013 17:05:51 +0000]
option to show time stamps over result hashes

  suggested by Thomas Alexander Gerds

* lisp/ob-core.el (org-babel-result-regexp): Now matching time stamp as
  well.
  (org-babel-hash-show-time): Variable controlling the display of time
  stamps.
  (org-babel-current-result-hash): With hash time stamps.
  (org-babel-hide-all-hashes): With hash time stamps.
  (org-babel-where-is-src-block-result): With hash time stamps.

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 30 Jan 2013 16:53:30 +0000]
Merge branch 'maint'

17 months agoorg-macs.el (org-unmodified): Inhibit modification hooks
Francesco Pizzolante [Wed, 30 Jan 2013 15:09:22 +0000]
org-macs.el (org-unmodified): Inhibit modification hooks

* org-macs.el (org-unmodified): Inhibit modification hooks.

TINYCHANGE

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 30 Jan 2013 16:46:54 +0000]
Merge branch 'maint'

17 months agoorg.texi (References): Clarify an example
Bastien Guerry [Wed, 30 Jan 2013 16:46:35 +0000]
org.texi (References): Clarify an example

* org.texi (References): Clarify an example.

Thanks to Xue Fuqiao, Eric S Fraga and H. Dieter Wilhelm
for sorting this out.

17 months agotesting/README: Fix instructions
Yasushi SHOJI [Wed, 30 Jan 2013 16:35:09 +0000]
testing/README: Fix instructions

TINYCHANGE

17 months agoorg-element: Cosmetic change to `org-element-map' indentation
Nicolas Goaziou [Wed, 30 Jan 2013 13:42:24 +0000]
org-element: Cosmetic change to `org-element-map' indentation

* lisp/org-element.el (org-element-map): Change to function
  indentation.  Also complete docstring.

17 months agoorg-export: Generalize fallback footnote definition to all exporters
Nicolas Goaziou [Wed, 30 Jan 2013 13:17:30 +0000]
org-export: Generalize fallback footnote definition to all exporters

* contrib/lisp/org-export.el (org-export-get-footnote-definition):
  Provide a fallback definition when none can be found.
* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference): Revert
  change made in 30ef385ee03ea1f92e07f368413c065630bc01b8 since it is
  now handled at the export framework level.
* testing/lisp/test-org-export.el: Add test.

17 months agoorg-e-odt: Fix code typo
Nicolas Goaziou [Wed, 30 Jan 2013 13:16:00 +0000]
org-e-odt: Fix code typo

* contrib/lisp/org-e-odt.el (org-e-odt--export-wrap): Fix parenthesis
  mismatch.

17 months agoob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'
Bastien Guerry [Wed, 30 Jan 2013 11:20:32 +0000]
ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'

* ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'
and friends, rely on the extension of the output file.

Thanks to Florian Beck for suggesting this.

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 30 Jan 2013 11:11:10 +0000]
Merge branch 'maint'

Conflicts:
contrib/lisp/org-e-odt.el

17 months agoorg-archive.el (org-archive-file-header-format): New option
Bastien Guerry [Wed, 30 Jan 2013 10:50:14 +0000]
org-archive.el (org-archive-file-header-format): New option

* org-archive.el (org-archive-file-header-format): New option.
(org-archive-subtree): Use it.

Thanks to Christopher Schmidt for suggesting something close.

17 months agoorg-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix'...
racin [Wed, 30 Jan 2013 10:42:17 +0000]
org-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix' is nil

* org-bibtex.el (org-bibtex-search): Don't throw an error when
`org-bibtex-prefix' is nil.

TINYCHANGE

17 months agoorg.el: Always honor `org-startup-indented', even when `org-inhibit-startup' is non-nil
Bastien Guerry [Wed, 30 Jan 2013 10:18:24 +0000]
org.el: Always honor `org-startup-indented', even when `org-inhibit-startup' is non-nil

* org.el (org-mode): Always honor `org-startup-indented', even
when `org-inhibit-startup' is non-nil.

* org-indent.el (org-indent-mode): Don't check
`org-inhibit-startup'.

Thanks to Carsten for suggesting this.

17 months agoorg-e-odt.el (org-e-odt--export-wrap): Use `condition-case'
Bastien Guerry [Wed, 30 Jan 2013 09:46:43 +0000]
org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'

* org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'.

17 months agoorg-e-latex: Fix error in documents with empty footnote definitions
Nicolas Goaziou [Tue, 29 Jan 2013 22:19:58 +0000]
org-e-latex: Fix error in documents with empty footnote definitions

* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference):
  Provide a fallback definition when none is available.

17 months agoorg-md: Also translate fixed-width areas
Nicolas Goaziou [Mon, 28 Jan 2013 17:47:43 +0000]
org-md: Also translate fixed-width areas

17 months agoorg-export: Fix code typo
Nicolas Goaziou [Mon, 28 Jan 2013 12:53:37 +0000]
org-export: Fix code typo

* contrib/lisp/org-export.el (org-export-unravel-code): Fix code typo.

17 months agoorg-export: Add a filter for export options
Nicolas Goaziou [Sun, 27 Jan 2013 20:41:21 +0000]
org-export: Add a filter for export options

* contrib/lisp/org-export.el (org-export-filters-alist): Install a new
  filter to modify export options.
(org-export-filter-options-functions): New variable.
(org-export-as): Call new filter.

17 months agoFix commit eab0cd
Bastien Guerry [Sun, 27 Jan 2013 14:21:29 +0000]
Fix commit eab0cd

Thanks to Florian for spotting this...

17 months agoFix commit de3380
Bastien Guerry [Sun, 27 Jan 2013 09:05:54 +0000]
Fix commit de3380

Thanks to Leo Liu for providing a patch.

17 months agoMerge branch 'maint'
Bastien Guerry [Sun, 27 Jan 2013 08:21:47 +0000]
Merge branch 'maint'

17 months agoorg.el (org-fontify-meta-lines-and-blocks-1): Don't try to add text properties outsid...
Bastien Guerry [Sun, 27 Jan 2013 08:21:35 +0000]
org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add text properties outside of the buffer

* org.el (org-fontify-meta-lines-and-blocks-1): Don't try to
add text properties outside of the buffer.

Thanks to Leo Liu for reporting this.

17 months agofix bug: tangling #+headers: lines w/prefix arg
Eric Schulte [Sat, 26 Jan 2013 20:58:15 +0000]
fix bug: tangling #+headers: lines w/prefix arg

17 months agoorg-export: Fix subtree export when parent section is empty
Nicolas Goaziou [Sat, 26 Jan 2013 17:05:56 +0000]
org-export: Fix subtree export when parent section is empty

* contrib/lisp/org-export.el (org-export--get-subtree-options): When
  point is at an headline and subtree export is called, make sure
  export properties are extracted from parent headline.
* testing/lisp/test-org-export.el: Add test.

17 months agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 14:11:21 +0000]
Merge branch 'maint'

Conflicts:
lisp/org.el

17 months agoorg.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibili...
Bastien Guerry [Sat, 26 Jan 2013 14:10:43 +0000]
org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling'

* org.el (org-agenda-inhibit-startup): Rename from
`org-agenda-inhibit-startup-visibility-cycling'.
(org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
`org-agenda-inhibit-startup'.

17 months agoorg.el (org-mode): Don't initialize `org-beamer-mode' when `org-inhibit-startup'...
Bastien Guerry [Sat, 26 Jan 2013 14:03:21 +0000]
org.el (org-mode): Don't initialize `org-beamer-mode' when `org-inhibit-startup' is non-nil

* org.el (org-mode): Don't initialize `org-beamer-mode' when
`org-inhibit-startup' is non-nil.

17 months agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 12:40:26 +0000]
Merge branch 'maint'

17 months agoorg-footnote.el: Fix bug when using `electric-indent-mode'
Bastien Guerry [Sat, 26 Jan 2013 12:40:18 +0000]
org-footnote.el: Fix bug when using `electric-indent-mode'

* org-footnote.el (org-footnote-create-definition): Prevent
`electric-indent-mode' from inserting the definition at the
wrong place.

Thanks to Xue Fuqiao for reporting this bug.

17 months agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 12:29:49 +0000]
Merge branch 'maint'

17 months agoorg-agenda.el: Delete `org-agenda-no-heading-message'
Bastien Guerry [Sat, 26 Jan 2013 12:29:44 +0000]
org-agenda.el: Delete `org-agenda-no-heading-message'

* org-agenda.el (org-agenda-no-heading-message): Delete.
(org-agenda-get-timestamps, org-agenda-get-progress)
(org-agenda-get-deadlines, org-agenda-get-scheduled)
(org-agenda-get-blocks): Don't use
`org-agenda-no-heading-message', skip the entry.

17 months agoob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type
Bastien Guerry [Sat, 26 Jan 2013 11:00:37 +0000]
ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type

* ob-lilypond.el (ly-process-basic): Rely on
ly-gen-png/pdf/eps to set the output type.

Thanks to Florian Beck for reporting this.

17 months agoorg.texi (Column width and alignment): Make the example visually more clear
Bastien Guerry [Sat, 26 Jan 2013 10:47:14 +0000]
org.texi (Column width and alignment): Make the example visually more clear

* org.texi (Column width and alignment): Make the example
visually more clear.

Thanks to Joost Helberg for suggesting this.

17 months agoorg.el (org-read-date-minibuffer-local-map): New variable (Incompatible change)
Bastien Guerry [Sat, 26 Jan 2013 10:31:38 +0000]
org.el (org-read-date-minibuffer-local-map): New variable (Incompatible change)

* org.el (org-read-date-minibuffer-local-map): New variable.
(org-read-date): Use it.
(org-read-date-minibuffer-setup-hook): Mark as obsolete.

Thanks to Mark Edgington for suggesting this.

This is an incompatible change: if you use
`org-read-date-minibuffer-setup-hook' to set up commands for the
`org-read-date' minibuffer, you need to update your configuration
and use `org-read-date-minibuffer-local-map' instead.

17 months agoSilent compiler warning
Bastien Guerry [Sat, 26 Jan 2013 10:23:08 +0000]
Silent compiler warning

17 months agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 09:59:12 +0000]
Merge branch 'maint'

Conflicts:
lisp/org.el

17 months agoorg.el (org-agenda-inhibit-startup-visibility-cycling): New option
Bastien Guerry [Sat, 26 Jan 2013 09:57:47 +0000]
org.el (org-agenda-inhibit-startup-visibility-cycling): New option

* org.el (org-agenda-inhibit-startup-visibility-cycling): New
option.
(org-agenda-prepare-buffers): Use it to speed up the agenda
generation.

This change will boost agenda creation *a lot*, especially for
people using many agenda files.  See the docstring of the new
option for details.

17 months agoorg-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled...
Bastien Guerry [Sat, 26 Jan 2013 09:55:35 +0000]
org-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled/deadline lines

* org-agenda.el (org-agenda-skip): Fix bug by correctly
skipping commented scheduled/deadline lines.

This fixes a bug introduced in
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=211b13

17 months agoFix C-c C-c at a footnote definition
Nicolas Goaziou [Sat, 26 Jan 2013 09:34:57 +0000]
Fix C-c C-c at a footnote definition

* lisp/org.el (org-ctrl-c-ctrl-c): `save-excursion' prevents
  `org-footnote-action' to put point back onto the definition.

17 months agoMerge branch 'maint'
Bastien Guerry [Thu, 24 Jan 2013 15:36:36 +0000]
Merge branch 'maint'

Conflicts:
lisp/org.el

17 months agoFix compiler warning.
Bastien Guerry [Thu, 24 Jan 2013 15:31:08 +0000]
Fix compiler warning.

17 months agoorg-docview.el (org-docview-export): New function to export docview links
Дядов Васил Стоянов [Thu, 24 Jan 2013 15:10:56 +0000]
org-docview.el (org-docview-export): New function to export docview links

* org-docview.el (org-docview-export): New function to export
docview links.

TINYCHANGE

Patch slightly modified by Bastien.

17 months agoorg-man.el (org-man-export): New function to export links of type "man"
Bastien Guerry [Thu, 24 Jan 2013 15:09:12 +0000]
org-man.el (org-man-export): New function to export links of type "man"

* org-man.el (org-man-export): New function to export links of
type "man".

17 months agoorg.el (org-read-date): Bind `!' to `diary-view-entries'
Bastien Guerry [Thu, 24 Jan 2013 14:31:54 +0000]
org.el (org-read-date): Bind `!' to `diary-view-entries'

* org.el (org-read-date): Bind `!' to `diary-view-entries' in
order to check diary entries while setting an Org date.

17 months agoFix last commit.
Bastien Guerry [Thu, 24 Jan 2013 14:05:41 +0000]
Fix last commit.

17 months agoorg-agenda.el (org-diary): Only keep the descriptions of the links
Bastien Guerry [Thu, 24 Jan 2013 14:03:22 +0000]
org-agenda.el (org-diary): Only keep the descriptions of the links

* org-agenda.el (org-diary): Only keep the descriptions of the
links since Org links are not active in the diary buffer.

17 months agoNew face `org-priority'. Enhance fontification of priority cookies in agenda.
Bastien Guerry [Thu, 24 Jan 2013 13:16:11 +0000]
New face `org-priority'.  Enhance fontification of priority cookies in agenda.

* org-faces.el (org-priority): New face.

* org.el (org-font-lock-add-priority-faces): Use the new face.

* org-agenda.el (org-agenda-fontify-priorities): Use the
org-priority face and add specific agenda face on top of it.

17 months agoMerge branch 'maint'
Bastien Guerry [Thu, 24 Jan 2013 11:27:59 +0000]
Merge branch 'maint'

17 months agoorg.texi (Installation): Enhance instructions again
Bastien Guerry [Thu, 24 Jan 2013 11:27:55 +0000]
org.texi (Installation): Enhance instructions again

* org.texi (Installation): Enhance instructions again.

17 months agoSilence byte-compiler
Nicolas Goaziou [Wed, 23 Jan 2013 16:38:17 +0000]
Silence byte-compiler

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 13:58:33 +0000]
Merge branch 'maint'

17 months agoorg.texi (Org-Plot): Update link
Bastien Guerry [Wed, 23 Jan 2013 13:58:29 +0000]
org.texi (Org-Plot): Update link

* org.texi (Org-Plot): Update link.

Thanks to Xue Fuqiao for reporting this.

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 13:49:02 +0000]
Merge branch 'maint'

17 months agoorg-clock.el (org-clock-in): Fix bug when fetching the effort value
Bastien Guerry [Wed, 23 Jan 2013 13:48:52 +0000]
org-clock.el (org-clock-in): Fix bug when fetching the effort value

* org-clock.el (org-clock-in): Fix bug when fetching the effort
value.

Thanks to Vasil S. Diadov for reporting this bug and proposing a patch.

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 13:00:03 +0000]
Merge branch 'maint'

17 months agoob-python.el: Fix compatibility bug.
Bastien Guerry [Wed, 23 Jan 2013 12:58:20 +0000]
ob-python.el: Fix compatibility bug.

* ob-python.el (org-babel-python-command): Fix docstring.
(org-babel-python-initiate-session-by-key): Fix bug: `run-python'
from Emacs >24.1 requires a python command as an argument.

Thanks to Myles English for raising this issue.

17 months agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 11:58:15 +0000]
Merge branch 'maint'

17 months agoorg-element.el (org-element-at-point): Fix typo in docstring
Bastien Guerry [Wed, 23 Jan 2013 11:58:09 +0000]
org-element.el (org-element-at-point): Fix typo in docstring

* org-element.el (org-element-at-point): Fix typo in docstring.

17 months agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 21:28:47 +0000]
Merge branch 'maint'

Conflicts:
lisp/org-agenda.el

17 months agoorg-agenda.el (org-agenda-get-deadlines): Fix bug: use `org-agenda-show-inherited...
Bastien Guerry [Tue, 22 Jan 2013 21:27:56 +0000]
org-agenda.el (org-agenda-get-deadlines): Fix bug: use `org-agenda-show-inherited-tags'

* org-agenda.el (org-agenda-get-deadlines): Fix bug: use
`org-agenda-show-inherited-tags'.

Thanks to Kiwon Um for reporting this.

17 months agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 15:39:28 +0000]
Merge branch 'maint'

17 months agoorg-agenda.el (org-agenda-skip): Correctly handle commented out scheduled/deadline...
Bastien Guerry [Tue, 22 Jan 2013 15:39:23 +0000]
org-agenda.el (org-agenda-skip): Correctly handle commented out scheduled/deadline lines

* org-agenda.el (org-agenda-skip): Correctly handle commented
out scheduled/deadline lines.  Refactor.

Thanks to Rainer Stengele for reporting this and to Nick Dokos for
investigating further.  This fix will not slow down the agenda as checking
for a text property seems equally fast (and perhaps even slightly faster)
than checking the character after.

17 months agoorg.texi (Built-in table editor): Tiny enhancement
Bastien Guerry [Tue, 22 Jan 2013 15:03:19 +0000]
org.texi (Built-in table editor): Tiny enhancement

* org.texi (Checkboxes, Radio lists): Fix typos.

Thanks to Xue Fuqiao for pointing this.

17 months agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 15:01:01 +0000]
Merge branch 'maint'

17 months agoorg.texi (Checkboxes, Radio lists): Fix typos
Bastien Guerry [Tue, 22 Jan 2013 15:00:56 +0000]
org.texi (Checkboxes, Radio lists): Fix typos

* org.texi (Checkboxes, Radio lists): Fix typos.

17 months agoSmall typo correction
Samuel Loury [Mon, 14 Jan 2013 14:25:16 +0000]
Small typo correction

TINYCHANGE

17 months agoorg-agenda.el: Let-bind `org-time-clocksum-use-effort-durations' when checking clocks...
Bastien Guerry [Tue, 22 Jan 2013 14:53:14 +0000]
org-agenda.el: Let-bind `org-time-clocksum-use-effort-durations' when checking clocks and formatting items

* org-agenda.el (org-agenda-show-clocking-issues)
(org-agenda-format-item): Let-bind
`org-time-clocksum-use-effort-durations' to nil.

Thanks to Vincent Beffara for reporting this.

17 months agoorg.el: fix error message when C-u C-u C-c C-c on a list.
Bastien Guerry [Tue, 22 Jan 2013 14:22:17 +0000]
org.el: fix error message when C-u C-u C-c C-c on a list.

* org.el (org-ctrl-c-ctrl-c): Only throw a message when using
two universal prefix arguments on a list where all items are
already in a transitory state.  Refine the error when the
checkbox cannot be toggled.

Thanks to Robert Horn for reporting this.