org-mode.git
2 years agoAgenda: Add new todo-unblocked and nottodo-unblocked skip conditions
Toby S. Cubitt [Sat, 28 Jan 2012 17:26:21 +0000]
Agenda: Add new todo-unblocked and nottodo-unblocked skip conditions

* lisp/org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
Add new todo-unblocked and nottodo-unblocked skip conditions.  These
match as for todo and nottodo, but only for unblocked todo items.

TINYCHANGE

This patch adds two new tests to `org-agenda-skip-if': 'todo-unblocked
and 'nottodo-unblocked.  These match like 'todo and 'nottodo, but only on
unblocked todo items.  This type of test is useful when compiling custom
agenda views containing lists of currently actionable todo items.

Whilst it's possible to code such tests in `org-agenda-custom-commands'
directly (well, Elisp is Turing-complete: you can in principle code
anything!), it's far less convenient than a simple `org-agenda-skip-if'
test which can reuse much of the existing machinery.

Note that the attached patch applies on top of my other "Fix
org-agenda-skip-if bug" patch, though this new feature is independent of
that bug-fix.

2 years agoOption for clock and timer to be displayed in frame-title
George Kettleborough [Wed, 29 Feb 2012 17:04:22 +0000]
Option for clock and timer to be displayed in frame-title

* org-clock.el: New option `org-clock-clocked-in-display' to control
whether the current clock is displayed in the mode line and/or frame
title.

* org-timer.el: New option `org-timer-display' to control whether
the current timer is displayed in the mode line and/or frame title.

This allows the clock and timer to be displayed in the frame title instead of,
or as well as, the mode line.  This is useful for people with limited space in
the mode line but with ample space in the frame title.

2 years agoorg.el: Add autoload cookie for `org-update-all-dblocks'.
Sebastien Vauban [Wed, 18 Apr 2012 09:12:00 +0000]
org.el: Add autoload cookie for `org-update-all-dblocks'.

* org.el (org-update-all-dblocks): Autoload function.

TINYCHANGE

2 years agoorg-latex.el: Append final newline to export buffer.
Jérémie Courrèges-Anglas [Wed, 11 Apr 2012 18:36:10 +0000]
org-latex.el: Append final newline to export buffer.

* lisp/org-latex.el: Ensure a final newline is appended to the export buffer.

TINYCHANGE

2 years agoorg-protocol.el: New option `org-protocol-data-separator'.
Harri Kiiskinen [Sat, 14 Apr 2012 23:07:48 +0000]
org-protocol.el: New option `org-protocol-data-separator'.

* org-protocol.el: New option.
(org-protocol-store-link, org-protocol-do-capture): Use it.

TINYCHANGE

2 years agoMake [fragile] work with overlay specifications.
Christoph Dittmann [Tue, 7 Feb 2012 13:43:26 +0000]
Make [fragile] work with overlay specifications.

* org-beamer.el (org-beamer-auto-fragile-frames): Make
[fragile] work with overlay specifications.

If the BEAMER_envargs property contains optional parameters together
with an overlay specification like [option]<1-2>, the exporter turns
the start of the frame into \begin{frame}<1-2>[option].  If then
[fragile] needs to be added, this becomes
\begin{frame}[fragile]<1-2>[option] and causes a LaTeX error.

With this patch [fragile] is added in a way such that the line becomes
\begin{frame}<1-2>[fragile,option].

TINYCHANGE

2 years agoFix merge conflict.
Bastien Guerry [Fri, 20 Apr 2012 09:43:27 +0000]
Fix merge conflict.

2 years agoorg.el (org-mode): Don't use `buffer-face-mode' by default.
Bastien Guerry [Fri, 20 Apr 2012 09:41:24 +0000]
org.el (org-mode): Don't use `buffer-face-mode' by default.

* org.el (org-mode): Don't use `buffer-face-mode' by default.

