org-mode.git
10 months agoFix typos release_8.2.1
Carsten Dominik [Mon, 30 Sep 2013 08:56:33 +0000]
Fix typos

10 months agoox-beamer: Add a helpful error message
Nicolas Goaziou [Sun, 29 Sep 2013 08:22:14 +0000]
ox-beamer: Add a helpful error message

* lisp/ox-beamer.el (org-beamer--format-block): Return an error
  message when using a special environment as a block type.  Also
  check for incomplete environment definitions.

10 months agoProtect src overlay during saving the src snipped
Carsten Dominik [Tue, 24 Sep 2013 21:34:39 +0000]
Protect src overlay during saving the src snipped

* lisp/org-src.el (org-edit-src-exit): Let overlay survive after the
buffer has been saved.

10 months agoColumnview: Fix the case of #+ content present
Carsten Dominik [Sun, 22 Sep 2013 06:07:58 +0000]
Columnview: Fix the case of #+ content present

* lisp/org-colview.el (org-dblock-write:columnview): Change the
capture of pos to after inserting the original content

The problem is with a block that has content preceding the table.
Upon recreating the content, the `pos' gets set to the beginning of
this content instead of the table.  Later calls to
`org-table-recalculate' or `org-table-align' will fail because the
point is not at a table.

This patch moves the capture of `pos' to right before the insertion of
the table.

TINYCHANGE
Patch by Benjamin Beckwith

10 months agoFix documentation of the org-footnote face
Alan Schmitt [Thu, 19 Sep 2013 12:27:19 +0000]
Fix documentation of the org-footnote face

* org-faces.el (org-footnote): Fix the documentation for this face.

TINYCHANGE

10 months agoC-u C-u C-c ! inserts an active timestamp.
Nicolas Richard [Mon, 16 Sep 2013 13:42:25 +0000]
C-u C-u C-c ! inserts an active timestamp.

I suggest the following change so that C-u C-u C-c ! inserts an inactive
timestamp. I also document the INACTIVE argument of org-time-stamp.

--
Nicolas.

From 5cdb18297d92f2d99334d98aa2f3b8a40e44702f Mon Sep 17 00:00:00 2001
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Date: Mon, 29 Apr 2013 09:02:21 +0200
Subject: [PATCH] Enforce the convention that C-c ! inserts inactive
 timestamps.

* lisp/org.el (org-time-stamp): When INACTIVE is non-nil, insert an
  inactive timestamp also with double universal argument.

10 months agoGet rid of old style backquoting
Carsten Dominik [Fri, 20 Sep 2013 05:06:27 +0000]
Get rid of old style backquoting

* lisp/ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
backquoting.
(org-texinfo-export-to-info): Use new style backquoting.

Thanks to Mehul Sanghvi for the patch.

10 months agoDeclare a function in ob-core.el release_8.2
Carsten Dominik [Thu, 19 Sep 2013 03:21:06 +0000]
Declare a function in ob-core.el

10 months agoFix incorrect funtion call
Carsten Dominik [Thu, 19 Sep 2013 03:05:56 +0000]
Fix incorrect funtion call

* lisp/ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
instead of `file-base-name'.

10 months agoImprove behvior of org-insert-heading to end of subtree
Carsten Dominik [Thu, 19 Sep 2013 02:56:48 +0000]
Improve behvior of org-insert-heading to end of subtree

* lisp/org.el (org-insert-heading): Improve whitespace behavior at
end of subtree.

In a subtree with lots of empty space at the end, until now the new
entry would be inserted after all that whitespace.  Now, it is
inserted closer to the existing text, and the whitespace remains after
the new headline.

10 months agoWrite the news for release 8.2
Carsten Dominik [Thu, 19 Sep 2013 02:44:49 +0000]
Write the news for release 8.2

10 months agorm meaningless ":padnewlines" from default header args
Eric Schulte [Wed, 18 Sep 2013 21:20:51 +0000]
rm meaningless ":padnewlines" from default header args

* lisp/ob-core.el (org-babel-default-header-args): It is likely that
  someone meant to set :padlines to "yes", but accidentally set
  :padnewlines to "yes".  Either way lets just remove this which
  shouldn't have any functional effect.

10 months agodefault to :padline no for Haskell
Eric Schulte [Wed, 18 Sep 2013 21:19:54 +0000]
default to :padline no for Haskell

   Whitespace is significant in Haskell code so this could change
   program semantics.

