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

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

2 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

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

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

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

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

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

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

2 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

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

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

2 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

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

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

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

2 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

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

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

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

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

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

2 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

2 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

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

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

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

2 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/>.

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

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

2 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 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

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

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

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

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

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

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

2 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

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

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

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

2 years agoKoma exporter: Ensure customization to LCO files are taken into account
Alan Schmitt [Mon, 22 Jul 2013 14:46:02 +0000]
Koma exporter: Ensure customization to LCO files are taken into account

* contrib/lisp/ox-koma-letter.el: Change default values to match the scrlttr2
default values.  Track which options are set in the file and only output the
corresponding options when they are changed.

2 years agoUse vc-git to find the git repository for org-attach
Carsten Dominik [Sat, 31 Aug 2013 13:58:12 +0000]
Use vc-git to find the git repository for org-attach

* lisp/org-attach.el (org-attach-commit): Use vc-git to find the git
repository.

Org attach use to fail to commit the attached file in git or git annex
when the .git repository is not in the data sub-directory.

This new code will use vc-git to find the .git file, and from this do
what is needed for committing file into git or git annex.

Patch by Remi Vanicat

2 years agoRename org-crypt.el node to org-crypt.
Carsten Dominik [Sat, 31 Aug 2013 13:51:12 +0000]
Rename org-crypt.el node to org-crypt.

* doc/org.texi: Rename org-crypt.el node to org-crypt.

This had to be done because a dot is not allowed as a node name

2 years agoFix cursor movement to a specific column
Carsten Dominik [Sat, 31 Aug 2013 13:44:34 +0000]
Fix cursor movement to a specific column

* lisp/org-compat.el (org-move-to-column): Turn off invisibility stuff
for moving the cursor to a column.

Pathc by Nick Dokos

2 years agoCombine org-mac-message.el and org-mac-link-grabber into org-mac-link.el
Carsten Dominik [Sat, 31 Aug 2013 13:29:03 +0000]
Combine org-mac-message.el and org-mac-link-grabber into org-mac-link.el

* contrib/lisp/org-mac-link-grabber.el: File removed.
* contrib/lisp/org-mac-link.el: New file.
* contrib/lisp/org-mac-message.el: File removed
* lisp/org.el (org-modules): Update with the new module org-mac-link

Patch by Anthony Lander

2 years agoMerge branch 'maint'
Nicolas Goaziou [Sat, 31 Aug 2013 12:34:37 +0000]
Merge branch 'maint'

2 years agoox: Do not build TOC for headlines below H value
Nicolas Goaziou [Sat, 31 Aug 2013 12:30:25 +0000]
ox: Do not build TOC for headlines below H value

* lisp/ox.el (org-export-collect-headlines): Do not build TOC for
  headlines below H value.
* testing/lisp/test-ox.el: Add test.

Reported-by: Jambunathan K <kjambunathan@gmail.com>

2 years agoTurn off message logging of displayed outline path
Carsten Dominik [Sat, 31 Aug 2013 06:43:08 +0000]
Turn off message logging of displayed outline path

* lisp/org.el (org-display-outline-path): Do not log outline path in
Message buffer.

2 years agoSpeed up agenda by allowing to turn of some drawer properties
Carsten Dominik [Sat, 31 Aug 2013 05:56:40 +0000]
Speed up agenda by allowing to turn of some drawer properties