Still set `org-default' as the face for `buffer-face-mode-face' in
case the user turn `buffer-face-mode' on.

2 years agoorg.el (org-read-date-display): Fix bug when displaying the overlay.
Zachary Kanfer [Mon, 6 Feb 2012 21:22:16 +0000]
org.el (org-read-date-display): Fix bug when displaying the overlay.

* org.el (org-read-date-display): Fix bug when displaying the
overlay.

TINYCHANGE

2 years agoorg-agenda.el: Fix `org-agenda-bulk-toggle'.
Madan Ramakrishnan [Mon, 16 Apr 2012 07:29:49 +0000]
org-agenda.el: Fix `org-agenda-bulk-toggle'.

* org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
advertised by the function.

Problem here was that `org-agenda-bulk-toggle' calls
`org-agenda-bulk-mark' with no parameters; however, the (max arg 1)
call inside `org-agenda-bulk-mark' will fail with no parameter.

TINYCHANGE

2 years agoorg.texi: Fix typos of function names in Agenda commands
Ippei FURUHASHI [Fri, 13 Apr 2012 03:28:25 +0000]
org.texi: Fix typos of function names in Agenda commands

* org.texi (Agenda commands): Fix two typos by giving corresponding
function names, according to `org-agenda-view-mode-dispatch'.

TINYCHANGE

2 years agoMerge branch 'hotfix'
Nicolas Goaziou [Fri, 20 Apr 2012 09:16:33 +0000]
Merge branch 'hotfix'

2 years agoorg-footnote: Fix positionning in HTML export without a footnote section
Nicolas Goaziou [Fri, 20 Apr 2012 09:12:44 +0000]
org-footnote: Fix positionning in HTML export without a footnote section

* lisp/org-footnote.el (org-footnote-normalize): Fix positionning in
  HTML export without a footnote section.

2 years agoMerge branch 'hotfix'
Nicolas Goaziou [Wed, 18 Apr 2012 11:02:09 +0000]
Merge branch 'hotfix'

2 years agoorg-list: Fix bugs relative to item indentation
Nicolas Goaziou [Wed, 18 Apr 2012 11:01:44 +0000]
org-list: Fix bugs relative to item indentation

* lisp/org-list.el (org-list-struct-indent): Follow
  `org-list-demote-modify-bullet' specifications for ordered bullets.
(org-list-indent-item-generic, org-indent-item-tree,
org-outdent-item-tree): Fix bug when operating on a region.
(org-outdent-item, org-indent-item): Allow to operate on a region.
* lisp/org.el (org-shiftmetaleft, org-shiftmetaright): Allow to
  operate on a region.
* testing/lisp/test-org-list.el: Add tests.

2 years agoorg-export: Refactor code
Nicolas Goaziou [Tue, 17 Apr 2012 11:29:21 +0000]
org-export: Refactor code

2 years agoorg-agenda.el: Bind `^' to `org-agenda-filter-by-top-category'.
Bastien Guerry [Tue, 17 Apr 2012 09:28:44 +0000]
org-agenda.el: Bind `^' to `org-agenda-filter-by-top-category'.

* org-agenda.el (org-agenda-mode-map): Bind `^' to
`org-agenda-filter-by-top-category'.

2 years agoDelete trailing spaces.
Bastien Guerry [Tue, 17 Apr 2012 09:25:22 +0000]
Delete trailing spaces.

2 years agoFix compiler warnings.
Bastien Guerry [Tue, 17 Apr 2012 09:17:17 +0000]
Fix compiler warnings.

2 years agoFix org-agenda-to-appt, which got broken by sticky agenda
Max Mikhanosha [Mon, 16 Apr 2012 22:52:39 +0000]
Fix org-agenda-to-appt, which got broken by sticky agenda

* lisp/org-agenda.el (org-agenda-new-marker): Check for NIL org-agenda-buffer
(org-agenda-to-appt): Bind org-agenda-buffer to NIL

2 years agoorg-e-html.el: Fix charset
Jambunathan K [Mon, 16 Apr 2012 18:00:29 +0000]
org-e-html.el: Fix charset