* lisp/ob-haskell.el (org-babel-default-header-args:haskell): set
  :padlines to "no" by default.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Wed, 18 Sep 2013 19:17:52 +0000]
Merge branch 'maint'

10 months agoorg-element: Fix `org-element-at-point' at end of buffer
Nicolas Goaziou [Wed, 18 Sep 2013 19:15:04 +0000]
org-element: Fix `org-element-at-point' at end of buffer

* lisp/org-element.el (org-element-at-point): If point is at the end
  of the buffer, and that buffer ends with a list, and there's no
  final newline, return last element in last item instead of plain
  list.
* testing/lisp/test-org-element.el: Add test.

This fix allows to fill correctly the following construct:

 - Item with a very long line ending at the end of buffer.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Tue, 17 Sep 2013 20:38:15 +0000]
Merge branch 'maint'

10 months agoorg-element: Fix infloop in `org-element-at-point'
Nicolas Goaziou [Tue, 17 Sep 2013 20:36:09 +0000]
org-element: Fix infloop in `org-element-at-point'

* lisp/org-element.el (org-element-at-point): Fix infloop when called
  on a blank line at the end of the buffer after a headline.

10 months agoRevert "Revert "Revert "Use `xdg-open' to open files where available"""
Carsten Dominik [Tue, 17 Sep 2013 19:51:45 +0000]
Revert "Revert "Revert "Use `xdg-open' to open files where available"""

This reverts commit 0022904e83babacbdbaf167fcbf488dbf90dd78e.

10 months agoImprove documentation of sparse trees
Carsten Dominik [Tue, 17 Sep 2013 19:48:28 +0000]
Improve documentation of sparse trees

10 months agoImprove a sentence in the manual
Carsten Dominik [Tue, 17 Sep 2013 05:17:07 +0000]
Improve a sentence in the manual

* doc/org.texi (CSS support): Clarify this section.

10 months agoClean up list of default LaTeX packages
Carsten Dominik [Tue, 17 Sep 2013 05:02:14 +0000]
Clean up list of default LaTeX packages

* doc/org.texi (@LaTeX{} specific attributes): Document that tabu
and tabularx packages are not in the default set of packages.
* lisp/org.el (org-latex-default-packages-alist): Add the `rotating'
package to the list of default packages.  Improve docstring.

10 months agoFix spacing and cursor position bug caused by `org-insert-property-drawer' release_8.1.2
Carsten Dominik [Mon, 16 Sep 2013 06:22:15 +0000]
Fix spacing and cursor position bug caused by `org-insert-property-drawer'

* lisp/org.el (org-insert-property-drawer): Insert only after space in
current line.

This fixed a bug reported by Mathieu Boespflug, who writes:

> Hi,
>
> consider the following very simple org file:
>
> * TODO Thing1[]
>
> where "[]" marks where the point is. Now if I C-S-RET to insert a new
> TODO heading, I get
>
> * TODO Thing1
> * TODO []
>
> Note that there is a trailing space at the end of the last line, as
> expected. The problem is that if I now press C-c C-x p to set
> a property (any property), then I end up with the following situation:
>
> * TODO Thing1
> * TODO
>  :PROPERTIES:
>  :PROP:     val
>  :END: []
>
> The point is now at the end of the property drawer, rather than where it
> was before. Notice how the trailing whitespace in the heading has
> moreover been moved to after the property drawer.
>
> Expected behaviour:
>
> After C-c C-x p, I expect to get:
>
> * TODO Thing1
> * TODO []
>  :PROPERTIES:
>  :PROP:     val
>  :END:
>
> This is exactly what I get if there is *no trailing whitespace* in the
> TODO heading before hitting C-c C-x p. So it seems that the bug is that
> org-set-property does not deal well with trailing whitespace.
>
> This is a problem because it messes up setting properties by advising
> org-insert-todo-heading, say to set a CREATED property automatically for
> new TODO items.

10 months agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Sun, 15 Sep 2013 04:41:25 +0000]
Merge branch 'master' of orgmode.org:org-mode

10 months agoFix typo
Carsten Dominik [Sun, 15 Sep 2013 04:41:09 +0000]
Fix typo

10 months agoGiven a block with an empty body org-babel-src-block-regexp gobbled up everything...
Aditya Siram [Fri, 13 Sep 2013 14:57:25 +0000]
Given a block with an empty body org-babel-src-block-regexp gobbled up everything until the ending delimiter of the next code block. Fixed this by making the body regexp non-greedy.

10 months agoKeep paragraph motion commands from deactivating the mark
Carsten Dominik [Sat, 14 Sep 2013 05:58:56 +0000]
Keep paragraph motion commands from deactivating the mark

* lisp/org.el (org-forward-paragraph): Do not deactivate the mark.
(org-backward-paragraph): Do not deactivate the mark.

10 months agoFirst stab at Org News for 8.2
Carsten Dominik [Sat, 14 Sep 2013 05:50:58 +0000]
First stab at Org News for 8.2

10 months agoNew functions for paragraph-like navigation
Nicolas Goaziou [Fri, 13 Sep 2013 22:02:12 +0000]
New functions for paragraph-like navigation

* lisp/org.el (org-forward-paragraph, org-backward-paragraph): New
  functions.
* testing/lisp/test-org.el: Add tests.

10 months agoMerge branch 'maint'
Carsten Dominik [Fri, 13 Sep 2013 19:09:49 +0000]
Merge branch 'maint'

10 months agoAllow to turn of special behavior of `C-o' in tables
Carsten Dominik [Fri, 13 Sep 2013 19:09:17 +0000]
Allow to turn of special behavior of `C-o' in tables

* lisp/org.el (org-special-ctrl-o): New option.
(org-open-line): Don't do anything special unless `org-special-ctrl-o'
is non-nil.

