org-mode.git
2 days agoFix previous commit maint
Bastien Guerry [Tue, 21 May 2013 10:37:05 +0000]
Fix previous commit

2 days agoorg-clock.el (org-clock-modify-effort-estimate): Clarify docstring
Bastien Guerry [Tue, 21 May 2013 10:33:36 +0000]
org-clock.el (org-clock-modify-effort-estimate): Clarify docstring

* org-clock.el (org-clock-modify-effort-estimate): Clarify
docstring.

Thanks to Ken Mankoff for raising this.

3 days agoox: Small fix to cell width caching mechanism
Nicolas Goaziou [Mon, 20 May 2013 09:33:11 +0000]
ox: Small fix to cell width caching mechanism

* lisp/ox.el (org-export-table-cell-width): Be sure to use cache even
  when stored value is nil.

4 days agoox: Fix "Symbol's value as variable is void: org-export--default-title"
Nicolas Goaziou [Sun, 19 May 2013 07:50:10 +0000]
ox: Fix "Symbol's value as variable is void: org-export--default-title"

* lisp/ox.el (org-export--default-title): Fix "Symbol's value as
  variable is void: org-export--default-title".

Bug was introduced in b70e77343aa3daee9312c81c96ef5da217d7fda5.

5 days agoorg.texi: Fix joke
Nicolas Goaziou [Sat, 18 May 2013 17:53:29 +0000]
org.texi: Fix joke

5 days agoorg.texi: Correct syntax for exporting HTML fragments
Eric Abrahamsen [Sat, 18 May 2013 02:20:33 +0000]
org.texi: Correct syntax for exporting HTML fragments

5 days agoox-ascii: Improve speed wrt table export
Nicolas Goaziou [Sat, 18 May 2013 16:22:11 +0000]
ox-ascii: Improve speed wrt table export

* lisp/ox-ascii.el (org-ascii--table-cell-width): Cache results of
  this internal function since it is called at each cell, though its
  value only change column wise.

5 days agoox: Improve speed wrt table export
Nicolas Goaziou [Sat, 18 May 2013 16:20:46 +0000]
ox: Improve speed wrt table export

* lisp/ox.el (org-export-resolve-fuzzy-link): Change property name
  holding cache.
(org-export-table-has-header-p, org-export-table-row-group,
org-export-table-cell-width, org-export-table-cell-alignment): Cache
results.
(org-export-table-cell-address): Refactor.
(org-export-get-parent): Inline function.
* testing/lisp/test-ox.el: Update tests.

7 days agoFix commit b83c03
Bastien Guerry [Thu, 16 May 2013 15:07:21 +0000]
Fix commit b83c03

7 days agoFix handling of setup file wrt setting tags
Bastien Guerry [Thu, 16 May 2013 08:33:32 +0000]
Fix handling of setup file wrt setting tags

* org.el (org-set-regexps-and-options-for-tags): Return a list
with tag-related variables.
(org-set-regexps-and-options): Append tags from a setup file
to the local tags of the file.
(org-agenda-prepare-buffers): Set tags from a setup file by
calling `org-set-regexps-and-options' when necessary.

Thanks to Anupam Sengupta for reporting this.

8 days agoFix options bug introduced in 16f12e
Nicolas Goaziou [Wed, 15 May 2013 11:18:18 +0000]
Fix options bug introduced in 16f12e

* lisp/ox.el (org-export-options-alist): Change default value
  for :title property.
(org-export--default-title): New dynamically scoped variable.
(org-export-store-default-title): New function.
(org-export--get-buffer-attributes): Remove title handling.
(org-export--get-global-options): Revert "ox: Fix default
title" (16f12e0aef9fab4bdc575ebee8c463846377ef8b).  Refactor code.
* testing/lisp/test-ox.el: Update a test.

8 days agoFix tests wrt commit 0c31a4fc
Bastien Guerry [Wed, 15 May 2013 14:31:44 +0000]
Fix tests wrt commit 0c31a4fc

8 days agoorg.el (org-set-regexps-and-options): Fix regexps
Bastien Guerry [Wed, 15 May 2013 14:28:30 +0000]
org.el (org-set-regexps-and-options): Fix regexps

* org.el (org-set-regexps-and-options): Fix
`org-deadline-time-hour-regexp' and
`org-scheduled-time-hour-regexp'.

Thanks to Nick Daly for reporting this.

8 days agoorg-table.el: Rename a variable and a function
Bastien Guerry [Wed, 15 May 2013 14:18:37 +0000]
org-table.el: Rename a variable and a function

* org-table.el (org-table-TBLFM-begin-regexp): Rename from
`org-TBLFM-begin-regexp'.
(org-table-calc-current-TBLFM): Rename from
`org-calc-current-TBLFM'.

* org.el (org-ctrl-c-ctrl-c): Require org-table if needed.

9 days agoox-html: Fix org-export-string-as when org-html-with-latex is dvipng
Nicolas Goaziou [Tue, 14 May 2013 16:50:06 +0000]
ox-html: Fix org-export-string-as when org-html-with-latex is dvipng

* lisp/ox-html.el (org-html-format-latex): Provide a prefix for
  temporary file when using dvipng, even if the current buffer isn't
  associated to a file.

9 days agoorg.el (org-refresh-properties): Put the text property on the whole subtree, not... release_8.0.3
Bastien Guerry [Tue, 14 May 2013 14:07:21 +0000]
org.el (org-refresh-properties): Put the text property on the whole subtree, not just on the headline

* org.el (org-refresh-properties): Put the text property on
the whole subtree, not just on the headline.

Thanks to Ivan Kanis for reporting this and to Miguel Ruiz for confirming
the bug.

9 days agoob-sh: detect tables correctly
Achim Gratz [Sun, 12 May 2013 18:36:51 +0000]
ob-sh: detect tables correctly

* lisp/ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
  first line could be the symbol `hline' rather than a list of table
  cells, so check for that as well.