2 years agoorg-e-html.el: Transcode title and author correctly
Jambunathan K [Mon, 16 Apr 2012 17:51:48 +0000]
org-e-html.el: Transcode title and author correctly

2 years agoMerge branch 'max-sticky-agenda'
Max Mikhanosha [Mon, 16 Apr 2012 09:25:06 +0000]
Merge branch 'max-sticky-agenda'

2 years agoAdded new `org-agenda-filter-by-top-category' command
John Wiegley [Mon, 16 Apr 2012 08:12:56 +0000]
Added new `org-agenda-filter-by-top-category' command

2 years agoorg-e-latex: Silence byte-compiler
Nicolas Goaziou [Sun, 15 Apr 2012 10:17:59 +0000]
org-e-latex: Silence byte-compiler

2 years agoorg-e-latex: Silence byte-compiler
Nicolas Goaziou [Sun, 15 Apr 2012 09:07:17 +0000]
org-e-latex: Silence byte-compiler

2 years agoorg-e-odt: Support for hierarchical numbering of fig, table etc
Jambunathan K [Sat, 14 Apr 2012 20:14:19 +0000]
org-e-odt: Support for hierarchical numbering of fig, table etc

Introduced org-e-odt-enumerate-element &
org-e-odt-display-outline-level for hierarchical numbering.

Don't use org-export-get-ordinal (for now).

Combine org-e-odt-format-label-reference and
org-e-odt-format-label-definition in to a consolidated
org-e-odt-format-label.  Lots of related changes.

2 years agosafer equality test in org-babel-header-arg-expand
Eric Schulte [Sat, 14 Apr 2012 13:32:57 +0000]
safer equality test in org-babel-header-arg-expand

* lisp/ob.el (org-babel-header-arg-expand): In new
  buffers (char-before) may return nil so use equal rather than =.

2 years agoMerged origin/master into max-sticky-agenda
Max Mikhanosha [Fri, 13 Apr 2012 22:15:18 +0000]
Merged origin/master into max-sticky-agenda

2 years agocode-block languages may specify their own headers and values
Eric Schulte [Tue, 10 Apr 2012 23:03:37 +0000]
code-block languages may specify their own headers and values

* lisp/ob-R.el (org-babel-header-args:R): Adding values.
* lisp/ob-clojure.el (org-babel-header-args:clojure): Adding values.
* lisp/ob-lisp.el (org-babel-header-args:lisp): Adding values.
* lisp/ob-sql.el (org-babel-header-args:sql): Adding values.
* lisp/ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
* lisp/ob.el (org-babel-combine-header-arg-lists): Combine lists of
  arguments and values.
  (org-babel-insert-header-arg): Use new combined header argument
  lists.
  (org-babel-header-arg-expand): Add support for completing-read
  insertion of header arguments after ":"
  (org-babel-enter-header-arg-w-completion): Completing read insertion
  of header arguments
  (org-tab-first-hook): Adding header argument completion.
  (org-babel-params-from-properties): Combining header argument lists.
* testing/lisp/test-ob.el (ob-test/org-babel-combine-header-arg-lists):
  Test the new header argument combination functionality.

2 years agoorg-export: Fix footnotes export outside parsing scope
Nicolas Goaziou [Fri, 13 Apr 2012 13:30:02 +0000]
org-export: Fix footnotes export outside parsing scope