* lisp/org.el (org-agenda-ignore-drawer-properties): New option
(org-agenda-prepare-buffers): Honour
`org-agenda-ignore-drawer-properties'.

Following a proposal by Daniel Clemente

2 years agoCenter currently clocked headline close to top of screen
Carsten Dominik [Fri, 30 Aug 2013 16:14:17 +0000]
Center currently clocked headline close to top of screen

* lisp/org-clock.el (org-clock-goto): Recenter to thrd line

Patch modified from proposal by Sebastien Vauban.

2 years agoFix some issue with orgtbl-mode
Carsten Dominik [Fri, 30 Aug 2013 15:48:51 +0000]
Fix some issue with orgtbl-mode

* lisp/org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces between
keywords in RECEIVE ORGTBL lines.
* doc/org.texi (A @LaTeX{} example): Fix typo in variable name.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Fri, 30 Aug 2013 15:10:45 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoMerge branch 'maint'
Nicolas Goaziou [Fri, 30 Aug 2013 12:38:03 +0000]
Merge branch 'maint'

2 years agoorg-element: Modify misleading comment
Nicolas Goaziou [Fri, 30 Aug 2013 12:37:16 +0000]
org-element: Modify misleading comment

* lisp/org-element.el (org-element-context): Modify misleading
  comment.

2 years agoMerge branch 'maint'
Nicolas Goaziou [Fri, 30 Aug 2013 12:22:07 +0000]
Merge branch 'maint'

2 years agoorg-element: Fix parsing error in `org-element-context'
Nicolas Goaziou [Fri, 30 Aug 2013 11:29:51 +0000]
org-element: Fix parsing error in `org-element-context'

* lisp/org-element.el (org-element-text-markup-successor,
  org-element-latex-or-entity-successor,
  org-element-export-snippet-successor,
  org-element-footnote-reference-successor,
  org-element-inline-babel-call-successor,
  org-element-inline-src-block-successor,
  org-element-line-break-successor, org-element-link-successor,
  org-element-plain-link-successor, org-element-macro-successor,
  org-element-radio-target-successor,
  org-element-statistics-cookie-successor,
  org-element-sub/superscript-successor,
  org-element-table-cell-successor, org-element-target-successor,
  org-element-timestamp-successor): Remove LIMIT argument.
(org-element--parse-objects, org-element--get-next-object-candidates):
Apply signature change to successors.
(org-element-context): Narrow buffer around object containers so
parsing of objects when using this function is done under the same
restrictions as in buffer parsing.
* testing/lisp/test-org-element.el: Add test.

2 years agoMerge branch 'maint'
Nicolas Goaziou [Thu, 29 Aug 2013 08:43:19 +0000]
Merge branch 'maint'

2 years agoox: Fix void `org-table-number-fraction'
Nicolas Goaziou [Thu, 29 Aug 2013 08:38:15 +0000]
ox: Fix void `org-table-number-fraction'

* lisp/ox.el (org-export-table-cell-alignment): Ensure required
  variables are available.

This error is triggered in ODT export with lists using :list-table
feature.  This creates tables as parsed data on the fly in the tree,
triggering call to `org-export-table-cell-alignment', but `org-table'
library may not be available.

2 years agoox: Fix 8c833ed9fbabae298054dd9eec574984acf3ab8b
Nicolas Goaziou [Thu, 29 Aug 2013 08:37:53 +0000]
ox: Fix 8c833ed9fbabae298054dd9eec574984acf3ab8b

* lisp/ox.el (org-export-table-cell-alignment): Use correct :test.
  See 2baa2c3afa70f86a6266b4bb9d5f763c5fb18388.

2 years agoMerge branch 'maint'
Nicolas Goaziou [Thu, 29 Aug 2013 08:22:09 +0000]
Merge branch 'maint'

2 years agoox: Fix stack overflow in equal error (part 2)
Nicolas Goaziou [Thu, 29 Aug 2013 08:17:09 +0000]
ox: Fix stack overflow in equal error (part 2)

* lisp/ox.el (org-export-table-cell-alignment): Apply the same changes
  as in 2baa2c3afa70f86a6266b4bb9d5f763c5fb18388.

2 years agoMerge branch 'maint'
Nicolas Goaziou [Thu, 29 Aug 2013 08:08:24 +0000]
Merge branch 'maint'

2 years agoox: Fix stack overflow in equal error
Nicolas Goaziou [Thu, 29 Aug 2013 08:00:24 +0000]
ox: Fix stack overflow in equal error

* lisp/ox.el (org-export-table-cell-width): Modify key (now an
  element) and value structure (now a vector) of cache so it can use
  `eq' as test. Elements are circular lists so `equal' cannot apply on
  them.

Reported-by: Jambunathan K <kjambunathan@gmail.com>

2 years agoox-publish: Remove unused dynamically scoped variable
Nicolas Goaziou [Tue, 27 Aug 2013 08:30:55 +0000]
ox-publish: Remove unused dynamically scoped variable

* lisp/ox-publish.el (project-plist): Remove variable.

2 years agoox: Fix docstrings
Nicolas Goaziou [Tue, 27 Aug 2013 08:29:50 +0000]
ox: Fix docstrings