Thanks to Paul Stansell for pointing out the error.

11 days agoox: Ignore whitespace differences when resolving a radio link
Nicolas Goaziou [Sun, 12 May 2013 18:42:30 +0000]
ox: Ignore whitespace differences when resolving a radio link

* lisp/ox.el (org-export-resolve-radio-link): Ignore whitespace
  differences when resolving a radio link.
* testing/lisp/test-ox.el: Add test.

11 days agoox: Fix radio target resolution
Nicolas Goaziou [Sun, 12 May 2013 15:49:51 +0000]
ox: Fix radio target resolution

* lisp/ox.el (org-export-resolve-radio-link): Fix radio target
  resolution.
* testing/lisp/test-ox.el: Add test.

11 days agoorg-element: Be stricter when matching arguments in LaTeX environments
Nicolas Goaziou [Sun, 12 May 2013 15:15:06 +0000]
org-element: Be stricter when matching arguments in LaTeX environments

* lisp/org-element.el (org-element--current-element): Be stricter when
  matching arguments in LaTeX environments.  In particular, do not
  allow anything else than options and arguments in the opening line.
* testing/lisp/test-org-element.el: Add tests.

11 days agoox-html: Remove code relative to bibliography
Nicolas Goaziou [Sun, 12 May 2013 12:38:10 +0000]
ox-html: Remove code relative to bibliography

* lisp/ox-html.el (org-html-inner-template): Remove code relative to
  bibliography.
(org-html-bibliography): Remove function.

Bibliography is handled by the contrib/ package "ox-bibtex.el".

11 days agoox-latex: Fix regular caret protection
Nicolas Goaziou [Sun, 12 May 2013 07:56:26 +0000]
ox-latex: Fix regular caret protection

* lisp/ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
  not only \^, so it doesn't become a diacritic.

2 weeks agoox: Small refactoring
Nicolas Goaziou [Wed, 8 May 2013 16:13:06 +0000]
ox: Small refactoring