* contrib/lisp/org-export.el (org-export-get-buffer-attributes):
  Function renamed from `org-export-initial-options'.
(org-export-store-footnote-definitions): New function.
(org-export-as): Store footnote definitions at the appropriate place.
It happens twice if buffer gets expanded.
* testing/lisp/test-org-export.el: Add test.

2 years agoAdd support for creating symbolic links in org-attach
John Wiegley [Thu, 12 Apr 2012 18:20:39 +0000]
Add support for creating symbolic links in org-attach

2 years agoRevert "Revert "in emails, wrap html and images in a multipart/mixed structure""
Eric Schulte [Thu, 12 Apr 2012 12:19:54 +0000]
Revert "Revert "in emails, wrap html and images in a multipart/mixed structure""

This reverts commit 3f810ad424c675e18fc5072966780993af912149.

2 years agoRevert "retain disposition=inline change for images in html mail"
Eric Schulte [Thu, 12 Apr 2012 12:19:48 +0000]
Revert "retain disposition=inline change for images in html mail"

This reverts commit e307d08382cf72b580c9da707ded606e80920f76.

2 years agoorg-e-latex: Properly handle quotes at bol
Nicolas Goaziou [Thu, 12 Apr 2012 10:44:16 +0000]
org-e-latex: Properly handle quotes at bol

* EXPERIMENTAL/org-e-latex.el (org-e-latex-quotes): Properly handle
  quotes at bol.

2 years agoretain disposition=inline change for images in html mail
Eric Schulte [Wed, 11 Apr 2012 13:20:45 +0000]
retain disposition=inline change for images in html mail

* contrib/lisp/org-mime.el (org-mime-file): Retain disposition=inline
  change for images in html mail.

2 years agoRevert "in emails, wrap html and images in a multipart/mixed structure"
Eric Schulte [Wed, 11 Apr 2012 13:18:16 +0000]
Revert "in emails, wrap html and images in a multipart/mixed structure"

This reverts commit 718fefa4e3941bf3025482124d7f454ba2305f27.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Wed, 11 Apr 2012 11:02:38 +0000]
Merge branch 'hotfix'

2 years agoorgcard.tex: Fix copyright year.
Bastien Guerry [Wed, 11 Apr 2012 11:00:40 +0000]
orgcard.tex: Fix copyright year.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Wed, 11 Apr 2012 10:30:55 +0000]
Merge branch 'hotfix'

2 years agoBump to version 7.8.09. release_7.8.09
Bastien Guerry [Wed, 11 Apr 2012 10:30:40 +0000]
Bump to version 7.8.09.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Wed, 11 Apr 2012 08:27:42 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg-ascii.el: Change the underlining characters for headlines of level 1 and 2
Bastien Guerry [Wed, 11 Apr 2012 06:49:49 +0000]
org-ascii.el: Change the underlining characters for headlines of level 1 and 2

* org-ascii.el (org-export-ascii-underline): Change the
default underlining characters for headlines of level 1 and 2.
Also introduce \. as the underline character for headlines of
level 5.

Thanks to Mathias Bauer for suggesting this.

2 years agoorg.texi: State that you can use the d: option by specifying a list of drawers.
Bastien Guerry [Wed, 11 Apr 2012 06:17:53 +0000]
org.texi: State that you can use the d: option by specifying a list of drawers.

* org.texi (Export options): State that you can use the d:
option by specifying a list of drawers.

Thanks to François Pinard for requesting this.

2 years agoin emails, wrap html and images in a multipart/mixed structure
Eric Schulte [Wed, 11 Apr 2012 04:20:22 +0000]
in emails, wrap html and images in a multipart/mixed structure

* contrib/lisp/org-mime.el (org-mime-file): Mark images included as
  part of html portions as "disposition=inline".
  (org-mime-multipart): When images are present wrap html and images
  in a multipart/mixed structure.
  (org-mime-htmlize): When images are present wrap html and images in
  a multipart/mixed structure.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 23:14:39 +0000]
Merge branch 'hotfix'

2 years agoMerge branch 'hotfix-7.8.06' of orgmode.org:org-mode into hotfix
Bastien Guerry [Tue, 10 Apr 2012 23:14:29 +0000]
Merge branch 'hotfix-7.8.06' of orgmode.org:org-mode into hotfix

2 years agoorg-clock.el: Rename `org-task-overrun*' to `org-clock-task-overrun*'.
Bastien Guerry [Tue, 10 Apr 2012 23:14:21 +0000]
org-clock.el: Rename `org-task-overrun*' to `org-clock-task-overrun*'.