* lisp/ox.el (org-export-to-buffer, org-export-to-file): Fix
  docstrings.

2 years agoMake ox-koma-letter pass checkdoc.
rasmus [Sat, 17 Aug 2013 20:50:47 +0000]
Make ox-koma-letter pass checkdoc.

* ox-koma-letter.el: Reworded parts of the head of the file.
(org-koma-letter-prefer-special-headings,
org-koma-letter-subject-format, org-koma-letter-default-class,
org-koma-letter-special-tags-in-letter,
org-koma-letter-special-tags-after-closing,
org-koma-letter-special-tags-after-letter,
org-koma-letter-plug-into-ox, org-koma-letter-email,
org-koma-letter--get-tagged-contents,
org-koma-letter-special-contents): Changed docstring to pass checkdoc.
(org-koma-letter--get-value): Renamed `org-koma-letter--get-custom'.
Docstring changed to pass checkdoc.
(org-koma-letter--special-contents-as-macro): Renamed
`org-koma-letter--prepare-special-contents-as-macro'.  Docstring
changed to pass checkdoc.
(org-koma-letter--normalize-string): Renamed
org-koma-letter--remove-offending-new-lines.  Docstring changed to
pass checkdoc.
(org-koma-letter--determine-to-and-from): Renamed
org-koma-letter--determine-special-value.  Docstring changed to pass
checkdoc.

Some functions have been renamed to make the names slightly more
informative.

Signed-off-by: Alan Schmitt <alan.schmitt@polytechnique.org>

2 years agoSet opening via headline
rasmus [Sat, 17 Aug 2013 18:24:36 +0000]
Set opening via headline