10 months agoCenter currently clocked headline to top of screen
Sebastien Vauban [Tue, 10 Sep 2013 09:57:05 +0000]
Center currently clocked headline to top of screen

* org-clock.el (org-clock-goto-before-context): New option.
  (org-clock-goto): Use that option.

10 months agoAdd fortnight view to agenda
Carsten Dominik [Fri, 13 Sep 2013 05:46:24 +0000]
Add fortnight view to agenda

* doc/org.texi (Agenda commands): Document fortnight view.
* lisp/org-agenda.el (org-agenda-custom-commands-local-options):
(org-agenda-span): Add support for fortnight view.
(org-agenda-menu): Add fortnight view command.
(org-agenda-list):
(org-agenda-ndays-to-span): Add support for fortnight view.
(org-agenda-span-to-ndays): Add support for fortnight view.
(org-agenda-later): Add support for fortnight view.
(org-agenda-fortnight-view): New command.
(org-agenda-change-time-span): Add support for fortnight view.
(org-agenda-compute-starting-span): Add support for fortnight view.

This is a patch by Michael Gauland.

10 months agoAdd ERTs for org-meta-return
Michael Brand [Thu, 12 Sep 2013 20:48:16 +0000]
Add ERTs for org-meta-return

* testing/lisp/test-org.el (test-org/meta-return): New `ert-deftest'
to test `org-meta-return'.

10 months agoAllow M-RET to insert items within drawers
Nicolas Goaziou [Thu, 12 Sep 2013 20:21:12 +0000]
Allow M-RET to insert items within drawers

* lisp/org.el (org-meta-return): Allow M-RET to insert items within
  drawers.  Rewrite function.

This patch also allows a user to insert a headline within a drawer,
which will basically break it.  The point is to leave user responsible
for his editing actions.

10 months agoRemove eucal package for LaTeX fragments
rasmus [Wed, 11 Sep 2013 09:58:08 +0000]
Remove eucal package for LaTeX fragments

* org.el (org-format-latex-header): Remove eucal.

With amsmath loaded eucal (basically) only provides an alternative
typeface to \mathcal{.}

10 months agoAdd amsmath as a global LaTeX dependency
rasmus [Wed, 11 Sep 2013 09:53:47 +0000]
Add amsmath as a global LaTeX dependency

* org.el (org-format-latex-header): Remove amsmath.
(org-latex-default-packages-alist): Remove amstext and add amsmath.

This increases consistency between LaTeX exports and LaTeX preview
snippets.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Thu, 12 Sep 2013 14:51:16 +0000]
Merge branch 'maint'

10 months agoox-confluence: Fix void "external" variable
Nicolas Goaziou [Thu, 12 Sep 2013 14:48:17 +0000]
ox-confluence: Fix void "external" variable

* contrib/lisp/ox-confluence.el (org-confluence-export-as-confluence):
  Fix argument name.

Reported-by: Chris Lowis <chris.lowis@gmail.com>