* org-clock.el (org-clock-task-overrun-text)
(org-task-overrun, org-clock-get-clock-string)
(org-clock-update-mode-line)
(org-clock-notify-once-if-expired): Rename `org-task-overrun'
and `org-task-overrun-text' to `org-clock-task-overrun' and
`org-clock-task-overrun-text' respectively.
(org-task-overrun-text): New alias.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Tue, 10 Apr 2012 22:44:05 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 22:43:48 +0000]
Merge branch 'hotfix'

2 years agoorg-table.el: Fix bug about handling remote references as durations.
Bastien Guerry [Tue, 10 Apr 2012 22:43:05 +0000]
org-table.el: Fix bug about handling remote references as durations.

* org-table.el (org-table-eval-formula): Fix bug about
handling remote references as durations.

Thanks to Sébastien Vauban for reporting this.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 21:39:16 +0000]
Merge branch 'hotfix'

2 years agoorg-pcomplete.el: Fix bug in `pcomplete/org-mode/file-option'.
Bastien Guerry [Tue, 10 Apr 2012 21:39:09 +0000]
org-pcomplete.el: Fix bug in `pcomplete/org-mode/file-option'.

* org-pcomplete.el (pcomplete/org-mode/file-option): Fix bug
in `pcomplete/org-mode/file-option'.

Before this fix, completing #+ATTR worked only once, as
`org-additional-option-like-keywords' was modified.

2 years agoFix bug in org-pcomplete.el.
Bastien Guerry [Tue, 10 Apr 2012 21:37:12 +0000]
Fix bug in org-pcomplete.el.

* org-pcomplete.el (org-thing-at-point): Also match line
options like LATEX_CLASS when pcompleting from LATEX_.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 20:26:18 +0000]
Merge branch 'hotfix'

2 years agoorg-agenda.el: Fix inconsistency in `org-agenda-filter-apply' for category filters.
Bastien Guerry [Tue, 10 Apr 2012 20:25:53 +0000]
org-agenda.el: Fix inconsistency in `org-agenda-filter-apply' for category filters.

* org-agenda.el (org-agenda-filter-make-matcher)
(org-agenda-filter-apply): Allow filtering entries out by
category.  Using `C-u <' from the agenda view will redisplay
the agenda without entries from categories of the current
line.

Thanks to John Wiegley for pointing this out.

2 years agoMerge branch 'origin-hotfix-7.8.06'
Eric Schulte [Tue, 10 Apr 2012 20:02:16 +0000]
Merge branch 'origin-hotfix-7.8.06'

2 years agoorg-element: Fix interpretation of affiliated keywords
Nicolas Goaziou [Tue, 10 Apr 2012 21:15:32 +0000]
org-element: Fix interpretation of affiliated keywords

* contrib/lisp/org-element.el (org-element-interpret--affiliated-keywords):
  Fix interpretation of affiliated keywords.
(org-element-interpret-data): If no `:post-blank' property is
specified, assumed there is no blank line or whitespace after the
element or object.
* testing/lisp/test-org-element.el: Add a test.

2 years agobetter wrapping of main C function
Eric Schulte [Tue, 10 Apr 2012 20:01:50 +0000]
better wrapping of main C function

  Thanks to Dov Grobgeld for pointing out this fix.

* lisp/ob-C.el (org-babel-C-ensure-main-wrap): Add an explicit return
  to automatically generated main methods.

2 years agoorg-e-odt: Handle caption/label for src blocks.
Jambunathan K [Tue, 10 Apr 2012 19:31:50 +0000]
org-e-odt: Handle caption/label for src blocks.

Add Listing-related entries to OrgOdtContentTemplate.xml,
OrgOdtStyles.xml.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 18:23:29 +0000]
Merge branch 'hotfix'

2 years agoRevert "org-agenda.el: Remove useless prefix argument."
Bastien Guerry [Tue, 10 Apr 2012 18:23:15 +0000]
Revert "org-agenda.el: Remove useless prefix argument."

This reverts commit 346907b9969150093f69a35d14bcbf430d646c05.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 18:09:33 +0000]
Merge branch 'hotfix'

2 years agoorg-agenda.el: Remove useless prefix argument.
Bastien Guerry [Tue, 10 Apr 2012 18:09:28 +0000]
org-agenda.el: Remove useless prefix argument.

* org-agenda.el (org-agenda-filter-by-category): Remove
useless prefix argument.

Thanks to John Wiegley for spotting this.

2 years agoMerge remote-tracking branch 'origin/hotfix-7.8.06'
Jambunathan K [Tue, 10 Apr 2012 17:00:11 +0000]
Merge remote-tracking branch 'origin/hotfix-7.8.06'

2 years agodoc/org.texi: Fix compilation error
Jambunathan K [Tue, 10 Apr 2012 16:54:54 +0000]
doc/org.texi: Fix compilation error

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 16:32:54 +0000]
Merge branch 'hotfix'

2 years agoRevert "org.el: Include tags from `org-tag-alist' when completing with the TAB key."
Bastien Guerry [Tue, 10 Apr 2012 16:20:04 +0000]
Revert "org.el: Include tags from `org-tag-alist' when completing with the TAB key."

