org-mode.git
2 years agoRemove contrib/oldexp/. release_8.0-beta
Bastien Guerry [Sat, 2 Mar 2013 09:26:22 +0000]
Remove contrib/oldexp/.

If users want to use the old exporter, they now need
to checkout an earlier version of Org.

2 years agoAdd (provide ...) forms.
Bastien Guerry [Sat, 2 Mar 2013 09:25:10 +0000]
Add (provide ...) forms.

E.g., if a user requires the 'org-icalendar feature,
he really wants to load 'ox-icalendar if it's in her
load-path.

2 years agoox-html: Fix infojs integration
Nicolas Goaziou [Fri, 1 Mar 2013 22:14:30 +0000]
ox-html: Fix infojs integration

* lisp/ox-html.el (html): Add infojs installation script in options
  filter.
(org-html-infojs-install-script): Remove check for back-end as we can
safely assume the function will be called from `html' back-end or one
of its derivative.

`org-export-filter-*-functions' are user oriented. Developer filters
should be installed in back-end definition.

2 years agoox-html.el (org-html-headline): Add comment
Bastien Guerry [Fri, 1 Mar 2013 18:06:53 +0000]
ox-html.el (org-html-headline): Add comment

* ox-html.el (org-html-headline): Add comment.

The comment explains why commit
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=1f591b
is needed.

2 years agoMerge branch 'maint'
Bastien Guerry [Fri, 1 Mar 2013 17:58:05 +0000]
Merge branch 'maint'

2 years agoorg.el (org-mode): Set `paragraph-start'
Bastien Guerry [Fri, 1 Mar 2013 17:57:55 +0000]
org.el (org-mode): Set `paragraph-start'

* org.el (org-mode): Set `paragraph-start'.

The value inherited from outline-mode is wrong because
outline mode does not enforce the space after the star
while Org-mode does.

outline-mode value for `paragraph-start' prevents filling
paragraphs containing a string like " -- *bold*": in this
case, fill-paragraph might think that the "*b" part of the
string starts a paragraph while it does not.

Thanks to Samuel Wales for reporting this.

2 years agoorg-agenda.el (org-agenda-entry-text-leaders): New option
Bastien Guerry [Fri, 1 Mar 2013 16:27:50 +0000]
org-agenda.el (org-agenda-entry-text-leaders): New option

* org-agenda.el (org-agenda-entry-text-leaders): New option.
(org-agenda-entry-text-show-here): Use it.

Thanks to Sébastien Vauban for a preliminary patch for this.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Fri, 1 Mar 2013 16:16:56 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoox-html.el: Fix setting of attributes for inline images
Bastien Guerry [Fri, 1 Mar 2013 16:08:27 +0000]
ox-html.el: Fix setting of attributes for inline images

* ox-html.el (org-html-link--inline-image): Always retrieve
attributes for inline images.
(org-html-link): Fix trailing whitespace at the end of the
opening <a ...> HTML tag.

Thanks to John Hendy for forcing me to focus on this :)

2 years agoox-icalendar: Small refactoring
Nicolas Goaziou [Fri, 1 Mar 2013 15:25:28 +0000]
ox-icalendar: Small refactoring

* lisp/ox-icalendar.el (org-agenda-collect-markers,
  org-create-marker-find-array): Remove functions.
(org-icalendar-export-current-agenda): Integrate previous functions.

2 years agoox-html.el: Bugfix wrt org-info.js
Bastien Guerry [Fri, 1 Mar 2013 15:16:53 +0000]
ox-html.el: Bugfix wrt org-info.js

* ox-html.el (org-html-headline): For headlines whose first
element is a headline and not a section, pretend there is an
empty section (as "") for the correct HTML div to be inserted.

This fixes a bug wrt org-info.js.  Thanks to Nicolas for
guiding me through this patch.

2 years agoFix compiler warnings
Bastien Guerry [Fri, 1 Mar 2013 14:50:05 +0000]
Fix compiler warnings

2 years agoDon't create UID for the entire file when write an agenda to .ics
Bastien Guerry [Fri, 1 Mar 2013 14:47:55 +0000]
Don't create UID for the entire file when write an agenda to .ics

* org-agenda.el (org-agenda-collect-markers)
(org-create-marker-find-array): Move to ox-icalendar.el.
(org-agenda-marker-table, org-check-agenda-marker-table):
Delete.

