org-mode.git
9 months agoFix bf0649 release_8.2.5e
Bastien Guerry [Wed, 15 Jan 2014 23:53:28 +0000]
Fix bf0649

9 months agoRemove spurious defvar
Bastien Guerry [Wed, 15 Jan 2014 23:52:46 +0000]
Remove spurious defvar

Thanks to Nicolas Goaziou for reporting this.

9 months agoFix 4a9820
Bastien Guerry [Wed, 15 Jan 2014 23:35:12 +0000]
Fix 4a9820

9 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Wed, 15 Jan 2014 08:21:59 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

9 months agoFix 035087777
Bastien Guerry [Wed, 15 Jan 2014 08:21:44 +0000]
Fix 035087777

9 months agoRevert "org.el (org-store-link): When a link has been stored, always returns it"
Bastien Guerry [Wed, 15 Jan 2014 08:19:30 +0000]
Revert "org.el (org-store-link): When a link has been stored, always returns it"

This reverts commit 035087777d0b4d91373466ed1a56f357c63f5465.

9 months agoFix mode reset
Carsten Dominik [Tue, 14 Jan 2014 19:45:54 +0000]
Fix mode reset

9 months agoFix bug when demoting invisible headlines release_8.2.5d
Bastien Guerry [Tue, 14 Jan 2014 11:38:50 +0000]
Fix bug when demoting invisible headlines