This reverts commit 647396464d563634b980127673cf61769663407e.

2 years agoRevert "org.el (org-fast-tag-selection): Fix an bug when listing tags for completion."
Bastien Guerry [Tue, 10 Apr 2012 16:10:30 +0000]
Revert "org.el (org-fast-tag-selection): Fix an bug when listing tags for completion."

This reverts commit dca5af369c698961a36a32dc78eaa15e14ea808e.

2 years agoRevert "org.el: Fix bug when gathering tag completion options."
Bastien Guerry [Tue, 10 Apr 2012 16:04:28 +0000]
Revert "org.el: Fix bug when gathering tag completion options."

This reverts commit e48d67ed6d6a0f352449fbeea6091b6f216c9990.

This commit doesn't take care of tag groups.

2 years agoRevert "org.el: Include `org-tag-alist' in the list for tag completions."
Bastien Guerry [Tue, 10 Apr 2012 16:03:39 +0000]
Revert "org.el: Include `org-tag-alist' in the list for tag completions."

This reverts commit acc7a0b2bbb440b89039d56a3ffdd4bb17c9bf47.

See http://article.gmane.org/gmane.emacs.orgmode/54406

2 years agoMerge branch 'hotfix'
Bastien Guerry [Tue, 10 Apr 2012 12:33:01 +0000]
Merge branch 'hotfix'

2 years agoDeadlines and scheduling: Fix order in DEADLINE example
Jérémie Courrèges-Anglas [Tue, 10 Apr 2012 12:10:03 +0000]
Deadlines and scheduling: Fix order in DEADLINE example

* doc/org.texi (Deadlines and scheduling): Fix the example: the DEADLINE
item should come right after the headline.

TINYCHANGE

2 years agoMerge branch 'hotfix'
Bastien Guerry [Mon, 9 Apr 2012 18:48:51 +0000]
Merge branch 'hotfix'

2 years agoFix bug in using ̀org-cycle-level' in non-org modes.
Bastien Guerry [Mon, 9 Apr 2012 18:48:43 +0000]
Fix bug in using ̀org-cycle-level' in non-org modes.

* org.el (org-point-at-end-of-empty-headline): Only try to
match ̀org-todo-line-regexp' when the value is non-nil, e.g.
in non-org modes.

Thanks to Jambunathan for bringing this up.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Mon, 9 Apr 2012 18:06:21 +0000]
Merge branch 'hotfix'

2 years agoorg-table.el: Fix bug: make sure references to $0 are correctly handled.
Bastien Guerry [Mon, 9 Apr 2012 18:03:58 +0000]
org-table.el: Fix bug: make sure references to $0 are correctly handled.

* org-table.el (org-table-get-range): Fix bug: make sure
references to $0 are correctly handled.

Thanks to Nick Dokos for the suggestion.

This fixes the computation of values in this table:

| Record   |        Slope |    ConfLower |    ConfUpper |
|----------+--------------+--------------+--------------|
| GISTEMP  | 0.0173837600 | 0.0133209130 | 0.0214466060 |
| HadCrut3 | 0.0158602890 | 0.0118664610 | 0.0198541180 |

See this message/thread:
http://article.gmane.org/gmane.emacs.orgmode/54341

2 years agoMerge branch 'hotfix'
Bastien Guerry [Mon, 9 Apr 2012 17:20:47 +0000]
Merge branch 'hotfix'

2 years agoorg.el: Prevent more fontification errors.
Bastien Guerry [Mon, 9 Apr 2012 17:20:37 +0000]
org.el: Prevent more fontification errors.

* org.el (org-fontify-meta-lines-and-blocks-1): Prevent more
fontification errors.

Thanks to Henning Redestig for reporting this and to Nick Dokos for
digging further.

2 years agoorg-table.el: Add two autoload cookies.
Bastien Guerry [Mon, 9 Apr 2012 15:32:18 +0000]
org-table.el: Add two autoload cookies.

* org-table.el (org-table-recalculate-buffer-tables)
(org-table-iterate-buffer-tables): Add autoload cookie.

Thanks to Sébastien Vauban who suggested adding an autoload
cookie for `org-table-iterate-buffer-tables'.

2 years agoorg.el: Exclude tables in src and example blocks.
Bastien Guerry [Mon, 9 Apr 2012 15:27:32 +0000]
org.el: Exclude tables in src and example blocks.

* org.el (org-table-map-tables): Exclude tables in src and
example blocks.

Thansk to Sebastian for reporting this.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Mon, 9 Apr 2012 14:57:19 +0000]
Merge branch 'hotfix'

2 years agoFix hook docstring to reflect renaming of state to org-state.
Matt Lundin [Sat, 7 Apr 2012 12:13:55 +0000]
Fix hook docstring to reflect renaming of state to org-state.

* lisp/org.el: (org-after-todo-state-change-hook): Fix docstring to
  reflect name change of state to org-state.

The renamed variable can cause user hooks added to
org-after-todo-state-change-hook to break, so it is essential to have
the correct variable name in the docstring.

2 years agoFix org-bbdb anniversaries to work with the new BBDB
Matt Lundin [Sat, 7 Apr 2012 12:21:57 +0000]
Fix org-bbdb anniversaries to work with the new BBDB

* org-bbdb.el (org-bbdb-anniv-extract-date, org-bbdb-make-anniv-hash):
  Fix org-bbdb anniversary functionality to accommodate bbdb 3.x.
  There are two major changes in bbdb 3.x that need to be taken into
  account.  The first is that `bbdb-split' reverses the order of its
  parameters in 3.x.  The second is that `bbdb-record-getprop' is
  replaced by bbdb-record-note in 3.x.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Mon, 9 Apr 2012 10:47:58 +0000]
Merge branch 'hotfix'

2 years agoFix bug ion `org-footnote-normalize'.
Mike Sperber [Wed, 4 Apr 2012 07:21:44 +0000]
Fix bug ion `org-footnote-normalize'.

* org-footnote.el (org-footnote-normalize): Correctly pass keyword
arguments to `org-export-preprocess-string'.

TINYCHANGE

2 years agoOnly use `visual-line-mode' if it's bound.
Mike Sperber [Wed, 4 Apr 2012 07:48:05 +0000]
Only use `visual-line-mode' if it's bound.