* lisp/ox.el (org-export-expand-include-keyword): Avoid using `read'
  to determine file name.

2 weeks agoox: Fix default title
Nicolas Goaziou [Wed, 8 May 2013 13:34:53 +0000]
ox: Fix default title

* lisp/ox.el (org-export--get-global-options): Properly set default
  title, i.e. when to TITLE keyword is provided.
* testing/lisp/test-ox.el: Add tests.

2 weeks agoorg-element: Fix visible-only parsing
Nicolas Goaziou [Wed, 8 May 2013 07:56:26 +0000]
org-element: Fix visible-only parsing

* lisp/org-element.el (org-element--parse-elements): Also parse
  visible headlines within an otherwise compacted headline.
* testing/lisp/test-org-element.el: Add test.

2 weeks agoox: Tolerate included file names without double quotes
Nicolas Goaziou [Tue, 7 May 2013 15:47:59 +0000]
ox: Tolerate included file names without double quotes

* lisp/ox.el (org-export-expand-include-keyword): Tolerate included
  file names without double quotes.

2 weeks agoorg.el (org-get-outline-path): Remove statistical and checkboxes cookies
Bastien Guerry [Tue, 7 May 2013 13:11:47 +0000]
org.el (org-get-outline-path): Remove statistical and checkboxes cookies

* org.el (org-get-outline-path): Remove statistical and
checkboxes cookies.

Thanks to Marcel van der Boom for reporting this.

2 weeks agoorg.texi (Conventions): Fix typo
Bastien Guerry [Tue, 7 May 2013 10:44:39 +0000]
org.texi (Conventions): Fix typo

* org.texi (Conventions): Fix typo.

2 weeks agomk/server.mk: add babel and exporter files in contrib to elpaplus
Achim Gratz [Mon, 6 May 2013 19:06:05 +0000]
mk/server.mk: add babel and exporter files in contrib to elpaplus

* mk/server.mk (elpaplus-dirty elpaplus-up): Add babel and exporter
  files in contrib by extending ORG_ADD_CONTRIB with their
  prefix-globs.

2 weeks agoox: Fix caching for fuzzy link resolution
Nicolas Goaziou [Sat, 4 May 2013 06:56:30 +0000]
ox: Fix caching for fuzzy link resolution

* lisp/ox.el (org-export-resolve-fuzzy-link): Fix caching process.
* testing/lisp/test-ox.el: Add test.

2 weeks agoox-latex.el (org-latex-headline): Don’t insert alternate title if identical to regula...
Aaron Ecay [Thu, 2 May 2013 04:36:44 +0000]
ox-latex.el (org-latex-headline): Don’t insert alternate title if identical to regular one

* lisp/ox-latex.el (org-latex-headline): Don’t insert alternate title if
  identical to regular one.

3 weeks agoox: Cache locations of fuzzy links
Lawrence Mitchell [Thu, 2 May 2013 09:03:13 +0000]
ox: Cache locations of fuzzy links

* ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
  cache before trying to resolve it in the parse tree.

When a document contains a large number of identical fuzzy links, it
doesn't make sense to continually search for them.  Instead, cache the
locations in the position independent case.

3 weeks agoRephrase previous change
Bastien Guerry [Mon, 29 Apr 2013 17:10:55 +0000]
Rephrase previous change

3 weeks agoorg.texi (Export settings): Document `org-export-allow-bind-keywords'
Bastien Guerry [Mon, 29 Apr 2013 17:09:29 +0000]
org.texi (Export settings): Document `org-export-allow-bind-keywords'

* org.texi (Export settings): Document
`org-export-allow-bind-keywords'.

Thanks to Thomas S. Dye for spotting this.

3 weeks agoorg-agenda.el: Fix a bug about narrowing to wrong region boundaries
Bastien Guerry [Mon, 29 Apr 2013 17:02:13 +0000]
org-agenda.el: Fix a bug about narrowing to wrong region boundaries

* org-agenda.el (org-agenda, org-search-view, org-tags-view)
(org-agenda-get-day-entries, org-agenda-set-restriction-lock):
Use (current-buffer) as the value of `org-agenda-restrict'.
Fix a bug about narrowing to wrong region boundaries when
`org-agenda-restrict' is non-nil.

Thanks to Thomas Holst for reporting this bug.

3 weeks agoorg.el (org-agenda-text-search-extra-files): Fix typos in docstring
Bastien Guerry [Mon, 29 Apr 2013 15:23:56 +0000]
org.el (org-agenda-text-search-extra-files): Fix typos in docstring

* org.el (org-agenda-text-search-extra-files): Fix typos in
docstring.

3 weeks agoox-publish: Fix "Invalid time specification" error with timestamps in DATE
Nicolas Goaziou [Mon, 29 Apr 2013 07:39:35 +0000]
ox-publish: Fix "Invalid time specification" error with timestamps in DATE

* lisp/ox-publish.el (org-publish-find-date): Fix "Invalid time
  specification" error with timestamps in DATE.

3 weeks agofix macro expansion with separators and backslashes
Achim Gratz [Sun, 17 Mar 2013 09:20:10 +0000]
fix macro expansion with separators and backslashes

* lisp/org-macro.el (org-macro-expand): Do not try to interpret the
  macro replacement text as a regex so that escaped backslashes and
  commas in macro arguments will be interpreted correctly.

3 weeks agoorg-element: Recognize LaTeX environments with options
Nicolas Goaziou [Sun, 28 Apr 2013 07:34:42 +0000]
org-element: Recognize LaTeX environments with options