10 months agoMerge branch 'maint'
Nicolas Goaziou [Wed, 11 Sep 2013 16:24:54 +0000]
Merge branch 'maint'

10 months agoorg-element: Fix af9c0fbf9143883ce31478a137a60cc69428d4d4
Nicolas Goaziou [Wed, 11 Sep 2013 16:23:16 +0000]
org-element: Fix af9c0fbf9143883ce31478a137a60cc69428d4d4
* lisp/org-element.el (org-element-at-point): Fix commit
  af9c0fbf9143883ce31478a137a60cc69428d4d4.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Wed, 11 Sep 2013 15:13:46 +0000]
Merge branch 'maint'

10 months agoorg-element: Fix footnote definition parsing
Nicolas Goaziou [Wed, 11 Sep 2013 15:07:09 +0000]
org-element: Fix footnote definition parsing

* lisp/org-element.el (org-element-footnote-definition-parser): Fix
  value for :contents-begin when first line of footnote definition is
  empty besides the label.
* testing/lisp/test-org-element.el (test-org-element/footnote-definition-parser):
  Add test.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Wed, 11 Sep 2013 10:23:42 +0000]
Merge branch 'maint'

10 months agoorg-element: Fix bug in `org-element-at-point'
Nicolas Goaziou [Wed, 11 Sep 2013 10:22:05 +0000]
org-element: Fix bug in `org-element-at-point'

* lisp/org-element.el (org-element-at-point): Return correct element
  when point is on a blank line just below a headline.
* testing/lisp/test-org-element.el: Add test.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Sun, 8 Sep 2013 21:53:16 +0000]
Merge branch 'maint'

10 months agoorg-element: Fix d003d56eaf5ffb8c2106ef69cbbc6bbee57b7e00
Nicolas Goaziou [Sun, 8 Sep 2013 21:50:53 +0000]
org-element: Fix d003d56eaf5ffb8c2106ef69cbbc6bbee57b7e00

* lisp/org-element.el (org-element-paragraph-parser): Use
  `org-match-string-no-properties'.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Sun, 8 Sep 2013 21:26:16 +0000]
Merge branch 'maint'

10 months agoorg-element: Fix paragraph parsing
Nicolas Goaziou [Sun, 8 Sep 2013 21:24:42 +0000]
org-element: Fix paragraph parsing

* lisp/org-element.el (org-element-paragraph-parser): Small fixes to
  paragraph parsing.

10 months agoMerge branch 'maint'
Carsten Dominik [Sun, 8 Sep 2013 16:28:48 +0000]
Merge branch 'maint'

10 months agoInform compiler about a variable that will exist at run time release_8.1.1
Carsten Dominik [Sun, 8 Sep 2013 16:28:30 +0000]
Inform compiler about a variable that will exist at run time

* lisp/org-timer.el (org-clock-sound): Silence compiler.

10 months agoMerge branch 'maint'
Carsten Dominik [Sun, 8 Sep 2013 16:23:03 +0000]
Merge branch 'maint'

10 months agoStop C-a and C-e from deactivating the mark
Carsten Dominik [Sun, 8 Sep 2013 16:22:51 +0000]
Stop C-a and C-e from deactivating the mark

* lisp/org.el (org-beginning-of-line):
(org-end-of-line): Bind deactivate-mark to avoid that this command
deactivates it.

10 months agocondition code execution by org-element-context
Eric Schulte [Sun, 8 Sep 2013 10:41:05 +0000]
condition code execution by org-element-context

Thanks to Nicolas Goaziou for suggesting this change.

10 months agoFix parenthesis bug left by earlier patch
Carsten Dominik [Sun, 8 Sep 2013 06:57:20 +0000]
Fix parenthesis bug left by earlier patch

* lisp/org.el (org-read-date-minibuffer-local-map): Fix parenthesis bug

10 months agoAllow sparse trees with property values containing a slash
Carsten Dominik [Sun, 8 Sep 2013 06:56:17 +0000]
Allow sparse trees with property values containing a slash

* lisp/org.el (org-make-tags-matcher): Do not interpret / in property
value as starter of TODO match.

10 months agoPreserve point when switching to overview
Carsten Dominik [Sun, 8 Sep 2013 06:13:35 +0000]
Preserve point when switching to overview

* lisp/org.el (org-overview): Preserve point.

We want to preserve point when changing global visibility.  This is a
bit dangerouns, because it can leave point in an invisible location.
However, we want to make sure that pressing M-TAG three times returns
us to the same position as before.

10 months agoAdd Microsoft Outlook Support to org-mac-link
Mike McLean [Sat, 7 Sep 2013 20:29:40 +0000]
Add Microsoft Outlook Support to org-mac-link

* contrib/lisp/org-mac-link.el: Add “o”utlook to capture descriptors along with
functions to capture links from Microsoft Outlook for Mac.

The functions here replicate those that capture from Mail.app.

10 months agoMerge branch 'maint'
Carsten Dominik [Sun, 8 Sep 2013 05:33:34 +0000]
Merge branch 'maint'

10 months agoTurn off replacing of disputed keys for the read-date keymap
Carsten Dominik [Sun, 8 Sep 2013 05:33:18 +0000]
Turn off replacing of disputed keys for the read-date keymap

* lisp/org.el (org-read-date-minibuffer-local-map): Don't replace disputed
keys when defining this keymap.
(org-read-date: Remove unnecessary binding of `org-replace-disputed-keys'.

