23 months agofix remote execution w/empty shebang header arg release_7.9.2
Eric Schulte [Sat, 29 Sep 2012 21:12:10 +0000]
fix remote execution w/empty shebang header arg

Thanks to Nick Dokos for isolating this bug and suggesting this fix.

* lisp/ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.

23 months agoUncomment :version "24.3" cookies.
Bastien Guerry [Sat, 29 Sep 2012 21:46:02 +0000]
Uncomment :version "24.3" cookies.

* org.el (org-url-hexify-p, org-doi-server-url)
(org-latex-preview-ltxpng-directory, org-custom-properties)
(org-sparse-tree-default-date-type): Add :version "24.3".

* org-agenda.el (org-agenda-sticky)
(org-agenda-custom-commands-contexts): Ditto.

* org-capture.el (org-capture-bookmark)
(org-capture-use-agenda-date): Ditto.

* org-latex.el (org-export-latex-hyperref-options-format)
(org-export-latex-link-with-unknown-path-format): Ditto.

* org-id.el (org-id-link-to-org-use-id): Ditto.

* org-datetree.el (org-datetree-add-timestamp): Ditto.

23 months agoUpdate ORG-NEWS
Bastien Guerry [Sat, 29 Sep 2012 21:41:16 +0000]

23 months agoorg.el: Fall back in interactive prompt when `org-make-link-description-function...
Bastien Guerry [Sat, 29 Sep 2012 20:38:26 +0000]
org.el: Fall back in interactive prompt when `org-make-link-description-function' fails

* org.el (org-make-link-description-function): Enhance
(org-insert-link): Fall back on interactive prompt when
`org-make-link-description-function' fails.

Thanks to Sylvain Rousseau for triggering this.

23 months agoPoint to the Org ELPA page for instructions on installing through ELPA
Bastien Guerry [Sat, 29 Sep 2012 14:34:33 +0000]
Point to the Org ELPA page for instructions on installing through ELPA

Also some minor rephrasing.

23 months agoRemove comment from previous commit.
Bastien Guerry [Sat, 29 Sep 2012 11:46:31 +0000]
Remove comment from previous commit.

23 months agoorg-agenda.el (org-todo-list): Fix redoing of todo agenda when `org-agenda-sticky...
Bastien Guerry [Sat, 29 Sep 2012 11:44:19 +0000]
org-agenda.el (org-todo-list): Fix redoing of todo agenda when `org-agenda-sticky' is non-nil

* org-agenda.el (org-todo-list): Fix redoing of todo agenda
when `org-agenda-sticky' is non-nil.

23 months agoMakefile: do not attempt to show Org version from Emacs' perspective
Achim Gratz [Sat, 29 Sep 2012 09:49:28 +0000]
Makefile: do not attempt to show Org version from Emacs' perspective

* mk/ Remove invocation of $(SHOWVER).  Emacs does some
  stupid ioctl when org-fixup gets invoked and messes up the output.

* mk/ Remove definition of $(SHOWVER).

23 months agoMerge branch 'maint' of into maint
Bastien Guerry [Sat, 29 Sep 2012 09:10:11 +0000]
Merge branch 'maint' of into maint

23 months agoorg-agenda.el: Fix some bugs about (indirect) windows handling
Bastien Guerry [Sat, 29 Sep 2012 09:10:03 +0000]
org-agenda.el: Fix some bugs about (indirect) windows handling

* org-agenda.el (org-agenda-quit): Delete last indirect buffer.
(org-agenda-pre-follow-window-conf): New variable.
(org-agenda-tree-to-indirect-buffer): Fix bug: don't split
agenda window when there an indirect buffer is already

23 months agoMakefile: implement target config-version
Achim Gratz [Sat, 29 Sep 2012 08:47:40 +0000]
Makefile: implement target config-version

* mk/ Implement target `config-version´ to show the version
  of Org from both make's and Emacs' perspective.  Run that target at
  the end of all `config-*´ targets.

* mk/ Add SHOWVER with the appropriate invocation of emacs
  to output the Org version.

* Makefile: Document new target `config-version´ in `helpall´.

23 months agoorg-element: Properly remove COMMENT and QUOTE keywords from title in parser
Nicolas Goaziou [Sat, 29 Sep 2012 07:46:09 +0000]
org-element: Properly remove COMMENT and QUOTE keywords from title in parser

* lisp/org-element.el: Properly remove COMMENT and QUOTE keywords from
  title in parser.
* testing/lisp/test-org-element.el: Add tests.

23 months agoPartially revert "test-ob.el: Fix test. Delete trailing whitespaces"
Achim Gratz [Sat, 29 Sep 2012 08:02:36 +0000]
Partially revert "test-ob.el: Fix test.  Delete trailing whitespaces"

This reverts the last part of commit 22c308083098f98a46bf2e752e005a9c36618b54.