* lisp/org-element.el (org-element--current-element): Allow the
  opening string of a LaTeX environment to contain additional
  arguments.
* testing/lisp/test-org-element.el: Add tests.

3 weeks agoREADME_maintainer: fix "git tag" instructions release_8.0.2
Bastien Guerry [Sat, 27 Apr 2013 02:05:06 +0000]
README_maintainer: fix "git tag" instructions

3 weeks agoAllow also "#+NAME: table" for remote references
Michael Brand [Fri, 26 Apr 2013 15:07:55 +0000]
Allow also "#+NAME: table" for remote references

* lisp/org-table.el (org-table-get-remote-range): Extend regexp to
match "#+NAME: table" additionally to "#+TBLNAME: table".
* testing/lisp/test-org-table.el: Add test.
* testing/org-test.el (org-test-table-target-expect): Allow several
tables to support testing remote references in the last table.

3 weeks agoUse @var{} only for metasyntactical meanings in the manual.
Carsten Dominik [Fri, 26 Apr 2013 10:33:55 +0000]
Use @var{} only for metasyntactical meanings in the manual.

Thanks to Suvayu Ali for the patch

3 weeks agoox-org: Preserve affiliated keywords
Nicolas Goaziou [Fri, 26 Apr 2013 13:47:34 +0000]
ox-org: Preserve affiliated keywords

* lisp/ox.el (org-export-expand): Optionally add affiliated keywords
  to results.
* lisp/ox-org.el (org-org-identity): Use new argument for
  `org-export-expand'.

3 weeks agoFix error when filling a table from an affiliated keyword
Nicolas Goaziou [Fri, 26 Apr 2013 12:27:38 +0000]
Fix error when filling a table from an affiliated keyword

* lisp/org.el (org-fill-paragraph): Move to table beginning before
  aligning the table when M-q is called from an affiliated keyword.
* testing/lisp/test-org.el: Add test.

3 weeks agoorg-list: Properly update `org-list-allow-alphabetical'
Nicolas Goaziou [Fri, 26 Apr 2013 12:13:24 +0000]
org-list: Properly update `org-list-allow-alphabetical'

* lisp/org-list.el (org-list-allow-alphabetical): Properly update
  `org-list-allow-alphabetical' when changed after org.el has been
  loaded.

3 weeks agoorg-element: Fix interpretation of empty fixed-width elements
Nicolas Goaziou [Fri, 26 Apr 2013 08:38:05 +0000]
org-element: Fix interpretation of empty fixed-width elements

* lisp/org-element.el (org-element-fixed-width-interpreter): Fix
  interpretation of fixed-width elements with a nil or empty string
  value.
* testing/lisp/test-org-element.el: Add tests.

3 weeks agoorg.el (org-insert-heading): Fix case when there the first heading starts at the...
Bastien Guerry [Fri, 26 Apr 2013 06:52:43 +0000]
org.el (org-insert-heading): Fix case when there the first heading starts at the beginning of the buffer

* org.el (org-insert-heading): Fix case when there the first
heading starts at the beginning of the buffer.

In this case, `org-backward-heading-same-level' will throw an error in
the let form, and the error would fall back on "*" instead of falling
back on the correct number of stars to add.

Thanks to Jisang Yoo and John Hendy who reported this bug.

4 weeks agoUse `org-called-interactively-p' instead of `called-interactively-p'
Bastien Guerry [Thu, 25 Apr 2013 05:30:04 +0000]
Use `org-called-interactively-p' instead of `called-interactively-p'

* org-agenda.el (org-agenda-write):
* ob-core.el (org-babel-expand-src-block): Use
`org-called-interactively-p'.

Thanks to Jason L Wright for reporting this.

4 weeks agoorg.el: Delete trailing whitespaces
Bastien Guerry [Wed, 24 Apr 2013 14:22:13 +0000]
org.el: Delete trailing whitespaces

4 weeks agoorg.el: Filter agenda by persistent tags
Viktor Rosenfeld [Wed, 24 Apr 2013 13:54:14 +0000]
org.el: Filter agenda by persistent tags

* org.el (org-agenda-prepare-buffers): Add tags defined in
org-tag-persistent-alist to org-tag-alist-for-agenda.

This makes tag hotkeys defined in `org-tag-persistent-alist' appear when
the user invokes `org-agenda-filter-by-tag-refine'.

TINYCHANGE

4 weeks agoorg.el (org-agenda-prepare-buffers): Avoid duplicates in `org-tag-alist-for-agenda...
Bastien Guerry [Wed, 24 Apr 2013 13:43:33 +0000]
org.el (org-agenda-prepare-buffers): Avoid duplicates in `org-tag-alist-for-agenda' correctly

* org.el (org-agenda-prepare-buffers): Avoid duplicates in
`org-tag-alist-for-agenda' correctly.