This original fix did not work, thanks to Miro Bezjak for showing what
the proper fix should be.

10 months agoLazy autoloading of org-id.el to follow links
Oleh [Sat, 7 Sep 2013 14:42:02 +0000]
Lazy autoloading of org-id.el to follow links

* lisp/org.el (org-open-at-point): The new code is being run in the
same spot as `org-open-link-functions'.  In case they failed, check
if link matches "^id:" and if so, load the id interface and follwo the
link.

This fixes Emacs bug#14910: org-mode `org-open-at-point' doesn't
follow id links.

10 months agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Sat, 7 Sep 2013 19:14:42 +0000]
Merge branch 'master' of orgmode.org:org-mode

10 months agoFix table formula debugger error display
Michael Brand [Sat, 7 Sep 2013 08:55:14 +0000]
Fix table formula debugger error display

* lisp/org-table.el (org-table-eval-formula): Align the arrow pointing
to the error in a Calc formula to the other fomula debugger logs.

10 months agoORG-NEWS: Add some missing parts
Nicolas Goaziou [Sat, 7 Sep 2013 07:58:20 +0000]
ORG-NEWS: Add some missing parts

10 months agoMerge branch 'master' of orgmode.org:org-mode release_8.1
Carsten Dominik [Fri, 6 Sep 2013 16:36:53 +0000]
Merge branch 'master' of orgmode.org:org-mode

10 months agoRemove leftover require statement.
Carsten Dominik [Fri, 6 Sep 2013 16:36:30 +0000]
Remove leftover require statement.

* contrib/lisp/org-mac-link.el (org): Remove leftover require statement.

10 months agocontrib/lisp/org-mac-link.el: Fix typo in the comment section
Bastien Guerry [Fri, 6 Sep 2013 15:07:23 +0000]
contrib/lisp/org-mac-link.el: Fix typo in the comment section

* contrib/lisp/org-mac-link.el: Fix typo in the comment section.

10 months agoetc/ORG-NEWS: Mention support for AUTO in \usepackage[AUTO]{inputenc}
Bastien Guerry [Fri, 6 Sep 2013 14:25:19 +0000]
etc/ORG-NEWS: Mention support for AUTO in \usepackage[AUTO]{inputenc}

See commit 755251fdade23ef83d1a1841445488187471cebe
Thanks to Rasmus for reporting this change.

10 months agoTimer: play a sound as configured by `org-clock-sound' actualy only beep
Roberto Huelga Díaz [Tue, 3 Sep 2013 09:53:15 +0000]
Timer: play a sound as configured by `org-clock-sound' actualy only beep

* lisp/org-timer.el (org-timer-set-timer): Use the variable
  `org-clock-sound' when calling `org-notify'.

When org-notify second parameter is t we only get the standard beep.
Evaluating with coma we can use different sounds for differents
running timers, as `org-clock-sound' was set when
`org-timer-set-timer' get execute

Patch proposal by Roberto Huelga Díaz.

TINYCHANGE

10 months agocontrib/lisp/org-mac-link.el: Small formatting fix in the comment section
Bastien Guerry [Fri, 6 Sep 2013 13:58:55 +0000]
contrib/lisp/org-mac-link.el: Small formatting fix in the comment section

* contrib/lisp/org-mac-link.el: Small formatting fix in the comment section.