* testing/lisp/test-ob.el (test-ob/results-do-not-replace-code-blocks):
  These two whitespace errors are intentional.  Do not remove them.

23 months agoMerge branch 'maint' of into maint
Bastien Guerry [Sat, 29 Sep 2012 07:38:34 +0000]
Merge branch 'maint' of into maint

23 months agotest-ob.el: Fix test. Delete trailing whitespaces
Bastien Guerry [Sat, 29 Sep 2012 07:38:19 +0000]
test-ob.el: Fix test.  Delete trailing whitespaces

* test-ob.el (test-ob/org-babel-remove-result--results-org):
Fix test.  Delete trailing whitespaces.

23 months agoorg-element: Fix parsing for headlines with only a COMMENT or QUOTE keyword
Nicolas Goaziou [Sat, 29 Sep 2012 06:54:46 +0000]
org-element: Fix parsing for headlines with only a COMMENT or QUOTE keyword

* lisp/org-element.el (org-element-headline-parser): Fix parsing for
  headlines with a single COMMENT or QUOTE keyword.
* testing/lisp/test-org-element.el: Add tests.

23 months agomarginally less hacky comma escaping of org blocks
Eric Schulte [Fri, 28 Sep 2012 18:47:14 +0000]
marginally less hacky comma escaping of org blocks

* ob.el (org-babel-insert-result): Replace key sequence with
  function call.  Use a more informative flag to the local function.
  (org-add-protective-commas): Declare a new external function.
* org-src.el (org-add-protective-commas): This should be its own
  (org-edit-src-exit): Use the new function.

23 months agoorg-agenda.el: Speedup redisplay of an agenda item after it has been modified
Max Mikhanosha [Fri, 28 Sep 2012 13:02:07 +0000]
org-agenda.el: Speedup redisplay of an agenda item after it has been modified

* org-agenda.el (org-agenda-change-all-lines): Speedup
refresh of a single line of agenda by narrowing the agenda
buffer to just that line before calling `org-agenda-finalize'.

23 months agoorg-agenda.el: Make sure to get a property from (1- (point-max)), not (point-max))
Bastien Guerry [Sat, 29 Sep 2012 06:09:21 +0000]
org-agenda.el: Make sure to get a property from (1- (point-max)), not (point-max))

* org-agenda.el (org-agenda-manipulate-query)
(org-agenda-goto-date, org-agenda-goto-today)
(org-agenda-find-same-or-today-or-agenda, )
(org-agenda-later, org-agenda-change-time-span)
(org-agenda-goto-calendar, org-agenda-convert-date): Make sure
to get a property from (1- (point-max)), not (point-max)).

Thanks to Juan Pechiar for reporting a related problem.

23 months agoSmall fixes to the guide and the manual
Bastien Guerry [Sat, 29 Sep 2012 05:27:51 +0000]
Small fixes to the guide and the manual

* org.texi (Installation, Feedback, Batch execution):
Use (add-to-list 'load-path ... t) for the contrib dir.

* orgguide.texi (Activation): No need to add org-mode to
auto-mode-alist since Emacs 22.2.

23 months agoorg-src.el: Fix commit e279e9
Bastien Guerry [Sat, 29 Sep 2012 05:21:12 +0000]
org-src.el: Fix commit e279e9

23 months agoob-dot.el (org-babel-execute:dot): Throw an error when there is no :file parameter
Bastien Guerry [Fri, 28 Sep 2012 17:06:17 +0000]
ob-dot.el (org-babel-execute:dot): Throw an error when there is no :file parameter

* ob-dot.el (org-babel-execute:dot): Throw an error when there
is no :file parameter.

23 months agoorg-table.el: Convert time-stamps to inactive time-stamp so that Calc can handle...
Bastien Guerry [Fri, 28 Sep 2012 16:22:38 +0000]
org-table.el: Convert time-stamps to inactive time-stamp so that Calc can handle them correctly

* org-table.el (org-table-eval-formula): Convert time-stamps
to inactive time-stamp so that Calc can handle them correctly.

Thanks to Daniel E. Doherty for reporting this.

23 months agoorg.el: Don't set org-hide foreground to "invisible-bg"
Max Mikhanosha [Fri, 28 Sep 2012 15:48:05 +0000]
org.el: Don't set org-hide foreground to "invisible-bg"

* org.el (org-mode): Don't set org-hide's foreground
to "invisible-bg".
(org-find-invisible-foreground): New function.

23 months agoorg-table.el: Warn with a message when formulas have been updated
Bastien Guerry [Fri, 28 Sep 2012 15:59:22 +0000]
org-table.el: Warn with a message when formulas have been updated

* org-table.el (org-table-fix-formulas): Warn with a message
when formulas have been updated.

23 months agoFix error messages: don't use a dot at the end
Bastien Guerry [Fri, 28 Sep 2012 15:47:48 +0000]
Fix error messages: don't use a dot at the end

23 months agoob-org: By default, export code from Org src blocks
Nicolas Goaziou [Fri, 28 Sep 2012 12:58:59 +0000]
ob-org: By default, export code from Org src blocks

* lisp/ob-org.el (org-babel-default-header-args:org): By default,
  export code from Org src blocks.

23 months agoorg-e-html.el (org-e-html-final-function): Turn on `html-mode', not `nxml-mode'
Bastien Guerry [Fri, 28 Sep 2012 15:08:37 +0000]
org-e-html.el (org-e-html-final-function): Turn on `html-mode', not `nxml-mode'