Thanks to Viktor Rosenfeld for debugging this.

4 weeks agoorg.el (org-read-date-minibuffer-local-map): Check if we are at the beginning of...
Bastien Guerry [Wed, 24 Apr 2013 09:36:22 +0000]
org.el (org-read-date-minibuffer-local-map): Check if we are at the beginning of the prompt, not if we are after a whitespace

* org.el (org-read-date-minibuffer-local-map): Check if we are
at the beginning of the prompt, not if we are after a whitespace.
Bind C-. to `calendar-goto-today'.

4 weeks agoorg-clock.el (org-clock-in): Don't forward by one character when setting the marker...
Bastien Guerry [Wed, 24 Apr 2013 08:47:16 +0000]
org-clock.el (org-clock-in): Don't forward by one character when setting the marker in the clock history

* org-clock.el (org-clock-in): Don't forward by one character
when setting the marker in the clock history.

This was done to prevent the marker from being broken when a user
manually insert some text right one it.  I cannot reproduce this
manual marker modification problem, so let's remove this ugly
exception, as it is not consistent with other clock markers.

Thanks to Bernt Hansen for pointing this out.

4 weeks agoorg.el (org-read-date-minibuffer-local-map): Call `calendar-goto-today' only if there...
Bastien Guerry [Wed, 24 Apr 2013 08:05:36 +0000]
org.el (org-read-date-minibuffer-local-map): Call `calendar-goto-today' only if there is a space before point in the minibuffer prompt

* org.el (org-read-date-minibuffer-local-map): Call
`calendar-goto-today' only if there is a space before point in
the minibuffer prompt.

Thanks to Michael Brand and others who asked for this regression to be fixed.

4 weeks agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Wed, 24 Apr 2013 07:55:27 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

4 weeks agoorg.el (org-insert-heading): Fix bug about wrong conversion of lines with :END: or...
Bastien Guerry [Wed, 24 Apr 2013 07:55:15 +0000]
org.el (org-insert-heading): Fix bug about wrong conversion of lines with :END: or #+end_ into headlines

* org.el (org-insert-heading): Reveal context when called
interactively.  Fix bug about wrong conversion of lines with
:END: or #+end_ into headlines.
(org-in-drawer-p): New function.
(org-meta-return): Use `org-catch-invisible-edits' and the
`org-in-drawer-p' to check whether we are within a drawer.

Thanks to Muchenxuan Tong and John Hendy who reported these errors.

4 weeks agoox-html: Always use provided description in internal links
Nicolas Goaziou [Wed, 24 Apr 2013 07:52:20 +0000]
ox-html: Always use provided description in internal links

* lisp/ox-html.el (org-html-link): Don't skip the link description
  when it matches the name of the headline it targets.

4 weeks agodoc/orgcard.tex: Update version number
Bastien Guerry [Mon, 22 Apr 2013 06:27:40 +0000]
doc/orgcard.tex: Update version number

Also update etc/ORG-NEWS.

4 weeks agoorg-list.el (org-sort-list): Fix infloop
Bastien Guerry [Sun, 21 Apr 2013 22:24:39 +0000]
org-list.el (org-sort-list): Fix infloop

* org-list.el (org-sort-list): Fix infloop.

Thanks to Samuel Wales for reporting this.

4 weeks agoox-ascii: Minor fixes
Nicolas Goaziou [Sun, 21 Apr 2013 21:51:54 +0000]
ox-ascii: Minor fixes

* lisp/ox-ascii.el (ascii): Remove inexistant function.

4 weeks agoox-icalendar: Ignore footnotes
Nicolas Goaziou [Sun, 21 Apr 2013 21:41:49 +0000]
ox-icalendar: Ignore footnotes

* lisp/ox-icalendar.el (icalendar): Ignore footnotes.

4 weeks agoox-icalendar: Small refactoring
Nicolas Goaziou [Sun, 21 Apr 2013 08:05:39 +0000]
ox-icalendar: Small refactoring

* lisp/ox-icalendar.el (org-icalendar--combine-files): Small refactoring.