10 months agoetc/ORG-NEWS: Rephrase the "Combine org-mac-message.el ..." section
Bastien Guerry [Fri, 6 Sep 2013 13:38:52 +0000]
etc/ORG-NEWS: Rephrase the "Combine org-mac-message.el ..." section

Thanks to Anthony Lander for the new version.

10 months agoFix typo in ORG-NEWS.
Bastien Guerry [Fri, 6 Sep 2013 13:36:43 +0000]
Fix typo in ORG-NEWS.

Thanks to Rick Frankel for reporting it.

10 months agoDo not handle `adaptive-fill-regexp' in comments
Nicolas Goaziou [Fri, 6 Sep 2013 10:30:30 +0000]
Do not handle `adaptive-fill-regexp' in comments

* lisp/org.el (org-adaptive-fill-function): Do not handle
  `adaptive-fill-regexp' in comments as the behaviour is not
  satisfying.
* testing/lisp/test-org.el: Remove test.

10 months agoorgguide: Fix documentation
Nicolas Goaziou [Fri, 6 Sep 2013 08:59:12 +0000]
orgguide: Fix documentation

* doc/orgguide.texi (Comment lines): A whitespace is mandatory after
  the "#" sign.
(Export options): Along with plain text, DATE expects an Org
timestamp, not a format string.  Also fix OPTIONS items and remove
back-end specific keywords.
(The export dispatcher): An active region is not sufficient to trigger
subtree export.
(DocBook export): Remove section.
(ASCII/Latin-1/UTF-8 export, HTML export, @LaTeX{} and PDF export,
Publishing): Update keybindings.
(iCalendar export): Update keybindings and fix variable name.

10 months agoREADME_maintainer: add a new "Updating etc/ORG-NEWS" section
Bastien Guerry [Fri, 6 Sep 2013 05:47:57 +0000]
README_maintainer: add a new "Updating etc/ORG-NEWS" section

10 months agoUpdate ORG-NEWS with changelogs for Org 8.1
Bastien Guerry [Fri, 6 Sep 2013 05:42:30 +0000]
Update ORG-NEWS with changelogs for Org 8.1

10 months agocontrib/ox-rss.el: Use the :html-link-use-abs-url option in the example.
Bastien Guerry [Fri, 6 Sep 2013 05:41:59 +0000]
contrib/ox-rss.el: Use the :html-link-use-abs-url option in the example.

10 months agoRename customization group to org-mac-link-grabber
Carsten Dominik [Thu, 5 Sep 2013 19:34:30 +0000]
Rename customization group to org-mac-link-grabber

* contrib/lisp/org-mac-link.el (org-mac-link): group renamed from
`org-mac-link-grabber'.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Thu, 5 Sep 2013 16:48:42 +0000]
Merge branch 'maint'

10 months agoorg.texi: Fix misleading documentation
Nicolas Goaziou [Thu, 5 Sep 2013 16:46:07 +0000]
org.texi: Fix misleading documentation

* doc/org.texi (Document title): Subtree export is no longer triggered
  by marking one as the region.
(Horizontal rules): LaTeX export doesn't use "\hrule" anymore, and
giving examples isn't very useful: "horizontal rule" is, at least, as
explicit as <hr/>.

10 months agoMerge branch 'maint'
Nicolas Goaziou [Wed, 4 Sep 2013 13:26:11 +0000]
Merge branch 'maint'

10 months agoorg-list: Fix list repairing
Nicolas Goaziou [Wed, 4 Sep 2013 13:21:33 +0000]
org-list: Fix list repairing

* lisp/org-list.el (org-list-struct-apply-struct): Do not move item's
  contents within a child above when repairing indentation.
* testing/lisp/test-org-list.el: Add tests.

10 months agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Tue, 3 Sep 2013 14:11:05 +0000]
Merge branch 'master' of orgmode.org:org-mode

10 months agoSmall adjustment to behavior of org-insert-heading
Carsten Dominik [Tue, 3 Sep 2013 14:10:16 +0000]
Small adjustment to behavior of org-insert-heading

* lisp/org.el (org-insert-heading): Allow to remove blank lines if the
user does not want any.

10 months agoox-html: Fix meta tag output for properties
Nicolas Goaziou [Tue, 3 Sep 2013 12:05:53 +0000]
ox-html: Fix meta tag output for properties

* lisp/ox-html.el (org-html--build-meta-info): Fix output of meta tags
  when properties are present.

Reported-by: Kyle Machulis <kyle@nonpolynomial.com>