* ox-icalendar.el (org-icalendar-create-uid): New parameter
H-MARKERS to only update some headlines, not the whole file.
(org-icalendar--combine-files): When exporting to an .ics file
only add UID to the headlines shown in the agenda buffer.
(org-agenda-collect-markers, org-create-marker-find-array):
Move here.

2 years agoorg-agenda.el (org-agenda-write): Ask before overwriting an existing file
Bastien Guerry [Fri, 1 Mar 2013 14:06:28 +0000]
org-agenda.el (org-agenda-write): Ask before overwriting an existing file

* org-agenda.el (org-agenda-write): Ask before overwriting an
existing file.

Thanks to Rainer Stengele for suggesting this.

2 years agoMerge ox-infojs.el into ox-html.el
Bastien Guerry [Fri, 1 Mar 2013 13:26:55 +0000]
Merge ox-infojs.el into ox-html.el

* org-pcomplete.el
(pcomplete/org-mode/file-option/infojs_opt): Use
`org-html-infojs-opts-table'.

* ox-html.el (org-html-infojs-opts-table):
(org-html-use-infojs, org-html-infojs-options)
(org-html-infojs-template): Move from ox-jsinfo.el.
Rename using the org-html- prefix.
(org-html-infojs-install-script): Move from ox-infojs.el.

* ox-infojs.el: Delete.

* org.texi (JavaScript support): Update variable names.

2 years agoox-html.el (org-html-section): Fix indentation
Bastien Guerry [Fri, 1 Mar 2013 13:22:09 +0000]
ox-html.el (org-html-section): Fix indentation

* ox-html.el (org-html-section): Fix indentation.

2 years agoox-html.el: Fix document structure for org-info.js compatibility.
Bastien Guerry [Fri, 1 Mar 2013 12:57:54 +0000]
ox-html.el: Fix document structure for org-info.js compatibility.

* ox-html.el (org-html-inner-template): Add the document title
here, within the "content" class, as the org-info.js needs it.
(org-html-template): Don't include the document's title here.
(org-html-format-inlinetask-function): Remove wrong example.

Although counter-intuitive and certainly weird, the
<h1 class="title"> string needs to be within the "content"
div, not before it.  We would need the developer of org-info.js
to update org-info.js to put the title outside of "content".

2 years agoox-latex: Fix nested markup in TODO keyword defalt format
Nicolas Goaziou [Fri, 1 Mar 2013 10:06:00 +0000]
ox-latex: Fix nested markup in TODO keyword defalt format

* lisp/ox-latex.el (org-latex-format-headline-default-function): Use
  declarative shape to nest makup for TODO keywords.  Previous syntax
  generated errors during export.

2 years agoox: Ignore `org-mode-hook' and `kill-emacs-hook' in asynchronous export
Nicolas Goaziou [Fri, 1 Mar 2013 07:30:44 +0000]
ox: Ignore `org-mode-hook' and `kill-emacs-hook' in asynchronous export

