org-mode.git
10 months agoorg-agenda.el: Fix buglets release_8.2.5g
Bastien Guerry [Mon, 20 Jan 2014 21:34:18 +0000]
org-agenda.el: Fix buglets

* org-agenda.el (org-agenda-next-item)
(org-agenda-previous-item, org-agenda-toggle-archive-tag)
(org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
(org-agenda-clock-out): Put the cursor back on the correct
column, when possible.
(org-agenda-todo): When `org-clock-out-when-done' is `t', also
remove the current clock overlay.

10 months agoob-exp: Fix a failing test
Nicolas Goaziou [Mon, 20 Jan 2014 16:25:34 +0000]
ob-exp: Fix a failing test

* testing/lisp/test-ob-exp.el (ob-export/export-with-results-before-block):
  Fix a test

10 months agoob-exp: Fix export of src blocks with flags
Nicolas Goaziou [Mon, 20 Jan 2014 13:07:57 +0000]
ob-exp: Fix export of src blocks with flags

* lisp/ob-exp.el (org-babel-exp-code): Fix export of src blocks with
  flags.
* testing/lisp/test-ob-exp.el (ob-export/export-src-block-with-flags):
  New test.

Thanks to Giuseppe Lipari for reporting it.

10 months agoorg.el (org-format-latex-options): Fix docstring
Bastien Guerry [Sun, 19 Jan 2014 15:44:21 +0000]
org.el (org-format-latex-options): Fix docstring

* org.el (org-format-latex-options): Fix docstring.

Thanks to Mirko Vukovic for reporting this.

10 months agoox.el (org-export--get-subtree-options): Fix bug
Bastien Guerry [Sun, 19 Jan 2014 15:37:25 +0000]
ox.el (org-export--get-subtree-options): Fix bug

* ox.el (org-export--get-subtree-options): When using the
headline as a title for a subtree export, only take the true
heading, no TODO keyword, no priority cookie, no tag.

Thanks to Robert Klein for reporting this.

10 months agoob-exp: Fix code execution in some corner cases
Nicolas Goaziou [Sat, 18 Jan 2014 14:25:01 +0000]
ob-exp: Fix code execution in some corner cases

* lisp/ob-exp.el (org-babel-exp-process-buffer): Make processing more
  robust when results are inserted before source block or when source
  block is followed by multiple blank lines.
* testing/lisp/test-ob-exp.el (ob-export/export-with-results-before-block):
  Add test.

10 months agoBackport Emacs changes from r116063
Bastien Guerry [Sat, 18 Jan 2014 08:17:14 +0000]
Backport Emacs changes from r116063

10 months agoox: Remove clutter from export templates
Nicolas Goaziou [Fri, 17 Jan 2014 21:08:33 +0000]
ox: Remove clutter from export templates

* lisp/ox.el (org-export-insert-default-template): Only insert
  keywords and options relatives to the selected back-end.  Ignore
  those relatives to its parent in the case of a derived back-end.

10 months agoox-beamer: Small clean-up
Nicolas Goaziou [Fri, 17 Jan 2014 11:44:05 +0000]
ox-beamer: Small clean-up

* lisp/ox-beamer.el: Remove unnecessary package definitions in default
  class.

10 months agoFix title page template.
Rick Frankel [Thu, 16 Jan 2014 22:48:10 +0000]
Fix title page template.

* contrib/lisp/ox-s5.el (org-s5-title-slide-template): Per Arne
  Babenhauserheide, the heading levels on the default title slide
  template were wrong per the S5 spec.

10 months agoox-ascii: Convert `length' to `string-width'
Yasushi SHOJI [Thu, 16 Jan 2014 15:09:30 +0000]
ox-ascii: Convert `length' to `string-width'

* lisp/ox-ascii.el (org-ascii--current-text-width): Convert `length'
  to `string-width'.
  (org-ascii--build-title, org-ascii--build-toc)
  (org-ascii--list-listings, org-ascii--list-tables)
  (org-ascii-template--document-title)
  (org-ascii-inner-template, org-ascii-format-inlinetask-default)
  (org-ascii-format-inlinetask-default, org-ascii-item
  (org-ascii--table-cell-width, org-ascii-table-cell)
  (org-ascii--current-text-width): Likewise.

I've checked all occurrences of the function `length' in ox-ascii.el.
It turns out that the most of them are calculating the width of given
string.  To support fullwidth characters, we better use `string-width'
instead of `length'.

Some characters in UCS are categorized as "East Asian Ambiguous"[1].
The return value of `string-width' with those characters depends on
how Emacs is setup.  We leave those ambiguous character handling to
Emacs.

Two usages of `length' in `ox-ascii.el' were left as-is, because those
were used for:

 - bullet depth calculation in `org-ascii-headline', and
 - cell position calculation in `org-ascii--table-cell-width'.

[1]: http://www.unicode.org/reports/tr11/#Ambiguous

10 months agoox-latex: Fix items starting with a square bracket
Nicolas Goaziou [Mon, 13 Jan 2014 16:48:19 +0000]
ox-latex: Fix items starting with a square bracket

* lisp/ox-latex.el (org-latex-headline, org-latex-item): Fix items
  starting with a square bracket.

Thanks to Jon Degenhardt, Vladimir Lomov and Eric S Fraga for
contributing to the discussion.

10 months agoFix ff902c release_8.2.5f
Bastien Guerry [Thu, 16 Jan 2014 11:07:27 +0000]
Fix ff902c

10 months agoBackport Emacs trunk revno r116039
Bastien Guerry [Thu, 16 Jan 2014 10:57:45 +0000]
Backport Emacs trunk revno r116039

10 months agoorg.el (org-mode-restart): Fix turning off `org-indent-mode' when necessary
Nicolas Goaziou [Thu, 16 Jan 2014 00:18:30 +0000]
org.el (org-mode-restart): Fix turning off `org-indent-mode' when necessary

* org.el (org-mode-restart): Fix turning off `org-indent-mode'
when necessary.

10 months agoorg.el (customize-package-emacs-version-alist): Fix Org version for Emacs 24.4
Bastien Guerry [Thu, 16 Jan 2014 00:12:51 +0000]
org.el (customize-package-emacs-version-alist): Fix Org version for Emacs 24.4

* org.el (customize-package-emacs-version-alist): Fix Org
version for Emacs 24.4.

10 months agoFix bf0649 release_8.2.5e
Bastien Guerry [Wed, 15 Jan 2014 23:53:28 +0000]
Fix bf0649

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

Thanks to Nicolas Goaziou for reporting this.

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

10 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

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

10 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.

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

10 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.

10 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

10 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

10 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.

10 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.

10 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'.

10 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.)

10 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

10 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

10 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.

10 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.

10 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

10 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.

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

10 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".

10 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.

10 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'.

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

10 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>

10 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.

10 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.

10 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

10 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 '@'.

10 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.

10 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.

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

10 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.

10 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

10 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

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

This reverts commit 21105594fcb69fb4e1d636f4070fd25c86efbe35.

10 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.

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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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>

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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.

10 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

11 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.

11 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'.

11 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

11 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.

11 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.

11 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.

11 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.

11 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?]]

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.