4 weeks agoox: Fix `org-export-with-footnotes' behaviour
Nicolas Goaziou [Sun, 21 Apr 2013 07:58:40 +0000]
ox: Fix `org-export-with-footnotes' behaviour

* lisp/ox.el (org-export--skip-p, org-export--interpret-p): When
  `org-export-with-footnotes' is nil, ignore completely footnotes
  references and definitions instead of exporting them verbatim.
* testing/lisp/test-ox.el: Add tests.

4 weeks agoorg.el: New maintainer
Bastien Guerry [Sun, 21 Apr 2013 14:58:01 +0000]
org.el: New maintainer

* doc/orgguide.texi:
* doc/org.texi:
* org.el: New maintainer.

4 weeks agoox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo release_8.0.1
Baptiste [Sat, 20 Apr 2013 07:19:21 +0000]
ox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo

* ox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo.

TINYCHANGE

4 weeks agoorg-agenda.el (org-cmp-ts): Avoid error when trying to string-match against nil
Richard Lawrence [Sat, 20 Apr 2013 06:58:29 +0000]
org-agenda.el (org-cmp-ts): Avoid error when trying to string-match against nil

* org-agenda.el (org-cmp-ts): Avoid error when trying to
string-match against nil.

TINYCHANGE

4 weeks agoorg.el (org-clone-subtree-with-time-shift): Update behavior
Bastien Guerry [Sat, 20 Apr 2013 06:51:37 +0000]
org.el (org-clone-subtree-with-time-shift): Update behavior

* org.el (org-clone-subtree-with-time-shift): Unconditionally
ask for a time shift if there is a time-stamp.  Don't ask for
a time shift when called with a universal prefix argument.

Thanks to Ingmar Meissner for raising this issue again.

4 weeks agoox-beamer: Do not ignore uppercase environements
Nicolas Goaziou [Sat, 20 Apr 2013 06:32:10 +0000]
ox-beamer: Do not ignore uppercase environements

* lisp/ox-beamer.el (org-beamer--frame-level): Small refactoring.
(org-beamer--format-block, org-beamer-headline): Do not systematically
downcase environment names as some require upper case in their
names (e.g. noteNH and CJK).

Thanks to James Harkins for reporting the bug.

4 weeks agoob-core.el (org-babel-insert-result): Fix bug when inserting results as a list: ensur...
Bastien Guerry [Fri, 19 Apr 2013 17:44:40 +0000]
ob-core.el (org-babel-insert-result): Fix bug when inserting results as a list: ensure we split a string containing "\n"

* ob-core.el (org-babel-insert-result): Fix bug when inserting
results as a list: ensure we split a string containing "\n".

Thanks to Sébastien Vauban for reporting this.

4 weeks agoox-taskjuggler.el: Fix dependencies string
Nicolas Goaziou [Fri, 19 Apr 2013 09:30:49 +0000]
ox-taskjuggler.el: Fix dependencies string

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-format-dependencies):
  Fix dependencies string.

5 weeks agoox-html.el: Fix copyright header
Bastien Guerry [Thu, 18 Apr 2013 17:32:07 +0000]
ox-html.el: Fix copyright header

* ox-html.el: Fix copyright header.

5 weeks agodoc/orgguide.texi: Fix menus release_8.0
Bastien Guerry [Thu, 18 Apr 2013 16:21:13 +0000]
doc/orgguide.texi: Fix menus

5 weeks agodoc/orgguide.texi: Fix wrong node ref
Bastien Guerry [Thu, 18 Apr 2013 16:17:52 +0000]
doc/orgguide.texi: Fix wrong node ref

5 weeks agomk/server.mk: Don't use non-existent file AUTHORS
Bastien Guerry [Thu, 18 Apr 2013 16:08:13 +0000]
mk/server.mk: Don't use non-existent file AUTHORS

5 weeks agoMerge 8.0
Bastien Guerry [Thu, 18 Apr 2013 16:00:30 +0000]
Merge 8.0

5 weeks agoorg.el (org-store-link): Don't add a search string when storing a link from a radio...
Bastien Guerry [Thu, 18 Apr 2013 15:27:17 +0000]
org.el (org-store-link): Don't add a search string when storing a link from a radio target

* org.el (org-store-link): Don't add a search string when
storing a link from a radio target.
(org-open-at-point): Jump to the radio link (<<<radio>>>), not
to the simple target (<<target>>).

5 weeks agoox: Change scope for `org-export-with-timestamps'
Nicolas Goaziou [Sun, 14 Apr 2013 20:20:16 +0000]
ox: Change scope for `org-export-with-timestamps'

* lisp/ox.el (org-export-with-timestamps): Only applies to isolated
  timestamps, i.e. timestamps in a paragraph containing only
  timestamps and empty strings.
(org-export--skip-p): Skip timestamps according to new behaviour.
* testing/lisp/test-ox.el: Update tests.

5 weeks agoorg-table.el (org-table-get-remote-range): Fix typo
Bastien Guerry [Thu, 18 Apr 2013 13:42:31 +0000]
org-table.el (org-table-get-remote-range): Fix typo

* org-table.el (org-table-get-remote-range): Fix typo.

5 weeks agoMakefile (clean-install): Also remove ox*.el* files
Bastien Guerry [Thu, 18 Apr 2013 12:43:45 +0000]
Makefile (clean-install): Also remove ox*.el* files

* Makefile (clean-install): Also remove ox*.el* files.

5 weeks agoorg.texi (History and Acknowledgments): Small rephrasing
Bastien Guerry [Thu, 18 Apr 2013 11:04:29 +0000]
org.texi (History and Acknowledgments): Small rephrasing

* org.texi (History and Acknowledgments): Small rephrasing.

5 weeks agoorg.texi (Template elements): Add a footnote about tags accepted in a year datetree
Bastien Guerry [Thu, 18 Apr 2013 10:45:07 +0000]
org.texi (Template elements): Add a footnote about tags accepted in a year datetree

* org.texi (Template elements): Add a footnote about tags
accepted in a year datetree.

5 weeks agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 18 Apr 2013 10:31:05 +0000]
Merge branch 'master' of orgmode.org:org-mode

5 weeks agoMerge branch 'master-apply-aaron-patch2'
Bastien Guerry [Thu, 18 Apr 2013 10:28:03 +0000]
Merge branch 'master-apply-aaron-patch2'

Conflicts:
lisp/ob-core.el

5 weeks agoClean up various org-babel-*-maybe commands
Aaron Ecay [Thu, 18 Apr 2013 08:06:55 +0000]
Clean up various org-babel-*-maybe commands

* lisp/ob-core.el (org-babel-when-in-src-block): New macro.
  (org-babel-execute-src-block-maybe)
  (org-babel-expand-src-block-maybe)
  (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
  Use it.

org-babel-get-src-block-info is a potentially expensive operation, which
is why its ‘light’ argument exists.  But in any case, it is overkill to
query the whole info, if all that is needed is whether point is in a
block or not.  Factor the simplified common code out into a macro.

5 weeks agoMerge branch 'master' of orgmode.org:org-mode
Christian Egli [Thu, 18 Apr 2013 10:24:32 +0000]
Merge branch 'master' of orgmode.org:org-mode

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

5 weeks agoox-taskjuggler: Set the default reports to work out-of-the-box with tj3
Christian Egli [Thu, 18 Apr 2013 10:23:08 +0000]
ox-taskjuggler: Set the default reports to work out-of-the-box with tj3

* ox-taskjuggler.el (org-taskjuggler-default-reports): Set the default
reports so that the user gets a good out-of-the-box experience with
tj3.

The defaults in the defcustom now out-of-the-box support tj3. If you
really want to export to taskjuggler 2.x the documentation explains
how you can do that.

5 weeks agoorg-datetree.el: Be more restrictive when finding a year datetree
Bastien Guerry [Thu, 18 Apr 2013 10:20:08 +0000]
org-datetree.el: Be more restrictive when finding a year datetree

* org-datetree.el (org-datetree-find-month-create)
(org-datetree-find-day-create): Add a docstring.
(org-datetree-find-year-create): Only match headlines with a
year or a year and one or more tags.

Thanks to Suvayu Ali for reporting this.

5 weeks agoorg.texi: Enhance style.
Bastien Guerry [Thu, 18 Apr 2013 10:04:48 +0000]
org.texi: Enhance style.

* org.texi (Beamer export, @LaTeX{} and PDF export)
(Header and sectioning, @LaTeX{} specific attributes): Enhance
style.

Thanks to Thomas Dye for these suggestions.

5 weeks agoFix bug in org-babel-execute-src-block
Aaron Ecay [Thu, 18 Apr 2013 08:02:47 +0000]
Fix bug in org-babel-execute-src-block

* lisp/ob-core.el (org-babel-execute-src-block): Use `copy-tree'
to prevent setf from modifying users variables withing let-bound
`info' variable.

Otherwise, the setf calls in this function can reach into and change
other configuration variables, such as the library of babel.

5 weeks agoAdd 'inline-only option to org-export-babel-evaluate
Aaron Ecay [Sun, 31 Mar 2013 22:47:44 +0000]
Add 'inline-only option to org-export-babel-evaluate

* lisp/ob-exp.el (org-export-babel-evaluate): Add a 'inline-only option.
  (org-babel-exp-results): Implement 'inline-only for
  `org-export-babel-evaluate'.