* lisp/ox.el (org-export-async-start): Ignore `org-mode-hook' and
  `kill-emacs-hook'.  The first one has been run in the original
  buffer.  The second is not necessary and can pollute output to
  a temporary buffer (e.g. with `org-clock-persistence-insinuate').

2 years agocontrib/lisp/org-contacts.el (org-contacts-complete-name): Prevent an error when...
Grégoire Jadi [Thu, 28 Feb 2013 10:45:36 +0000]
contrib/lisp/org-contacts.el (org-contacts-complete-name): Prevent an error when there is no completion available

* contrib/lisp/org-contacts.el (org-contacts-complete-name): Compute the
completion-list a bit earlier to prevent an error when there is no
completion available.

2 years agoUse base buffer for storing export dispatch position
Carsten Dominik [Thu, 28 Feb 2013 11:53:45 +0000]
Use base buffer for storing export dispatch position

* lisp/ox.el (org-export-dispatch): Make sure the last position marker
  uses the base buffer if there is one.

2 years agoob-tangle.el (org-babel-tangle-collect-blocks): Don't collect blocks in commented...
Bastien Guerry [Thu, 28 Feb 2013 09:25:21 +0000]
ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect blocks in commented out headings

* ob-tangle.el (org-babel-tangle-collect-blocks): Don't
collect blocks in commented out headings.

Thansk to the various people who requested this.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 28 Feb 2013 09:21:08 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg.texi (comments): Minor formatting fix
Bastien Guerry [Thu, 28 Feb 2013 09:18:14 +0000]
org.texi (comments): Minor formatting fix

* org.texi (comments): Minor formatting fix.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Thu, 28 Feb 2013 08:36:22 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoMake repeating a subtree-restricted export command remember the subtree
Carsten Dominik [Thu, 28 Feb 2013 07:57:44 +0000]
Make repeating a subtree-restricted export command remember the subtree

Export commands can be restricted to a specific subtree.  When using a
prefix argument to org-export-dispatch, the restriction did not stick,
i.e. the command would be restricted to whatever note the cursor
happens to be in.  This made it difficult to repeat export of a
subtree while editing it.  This change introduces a new marker and
uses this marker to remember the cursor position of the previous
export command.  So repeating a subtree-restricted command will now
re-export the same subtree, provided you are still in the same
buffer.  To break this connection, just make a new export without
relying on the prefix argument.

* lisp/ox.el (org-export-dispatch-last-position): New variable
  (org-export-dispatch): Save position of cursor at the moment when
  the export command is called.  Restore that position temporarily
  when repeating the previous export command.

2 years agoRevert "org.el (org-speed-command-activate): Don't activate speed commands within...
Bastien Guerry [Thu, 28 Feb 2013 08:35:14 +0000]
Revert "org.el (org-speed-command-activate): Don't activate speed commands within blocks"

This reverts commit 7c8e854d9c3c2f10e3ce8305316ec7fbc58a7458.

2 years agoRevert "org.el (org-speed-command-activate): Only forbid in src code blocks"
Bastien Guerry [Thu, 28 Feb 2013 08:35:04 +0000]
Revert "org.el (org-speed-command-activate): Only forbid in src code blocks"

This reverts commit 8ac66556bbac21e19f1494fc634ecb16b87bfd62.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 28 Feb 2013 08:33:51 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoox-html: Do not display title in body-only export
Nicolas Goaziou [Thu, 28 Feb 2013 07:48:43 +0000]
ox-html: Do not display title in body-only export

* lisp/ox-html.el (org-html-inner-template): Remove title.
(org-html-template): Add title.

2 years agoox-latex.el: Improve two docstrings
Bastien Guerry [Thu, 28 Feb 2013 07:41:57 +0000]
ox-latex.el: Improve two docstrings

* ox-latex.el (org-latex-logfiles-extensions)
(org-latex-remove-logfiles): Improve docstrings.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Wed, 27 Feb 2013 23:29:31 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg-capture.el (org-capture): Cosmetic fix
Bastien Guerry [Wed, 27 Feb 2013 23:29:24 +0000]
org-capture.el (org-capture): Cosmetic fix

* org-capture.el (org-capture): Cosmetic fix.

2 years agoorg-protocol.el: Small docstrings enhancements
Bastien Guerry [Wed, 27 Feb 2013 23:28:17 +0000]
org-protocol.el: Small docstrings enhancements

* org-protocol.el (org-protocol-create-for-org)
(org-protocol-create): Small docstrings enhancements.

2 years agoorg-protocol.el (org-protocol-capture): Small docstring fix
Bastien Guerry [Wed, 27 Feb 2013 23:24:46 +0000]
org-protocol.el (org-protocol-capture): Small docstring fix

* org-protocol.el (org-protocol-capture): Small docstring fix.

2 years agoob-core: add binding for merged-params to avoid multiple evaluation
Achim Gratz [Wed, 27 Feb 2013 22:19:59 +0000]
ob-core: add binding for merged-params to avoid multiple evaluation

* lisp/ob-core.el (org-babel-execute-src-block): Add binding for
  merged-params to avoid multiple evaluation of
  `org-babel-merge-params´.

2 years agoob-core: Rename cache? to cache-p, add binding for cache-current-p
Achim Gratz [Wed, 27 Feb 2013 21:40:23 +0000]
ob-core: Rename cache? to cache-p, add binding for cache-current-p

* lisp/ob-core.el (org-babel-execute-src-block): Rename cache? to
  cache-p, add binding for cache-current-p and use it.

2 years agoorg.el (org-speed-command-activate): Only forbid in src code blocks
Bastien Guerry [Wed, 27 Feb 2013 22:43:25 +0000]
org.el (org-speed-command-activate): Only forbid in src code blocks

* org.el (org-speed-command-activate): Only forbid in src code
blocks.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Wed, 27 Feb 2013 22:27:16 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg-mew.el: Add declarations
Bastien Guerry [Wed, 27 Feb 2013 22:27:02 +0000]
org-mew.el: Add declarations

Thanks to Achim for pointing this.

2 years agoox: Fix min level computation
Nicolas Goaziou [Wed, 27 Feb 2013 22:22:51 +0000]
ox: Fix min level computation

* lisp/ox.el (org-export--get-min-level): Ignore footnote section when
  computing minimal headline level.

2 years agoMerge branch 'maint'
Bastien Guerry [Wed, 27 Feb 2013 22:06:11 +0000]
Merge branch 'maint'

2 years agoorg-indent.el: Bugfix
Bastien Guerry [Wed, 27 Feb 2013 21:23:15 +0000]
org-indent.el: Bugfix

* org-indent.el
(org-indent-add-properties): Bugfix: prevent negative value for
`added-ind-per-lvl'.

Thanks to Torsten Bronger for reporting this.

2 years agoorg-contacts.el: Rename a function to follow emacs-lisp coding conventions
Grégoire Jadi [Wed, 27 Feb 2013 21:11:43 +0000]
org-contacts.el: Rename a function to follow emacs-lisp coding conventions

* contrib/lisp/org-contacts.el (org-contacts-db-need-update-p):
  Replace the '?' by a '-p'.

(org-contacts-db): Use the new name.

2 years agoRevert "ob-core.el: Do not ask for confirmation if cached value is current"
Achim Gratz [Wed, 27 Feb 2013 21:10:05 +0000]
Revert "ob-core.el: Do not ask for confirmation if cached value is current"

Reverting "Fix a typo I introduced while editing Achim's commit 091bf0"
Reverting "ob-core.el: Do not ask for confirmation if cached value is current"

This reverts commit 091bf0251454d4a9e00fd7054a25b0097822253a.

2 years agoMerge branch 'maint'
Bastien Guerry [Wed, 27 Feb 2013 17:14:16 +0000]
Merge branch 'maint'

2 years agoFix b6b509b one more time.
Nicolas Richard [Wed, 27 Feb 2013 16:55:42 +0000]
Fix b6b509b one more time.

2 years agoMerge branch 'maint'
Bastien Guerry [Wed, 27 Feb 2013 16:28:38 +0000]
Merge branch 'maint'

2 years agoFix b6b509b again.
Bastien Guerry [Wed, 27 Feb 2013 16:28:33 +0000]
Fix b6b509b again.

Thanks to Nicolas Richard for reporting this.

2 years agoMerge branch 'maint'
Bastien Guerry [Wed, 27 Feb 2013 13:49:46 +0000]
Merge branch 'maint'

2 years agoEnhance the fix implemented in 41882a99
Bastien Guerry [Wed, 27 Feb 2013 13:49:30 +0000]
Enhance the fix implemented in 41882a99

* org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
`isearch-mode-end-hook' so that any isearch fixes the problem with
ellipsis on the first line.
(org-fix-ellipsis-at-bol): New defsubst.
(org-show-context, org-isearch-end): Use it.

2 years agoorg-agenda.el (org-agenda-deadline-leaders): New formatting string for past deadlines
Bastien Guerry [Wed, 27 Feb 2013 13:29:46 +0000]
org-agenda.el (org-agenda-deadline-leaders): New formatting string for past deadlines

* org-agenda.el (org-agenda-deadline-leaders): New formatting
string for past deadlines.
(org-agenda-scheduled-leaders): Small change.
(org-agenda-get-deadlines): Use the new formatting string.

Thanks to Sébastien Vauban who suggested this idea and proposed
a preliminary patch for it.

2 years agoFix a typo I introduced while editing Achim's commit 091bf0
Bastien Guerry [Wed, 27 Feb 2013 12:29:23 +0000]
Fix a typo I introduced while editing Achim's commit 091bf0

Thanks to Achim for reporting this!
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=091bf0

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Wed, 27 Feb 2013 12:27:56 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg-contacts.el: Let the users decide if they want to use `org-contacts' to complete...
Grégoire Jadi [Wed, 27 Feb 2013 11:41:08 +0000]
org-contacts.el: Let the users decide if they want to use `org-contacts' to complete mail addresses

* contrib/lisp/org-contacts.el (org-contacts-enable-completion): A
  custom boolean variable to enable the completion with
  `org-contacts'. Enabled by default.

2 years agoorg-contacts.el: Started to silent byte-compiler
Grégoire Jadi [Mon, 25 Feb 2013 16:19:57 +0000]
org-contacts.el: Started to silent byte-compiler

* contrib/lisp/org-contacts.el: Remove some compile-time warnings by adding the proper declarations.

(org-contacts-anniversaries): Hack around an undefined variable
because I wasn't able to understand how this function works.

(org-contacts-wl-get-from-header-content): Check whether the variable
`wl-summary-buffer-elmo-folder' is bound or not.

2 years agoorg-contacts.el: Check if the database need a refresh in a dedicated function
Grégoire Jadi [Mon, 25 Feb 2013 15:06:01 +0000]
org-contacts.el: Check if the database need a refresh in a dedicated function

* contrib/lisp/org-contacts.el (org-contacts-db-need-update?): New
  function to determine whether we need to refresh `org-contacts-db'.

(org-contacts-db): Use `org-contacts-db-need-updated?'.

2 years agoFix function declaration
Nicolas Goaziou [Wed, 27 Feb 2013 09:36:07 +0000]
Fix function declaration

2 years agoob-lob.el (org-babel-lob-execute): Rename cache? to cache-p
Bastien Guerry [Wed, 27 Feb 2013 09:24:04 +0000]
ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p

* ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.

Thanks to Achim for pointing this.

2 years agoorg.el (org-speed-command-activate): Don't activate speed commands within blocks
Bastien Guerry [Wed, 27 Feb 2013 09:22:20 +0000]
org.el (org-speed-command-activate): Don't activate speed commands within blocks

* org.el (org-speed-command-activate): Don't activate speed
commands within blocks.

Thanks to Sébastien Vauban for reporting this.

2 years agoFix infloop when user provides a wrong value for `org-highlight-latex-and-related'
Nicolas Goaziou [Wed, 27 Feb 2013 09:00:40 +0000]
Fix infloop when user provides a wrong value for `org-highlight-latex-and-related'

* lisp/org.el (org-do-latex-and-related): Fix infloop when user
  provides a wrong value for `org-highlight-latex-and-related'. In
  this case, `org-latex-and-related-regexp' is the empty string and
  generates an infloop since matching it doesn't move point.

2 years agoob-core.el: Do not ask for confirmation if cached value is current
Achim Gratz [Tue, 26 Feb 2013 20:23:37 +0000]
ob-core.el: Do not ask for confirmation if cached value is current

* ob-core.el (org-babel-execute-src-block): Do not run
`org-babel-confirm-evaluate´ if source block has a cache and the
cache value is current (there is no evaluation involved in this
case).

2 years agoMerge branch 'maint'
Bastien Guerry [Wed, 27 Feb 2013 07:46:36 +0000]
Merge branch 'maint'

2 years agoFix commit 41882a99
Bastien Guerry [Wed, 27 Feb 2013 07:46:26 +0000]
Fix commit 41882a99

Thanks to Tassilo Horn for reporting this.

2 years agoSlideshow bugfixes and sync with ox-html function name changes.
Rick Frankel [Tue, 26 Feb 2013 19:26:27 +0000]
Slideshow bugfixes and sync with ox-html function name changes.

* contrib/lisp/ox-deck.el: Default org-deck-directories to "./deck.js".
(org-deck-toc): Sync w/ ox-html name change (org-html--toc-text.)
(org-deck-inner-template): Remove duplicate toc generation code.
* contrib/lisp/ox-s5.el: Add inner template to fix duplicate content
  div error.
(org-s5-toc): Sync w/ ox-html name change (org-html--toc-text) and
make toc entries static since s5 doesn't support deep linking.

2 years agoorg-element: OPTIONAL_TITLE becomes ALT_TITLE property
Nicolas Goaziou [Tue, 26 Feb 2013 23:00:33 +0000]
org-element: OPTIONAL_TITLE becomes ALT_TITLE property

* lisp/org-element.el (org-element-headline-parser):
  Rename :optional-title into :alt-title.
* lisp/ox.el (org-export-get-alt-title): Renamed from
  `org-export-get-optional-title'.
* lisp/ox-ascii.el (org-ascii--build-title): Apply name change.
* lisp/ox-html.el (org-html--format-toc-headline): Apply name change.
* lisp/ox-latex.el (org-latex-headline): Apply name change.
* lisp/ox-texinfo.el (org-texinfo--get-node,
  org-texinfo--generate-menu-items): Apply name change.
* testing/lisp/test-ox.el: Update tests.
* doc/org.texi (Table of contents): Update documentation.

2 years agoFix function declaration
Nicolas Goaziou [Tue, 26 Feb 2013 22:47:07 +0000]
Fix function declaration

2 years agoox: Fix bug where properties read from setupfile overwrite previous properties
Nicolas Goaziou [Tue, 26 Feb 2013 22:32:36 +0000]
ox: Fix bug where properties read from setupfile overwrite previous properties

* lisp/ox.el (org-export--get-inbuffer-options): Remove an optional
  argument.  Rewrite function.  Properties read from a setupfile do
  not overwrite anymore previously computed properties.
(org-export-get-environment): Apply changes to previous function.
* lisp/org.el (org-create-formula--latex-header): Apply arity change
  from `org-export--get-inbuffer-options'.
* testing/lisp/test-ox.el: Add test.
* testing/examples/setupfile.org: New file.

2 years agoorg-mew.el: Major enhancement
Tokuya Kameshima [Tue, 26 Feb 2013 22:28:58 +0000]
org-mew.el: Major enhancement

* org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
(org-mew-subject-alist, org-mew-capture-inbox-folders)
(org-mew-capture-guess-alist): New options.
(org-mew-store-link, org-mew-open): Rewrite.
(org-mew-folder-name, org-mew-follow-link)
(org-mew-folder-eixsts-p, org-mew-get-msgnum)
(org-mew-open-by-message-id, org-mew-search, org-mew-capture)
(org-mew-capture-guess-selection-keys): New functions.

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 22:17:42 +0000]
Merge branch 'maint'

2 years agocontrib/org-toc.el: add forward and back commands
Aaron Ecay [Tue, 26 Feb 2013 19:45:09 +0000]
contrib/org-toc.el: add forward and back commands

These commands navigate among siblings in the outline, and are bound to
the ‘f’ and ‘b’ keys.  Move the function for toggling toc-follow to ‘F’.

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 21:45:41 +0000]
Merge branch 'maint'

Conflicts:
lisp/org.el

2 years agoFix a longstanding issue with ellispsis on top of the window
Bastien Guerry [Tue, 26 Feb 2013 21:45:04 +0000]
Fix a longstanding issue with ellispsis on top of the window

* org.el (org-show-context): Remove useless catch.  Make sure the
top of the window is a visible headline.
* org.el (org-activate-plain-links): Remove unused catch.

* org-macs.el (org-get-alist-option): Return nil, not (nil), so
that `org-show-context' DTRT.

Thanks to Samuel Wales for his patience in reporting this.

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 21:02:25 +0000]
Merge branch 'maint'