* org-e-html.el (org-e-html-final-function): Turn on
`html-mode', not `nxml-mode'.

23 months agoorg-publish.el (org-publish-cache-ctime-of-src): Fix reference to relative symlinks
Bastien Guerry [Fri, 28 Sep 2012 15:07:22 +0000]
org-publish.el (org-publish-cache-ctime-of-src): Fix reference to relative symlinks

* org-publish.el (org-publish-cache-ctime-of-src): Delete
the base-dir argument and use (file-name-directory file) to
get the file's directory.
(org-publish-cache-file-needs-publishing): Call
`org-publish-cache-ctime-of-src' with only one argument.

Thanks to T.F. Torrey who suggested a fix for this.

23 months agoorg.el (org-follow-timestamp-link): Fix bug when using sticky agenda
Bastien Guerry [Fri, 28 Sep 2012 14:51:21 +0000]
org.el (org-follow-timestamp-link): Fix bug when using sticky agenda

* org.el (org-follow-timestamp-link): Fix bug when using
sticky agenda.  Add a docstring.

Thanks to Christoph Lange for reporting this.

23 months agoorg-fixup.el (org-make-local-mk): Fix typo in comment
Bastien Guerry [Fri, 28 Sep 2012 14:40:00 +0000]
org-fixup.el (org-make-local-mk): Fix typo in comment

* org-fixup.el (org-make-local-mk): Fix typo in comment.

23 months agoorg-agenda.el (org-agenda-sticky): Don't use a function to set. Add a :version string.
Bastien Guerry [Fri, 28 Sep 2012 14:37:23 +0000]
org-agenda.el (org-agenda-sticky): Don't use a function to set.  Add a :version string.

* org-agenda.el (org-agenda-sticky): Don't use a function to
set.  Add a :version string.

23 months agoAdd a link to documentation
Memnon Anon [Fri, 28 Sep 2012 13:51:56 +0000]
Add a link to documentation

* doc/org.texi (Tracking your habits): Point to the
  "Tracking TODO state changes" section.

As suggested by Jonas Stein.


23 months agomk/ Use /elpa/ instead of /pkg/daily/
Bastien Guerry [Fri, 28 Sep 2012 08:05:10 +0000]
mk/ Use /elpa/ instead of /pkg/daily/

23 months agoRebind `org-agenda-priority' to `C-c ," in agenda mode (`C-u C-c ,' now shows priority)
Bastien Guerry [Fri, 28 Sep 2012 06:29:38 +0000]
Rebind `org-agenda-priority' to `C-c ," in agenda mode (`C-u C-c ,' now shows priority)

* org.el (org-priority): Use a new argument to show priority
instead of setting it.
(org-show-priority): New function to show priority both in
normal Org buffers and in Org Agenda buffers.
(org-speed-commands-default): Use "," as a speed command for
setting priority.

* org-agenda.el (org-agenda-mode-map): Bind
`org-agenda-priority' to `C-c ,' as it was before.
(org-agenda-show-priority): Delete.
(org-agenda-priority): Use a new argument to show priority
instead of setting it.

Thanks to Robert Horn for triggering this change.

23 months agoRename some functions and move some hooks.
Bastien Guerry [Thu, 27 Sep 2012 22:12:53 +0000]
Rename some functions and move some hooks.

* org.el (org-font-lock-hook, org-set-font-lock-defaults): Add
a docstring.
(org-display-inline-remove-overlay): Rename from
(org-speed-command-activate): Rename from
(org-babel-speed-command-hook): Rename from

* org-agenda.el (org-agenda-update-agenda-type): Rename from
(org-agenda-mode): Use the new name.
(org-agenda-post-command-hook): Define as obsolete function.

* org-lparse.el (org-lparse): Temporarily activate the hooks
needed for the ODT conversion.
(org-lparse-preprocess-after-blockquote): Rename from
(org-lparse-strip-experimental-blocks-maybe): Rename from
(org-lparse-strip-experimental-blocks-maybe-hook): Define as
obsolete functions.

23 months agoMerge branch 'maint' of into maint
Bastien Guerry [Thu, 27 Sep 2012 21:50:02 +0000]
Merge branch 'maint' of into maint