* doc/org.texi (Exporting code blocks): Document the 'inline-only setting
  for `org-export-babel-evaluate'.

This is useful because there is no way for inline results to be stored.
The imagined usecase is that all non-inline source blocks will be
evaluated manually by the user.  Inline blocks, however, must be
evaluated during export, or they will be simply deleted by the exporter.

5 weeks agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 18 Apr 2013 08:29:12 +0000]
Merge branch 'master' of orgmode.org:org-mode

5 weeks agoUse `org-add-hook' in some places and merge Emacs revno r112320
Bastien Guerry [Thu, 18 Apr 2013 08:29:00 +0000]
Use `org-add-hook' in some places and merge Emacs revno r112320

* ox.el (org-export-stack-mode)
* org-crypt.el (org-crypt-check-auto-save)
(org-crypt-use-before-save-magic): Use `org-add-hook' when the
hooks are local hooks.

* org-indent.el (org-indent-mode)
* org-agenda.el (org-agenda-mode): Use `org-add-hook' and
merge upstream change from Emacs revno r112320.

5 weeks agoob-core.el (org-babel-pop-to-session-maybe): Fix docstring
Bastien Guerry [Thu, 18 Apr 2013 08:22:34 +0000]
ob-core.el (org-babel-pop-to-session-maybe): Fix docstring

* ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
(org-babel-pop-to-session-maybe): Use true function's name,
not its alias.

5 weeks agoox-latex: Handle consecutive alterning sub and superscript
Nicolas Goaziou [Wed, 17 Apr 2013 22:06:06 +0000]
ox-latex: Handle consecutive alterning sub and superscript

* lisp/ox-latex.el (org-latex--script-size): Handle consecutive
  alterning sub and superscript.

This patch fixes export of "a^b_c" constructs.

5 weeks agoox-org.el: Fix some docstrings
Nicolas Goaziou [Wed, 17 Apr 2013 20:44:28 +0000]
ox-org.el: Fix some docstrings

* lisp/ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
(org-org-headline, org-org-keyword): Fix docstring.

5 weeks agoorg.texi: Improve documentation for export settings
Nicolas Goaziou [Wed, 17 Apr 2013 19:53:22 +0000]
org.texi: Improve documentation for export settings

* doc/org.texi (Export settings): Improve documentation.

5 weeks agoorg.texi: Small fixes to HTML documentation
Nicolas Goaziou [Wed, 17 Apr 2013 19:33:34 +0000]
org.texi: Small fixes to HTML documentation

* doc/org.texi (Math formatting in HTML export): Fix OPTIONS item's name.
(Text areas in HTML export): Update text areas.
(HTML Export commands): Update export commands.

5 weeks agoob-perl: fix result handling
Achim Gratz [Wed, 17 Apr 2013 19:38:21 +0000]
ob-perl: fix result handling

* lisp/ob-perl.el (org-babel-perl-wrapper-method): Select output
  handle only after evaluation so that output is not mixed into
  results eavaluation.
  (org-babel-perl-evaluate): Fix the handling of results for ":results
  output" to also parse tables.  Use the same lambda construction as
  in ob-sh.el to avoid code duplication.

5 weeks agoox-latex: Use \text command for subscript and superscript
Nicolas Goaziou [Wed, 17 Apr 2013 18:56:32 +0000]
ox-latex: Use \text command for subscript and superscript

* lisp/ox-latex.el (org-latex--script-size): Use \text command for
  subscript and superscript.  This is far superior to \mathrm, but it
  requires "amstext" package.  In particular, accented characters are
  now allowed within sub/superscript.
* lisp/org.el (org-latex-default-packages-alist): Add "amstext"
  package.

5 weeks agoox-latex: Better handling of sub/superscript within sub/superscript
Nicolas Goaziou [Wed, 17 Apr 2013 18:57:21 +0000]
ox-latex: Better handling of sub/superscript within sub/superscript

* lisp/ox-latex.el (org-latex--script-size): Fix error when using
  sub/superscript within sub/superscript.