2 years agoorg.el (org-imenu-get-tree): Fix bug when matching against empty headlines
Bastien Guerry [Tue, 26 Feb 2013 21:02:13 +0000]
org.el (org-imenu-get-tree): Fix bug when matching against empty headlines

* org.el (org-imenu-get-tree): Fix bug when matching against empty
headlines.

Thanks to Jambunathan for reporting this.

2 years agoorg.el: Add :version and :package-version to `orgstruct-heading-prefix-regexp'
Bastien Guerry [Tue, 26 Feb 2013 17:23:53 +0000]
org.el: Add :version and :package-version to `orgstruct-heading-prefix-regexp'

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Tue, 26 Feb 2013 17:21:40 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoBump :version to "24.4" and add :package-version.
Bastien Guerry [Tue, 26 Feb 2013 17:21:28 +0000]
Bump :version to "24.4" and add :package-version.

The options updated are those who won't be in Emacs 24.3.

2 years agoRemove :version keyword in non-emacs libraries
Bastien Guerry [Tue, 26 Feb 2013 16:57:13 +0000]
Remove :version keyword in non-emacs libraries

2 years agocontrib/babel/langs/ob-mathomatic.el: Delete whitespaces
Bastien Guerry [Tue, 26 Feb 2013 16:56:36 +0000]
contrib/babel/langs/ob-mathomatic.el: Delete whitespaces