23 months agoob.el (org-babel-insert-result): Comma-escape results inserted with ":results org"
Bastien Guerry [Thu, 27 Sep 2012 21:49:08 +0000]
ob.el (org-babel-insert-result): Comma-escape results inserted with ":results org"

* ob.el (org-babel-insert-result): Comma-escape results
inserted with ":results org".

23 months agoorg-src.el: Fix bug about C-c C-s'ing in the source editing window
Bastien Guerry [Thu, 27 Sep 2012 21:45:34 +0000]
org-src.el: Fix bug about C-c C-s'ing in the source editing window

* org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug
about saving the source editing window with the default value
for `org-src-window-setup' (i.e. 'reorganize-frame).

23 months agoorg-src.el (org-src-font-lock-fontify-block): Fix bug: don't fontify the last character
Bastien Guerry [Thu, 27 Sep 2012 21:40:28 +0000]
org-src.el (org-src-font-lock-fontify-block): Fix bug: don't fontify the last character

* org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
fontify the last character.

23 months agoorg.el (org-open-at-point): Don't follow timestamp within bracket links
Bastien Guerry [Thu, 27 Sep 2012 21:29:01 +0000]
org.el (org-open-at-point): Don't follow timestamp within bracket links

* org.el (org-open-at-point): Don't follow timestamp within
bracket links.

23 months agomk/ (hopefully) correct generation of the package description vector
Achim Gratz [Thu, 27 Sep 2012 18:36:08 +0000]
mk/ (hopefully) correct generation of the package description vector

* mk/ Correct generation of the package description vector.
  Use empty list instead of nil and add the package type "tar".  With
  these changes a local copy of the package directory is recognized
  correctly.  Add local file variable to the package description files
  so that the byte compiler does not try to compile them.

23 months agoorg-capture.el (org-capture-templates): Fix typo in docstring
Bastien Guerry [Wed, 26 Sep 2012 22:54:20 +0000]
org-capture.el (org-capture-templates): Fix typo in docstring

* org-capture.el (org-capture-templates): Fix typo in docstring.

23 months agoorg-id-link-to-org-use-id: Align doc string
Michael Brand [Wed, 26 Sep 2012 17:55:50 +0000]
org-id-link-to-org-use-id: Align doc string

* org-id.el (org-id-link-to-org-use-id): Align the doc string to the
changed default.

A leftover of commit 0906e32b.

23 months agoMerge branch 'maint' of into maint
Bastien Guerry [Wed, 26 Sep 2012 21:45:04 +0000]
Merge branch 'maint' of into maint

23 months agomk/ Fix echo usage for the server
Bastien Guerry [Wed, 26 Sep 2012 21:44:25 +0000]
mk/ Fix echo usage for the server

23 months agofix test: BEGIN_ORG / END_ORG has been replaced by BEGIN_SRC org / END_SRC
Achim Gratz [Wed, 26 Sep 2012 19:35:34 +0000]
fix test: BEGIN_ORG / END_ORG has been replaced by BEGIN_SRC org / END_SRC

* testing/lisp/test-ob.el (test-ob/org-babel-remove-result--results-org):
  BEGIN_ORG / END_ORG has been replaced by BEGIN_SRC org / END_SRC.
  Change test comparison template accordingly.

* testing/lisp/test-ob.el (test-ob/org-babel-remove-result--results-*):
  These tests had duplicate definitions, removed the first one of each.

23 months agomk/ Let's use /pkg/daily/ for now
Bastien Guerry [Wed, 26 Sep 2012 16:27:27 +0000]
mk/ Let's use /pkg/daily/ for now

23 months agomk/ Add an "archive-contents" target
Bastien Guerry [Wed, 26 Sep 2012 15:50:20 +0000]
mk/ Add an "archive-contents" target

Based on the proposal by Eric Schulte on the mailing list.
Also use the /var/www/ directory as the
place where to store ELPA archives (whether they are further
downloaded to the server or not.)

23 months agoFix a compiler warning.
Bastien Guerry [Wed, 26 Sep 2012 13:18:49 +0000]
Fix a compiler warning.

23 months agoorg-agenda.el (org-agenda-skip): Skip information retrieved from a source block
Bastien Guerry [Wed, 26 Sep 2012 09:23:23 +0000]
org-agenda.el (org-agenda-skip): Skip information retrieved from a source block

* org-agenda.el (org-agenda-skip): Skip information retrieved
from a source block.

Thanks to Sébastien Vauban for pointing at this.

23 months agoob.el: Reintroduce ":results org" but using "#+BEGIN_SRC org", not "#+BEGIN_ORG"
Bastien Guerry [Wed, 26 Sep 2012 08:56:16 +0000]
ob.el: Reintroduce ":results org" but using "#+BEGIN_SRC org", not "#+BEGIN_ORG"

* ob.el (org-babel-common-header-args-w-values)
(org-babel-insert-result): Reintroduce ":results org" but
using "#+BEGIN_SRC org", not "#+BEGIN_ORG".

* org.texi (results): Update documentation for ":results
drawer" and ":results org".

23 months agoob.el: Remove "org" the list of predefined values for the ":results" parameter
Bastien Guerry [Wed, 26 Sep 2012 07:49:09 +0000]
ob.el: Remove "org" the list of predefined values for the ":results" parameter

* ob.el (org-babel-common-header-args-w-values): Remove "org"
the list of predefined values for the ":results" parameter.

This complete the previous fix (commit 203e50b).

23 months ago* ob.el (org-babel-insert-result): Remove support for ":results org"
Bastien Guerry [Wed, 26 Sep 2012 07:38:49 +0000]
* ob.el (org-babel-insert-result): Remove support for ":results org"

* ob.el (org-babel-insert-result): Remove support for
":results org".

The insertion of #+BEGIN_ORG was confusing.  You can either use
":results raw" to insert the raw results or ":results drawer" to
wrap them into a :RESULTS: ... :END: drawer.

23 months agoob.el: Deprecate ":results wrap" in favor of ":results drawer"
Bastien Guerry [Wed, 26 Sep 2012 07:23:51 +0000]
ob.el: Deprecate ":results wrap" in favor of ":results drawer"

* ob.el (org-babel-common-header-args-w-values)
(org-babel-insert-result): Deprecate ":results wrap" in favor
of ":results drawer".

23 months agoorg-crypt.el (org-at-encrypted-entry-p): Fix bug when the check happens before the...
Bastien Guerry [Wed, 26 Sep 2012 06:28:32 +0000]
org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check happens before the first headline

* org-crypt.el (org-at-encrypted-entry-p): Fix bug when
the check happens before the first headline.

23 months agoorg-capture.el: Add declarations and check is `org-crypt' is loaded (Fix commit ac6409fe)
Bastien Guerry [Wed, 26 Sep 2012 06:25:05 +0000]
org-capture.el: Add declarations and check is `org-crypt' is loaded (Fix commit ac6409fe)

* org-capture.el (org-at-encrypted-entry-p)
(org-encrypt-entry, org-decrypt-entry): Declare.
(org-capture-set-target-location): Check whether `org-crypt'
has been loaded.