* org.el (org-kill-line): Access `visual-line-mode' only if it's
bound.

TINYCHANGE

2 years agoMerge branch 'hotfix'
Bastien Guerry [Mon, 9 Apr 2012 10:35:15 +0000]
Merge branch 'hotfix'

2 years agoorg.texi: Fix missing links and formatting in 'Exporting' section
Julian Gehring [Sun, 8 Apr 2012 13:24:47 +0000]
org.texi: Fix missing links and formatting in 'Exporting' section

2 years agoorg-element: Fix target interpretation
Nicolas Goaziou [Sun, 8 Apr 2012 16:19:17 +0000]
org-element: Fix target interpretation

* contrib/lisp/org-element.el (org-element-target-parser): Fix
  docstring.
(org-element-target-interpreter): Fix target interpretation.

2 years agoorg-footnote: Fix bug related to sorting and folded view
Nicolas Goaziou [Sun, 8 Apr 2012 10:01:57 +0000]
org-footnote: Fix bug related to sorting and folded view

* lisp/org-footnote.el (org-footnote-delete-definitions): Remove blank
  lines before the footnote definition instead of removing those after
  it.
* testing/lisp/test-org-footnote.el: Adapt tests.

2 years agoorg-export: Fix footnotes bug in ODT export
Nicolas Goaziou [Sat, 7 Apr 2012 13:14:58 +0000]
org-export: Fix footnotes bug in ODT export

* contrib/lisp/org-export.el (org-export-as): Reorder actions taken to
  fix footnotes bug in ODT export.

2 years agoorg-element: Remove dependency on org-footnote predicates
Nicolas Goaziou [Fri, 6 Apr 2012 21:50:00 +0000]
org-element: Remove dependency on org-footnote predicates

* contrib/lisp/org-element.el (org-element-footnote-definition-parser):
  Remove the need for `org-footnote-at-definition-p'.
  (org-element-footnote-reference-parser): Remove the need for
  `org-footnote-at-reference-p'.
(org-element-footnote-reference-successor): Do not use
`org-footnote-get-next-reference'.
* testing/lisp/test-org-element.el: Add test.

2 years agoorg-footnote: Don't grab trailing blank lines in a footnote definition
Nicolas Goaziou [Fri, 6 Apr 2012 17:14:51 +0000]
org-footnote: Don't grab trailing blank lines in a footnote definition

* lisp/org-footnote.el (org-footnote-at-definition-p): Don't grab
  trailing blank lines in a footnote definition.
(org-footnote-delete-definitions): Remove both footnote definition and
trailing blank lines.
* testing/lisp/test-org-export.el (test-org-export/fuzzy-links): Fix
  a docstring.
* contrib/lisp/org-element.el (org-element-footnote-definition-parser):
  Apply change to footnote definitions.

2 years agoorg-e-odt.el: Merge category strings and short caption changes
Jambunathan K [Fri, 6 Apr 2012 09:00:39 +0000]
org-e-odt.el: Merge category strings and short caption changes

2 years agoMerge branch 'hotfix'
Bastien Guerry [Fri, 6 Apr 2012 08:53:24 +0000]
Merge branch 'hotfix'

2 years agoRevert "Fix global dynamic variables in org-special-blocks.el."
Bastien Guerry [Fri, 6 Apr 2012 08:52:34 +0000]
Revert "Fix global dynamic variables in org-special-blocks.el."

This reverts commit 9054ba39d085dc2910285a194ed2206b36875289.

The variable `line' is dynamically scoped in org-html and should
not be renamed here.

2 years agoorg-e-odt.el: Handle conversion from odt to other formats.
Jambunathan K [Thu, 5 Apr 2012 11:43:14 +0000]
org-e-odt.el: Handle conversion from odt to other formats.

Specifically take care of org-e-odt-convert and
org-e-odt-preferred-output-format.

Also other miscellaneous fixes.

2 years agoMerge branch 'hotfix'
Bastien Guerry [Thu, 5 Apr 2012 06:51:51 +0000]
Merge branch 'hotfix'

2 years agodoc/org.texi: Fix two typos in Agenda commands
Ippei FURUHASHI [Wed, 4 Apr 2012 07:42:27 +0000]
doc/org.texi: Fix two typos in Agenda commands

doc/org.texi: Fix two typos in Agenda commands

* doc/org.texi (Agenda commands): Fix typos by swapping
the equivalent keybindings to `org-agenda-next-line'
with the ones to `org-agenda-previous-line'.

TINYCHANGE