* ox-koma-letter.el (org-koma-letter-headline-is-opening-maybe): new
variable.  If `t' let headlines set subject.
(org-koma-letter-headline): let headline set opening.
(org-koma-letter-template): let opening and closing be empty if nil.

Signed-off-by: Alan Schmitt <alan.schmitt@polytechnique.org>

3 years agoox-org: Fix arguments mismatch in `org-export-as-org'
Nicolas Goaziou [Fri, 23 Aug 2013 07:32:35 +0000]
ox-org: Fix arguments mismatch in `org-export-as-org'

* lisp/ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
which is always nil in this back-end.

Reported-by: Nicolas Girard <girard.nicolas@gmail.com>

3 years agoMerge branch 'maint'
Nicolas Goaziou [Thu, 22 Aug 2013 19:55:51 +0000]
Merge branch 'maint'

3 years agoFix filling with `adaptive-fill-regexp'
Nicolas Goaziou [Thu, 22 Aug 2013 19:45:28 +0000]
Fix filling with `adaptive-fill-regexp'

* lisp/org.el (org-adaptive-fill-function): Look for a fill prefix at
  the beginning of the paragraph and subsquently on its second line
  instead of the current line.
* testing/lisp/test-org.el: Add test

3 years agoob-core: Fix wrong indentation of results
Nicolas Goaziou [Wed, 21 Aug 2013 10:24:17 +0000]
ob-core: Fix wrong indentation of results

* lisp/ob-core.el (org-babel-get-src-block-info): Look for indentation
  value at the correct location.
* testing/lisp/test-ob.el: Add test.

3 years agoLatex export: Fix the position of captions on unfontified src blocks
Craig Tanis [Tue, 13 Aug 2013 12:08:53 +0000]
Latex export: Fix the position of captions on unfontified src blocks

* lisp/ox-latex (org-latex-src-block): Change format string to
  position caption after figure content.

Note: This is now consistent with the caption positioning for
formatted src blocks, later in the same function.

TINYCHANGE

3 years agoob-python
Achim Gratz [Mon, 12 Aug 2013 19:12:16 +0000]
ob-python

From 8f3c510f43e458a1bbb58b126fc4e402007e6cfe Mon Sep 17 00:00:00 2001
From: Achim Gratz <Stromeko@Stromeko.DE>
Date: Mon, 12 Aug 2013 21:10:27 +0200
Subject: [PATCH] ob-python: run-python requires argument cmd

* lisp/ob-python.el: Supply non-optional argument `cmd' to all
  invocations of `run-python'.  Invert a condition of to remove an
  expendable progn form.

46d05e4d08 corrected the signatore in the declaration of run-python,
but the call without an argument was left in.

3 years agoox: Fix test errors
Nicolas Goaziou [Mon, 12 Aug 2013 08:42:05 +0000]
ox: Fix test errors

* lisp/ox.el (org-export-data-with-backend): Set temporary back-end as
  the new back-end in local communication channel.
(org-export-filter-apply-functions): Handle corner case where back-end
is nil.
* testing/lisp/test-ox.el: Small refactoring.

3 years agoMerge branch 'maint'
Nicolas Goaziou [Sat, 10 Aug 2013 08:13:32 +0000]
Merge branch 'maint'

3 years agoTimestamps: Handle sub-10-min ranges when updating timestamps
Trevor Murphy [Thu, 8 Aug 2013 23:30:37 +0000]
Timestamps: Handle sub-10-min ranges when updating timestamps

* lisp/org.el (org-get-compact-tod): Always pad minutes to two places.

TINYCHANGE

3 years agoox: Only provide back-end name as second argument of filters
Nicolas Goaziou [Sat, 10 Aug 2013 07:42:20 +0000]
ox: Only provide back-end name as second argument of filters

* lisp/ox.el (org-export-filter-apply-functions): Only provide
  back-end name (a symbol) as second argument of filters, not the full
  back-end (a vector).

3 years agolisp/org.el (org-ctrl-c-ctrl-c): Set tags for headlines whose text is a link
Eric Abrahamsen [Sun, 21 Apr 2013 09:32:26 +0000]
lisp/org.el (org-ctrl-c-ctrl-c): Set tags for headlines whose text is a link

* lisp/org.el (org-ctrl-c-ctrl-c): 'C-c C-c' on a link is usually a
  no-op. If that link is in a headline, act as if the 'C-c C-c' was
  called on the headline, not the link.

3 years agoMerge branch 'maint'
Nicolas Goaziou [Thu, 8 Aug 2013 16:49:17 +0000]
Merge branch 'maint'

Conflicts:
lisp/ox.el

3 years agoox-publish: Correctly return document title
Nicolas Goaziou [Thu, 8 Aug 2013 15:22:08 +0000]
ox-publish: Correctly return document title

* lisp/ox-publish.el (org-publish-find-title): Fix title when no
  #+TITLE property is provided.
* lisp/ox.el (org-export-store-default-title): Remove-function.
(org-export--default-title): Remove variable.
(org-export-options-alist): Do not use a default value.
(org-export--get-buffer-attributes): Store a default title.
(org-export-as): Apply function removal.
(org-export--get-global-options): Do not set a property with an
explicitely nil value.

3 years agoox-publish: Fix prefix for some variables
Nicolas Goaziou [Thu, 8 Aug 2013 14:21:53 +0000]
ox-publish: Fix prefix for some variables

* lisp/ox-publish.el (org-publish-sitemap-sort-files,
  org-publish-sitemap-sort-folders, org-publish-sitemap-ignore-case,
  org-publish-sitemap-requested, org-publish-sitemap-date-format,
  org-publish-sitemap-file-entry-format): Set prefix to
  "org-publish-sitemap" instead of "org-sitemap".
(org-publish-compare-directory-files, org-publish-get-base-files-1,
org-publish-projects, org-publish-format-file-entry): Use new prefix.

3 years agoMerge branch 'maint'
Nicolas Goaziou [Thu, 8 Aug 2013 12:32:34 +0000]
Merge branch 'maint'

3 years agoorg-clock: Fix defcustom type for two variables
Nicolas Goaziou [Thu, 8 Aug 2013 12:32:01 +0000]
org-clock: Fix defcustom type for two variables

* lisp/org-clock.el (org-clock-total-time-cell-format,
  org-clock-file-time-cell-format): Use correct type.

3 years agoAllow to specify the names of automatic bookmarks
Carsten Dominik [Thu, 8 Aug 2013 10:43:03 +0000]
Allow to specify the names of automatic bookmarks

* lisp/org.el (org-bookmark-names-plist): New user option.
(org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
(org-refile): Use `org-bookmark-names-plist'.
* lisp/org-capture.el (org-capture-bookmark-last-stored-position): Use
`org-bookmark-names-plist'.

Patch modified from a proposal by Oleh.