Thanks to Mike McLean for reporting this.

23 months agoorg.texi (Column width and alignment): Fix typo
Bastien Guerry [Tue, 25 Sep 2012 22:38:32 +0000]
org.texi (Column width and alignment): Fix typo

* org.texi (Column width and alignment): Fix typo.

Thanks to Erich Neuwirth for spotting this.

23 months agoorg-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in docstring
Bastien Guerry [Tue, 25 Sep 2012 16:30:55 +0000]
org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in docstring

* org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in docstring.

23 months agoAllow using an encrypted headline as a capture target.
Bastien Guerry [Tue, 25 Sep 2012 14:32:52 +0000]
Allow using an encrypted headline as a capture target.

* org-capture.el (org-capture-finalize): Maybe re-encrypt
the target headline if it was decrypted.
(org-capture-set-target-location): Maybe decrypt the target

* org-crypt.el (org-at-encrypted-entry-p): New function.

Thanks to Guilherme Gondim for suggesting this.

23 months agoorg.el (org-options-keywords): Add "STYLE:"
Bastien Guerry [Tue, 25 Sep 2012 12:40:38 +0000]
org.el (org-options-keywords): Add "STYLE:"

* org.el (org-options-keywords): Add "STYLE:".

23 months agomk/ Add COPYING to ELPA archives
Bastien Guerry [Tue, 25 Sep 2012 01:45:21 +0000]
mk/ Add COPYING to ELPA archives

23 months agoAdd COPYING and fix other related issues.
Bastien Guerry [Mon, 24 Sep 2012 17:15:42 +0000]
Add COPYING and fix other related issues.