10 months agoRevert "ignore inline source block on #+ prefixed lines"
Nicolas Goaziou [Tue, 3 Sep 2013 11:59:33 +0000]
Revert "ignore inline source block on #+ prefixed lines"

This reverts commit 24812caff400bab66b66c42e761cbb5a8fc9525f.  This is
a wrong fix sinc the function already calls `org-element-context',
which cannot find Babel code in macros anyway.

10 months agoRevert "Revert "Use `xdg-open' to open files where available""
Carsten Dominik [Tue, 3 Sep 2013 07:54:03 +0000]
Revert "Revert "Use `xdg-open' to open files where available""

This reverts commit e26c55f5b5f1189f63c9a0a41f29164fd878a698.

10 months agoFix typo.
Carsten Dominik [Tue, 3 Sep 2013 05:07:57 +0000]
Fix typo.

10 months agoRevert "Use `xdg-open' to open files where available"
Carsten Dominik [Mon, 2 Sep 2013 20:55:30 +0000]
Revert "Use `xdg-open' to open files where available"

This reverts commit 15ae89b3949f52db1b5579e383c2d9f6c9173992.

10 months agoignore inline source block on #+ prefixed lines
Eric Schulte [Mon, 2 Sep 2013 16:31:10 +0000]
ignore inline source block on #+ prefixed lines

* lisp/ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
  source block on #+ prefixed lines.

10 months agoFix typo in a docstring
Carsten Dominik [Mon, 2 Sep 2013 14:15:07 +0000]
Fix typo in a docstring

* lisp/org.el (org-unlogged-message): Fix typo in dostring.

10 months agoHandle literal 'hline arguments passed to ruby
Carsten Dominik [Mon, 2 Sep 2013 14:10:29 +0000]
Handle literal 'hline arguments passed to ruby

* lisp/ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
`org-babel-ruby-nil-to'
(org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
(org-babel-ruby-table-or-string): Convert outgoing nils.

Patch by Rick Frankel.

10 months agoFix compiler warnings.
Bastien Guerry [Mon, 2 Sep 2013 11:33:52 +0000]
Fix compiler warnings.

* org-attach.el (vc-git-root):
* ob-shen.el (org-babel-ruby-var-to-ruby): Declare.

10 months agoMerge branch 'maint'
Bastien Guerry [Mon, 2 Sep 2013 11:16:18 +0000]
Merge branch 'maint'

10 months agoAdd a "Available Org's builds on the server" section.
Bastien Guerry [Mon, 2 Sep 2013 11:16:03 +0000]
Add a "Available Org's builds on the server" section.

10 months agoUse `xdg-open' to open files where available
Carsten Dominik [Mon, 2 Sep 2013 10:05:42 +0000]
Use `xdg-open' to open files where available

* lisp/org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open files
  where available.

10 months agoImprove docstring of `orgtbl-radio-table-templates'
Carsten Dominik [Mon, 2 Sep 2013 09:33:54 +0000]
Improve docstring of `orgtbl-radio-table-templates'

* lisp/org-table.el (orgtbl-radio-table-templates): Improve docstring.

10 months agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Mon, 2 Sep 2013 08:25:35 +0000]
Merge branch 'master' of orgmode.org:org-mode

10 months agoDocument conflict with ecomplete.el
Carsten Dominik [Mon, 2 Sep 2013 08:25:10 +0000]
Document conflict with ecomplete.el

* doc/org.texi: Document conflict with ecomplete.el

Thanks to Gregor Zattler for pointing out this problem.

10 months agoDon't overpopulate the message buffer
Carsten Dominik [Mon, 2 Sep 2013 06:50:00 +0000]
Don't overpopulate the message buffer

* lisp/org.el (org-unlogged-message): New function.
(org-cycle): Use `org-unlogged-message'.
(org-cycle-internal-global): Use `org-unlogged-message'.
(org-cycle-internal-local): Use `org-unlogged-message'.
(org-global-cycle): Use `org-unlogged-message'.
(org-display-outline-path): Use `org-unlogged-message'.

10 months agoFix completion of headline names after *
Carsten Dominik [Mon, 2 Sep 2013 06:08:58 +0000]
Fix completion of headline names after *

* lisp/org-pcomplete.el (org-make-org-heading-search-string): Fix function
declaration.
(pcomplete/org-mode/searchhead): Remove incorrect second arguments to
`org-make-org-heading-search-string'.