2 years agoorg.el: Rebind structure-related variables within org-run-like-in-org-mode
Christopher Schmidt [Tue, 26 Feb 2013 16:51:03 +0000]
org.el: Rebind structure-related variables within org-run-like-in-org-mode

* org.el (orgstruct-make-binding): Rebind structure-related
variables within org-run-like-in-org-mode.

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 15:28:36 +0000]
Merge branch 'maint'

2 years agoorg.el (org-overview): Stay on current line
Bastien Guerry [Tue, 26 Feb 2013 15:28:30 +0000]
org.el (org-overview): Stay on current line

* org.el (org-overview): Stay on current line.

This circumvents a bug in hide-sublevels which displays the
"..." ellipsis on top of the window when hiding levels that
are past the middle of the window---at least this is the
way I could understand the problem.

Thanks to Samuel Wales for reporting the problem, Arun Persaud and
William for creating reproducible recipes, Suvayu Ali, Nick Dokos
and Achim Gratz for further help.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Tue, 26 Feb 2013 15:14:40 +0000]
Merge branch 'master' of orgmode.org:org-mode

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 15:14:03 +0000]
Merge branch 'maint'

Conflicts:
lisp/org.el

2 years agoFix commit 83bebfd8808
Bastien Guerry [Tue, 26 Feb 2013 15:13:39 +0000]
Fix commit 83bebfd8808