Fix the header of ob-fortran.el (see this fix in Emacs trunk:
Specify that org-colview-xemacs.el is *not* part of Emacs.
Specify that org-element.el is part of Emacs (prepare the sync.)
Add COPYING in the release (mk/

23 months agoorg-agenda.el (org-agenda-ndays): Fix bug
Bastien Guerry [Mon, 24 Sep 2012 15:59:23 +0000]
org-agenda.el (org-agenda-ndays): Fix bug

* org-agenda.el (org-agenda-ndays): Don't make an alias, as
`org-agenda-span' is defined separately.

Thanks to Tassilo for reporting this.

23 months agoSmall enhancements to the main Org menu.
Bastien Guerry [Mon, 24 Sep 2012 15:19:12 +0000]
Small enhancements to the main Org menu.

* org.el (org-in-subtree-not-table-p): New utility function
for building the menu.
(org-org-menu): Add an item for refiling.  Check more contexts
when activating items.
(org-tree-to-indirect-buffer): Use `org-up-heading-safe'.

* org-agenda.el (org-agenda-tree-to-indirect-buffer)
(org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.

23 months agoorg-capture.el: Set a correct time value with file+datetree+prompt
Bastien Guerry [Mon, 24 Sep 2012 06:28:45 +0000]
org-capture.el: Set a correct time value with file+datetree+prompt

* org-capture.el (org-capture-set-target-location): Set a
correct time value when storing a note in a datetree and
prompting the user for a date.

Thanks to Gregor Zattler for reporting this.

23 months agoorg-capture.el (org-capture-mode): Fix bug: don't run the mode's hook twice
Bastien Guerry [Mon, 24 Sep 2012 05:07:43 +0000]
org-capture.el (org-capture-mode): Fix bug: don't run the mode's hook twice

* org-capture.el (org-capture-mode): Fix bug: don't run the
mode's hook twice.

Thanks to Kalev Takkis for reporting this.

23 months agoorg-agenda.el: Use `define-obsolete-variable-alias'
Bastien Guerry [Sun, 23 Sep 2012 10:00:44 +0000]
org-agenda.el: Use `define-obsolete-variable-alias'

* org-agenda.el (org-agenda-menu-two-column)
(org-finalize-agenda-hook, org-agenda-ndays): Use
`define-obsolete-variable-alias' instead of

23 months agoorg.el: Use nil as the default value for `org-link-to-org-use-id'
Bastien Guerry [Sun, 23 Sep 2012 09:58:49 +0000]
org.el: Use nil as the default value for `org-link-to-org-use-id'

* org.el (org-link-to-org-use-id): Move to org-id.el.

* org-id.el (org-id-link-to-org-use-id): Rename from
`org-link-to-org-use-id'.  Use `nil' as the default value.
(org-link-to-org-use-id): Alias and define as obsolete.

`org-link-to-org-use-id' was previously defined in org.el but only
active when org-id.el was loaded.  This is wrong.  It now belongs
to org-id.el.

Also, as some libraries require org-id.el on the fly, a non-nil
default value for `org-link-to-org-use-id' had the side-effect of
changing the behavior of `org-store-link' behind the user's back.
Which is wrong too.  The new default value is `nil' so that, even
when a library requires org-id.el without the user noticing it,
the behavior of `org-store-link' will not change.

Users who want to keep the previous behavior can set the variable
to 'create-if-interactive-and-no-custom-id


23 months agodo not set variables belonging to ESS
Achim Gratz [Sun, 23 Sep 2012 09:07:18 +0000]
do not set variables belonging to ESS

* lisp/ob-R.el (org-babel-R-initiate-session): Protect against use of
  unbound variable `ess-ask-for-ess-directory´. The default for this
  variable is true, so act accordingly if it is found unbound.

* lisp/ob-R.el: Remove initialization with `nil´ from
 `ess-ask-for-ess-directory´ and `ess-local-process-name´.  Remove
 second declaration for `ess-local-process-name´.

* testing/lisp/test-ob-R.el (test-ob-R/simple-session): Bind
  `ess-ask-for-ess-directory´ to nil to facilitate batch testing.

23 months agoorg-agenda.el: Fix bug about 'time-up sorting strategy not being honored
Bastien Guerry [Sun, 23 Sep 2012 08:16:12 +0000]
org-agenda.el: Fix bug about 'time-up sorting strategy not being honored

* org-agenda.el (org-search-view, org-agenda-get-todos)
(org-agenda-get-timestamps, org-agenda-get-blocks): Use the
dotime parameter of `org-agenda-format-item' so that 'time-up
and 'time-down agenda sorting strategies are handled correctly.

Thanks to Richard Lawrence who reported this.

23 months agocontrib/lisp/org-e-html.el: Honor the use of `org-time-stamp-custom-formats'
Bastien Guerry [Sat, 22 Sep 2012 16:42:51 +0000]
contrib/lisp/org-e-html.el: Honor the use of `org-time-stamp-custom-formats'

* org-e-html.el (org-e-html-timestamp): Honor the use of

2 years agoorg-capture.el (org-capture-fill-template): Fix checking of protected template entries
Bastien Guerry [Sat, 22 Sep 2012 09:08:20 +0000]
org-capture.el (org-capture-fill-template): Fix checking of protected template entries

* org-capture.el (org-capture-fill-template): Fix checking of
protected template entries.

Thanks to Myles English for spotting this.

2 years agoorg.el (org-cycle-global-at-bob): Fix typo in docstring
Bastien Guerry [Sat, 22 Sep 2012 08:55:06 +0000]
org.el (org-cycle-global-at-bob): Fix typo in docstring

* org.el (org-cycle-global-at-bob): Fix typo in docstring.

2 years agoSmall fixes to the README files and to mk/
Bastien Guerry [Sat, 22 Sep 2012 08:32:46 +0000]
Small fixes to the README files and to mk/

2 years agoReorder the README files.
Bastien Guerry [Fri, 21 Sep 2012 14:35:04 +0000]
Reorder the README files.

Use README as the readme file for the distribution.
Use README_ELPA as the readme file for ELPA packages.
New README_git file to describe readme files in git.
Update mk/ to include the correct READMEs.
Update mk/ to update README.
Add some more help info in mk/

2 years agocontrib/lisp/org-wikinodes.el: Fixes
Bastien Guerry [Sat, 22 Sep 2012 07:20:14 +0000]
contrib/lisp/org-wikinodes.el: Fixes

* org-wikinodes.el (org-wikinodes-follow-link): Specify
the directory when trying to find a target.
(org-wikinodes-which-file): Rewrite.

2 years agoorg.el: Fix bug in `org-insert-drawer'
Bastien Guerry [Fri, 21 Sep 2012 16:00:36 +0000]
org.el: Fix bug in `org-insert-drawer'

* org.el (org-insert-drawer): Deactivate the mark before
trying to indent the :END: of the drawer.

Thanks to Christoph LANGE for reporting this.

2 years agoorg-clock.el (org-clock-in): Fix bug in setting the clock heading
Levin Du [Fri, 21 Sep 2012 13:42:38 +0000]
org-clock.el (org-clock-in): Fix bug in setting the clock heading

* org-clock.el (org-clock-in): Fix bug in setting the clock


2 years agoorg.texi (Activation): Point to the "Conflicts" section
Bastien Guerry [Fri, 21 Sep 2012 09:07:34 +0000]
org.texi (Activation): Point to the "Conflicts" section

* org.texi (Activation): Point to the "Conflicts" section.

2 years agoorg.texi (Conflicts): Mention filladapt.el in the list of conflicting packages
Bastien Guerry [Fri, 21 Sep 2012 09:02:00 +0000]
org.texi (Conflicts): Mention filladapt.el in the list of conflicting packages

* org.texi (Conflicts): Mention filladapt.el in the list of
conflicting packages.

Thanks to Anthony Lander for the hook.

2 years agocontrib/lisp/org-wikinodes.el: Fix typo
Bastien Guerry [Fri, 21 Sep 2012 08:39:44 +0000]
contrib/lisp/org-wikinodes.el: Fix typo

* org-wikinodes.el
(org-wikinodes-clear-directory-targets-cache): Rename from
mispelled name.
(org-wikinodes-clear-cache-when-on-target): Use the correct

2 years agoorg-agenda.el (org-agenda-export-html-style): Default to nil
Bastien Guerry [Fri, 21 Sep 2012 08:04:14 +0000]
org-agenda.el (org-agenda-export-html-style): Default to nil

* org-agenda.el (org-agenda-export-html-style): Default to nil
as any string value will replace the htmlize style.

See commit 8447ea.

2 years agoMakefile: add contrib files while generating autoloads
Achim Gratz [Thu, 20 Sep 2012 20:35:35 +0000]
Makefile: add contrib files while generating autoloads

* mk/ Move copy of contrib additions to lisp/Makefile.

* lisp/Makefile: Let `autoloads´ in lisp re-generate contrib files by
  depending on new target `addcontrib´ in the right order.

2 years agomk/ rename orgplus to org-plus-contrib
Achim Gratz [Thu, 20 Sep 2012 18:55:47 +0000]
mk/ rename orgplus to org-plus-contrib

* mk/ Rename EPLA package from orgplus to org-plus-contrib.

2 years agoorg-element: Fix inline-src-block parsing at the beginning of an item
Nicolas Goaziou [Thu, 20 Sep 2012 17:12:39 +0000]
org-element: Fix inline-src-block parsing at the beginning of an item

* lisp/org-element.el (org-element-inline-src-block-successor): Fix
  inline-src-block parsing at the beginning of an item.
* testing/lisp/test-org-element.el: Add test.

2 years agoDon't force the <style> tag to be present in `org-agenda-export-html-style'
Fabrice Niessen [Wed, 19 Sep 2012 10:10:20 +0000]
Don't force the <style> tag to be present in `org-agenda-export-html-style'

* org-agenda.el (org-agenda-write-buffer-name): Remove the
test for the presence of <style> tag.


2 years agoorg.el (org-cycle-hook): Fix tiny typo in docstring
Bastien Guerry [Wed, 19 Sep 2012 10:29:27 +0000]
org.el (org-cycle-hook): Fix tiny typo in docstring

* org.el (org-cycle-hook): Fix tiny typo in docstring.

2 years agoorg.el: Add docstrings
Bastien Guerry [Wed, 19 Sep 2012 09:44:07 +0000]
org.el: Add docstrings

* org.el (org-time-string-to-time)
(org-time-string-to-seconds, org-end-of-subtree): Add a

2 years agoorg-freemind.el (org-freemind-write-node): Enhance links conversion in nodes
Bastien Guerry [Wed, 19 Sep 2012 08:46:14 +0000]
org-freemind.el (org-freemind-write-node): Enhance links conversion in nodes

* org-freemind.el (org-freemind-write-node): Enhance links
conversion in nodes.

Thanks to Bill Day for requesting this.

2 years agoorg-freemind.el (org-freemind-write-node): Convert links in nodes
Bastien Guerry [Wed, 19 Sep 2012 07:22:12 +0000]
org-freemind.el (org-freemind-write-node): Convert links in nodes

* org-freemind.el (org-freemind-write-node): Convert links in

Thanks to Bill Day for reporting this.

2 years agoorg-e-publish.el (org-e-publish-org-to-html): Fix typo
Robert Klein [Wed, 19 Sep 2012 06:07:36 +0000]
org-e-publish.el (org-e-publish-org-to-html): Fix typo

* org-e-publish.el (org-e-publish-org-to-html): Fix typo.


2 years agodo not use an explicit nil argument for package requirements
Achim Gratz [Tue, 18 Sep 2012 19:36:44 +0000]
do not use an explicit nil argument for package requirements

* mk/ Do not use an explicit nil argument for package

Marmalade chokes on this, thanks to E. Schulte for the report.

2 years agoorg.el: Use "capture" instead of "remember" in docstrings.
Bastien Guerry [Tue, 18 Sep 2012 15:18:33 +0000]
org.el: Use "capture" instead of "remember" in docstrings.

* org.el (org-link-to-org-use-id, org-directory)
(org-default-notes-file, org-reverse-note-order)
(org-extend-today-until, org-finish-function)
(org-store-link-functions): Use "capture" instead of
"remember" in docstrings.  Also use the `org-capture' group
when it makes sense.

2 years agoorg.texi (Activation): Adding org-mode to `auto-mode-alist' is not needed for version...
Bastien Guerry [Tue, 18 Sep 2012 14:21:36 +0000]
org.texi (Activation): Adding org-mode to `auto-mode-alist' is not needed for versions of Emacs > 22.1

* org.texi (Activation): Adding org-mode to `auto-mode-alist'
is not needed for versions of Emacs > 22.1.

Thanks to Robert P. J. Day for suggesting this.

2 years agoorg-agenda.el: Fix bug when showing indirect agenda in another frame
Bastien Guerry [Tue, 18 Sep 2012 14:06:46 +0000]
org-agenda.el: Fix bug when showing indirect agenda in another frame

* org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
correct agenda buffer.  Don't split the agenda window when the
indirect buffer is displayed in another frame.

Thanks Viktor Rosenfeld for reporting this.

2 years agoorg.el (org-mode): Try to set the org-hide face correctly
Bastien Guerry [Tue, 18 Sep 2012 10:24:05 +0000]
org.el (org-mode): Try to set the org-hide face correctly

* org.el (org-mode): Try to set the org-hide face correctly.

Thanks to Arne Babenhauserheide for reporting a related problem.

2 years agoorg-exp.el (org-export): Set the mark correctly when exporting a subtree
Bastien Guerry [Tue, 18 Sep 2012 09:09:25 +0000]
org-exp.el (org-export): Set the mark correctly when exporting a subtree

* org-exp.el (org-export): Set the mark correctly when
exporting a subtree.

Thanks to Tyler Smith for reporting this problem.

2 years agoorg-agenda.el: Fix the display of the number of commands for block agendas
Bastien Guerry [Tue, 18 Sep 2012 07:09:41 +0000]
org-agenda.el: Fix the display of the number of commands for block agendas

* org-agenda.el (org-agenda-get-restriction-and-command): Fix
the display of the number of commands for block agendas.

Thanks to Sébastien Vauban for reporting this.

2 years agoorg-agenda.el: Allow `org-agenda-finalize-hook' to modify the buffer
Bastien Guerry [Tue, 18 Sep 2012 06:40:11 +0000]
org-agenda.el: Allow `org-agenda-finalize-hook' to modify the buffer

* org-agenda.el (org-agenda-before-write-hook)
(org-agenda-add-entry-text-maxlines): Enhance phrasing.
(org-agenda-finalize-hook, org-agenda-mode-hook): Tell that
the buffer is writable when the hook is called.
(org-agenda-finalize): Allow org-agenda-finalize-hook to
modify the buffer.

Thanks to Moritz Ulrich and to Aaron Ecay for triggering this fix.