org-mode.git
3 years 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

3 years 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'.

3 years 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.

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

3 years 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.

3 years 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.

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

3 years 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.

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

3 years 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.

3 years 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.

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

3 years 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.

3 years 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.

3 years 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.

3 years 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

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

3 years 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.

3 years 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.

3 years 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

3 years 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.

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

3 years 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.

3 years 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.

3 years 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.

3 years 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'.

3 years 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.

3 years 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{.}

3 years 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.

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

3 years 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>

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

3 years 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.

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

3 years 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.

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

3 years 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.

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

3 years 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'.

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

3 years 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.

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

3 years 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.

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

3 years 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.

3 years 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.

3 years 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

3 years 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.

3 years 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.

3 years 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.

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

3 years 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.

3 years 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.

3 years 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

3 years 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.

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

3 years 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

3 years 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.

3 years 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.

3 years 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.

3 years 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

3 years 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.

3 years 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.

3 years 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.

3 years 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.

3 years 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.

3 years 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

3 years 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

3 years 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.

3 years 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'.

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

3 years 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/>.

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

3 years 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.

3 years 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

3 years 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.

3 years 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>

3 years 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.

3 years 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.

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

3 years 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.

3 years 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.

3 years 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.

3 years 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.

3 years 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.

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

3 years 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.

3 years 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.

3 years 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.

3 years 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

3 years 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.

3 years 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'.

3 years 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'.

3 years agoTurn off replacing disputed keys for rog-read-date
Carsten Dominik [Mon, 2 Sep 2013 05:51:08 +0000]
Turn off replacing disputed keys for rog-read-date

* lisp/org.el (org-read-date): Turn off replacing disputed keys when defining
the minibuffer keys during date selection.

3 years agoAllow nil as return of sexp in capture templates
oleh [Sun, 1 Sep 2013 16:27:01 +0000]
Allow nil as return of sexp in capture templates

* lisp/org-capture.el (org-capture-expand-embedded-elisp): Throw error if
result is not a string and not nil.  If the result is nil, treat it as
if it was the empty string.

3 years agoAcknowledgements for Jason Dunsmore and Rakcspace
Carsten Dominik [Sun, 1 Sep 2013 17:34:51 +0000]
Acknowledgements for Jason Dunsmore and Rakcspace

* doc/org.texi (History and Acknowledgments): Acknowledgements for
Jason Dunsmore and Rakcspace.

3 years agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Sun, 1 Sep 2013 13:00:07 +0000]
Merge branch 'master' of orgmode.org:org-mode

3 years agoRemove dependency on latexsym LaTeX package
rasmus [Sat, 31 Aug 2013 16:15:12 +0000]
Remove dependency on latexsym LaTeX package

* ox-latex.el (org-latex-item): Use square as unchecked symbol.
* org.el (org-latex-default-packages-alist): Remove latexsym.

Use amssymb symbols to reduce required packages.

3 years agoorg-entities: New entities
rasmus [Sun, 18 Aug 2013 15:42:33 +0000]
org-entities: New entities

* org-entities.el (org-entities): Add support for ell, imath, jmath,
varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§), dag, ddag,
colon, therefore, because, triangleq, leq, geq, lessgtr, lesseqgtr,
ll, lll, gg, ggg, prec, preceq, preccurleyeq, succ, succeq,
succurleyeq, setminus, nexist(s), mho, check, frown, diamond.  Changes loz,
vert, checkmark, smile and tilde.

3 years agoImprove the empty line insertion behavior of `org-insert-heading'.
Carsten Dominik [Sun, 1 Sep 2013 12:04:48 +0000]
Improve the empty line insertion behavior of `org-insert-heading'.

* lisp/org.el (org-insert-heading): Improve the empty line insertion behavior.
Basically, never remove empty lines, only add them.

This was a request by Nicolas Goaziou.