2 years agoupdated org-bullets to 0.2.2
sabof [Tue, 26 Feb 2013 14:33:30 +0000]
updated org-bullets to 0.2.2

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 14:14:42 +0000]
Merge branch 'maint'

2 years agoorg.el (org-map-entries): Fix docstring
Bastien Guerry [Tue, 26 Feb 2013 14:14:37 +0000]
org.el (org-map-entries): Fix docstring

* org.el (org-map-entries): Fix docstring.

Thanks to Christopher Schmidt for reporting this.

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 13:37:15 +0000]
Merge branch 'maint'

2 years agoFix typo.
Bastien Guerry [Tue, 26 Feb 2013 13:37:05 +0000]
Fix typo.

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 13:36:36 +0000]
Merge branch 'maint'

Conflicts:
contrib/oldexp/org-exp.el
lisp/org.el

2 years agoUse `org-autoload' instead of `autoload'.
Bastien Guerry [Tue, 26 Feb 2013 13:35:25 +0000]
Use `org-autoload' instead of `autoload'.

2 years agoRemove top-level autoloads sexps.
Bastien Guerry [Tue, 26 Feb 2013 13:35:01 +0000]
Remove top-level autoloads sexps.

These autoloads were erroneously introduced by commit e4c31cf98.

2 years agoUse `org-latex-compile' when processing formulas with imagemagick
Nicolas Goaziou [Tue, 26 Feb 2013 08:28:59 +0000]
Use `org-latex-compile' when processing formulas with imagemagick