* org.el (org-demote): Ignore invisible text when aligning
tags.
(org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
invisible text when restoring the cursor to the correct
column.

This fixes a bug about demoting hidden headlines.
If org-move-to-column temporarily ignore visibility
specs, this will prevent org-demote to work correctly
in hidden regions.

Thanks to Susan Cragin for reporting this bug.

9 months agoBackport typo fix from Emacs revno r116017
Bastien Guerry [Mon, 13 Jan 2014 22:26:17 +0000]
Backport typo fix from Emacs revno r116017

9 months agoDelete :grouptags from tags list when creating org-mobile index file
Nick Dokos [Sat, 14 Dec 2013 20:17:18 +0000]
Delete :grouptags from tags list when creating org-mobile index file

* org-mobile.el (org-mobile-create-index-file): delete :grouptags
  entries from tags list when creating the org-mobile index file.

Reported by Dror Atariah - see

    http://thread.gmane.org/gmane.emacs.orgmode/79803

and (the continuation of the above thread)

    http://thread.gmane.org/gmane.emacs.orgmode/79856

9 months agoob-python.el (org-babel-python-var-to-python): Bugfix
Bastien Guerry [Sun, 12 Jan 2014 23:25:25 +0000]
ob-python.el (org-babel-python-var-to-python): Bugfix

* ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
properties before formatting the results.

Thanks to Daniel Gerber for reporting this and providing a fix,
and to others who contributed.

9 months agoAgenda: Fix dragging line in filtered agendas
Bastien Guerry [Sun, 12 Jan 2014 22:56:54 +0000]
Agenda: Fix dragging line in filtered agendas

* org-agenda.el (org-agenda-regexp-filter-preset): Fix
typo in docstring.
(org-agenda-reapply-filters): New function.
(org-agenda-drag-line-forward): Rewrite to fix a bug when used
in filtered agendas.
(org-agenda-drag-line-backward): Rewrite using
`org-agenda-drag-line-forward'.

Thanks to Thomas Morgan for reporting this.

9 months agoob-table.el (org-sbe): Rename from `sbe'
Bastien Guerry [Sun, 12 Jan 2014 11:02:25 +0000]
ob-table.el (org-sbe): Rename from `sbe'

* ob-table.el (org-sbe): Rename from `sbe'.

9 months agoorg.el (org-store-link): When a link has been stored, always returns it
Bastien Guerry [Sun, 12 Jan 2014 08:56:41 +0000]
org.el (org-store-link): When a link has been stored, always returns it

* org.el (org-store-link): When a link has been stored, always
returns it.

(Storing links from the agenda are broken otherwise.)

9 months agoBackport typo fixes from Emacs revno 115988
Bastien Guerry [Sun, 12 Jan 2014 08:54:21 +0000]
Backport typo fixes from Emacs revno 115988

9 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Sat, 11 Jan 2014 00:35:00 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

9 months agoorg.el (org-ellipsis): Small docstring enhancement
Bastien Guerry [Sat, 11 Jan 2014 00:34:44 +0000]
org.el (org-ellipsis): Small docstring enhancement

* org.el (org-ellipsis): Small docstring enhancement.

9 months agoorg.texi: Fix typo
Nicolas Goaziou [Fri, 10 Jan 2014 21:27:58 +0000]
org.texi: Fix typo

* doc/org.texi (Top, Exporting): Fix typo.

9 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Fri, 10 Jan 2014 20:00:32 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

9 months agoSpeed improvement
Nicolas Goaziou [Fri, 10 Jan 2014 10:22:49 +0000]
Speed improvement

* lisp/org.el (org-get-previous-line-level): Do not call
  `org-current-level' twice unless necessary.  Also, avoid using
  `line-number-at-pos' when the information needed is to know if point
  is in the first line of the visible part of the buffer.

9 months agoBackport changes from r115955
Bastien Guerry [Fri, 10 Jan 2014 09:29:53 +0000]
Backport changes from r115955

9 months agoorg.texi: Fix some sections subtitiles
Nicolas Goaziou [Thu, 9 Jan 2014 21:37:57 +0000]
org.texi: Fix some sections subtitiles

* doc/org.texi (Top, Exporting): Org has its own documentation and
  should therefore be removed from "Other build-in back-ends".

9 months agoob-core: Speed improvement
Nicolas Goaziou [Thu, 9 Jan 2014 19:36:23 +0000]
ob-core: Speed improvement

* lisp/ob-core.el (org-babel-get-inline-src-block-matches): Do not
  compute line number if all is needed is to know if we're on the
  first one.

9 months agoFix multiple TBLFM
Michael Brand [Thu, 9 Jan 2014 19:10:19 +0000]
Fix multiple TBLFM

Simplify commit release_8.2.4-14-geb28fe4 and commit
release_8.2.5c-8-ga2619b7.

* org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM lines
with `forward-line'.

9 months agoorg-table.el (org-table-fix-formulas): Fix commit eb28fe
Bastien Guerry [Thu, 9 Jan 2014 10:03:01 +0000]
org-table.el (org-table-fix-formulas): Fix commit eb28fe

Thanks to Michael Brand for reporting this.

9 months agoBackport typo fixes from Emacs revno r115923
Bastien Guerry [Wed, 8 Jan 2014 23:47:40 +0000]
Backport typo fixes from Emacs revno r115923

9 months agoox-md: Prevent error with empty items
Nicolas Goaziou [Wed, 8 Jan 2014 21:47:10 +0000]
ox-md: Prevent error with empty items

* lisp/ox-md.el (org-md-item): Do not return an error when exporting
  an empty item.

9 months agoRevert "ob-python.el (org-babel-python-var-to-python): Fix code typo"
Bastien Guerry [Wed, 8 Jan 2014 17:31:50 +0000]
Revert "ob-python.el (org-babel-python-var-to-python): Fix code typo"

This reverts commit e88d9d7caf75994c00c1f7c95180aac672696eb2.

9 months agoob-python.el (org-babel-python-var-to-python): Fix code typo
Bastien Guerry [Wed, 8 Jan 2014 16:29:31 +0000]
ob-python.el (org-babel-python-var-to-python): Fix code typo

* ob-python.el (org-babel-python-var-to-python): Fix code typo.

Thanks to Daniel Gerber for reporting this.

9 months agoorg-entities.el: Fix display of pretty entities
Bastien Guerry [Wed, 8 Jan 2014 15:12:15 +0000]
org-entities.el: Fix display of pretty entities

* org-entities.el (org-entities-help): Prevent the display of
pretty entities, as this help buffer is meant to list literal
strings, not utf-8 representations.

Thanks to Brice Waegenire for reporting this.

9 months agoox-beamer: Fix bug when an selecting environment
Nicolas Goaziou [Tue, 7 Jan 2014 20:50:44 +0000]
ox-beamer: Fix bug when an selecting environment

* lisp/ox-beamer.el (org-beamer-select-environment): Function doesn't
  work if fast tag selection is disabled, so make sure it is always
  on, independently on user's configuration.

Reported-by: Anders Johansson <mejlaandersj@gmail.com>

9 months agodoc/Makefile: avoid spurious whitespace in environment variables
Achim Gratz [Tue, 7 Jan 2014 20:23:45 +0000]
doc/Makefile: avoid spurious whitespace in environment variables

* doc/Makefile (%.pdf): Ensure that LANG and LC_ALL are set to "C",
  not "C   " (with trailing whitespace).

Make evaluation order produces spurious whitespace in variables when a
variable definition is followed by whitespace plus a comment.

9 months agoUpdate copyright years again. release_8.2.5c
Bastien Guerry [Tue, 7 Jan 2014 13:18:17 +0000]
Update copyright years again.

Hint: copyright years are all updated in Emacs.

9 months agoBackport change from Chong on 2013-12-23
Bastien Guerry [Tue, 7 Jan 2014 12:25:30 +0000]
Backport change from Chong on 2013-12-23

9 months agoBug in org.texi release_8.2.5b
Rasmus [Tue, 7 Jan 2014 10:32:31 +0000]
Bug in org.texi

* org.texi (Global and local cycling): Fix missing '@'.

9 months agoorg.texi (Global and local cycling): Mention C-u C-u TAB
Bastien Guerry [Tue, 7 Jan 2014 09:15:13 +0000]
org.texi (Global and local cycling): Mention C-u C-u TAB

* org.texi (Global and local cycling): Mention C-u C-u TAB.

Thanks to François Pinard for suggesting this.

9 months agoBackport spelling fixes from Emacs r115885
Bastien Guerry [Mon, 6 Jan 2014 10:02:18 +0000]
Backport spelling fixes from Emacs r115885

* org-clock.el (org-clock-cancel-hook)
(org-clock-leftover-time): Fix typo in docstring.

9 months agoBackport change from Emacs r115884
Bastien Guerry [Mon, 6 Jan 2014 10:00:28 +0000]
Backport change from Emacs r115884

9 months agoorg.el (org-set-tags): Ignore invisible text when restoring cursor position
Bastien Guerry [Sun, 5 Jan 2014 13:21:38 +0000]
org.el (org-set-tags): Ignore invisible text when restoring cursor position

* org.el (org-set-tags): Ignore invisible text when restoring
cursor position.

9 months agoob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code typo
U-usuario-PC\\usuario [Sun, 5 Jan 2014 12:18:16 +0000]
ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code typo

* ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code typo.

TINYCHANGE

9 months agoUpdate copyright year for files changed since 2013 release_8.2.5a
Bastien Guerry [Sun, 5 Jan 2014 05:35:21 +0000]
Update copyright year for files changed since 2013

9 months agoRevert "Update copyright years."
Bastien Guerry [Sun, 5 Jan 2014 05:28:07 +0000]
Revert "Update copyright years."

This reverts commit 21105594fcb69fb4e1d636f4070fd25c86efbe35.

9 months agoBackport changes from Emacs r115870
Bastien Guerry [Sun, 5 Jan 2014 05:24:20 +0000]
Backport changes from Emacs r115870

* org.texi (Include files, The Export Dispatcher)
(Advanced configuration)
(Header arguments in Org mode properties): Spelling fixes.

9 months agoUpdate copyright years. release_8.2.5
Bastien Guerry [Sat, 4 Jan 2014 17:56:11 +0000]
Update copyright years.

9 months agoRevert "* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el."
Bastien Guerry [Sat, 4 Jan 2014 17:15:42 +0000]
Revert "* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el."

This reverts commit fc5cf0d92209f55a59077101e6f1ae77c3c8524f.

9 months agoFix ox-odt bugs
Bastien Guerry [Sat, 4 Jan 2014 17:09:31 +0000]
Fix ox-odt bugs

* ox-odt.el (org-odt--frame): Add a draw:name property to the
draw:frame tag.
(org-odt-format-label): Don't use short-caption at all.

See http://article.gmane.org/gmane.emacs.orgmode/79910
and http://article.gmane.org/gmane.emacs.orgmode/79892
for threads about these issues.

9 months agoorg-rmail.el (org-rmail-follow-link): Don't raise an error when no article is matched
Bastien Guerry [Sat, 4 Jan 2014 14:27:53 +0000]
org-rmail.el (org-rmail-follow-link): Don't raise an error when no article is matched

* org-rmail.el (org-rmail-follow-link): Don't raise an error
when no article is matched.

9 months agoFix creation of parent nodes when refiling.
Bastien Guerry [Sat, 4 Jan 2014 14:05:01 +0000]
Fix creation of parent nodes when refiling.

* org.el (org-refile-get-location): Check for a refile
position when the position is not nil, otherwise allow to
create the parent node if the user requests it.

Thanks to Li Zhuo for reporting this bug and for providing
a preliminary patch.

9 months agoorg.el (org-refile-allow-creating-parent-nodes): Fix typo in docstring
Bastien Guerry [Sat, 4 Jan 2014 13:53:00 +0000]
org.el (org-refile-allow-creating-parent-nodes): Fix typo in docstring

* org.el (org-refile-allow-creating-parent-nodes): Fix typo in
docstring.

9 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Sat, 4 Jan 2014 13:48:51 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

9 months agoorg.el (org-entry-get): Minor docstring enhancement
Bastien Guerry [Sat, 4 Jan 2014 13:48:39 +0000]
org.el (org-entry-get): Minor docstring enhancement

* org.el (org-entry-get): Minor docstring enhancement.

9 months agoox-icalendar: Fix BBDB anniversaries integration
Nicolas Goaziou [Sat, 4 Jan 2014 13:26:19 +0000]
ox-icalendar: Fix BBDB anniversaries integration

* lisp/ox-icalendar.el (org-icalendar--combine-files): Make sure
  anniversaries do not end up in *Message* buffer instead of the ICS
  file.

Patch-by: Thomas Baumann <tbaumann@tum.de>

9 months agoorg.el (org-set-startup-visibility): Bugfix
Bastien Guerry [Sat, 4 Jan 2014 11:22:50 +0000]
org.el (org-set-startup-visibility): Bugfix

* org.el (org-set-startup-visibility): Bugfix.

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

9 months agoorg.el (org-shiftcontrolup, org-shiftcontroldown): Ignore `org-support-shift-select...
Bastien Guerry [Fri, 3 Jan 2014 16:38:02 +0000]
org.el (org-shiftcontrolup, org-shiftcontroldown): Ignore `org-support-shift-select' when point is on a clock log

* org.el (org-shiftcontrolup, org-shiftcontroldown): When
`org-support-shift-select' is not `nil', let-bind it to nil
if point is on a clock log.  Otherwise throw an error.

9 months agoob-lob.el: Minor custom and docstring fixes
Bastien Guerry [Fri, 3 Jan 2014 16:15:34 +0000]
ob-lob.el: Minor custom and docstring fixes

* ob-lob.el (org-babel-lob-files): Fix custom type.
(org-babel-lob-ingest): Small docstring fix.

Thanks to Glenn Morris for reporting them.

9 months agoorg-agenda.el (org-cmp-ts): Fix bug
Bastien Guerry [Fri, 3 Jan 2014 15:01:30 +0000]
org-agenda.el (org-cmp-ts): Fix bug

* org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
`later than any date' instead of `later than today'.

Thank to Michael Crouch for reporting this and to Michael Hoffman for
providing the fix.

9 months agoorg.el (org-do-emphasis-faces): Fix false positives handling
Bastien Guerry [Fri, 3 Jan 2014 10:16:14 +0000]
org.el (org-do-emphasis-faces): Fix false positives handling

* org.el (org-do-emphasis-faces): Handle false positives by
restarting the re-search one char after the beginning of the
match, not one char before its ending.

Before this fix, consider this buffer

** Headline
  - *Bold* non-bold
  - *Bold* non-bold

The first false positive is "** Headline\n  - *Bold*"

Starting the search again from the last "*" will skip
the "*Bold*" string.  Starting again at "* Headline" will
find it.

9 months agoorg.el (org-entry-put): Check that the value provided is a string
Bastien Guerry [Fri, 3 Jan 2014 09:07:09 +0000]
org.el (org-entry-put): Check that the value provided is a string

* org.el (org-entry-put): Check that the value provided is a
string.  If it is nil, convert it to the empty string.

9 months agoBackport r115828 from Emacs trunk
Bastien Guerry [Thu, 2 Jan 2014 15:10:44 +0000]
Backport r115828 from Emacs trunk

9 months agoRevert "Backport change from r115807 in Emacs trunk"
Bastien Guerry [Thu, 2 Jan 2014 15:08:26 +0000]
Revert "Backport change from r115807 in Emacs trunk"

This reverts commit c2ed678f20f7a4deccc3373c6a226163d5624cc8.

9 months agoox-html: Clean up some comments
Nicolas Goaziou [Wed, 1 Jan 2014 18:05:49 +0000]
ox-html: Clean up some comments

* lisp/ox-html.el: Clean up "FIXME" comments.

9 months agoox-publish: Fix a docstring
Nicolas Goaziou [Wed, 1 Jan 2014 18:02:13 +0000]
ox-publish: Fix a docstring

* lisp/ox-publish.el (org-publish-resolve-external-fuzzy-link): Fix
  docstring.

10 months agoox-html.el: Use classes for caption instead of align
Vladimir Lomov [Sat, 28 Dec 2013 22:33:59 +0000]
ox-html.el: Use classes for caption instead of align

* ox-html.el (org-html-style-default): New classes
caption.t-above and caption.t-bottom.
(org-html-table): Use new classes.

TINYCHANGE

Signed-off-by: Vladimir Lomov <lomov.vl@gmail.com>

10 months agoRevert "ox-html.el: Use classes for caption instead of align"
Bastien Guerry [Mon, 30 Dec 2013 09:43:43 +0000]
Revert "ox-html.el: Use classes for caption instead of align"

This reverts commit 1813200fc81fa5e0f248407d852f3771fe2d4f6e.

10 months agoox-html.el: Use classes for caption instead of align
Vladimir Lomov [Sat, 28 Dec 2013 22:33:59 +0000]
ox-html.el: Use classes for caption instead of align

* ox-html.el (org-html-style-default): New classes
caption.t-above and caption.t-bottom.
(org-html-table): Use new classes.

Signed-off-by: Vladimir Lomov <lomov.vl@gmail.com>

10 months agoFix defcustoms: don't quote const values.
Bastien Guerry [Mon, 30 Dec 2013 09:30:44 +0000]
Fix defcustoms: don't quote const values.

* ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
instead of list as the defcustom type.

* ox.el (org-export-with-creator):
* org.el (org-loop-over-headlines-in-active-region)
(org-mouse-1-follows-link, org-provide-todo-statistics):
* org-agenda.el (org-agenda-custom-commands-local-options)
(org-agenda-start-with-log-mode)
(org-agenda-show-inherited-tags): Don't quote const values.

Thanks to Glenn Morris for reporting this.

10 months agoAdd missing :type to a few options.
Bastien Guerry [Mon, 30 Dec 2013 09:13:57 +0000]
Add missing :type to a few options.

* ox-texinfo.el (org-texinfo-def-table-markup):
* org-inlinetask.el (org-inlinetask-show-first-star):
* ob-maxima.el (org-babel-maxima-command): Add type.

Thanks to Glenn Morris for reporting this.

10 months agoBackport change from r115807 in Emacs trunk
Bastien Guerry [Mon, 30 Dec 2013 09:10:56 +0000]
Backport change from r115807 in Emacs trunk

10 months agoox: Fix smart quote detection
Nicolas Goaziou [Thu, 26 Dec 2013 11:35:59 +0000]
ox: Fix smart quote detection

* lisp/ox.el (org-export-smart-quotes-regexps): Fix smart quote
  detection when it is followed by an open parenthesis syntax class.

10 months agoSmall rewrite of the previous commit.
Bastien Guerry [Mon, 23 Dec 2013 05:58:26 +0000]
Small rewrite of the previous commit.

Use `regexp-opt' instead of `regexp-quote'.

10 months agoorg-habit.el (org-habit-parse-todo): Match all TODO keywords, not just "TODO"
Ted Wiles [Sun, 22 Dec 2013 23:10:44 +0000]
org-habit.el (org-habit-parse-todo): Match all TODO keywords, not just "TODO"

* org-habit.el (org-habit-parse-todo): Match all TODO
keywords, not just "TODO".

TINYCHANGE

10 months agodoc/org.texi: Add #+BEGIN_ABSTRACT as example
Bastien Guerry [Sun, 22 Dec 2013 22:36:38 +0000]
doc/org.texi: Add #+BEGIN_ABSTRACT as example

* org.texi (Special blocks): Add #+BEGIN_ABSTRACT as another
example.
(@LaTeX{} specific attributes): New index entries.  Use
#+BEGIN_ABSTRACT in the example.

10 months agoorg-table.el (org-table-fix-formulas): Handle multiple #+tblfm: lines
Bastien Guerry [Sun, 22 Dec 2013 09:09:53 +0000]
org-table.el (org-table-fix-formulas): Handle multiple #+tblfm: lines

* org-table.el (org-table-fix-formulas): Handle multiple
#+tblfm: lines.

Thanks to Daniel Gerber for reporting this problem.

10 months ago* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el.
Bastien Guerry [Sun, 22 Dec 2013 08:41:50 +0000]
* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el.

* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el
in org-plus-contrib ELPA package.

Thanks to Francesco Pizzolante for reporting this.

10 months ago* contrib/lisp/ob-oz.el (mozart): Don't throw an error
Bastien Guerry [Sun, 22 Dec 2013 08:25:58 +0000]
* contrib/lisp/ob-oz.el (mozart): Don't throw an error

* contrib/lisp/ob-oz.el (mozart): Don't throw an error if the
mozart library is not present in the load-path.

10 months agoorg-as-mac-chrome-get-frontmost-url: Fix to remove unneeded double quotes.
Alex Poslavsky [Sat, 21 Dec 2013 17:08:27 +0000]
org-as-mac-chrome-get-frontmost-url: Fix to remove unneeded double quotes.

* contrib/lisp/org-mac-link.el: Fix bug: remove double quotes.

TINYCHANGE

Applescript returns the link and description in quotes like this:

[["http://orgmode.org/worg/org-contribute.html#sec-4][How to contribute to Org?"]]

The fix changes it to this:

[[http://orgmode.org/worg/org-contribute.html#sec-4][How to contribute to Org?]]

10 months agoox.el (org-export-to-file): Fix typo in docstring
Bastien Guerry [Wed, 18 Dec 2013 15:00:05 +0000]
ox.el (org-export-to-file): Fix typo in docstring

* ox.el (org-export-to-file): Fix typo in docstring.

10 months agoorg-element: Keep compatibility with Babel's regexps
Nicolas Goaziou [Mon, 16 Dec 2013 20:00:57 +0000]
org-element: Keep compatibility with Babel's regexps

* lisp/org-element.el (org-element-inline-babel-call-successor): Use
  original regexp to stay up-to-date with Babel changes.

10 months agoorg-element: Fix affiliated keyword regexp
Nicolas Goaziou [Sun, 15 Dec 2013 14:20:03 +0000]
org-element: Fix affiliated keyword regexp

* lisp/org-element.el (org-element--affiliated-re): Fix affiliated
  keyword regexp.

10 months agoox-org: Remove attr_backend keywords
Nicolas Goaziou [Sun, 15 Dec 2013 14:17:24 +0000]
ox-org: Remove attr_backend keywords

* lisp/ox-org.el (org-org-identity): Since back-end specific keywords
  are stripped from output, also remove attr_backend keywords.

10 months agoorg.texi: Document `org' back-end
Nicolas Goaziou [Sun, 15 Dec 2013 13:52:46 +0000]
org.texi: Document `org' back-end

* doc/org.texi (Org export): New section.
* lisp/ox-org.el: Remove initial code comments since this is now in
  manual.

10 months agoorg.texi: Fix some whitespace errors
Nicolas Goaziou [Sun, 15 Dec 2013 10:54:22 +0000]
org.texi: Fix some whitespace errors

* doc/org.texi (HTML doctypes): Fix whitespace error.

10 months agoorg.texi: Add html related publishing options
Nicolas Goaziou [Sun, 15 Dec 2013 10:38:37 +0000]
org.texi: Add html related publishing options

* doc/org.texi (HTML doctypes): Fix display.
(Publishing options): Add missing html publishing options.

10 months agoFix bug when using both electric-pair-mode and delete-selection-mode
Bastien Guerry [Sat, 7 Dec 2013 07:17:33 +0000]
Fix bug when using both electric-pair-mode and delete-selection-mode

* org.el (org-self-insert-command)
(orgtbl-self-insert-command): Change the value of the
`delete-selection' property to allow other commands like
`electric-pair-will-use-region' to be run before deletion.

Thanks to Harald Hanche-Olsen for reporting this.

10 months agoob-exp: Fix duplicate evaluation with :wrap src
Nicolas Goaziou [Wed, 4 Dec 2013 22:23:33 +0000]
ob-exp: Fix duplicate evaluation with :wrap src

* lisp/ob-exp.el (org-babel-exp-process-buffer): Fix duplicate
  evaluation with :wrap src.
(org-babel-exp-non-block-elements): Removed function.
* testing/lisp/test-ob-lob.el (test-ob-lob/export-lob-lines): Fix test.

10 months agoorg-attach.el: Check whether git is installed
Bastien Guerry [Fri, 6 Dec 2013 14:22:50 +0000]
org-attach.el: Check whether git is installed

* org-attach.el (vc-git): Require.
(org-attach-commit): Check whether git is installed.

Thanks to Jonathan Leech-Pepin for reporting this.

10 months agoFix C-c C-c behaviour on some objects release_8.2.4
Nicolas Goaziou [Tue, 3 Dec 2013 20:41:48 +0000]
Fix C-c C-c behaviour on some objects

* lisp/org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
  object, look for something to do at a higher level instead of
  bailing out.

For example, C-c C-c should toggle checkbox in the following example
even though X point is technically on a subscript.

  - [ ] a_Xb

10 months agoox-html: Fix LaTeX fragments export
Nicolas Goaziou [Tue, 3 Dec 2013 19:52:22 +0000]
ox-html: Fix LaTeX fragments export

* lisp/ox-html.el (org-html-format-latex): Add an argument.  Ensure
  latex header is the same as specified in the original buffer when
  exporting a LaTeX fragment or environment.
(org-html-latex-environment, org-html-latex-fragment): Apply signature
change.

10 months agoFix customization types in org-drill.el
Carsten Dominik [Tue, 3 Dec 2013 17:03:49 +0000]
Fix customization types in org-drill.el

* contrib/lisp/org-drill.el (org-drill-leech-method):
(org-drill-scope):
(org-drill-spaced-repetition-algorithm): Fix customization types.

11 months agoDocumentation for :export: tag usage
Nicolas Goaziou [Sun, 1 Dec 2013 12:32:26 +0000]
Documentation for :export: tag usage

* doc/org.texi (Export settings): documentation describing how text
above the first heading is ignored when an :export: tag is in a file.

Commit 7cf4406088d4d7f50c35c6ba7ca3c351db2086bc introduced a feature of
the exporter that ignores text above the first headline when an :export:
tag is used anywhere in a file. This commit documents that behaviour
introduced in 7cf44060, in doc/org.texi.

TINYCHANGE

11 months agoox-freemind: Fix comma error when exporting
Nicolas Goaziou [Thu, 28 Nov 2013 10:44:44 +0000]
ox-freemind: Fix comma error when exporting

* contrib/lisp/ox-freemind.el (org-freemind-export-to-freemind): Fix
  code typo.

Reported-by: Jan-Mark Batke <badkey@gmx.net>

11 months agoox-publish: Error when publishing non-existent file
Nicolas Goaziou [Mon, 25 Nov 2013 22:31:35 +0000]
ox-publish: Error when publishing non-existent file

* lisp/ox-publish.el (org-publish-cache-ctime-of-src): Return an error
  when publishing a non-existent file.

Suggested-by: Arne Babenhauserheide <arne_bab@web.de>

11 months agoorg-element: Update paragraph separate regexp
Nicolas Goaziou [Mon, 25 Nov 2013 22:19:48 +0000]
org-element: Update paragraph separate regexp

* lisp/org-element.el (org-element-paragraph-separate): More accurate
  regexp.

11 months agoorg-crypt: fix 3e87d5893d
Achim Gratz [Sat, 23 Nov 2013 15:15:45 +0000]
org-crypt: fix 3e87d5893d

* lisp/org-crypt.el: Declare `epg-context´.
  (org-encrypt-string): Correct indentation.

11 months agoUse key-description on the keys mentionned by the functions defined by
Nicolas Richard [Tue, 12 Nov 2013 08:02:23 +0000]
Use key-description on the keys mentionned by the functions defined by
`orgtbl-mode'.

11 months agoRemove old comment
Nicolas Richard [Thu, 7 Nov 2013 08:15:36 +0000]
Remove old comment

The comment was introduced (in git) at commit
4be4c56239c224094e717dcd57068f58f99c2dfc ; it refers to a
FIXME located ~40 lines above it. The FIXME was removed in
dc8bc8e39230bde1eca569c564e65bf85c43de54.

11 months agoFix export of links to attachements (part 2)
Nicolas Goaziou [Fri, 22 Nov 2013 11:42:41 +0000]
Fix export of links to attachements (part 2)

* lisp/org.el (org-entry-get): Widen buffer in order to retrieve
  properties, as `org-entry-properties' and
  `org-entry-get-with-inheritance' already do.

11 months agoorg-compat: Support for getting data from Windows clipboard
Alexander Vorobiev [Mon, 18 Nov 2013 00:27:14 +0000]
org-compat: Support for getting data from Windows clipboard

* lisp/org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
to get the clipboard data under Windows.

TINYCHANGE

11 months agoox-html: Fix TOC entries
Nicolas Goaziou [Fri, 22 Nov 2013 08:26:58 +0000]
ox-html: Fix TOC entries

* lisp/ox-html.el (org-html--format-toc-headline): Add missing
  headline number in TOC entries.  This fixes commit
  4c94c4d062ce7aa28bc21301ec34857745029f5c.

11 months agoorg.texi: Fix export snippet syntax in ODT backend
Nicolas Goaziou [Wed, 20 Nov 2013 21:01:10 +0000]
org.texi: Fix export snippet syntax in ODT backend

* doc/org.texi (Creating one-off styles): Use new export snippet
  syntax.