* lisp/ox-latex.el (org-latex-compile): Add an optional argument for
  latex snippet previewing.
* lisp/org.el (org-create-formula-image-with-imagemagick): Use
  `org-latex-compile' instead of rewriting it.

2 years agomk/server.mk: Add the AUTHORS file to ORGFULL
Bastien Guerry [Tue, 26 Feb 2013 10:31:06 +0000]
mk/server.mk: Add the AUTHORS file to ORGFULL

We do not add this file to the ELPA-with-contrib distribution
since the list of AUTHORS includes authors of contributed files.

2 years agoAdd AUTHORS, update contrib/README, clean-up and fix comment sections in other files
Bastien Guerry [Tue, 26 Feb 2013 10:28:59 +0000]
Add AUTHORS, update contrib/README, clean-up and fix comment sections in other files

2 years agoMerge branch 'maint'
Bastien Guerry [Tue, 26 Feb 2013 10:09:06 +0000]
Merge branch 'maint'

2 years agoFix commit b6b509.
Bastien Guerry [Tue, 26 Feb 2013 10:08:50 +0000]
Fix commit b6b509.

Thanks to Sébastien Vauban for reporting this.

2 years agoRevert "ox: Use tabulated list mode for asynchronous stack"
Nicolas Goaziou [Tue, 26 Feb 2013 08:46:02 +0000]
Revert "ox: Use tabulated list mode for asynchronous stack"

This reverts commit a965c062133dea33dfddb5e3eabf373e2084b466.