org-mode/org-jambu.git
12 years agoRepublish org-odt-20111011.tarmaster
Jambunathan K [Mon, 10 Oct 2011 11:04:20 +0000 (10 16:34 +0530)]
Republish org-odt-20111011.tar

12 years agoPublish org-odt-20111011.tar
Jambunathan K [Mon, 10 Oct 2011 09:14:25 +0000 (10 14:44 +0530)]
Publish org-odt-20111011.tar

12 years agoRepublish
Jambunathan K [Sun, 9 Oct 2011 19:27:45 +0000 (10 00:57 +0530)]
Republish

12 years agoPublish org-odt-20111010.tar
Jambunathan K [Sun, 9 Oct 2011 18:46:16 +0000 (10 00:16 +0530)]
Publish org-odt-20111010.tar

12 years agoPublish org-odt-20111009.tar
Jambunathan K [Sun, 9 Oct 2011 17:16:47 +0000 (9 22:46 +0530)]
Publish org-odt-20111009.tar

12 years agoPush README.html
Jambunathan K [Sat, 2 Jul 2011 18:21:00 +0000 (2 23:51 +0530)]
Push README.html

12 years agoPublishing org-odt-20110702.tar
Jambunathan K [Sat, 2 Jul 2011 18:13:26 +0000 (2 23:43 +0530)]
Publishing org-odt-20110702.tar

12 years agoUpdate commentary and docstring
Jambunathan K [Thu, 30 Jun 2011 20:51:58 +0000 (1 02:21 +0530)]
Update commentary and docstring

12 years agoMerge ngz's footnote changes from master.
Jambunathan K [Thu, 30 Jun 2011 18:24:09 +0000 (30 23:54 +0530)]
Merge ngz's footnote changes from master.

* lisp/org-odt.el (org-odt-get): Modified
* lisp/org-lparse.el (org-do-lparse): Modified
* lisp/org-html.el (org-xhtml-get): Modified

12 years agoUse org-called-interactively-p
Jambunathan K [Thu, 30 Jun 2011 13:51:55 +0000 (30 19:21 +0530)]
Use org-called-interactively-p

12 years agoHand merge few commits.
Jambunathan K [Thu, 30 Jun 2011 13:50:58 +0000 (30 19:20 +0530)]
Hand merge few commits.

12 years agoMerge with orgmode.org/master
Jambunathan K [Thu, 30 Jun 2011 13:35:09 +0000 (30 19:05 +0530)]
Merge with orgmode.org/master

12 years agoMerge remote branch 'orgmode/master' into orgmode.org
Jambunathan K [Thu, 30 Jun 2011 13:29:01 +0000 (30 18:59 +0530)]
Merge remote branch 'orgmode/master' into orgmode.org

12 years agoRevert "Fix binding problem in org-without-partial-completion."
Bastien Guerry [Thu, 30 Jun 2011 08:42:26 +0000 (30 10:42 +0200)]
Revert "Fix binding problem in org-without-partial-completion."

This reverts commit ed8627de92d926dd9ff91e1c1977f92f306a8227.

12 years agoReplace org-html with org-xhtml
Jambunathan K [Thu, 30 Jun 2011 04:35:09 +0000 (30 10:05 +0530)]
Replace org-html with org-xhtml

12 years agoorg-footnote: declare function for the compiler
Eric Schulte [Wed, 29 Jun 2011 23:33:39 +0000 (29 16:33 -0700)]
org-footnote: declare function for the compiler

* lisp/org-footnote.el (org-fill-paragraph): Declare function for the
  compiler.

12 years agoob-ref: declare function for compiler
Eric Schulte [Wed, 29 Jun 2011 23:30:34 +0000 (29 16:30 -0700)]
ob-ref: declare function for compiler

* lisp/ob-ref.el (org-narrow-to-subtree): Declare unknown function.

12 years agoob: declare variable to appease compiler
Eric Schulte [Wed, 29 Jun 2011 23:29:19 +0000 (29 16:29 -0700)]
ob: declare variable to appease compiler

* lisp/ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
  to appease compiler.

12 years agoadding optional argument KIND to all org-called-interactively-p function invocations
Michael Markert [Wed, 29 Jun 2011 22:25:09 +0000 (30 00:25 +0200)]
adding optional argument KIND to all org-called-interactively-p function invocations

* lisp/ob.el (org-babel-sha1-hash): Adding optional argument KIND to
  all org-called-interactively-p function invocations.
* lisp/org-agenda.el (org-agenda-redo): Adding optional argument KIND to
  all org-called-interactively-p function invocations.
  (org-agenda-show-1): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-agenda-set-tags): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
* lisp/org-ascii.el (org-export-as-latin1): Adding optional argument
  KIND to all org-called-interactively-p function invocations.
  (org-export-as-latin1-to-buffer): Adding optional argument KIND to
  all org-called-interactively-p function invocations.
  (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-export-region-as-ascii): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
* lisp/org-docbook.el (org-export-region-as-docbook): Adding optional
  argument KIND to all org-called-interactively-p function
  invocations.
* lisp/org-html.el (org-export-region-as-html): Adding optional
  argument KIND to all org-called-interactively-p function
  invocations.
* lisp/org-latex.el (org-export-region-as-latex): Adding optional
  argument KIND to all org-called-interactively-p function
  invocations.
* lisp/org-table.el (org-table-blank-field): Adding optional argument
  KIND to all org-called-interactively-p function invocations.
  (org-table-current-column): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-table-current-dline): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-table-sort-lines): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-table-sum): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-table-rotate-recalc-marks): Adding optional argument KIND to
  all org-called-interactively-p function invocations.
  (org-table-eval-formula): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (orgtbl-send-table): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
* lisp/org.el (org-mode): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-copy-subtree): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-paste-subtree): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-store-link): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-todo): Adding optional argument KIND to all
  org-called-interactively-p function invocations.
  (org-occur): Adding optional argument KIND to all
  org-called-interactively-p function invocations.

12 years agoorg-macs: Determine on macro expand which interactive predicate we need.
Michael Markert [Wed, 29 Jun 2011 22:25:09 +0000 (30 00:25 +0200)]
org-macs: Determine on macro expand which interactive predicate we need.

Signed-off-by: Michael Markert <markert.michael@googlemail.com>
12 years agoReplace interactive-p with the org-called-interactively-p macro.
Bastien Guerry [Wed, 29 Jun 2011 16:24:08 +0000 (29 18:24 +0200)]
Replace interactive-p with the org-called-interactively-p macro.

Interactive-p is an obsolete function as of Emacs 23.2.
`org-called-interactively-p' takes care of the current (x)Emacs
version and use either `interactive-p' (for XEmacs and Emacs<23.2)
or `called-interactively-p'.

12 years agoorg-footnote: better action on footnotes with no definition associated
Nicolas Goaziou [Wed, 29 Jun 2011 13:26:22 +0000 (29 15:26 +0200)]
org-footnote: better action on footnotes with no definition associated

* lisp/org-footnote.el (org-footnote-action): offer to create
  definition when none is found.

12 years agoorg-footnote: strenghten footnotes regexp
Nicolas Goaziou [Tue, 28 Jun 2011 23:14:13 +0000 (29 01:14 +0200)]
org-footnote: strenghten footnotes regexp

* lisp/org-footnote.el (org-footnote-re): avoid matching inactive
  time-stamps or check-box cookies.
(org-footnote-next-reference-or-definition): adapt to the new regexp.

12 years agoorg-exp: normalize footnotes after removing commented subtrees
Nicolas Goaziou [Tue, 28 Jun 2011 15:07:37 +0000 (28 17:07 +0200)]
org-exp: normalize footnotes after removing commented subtrees

* lisp/org-exp.el (org-export-preprocess-string): if the last subtree
  is commented, footnotes inserted during normalizing at the end of
  the buffer may get deleted. This patch ensures deletion comes first,
  normalization second.

12 years agoRename org-export-footnotes-markers to org-export-footnotes-seen
Nicolas Goaziou [Sun, 26 Jun 2011 16:51:28 +0000 (26 18:51 +0200)]
Rename org-export-footnotes-markers to org-export-footnotes-seen

* lisp/org-exp.el (org-export-footnotes-data): change docstring.
(org-export-footnotes-seen): renamed from
org-export-footnotes-markers.
* lisp/org-ascii.el (org-export-as-ascii): apply change.
* lisp/org-docbook.el (org-export-as-docbook): apply change.
* lisp/org-footnote.el (org-footnote-normalize): apply change.
* lisp/org-html.el (org-export-as-html): apply change.
* lisp/org-latex.el (org-export-as-latex): apply change.

12 years agoorg-latex: properly get definition of footnotes during export
Nicolas Goaziou [Sun, 26 Jun 2011 16:46:08 +0000 (26 18:46 +0200)]
org-latex: properly get definition of footnotes during export

* lisp/org-latex.el (org-export-latex-preprocess): rely on
  `org-export-footnotes-markers' to retreive definition of the current
  footnote during export.

12 years agoorg-footnote: better normalization during export
Nicolas Goaziou [Sun, 26 Jun 2011 16:44:27 +0000 (26 18:44 +0200)]
org-footnote: better normalization during export

* lisp/org-footnote.el (org-footnote-normalize): remember footnotes
  seen so far by the exporter when choosing the new marker.

12 years agoorg-footnote: update changes for odt exporter
Nicolas Goaziou [Sun, 26 Jun 2011 08:46:15 +0000 (26 10:46 +0200)]
org-footnote: update changes for odt exporter

* lisp/org-footnote.el (org-footnote-normalize): make use of
  `org-footnote-insert-pos-for-preprocessor'.

12 years agoAdd properties to footnotes during export
Nicolas Goaziou [Thu, 26 May 2011 18:35:46 +0000 (26 20:35 +0200)]
Add properties to footnotes during export

* lisp/org-footnote.el (org-footnote-normalize): add `org-footnote'
  property to footnote markers when preparing for exportation.
* lisp/org-html.el (org-export-as-html): read new property to decide
  when to export a footnote.
* lisp/org-docbook.el (org-export-as-docbook): read new property to
  decide when to export a footnote.
* lisp/org-latex.el (org-export-latex-preprocess): ensure footnote at
  column 0 cannot end a list containing it by adding
  `original-indentation' property to it.

12 years agoorg-latex: correct bugs in footnote export
Nicolas Goaziou [Sun, 15 May 2011 20:29:22 +0000 (15 22:29 +0200)]
org-latex: correct bugs in footnote export

* lisp/org-exp (org-export-preprocess-string): normalize footnotes
  before marking lists ending.
* lisp/org-latex.el (org-export-latex-preprocess): work with labels as
  strings and not as numbers.

12 years agoInsert a customizable separator between footnotes
Nicolas Goaziou [Sat, 14 May 2011 08:26:40 +0000 (14 10:26 +0200)]
Insert a customizable separator between footnotes

* lisp/org-docbook.el (org-export-docbook-footnote-separator): new
  variable
  (org-export-as-docbook): add a separator between footnotes.
* lisp/org-html.el (org-export-html-footnote-separator): new variable.
  (org-export-as-html): add a separator between footnotes.
* lisp/org-latex.el (org-export-latex-footnote-separator): new
  variable.
  (org-export-latex-preprocess): add a separator between footnotes.

12 years agoImprove footnotes handling in exporters
Nicolas Goaziou [Wed, 11 May 2011 16:02:15 +0000 (11 18:02 +0200)]
Improve footnotes handling in exporters

* lisp/org-exp.el (org-export-footnotes-markers,
  org-export-footnotes-data): new variables.
  (org-export-preprocess-string): use a more explicit argument.

* lisp/org-html.el (org-export-as-html): initialize new variables.

* lisp/org-docbook.el (org-export-as-docbook): initialize new variables.

* lisp/org-latex.el (org-export-latex-footmark-seen): new variable.
  (org-export-as-latex): initialize new variables.
  (org-export-latex-preprocess): allow to export two or more footnotes
  in a row. Also permit to have footnotes refering to previously
  defined footnotes.

* lisp/org-ascii.el (org-export-as-ascii): feed org-footnote-normalize
  with data so it can normalize footnotes before first headline, or
  footnotes with their definition outside exported region.

12 years agoorg-footnote: remove unnecessary checks in footnotes regexps
Nicolas Goaziou [Tue, 3 May 2011 13:41:42 +0000 (3 15:41 +0200)]
org-footnote: remove unnecessary checks in footnotes regexps

* lisp/org-footnote.el (org-footnote-goto-definition): now,
  determining if point is at a footnote reference is entirely
  determined by `org-footnote-at-reference-p'. No need to check if
  pattern isn't at beginning of the line elsewhere.

12 years agoorg-footnote: refactor code
Nicolas Goaziou [Mon, 2 May 2011 09:37:39 +0000 (2 11:37 +0200)]
org-footnote: refactor code

12 years agoAdjust fontification of footnotes
Nicolas Goaziou [Mon, 2 May 2011 09:34:06 +0000 (2 11:34 +0200)]
Adjust fontification of footnotes

* lisp/org-footnote.el (org-footnote-next-reference-or-definition):
  new function.
* lisp/org.el (org-activate-footnote-links): activate the whole
  footnote, but only fontify its label.

12 years agoorg-footnote: rewrite normalize function
Nicolas Goaziou [Sat, 30 Apr 2011 11:23:21 +0000 (30 13:23 +0200)]
org-footnote: rewrite normalize function

* lisp/org-footnote.el (org-footnote-normalize): make use of changes
  to `org-footnote-at-reference-p' and creation of various functions..
  Also comment code.
  (org-footnote-get-next-reference, org-footnote-delete-references,
  org-footnote-delete-definitions): new functions
  (org-footnote-goto-previous-reference, org-footnote-all-labels,
  org-insert-footnote-reference-near-definition, org-footnote-delete):
  rewrite to use org-footnote-get-next-reference.

12 years agoorg-footnote: parse footnotes references with more accuracy
Nicolas Goaziou [Fri, 29 Apr 2011 13:46:25 +0000 (29 15:46 +0200)]
org-footnote: parse footnotes references with more accuracy

* lisp/org-footnote.el (org-footnote-re): don't end an inline footnote
  at unrelated closing square brackets.
  (org-footnote-at-reference-p): improve accuracy of the function to
  determine if point is at a reference and to extract definition of an
  inline footnote.
  (org-footnote-all-labels, org-footnote-action, org-footnote-delete,
  org-footnote-auto-adjust-maybe): make use of previous function.

12 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Wed, 29 Jun 2011 09:28:03 +0000 (29 11:28 +0200)]
Merge branch 'master' of orgmode.org:org-mode

12 years agoorg-html: fix typo in doc
Julian Gehring [Wed, 29 Jun 2011 13:39:58 +0000 (29 13:39 +0000)]
org-html: fix typo in doc

Hi,

this patch fixes a typo in the documentation of org-html.

Best
Julian

>From 40483bb63d236595d6982dca26a2a3d80bfd39bc Mon Sep 17 00:00:00 2001
From: Julian Gehring <julian.gehring@googlemail.com>
Date: Wed, 29 Jun 2011 10:31:21 +0200
Subject: [PATCH] org-html: fix typo in doc

12 years agoadding ob-lilypond to contrib/babel/langs/
Eric Schulte [Wed, 29 Jun 2011 00:40:17 +0000 (28 17:40 -0700)]
adding ob-lilypond to contrib/babel/langs/

12 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Tue, 28 Jun 2011 23:56:51 +0000 (29 01:56 +0200)]
Merge branch 'master' of orgmode.org:org-mode

12 years agoKeep warning cookie when timestamping/rescheduling/redeadlining.
Bastien Guerry [Tue, 28 Jun 2011 23:56:40 +0000 (29 01:56 +0200)]
Keep warning cookie when timestamping/rescheduling/redeadlining.

* install/git/org-mode/lisp/org.el (org-deadline, org-schedule):
keep warning cookie when rescheduling/redeadlining.
(org-time-stamp): Fix problem with warning cookie.

12 years agoob-clojure: force escaping of clojure source into elisp source
Eric Schulte [Tue, 28 Jun 2011 23:39:02 +0000 (28 16:39 -0700)]
ob-clojure: force escaping of clojure source into elisp source

* lisp/ob-clojure.el (org-babel-execute:clojure): Force escaping of
  clojure source into elisp source.

12 years agoob: escaping scripts now treats {} in the same manner as []
Eric Schulte [Tue, 28 Jun 2011 23:38:30 +0000 (28 16:38 -0700)]
ob: escaping scripts now treats {} in the same manner as []

* lisp/ob.el (org-babel-script-escape): Treats {} in the same manner
  as [] and allows for forcing string conversion.

12 years agoexp: strip protective commas from literal code blocks
Eric Schulte [Tue, 28 Jun 2011 22:43:20 +0000 (28 15:43 -0700)]
exp: strip protective commas from literal code blocks

* lisp/org-exp.el (org-export-select-backend-specific-text): Strip
  protective commas from literal code blocks.

12 years agoob-ref: bug fix in new function
Eric Schulte [Tue, 28 Jun 2011 21:20:10 +0000 (28 14:20 -0700)]
ob-ref: bug fix in new function

* lisp/ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.

12 years agodoc: Explicit about the ability to tangle to other directories.
Eric Schulte [Tue, 28 Jun 2011 20:27:33 +0000 (28 13:27 -0700)]
doc: Explicit about the ability to tangle to other directories.

* doc/org.texi (tangle): Be explicit about the ability to tangle to
  other directories.

12 years agotest: tests for expanding noweb references
Eric Schulte [Tue, 28 Jun 2011 20:02:16 +0000 (28 13:02 -0700)]
test: tests for expanding noweb references

12 years agoob: expand noweb references to headline contents
Eric Schulte [Tue, 28 Jun 2011 20:02:01 +0000 (28 13:02 -0700)]
ob: expand noweb references to headline contents

* lisp/ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
  own function.
  (org-babel-ref-headline-body): Split out into its own function.
  (org-babel-ref-resolve): Using new functions, and alignment.
* lisp/ob.el (org-babel-ref-goto-headline-id): Declare function.
  (org-babel-ref-headline-body): Declare function.
  (org-babel-expand-noweb-references): Now expands noweb references to
  headlines during expansion.

12 years agoob-ref: resolve variable references to headline contents
Eric Schulte [Tue, 28 Jun 2011 18:24:26 +0000 (28 11:24 -0700)]
ob-ref: resolve variable references to headline contents

* lisp/ob-ref.el (org-babel-ref-resolve): Now resolves references to
  headlines by either global or custom id, in which case the contents
  of the headline are returned literally.

12 years agotest: another order of arguments test
Eric Schulte [Tue, 28 Jun 2011 17:21:12 +0000 (28 10:21 -0700)]
test: another order of arguments test

12 years agoob-lob: inline calls should export even when preceeded by an "="
Eric Schulte [Tue, 28 Jun 2011 17:14:58 +0000 (28 10:14 -0700)]
ob-lob: inline calls should export even when preceeded by an "="

* lisp/ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
  verbatim emphasis.
  (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
  lines.

12 years agotest: inline export of raw results
Eric Schulte [Tue, 28 Jun 2011 17:03:27 +0000 (28 10:03 -0700)]
test: inline export of raw results

12 years agoorg-list: fix bug with item cycling
Nicolas Goaziou [Tue, 28 Jun 2011 09:50:48 +0000 (28 11:50 +0200)]
org-list: fix bug with item cycling

* lisp/org-list.el (org-cycle-item-indentation): cycling back to
  original position deleted any additional information in the item,
  like a counter or a tag.

12 years agoorg-list: doc-strings white-spaces fixes
Nicolas Goaziou [Tue, 28 Jun 2011 09:20:56 +0000 (28 11:20 +0200)]
org-list: doc-strings white-spaces fixes

12 years agoorg.el: make org-time-stamp also keep warning periods.
Bastien Guerry [Tue, 28 Jun 2011 17:27:12 +0000 (28 19:27 +0200)]
org.el: make org-time-stamp also keep warning periods.

... not only repeaters.

Thanks to Karl Voit for spotting this.

12 years agolisp/org-latex.el: Convert quotes to their LaTeX equivalents
Laurence Mitchell [Tue, 28 Jun 2011 17:18:02 +0000 (28 19:18 +0200)]
lisp/org-latex.el: Convert quotes to their LaTeX equivalents

Convert quotes to their LaTeX equivalents using
org-export-latex-quotation-marks.

12 years agoFix binding problem in org-without-partial-completion.
Bastien Guerry [Tue, 28 Jun 2011 16:47:56 +0000 (28 18:47 +0200)]
Fix binding problem in org-without-partial-completion.

Thanks to Paul Sexton for spotting this.

12 years agocontrib/lisp/org-velocity.el: Major enhancements.
Paul M. Rodriguez [Tue, 28 Jun 2011 13:42:23 +0000 (28 15:42 +0200)]
contrib/lisp/org-velocity.el: Major enhancements.

This patch makes Org-Velocity display search results incrementally, and
implements a more general approach to completion based on dabbrev. The
documentation has also been rewritten.

12 years agodoc/org.texi: footnote: don't put timestamps in headlines.
Bastien Guerry [Tue, 28 Jun 2011 13:30:50 +0000 (28 15:30 +0200)]
doc/org.texi: footnote: don't put timestamps in headlines.

This was suggested by Simon Guest.

12 years agoorg-crypt: make org-decrypt disable auto-save-mode (configurable)
Pieter Praet [Tue, 28 Jun 2011 10:04:16 +0000 (28 12:04 +0200)]
org-crypt: make org-decrypt disable auto-save-mode (configurable)

As auto-save-mode can only cause leakage when there's actual decrypted
data lying around, don't check for it (and potentially cause annoyance)
on init, but only when org-decrypt-entry is called.

* lisp/org-crypt.el:
  - add defcustom `org-crypt-disable-auto-save'
  - `org-decrypt-entry': before decrypting, check whether
    `auto-save-mode' is enabled for the current buffer, and act
    on it according to how `org-crypt-disable-auto-save' is set.
  - remove comment re "encrypt[ing] Org auto-saved buffers"
  - remove on-init check for `auto-save-default'

12 years agoorg-contacts: Require cl on compilation.
Michael Markert [Mon, 27 Jun 2011 18:19:23 +0000 (27 20:19 +0200)]
org-contacts: Require cl on compilation.

Signed-off-by: Michael Markert <markert.michael@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agoorg-contacts: Use `with-current-buffer' instead of `save-excursion'+`with-current...
Michael Markert [Mon, 27 Jun 2011 18:17:53 +0000 (27 20:17 +0200)]
org-contacts: Use `with-current-buffer' instead of `save-excursion'+`with-current-buffer'.

Signed-off-by: Michael Markert <markert.michael@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agotest: more tests of exporting call lines in a variety of situations
Eric Schulte [Mon, 27 Jun 2011 18:34:00 +0000 (27 11:34 -0700)]
test: more tests of exporting call lines in a variety of situations

12 years agoob: preserve the order of variable parameters
Eric Schulte [Mon, 27 Jun 2011 18:31:12 +0000 (27 11:31 -0700)]
ob: preserve the order of variable parameters

* lisp/ob.el (org-babel-merge-params): Ensure variable parameters are
  not reversed.

* lisp/ob-ref.el (org-babel-ref-split-args): Ensure variable
  parameters are not reversed.

12 years agoob: fix results insertion for inline blocks which happen to start a line
Eric Schulte [Mon, 27 Jun 2011 17:28:59 +0000 (27 10:28 -0700)]
ob: fix results insertion for inline blocks which happen to start a line

* lisp/ob.el (org-babel-insert-result): Fix results insertion for
  inline blocks which happen to start a line.

12 years agoob-lob: fix the logic checking if a call line is commented
Eric Schulte [Mon, 27 Jun 2011 17:25:36 +0000 (27 10:25 -0700)]
ob-lob: fix the logic checking if a call line is commented

* lisp/ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic
  checking if a call line is commented.

12 years agoorg.texi: complete org-crypt config example
Bastien Guerry [Mon, 27 Jun 2011 16:54:31 +0000 (27 18:54 +0200)]
org.texi: complete org-crypt config example

Complete org-crypt config example with a hackish workaround
to disabling auto-save locally in a buffer:

# -*- buffer-auto-save-file-name: nil; -*-

Thanks to Bill Day for suggesting this.

12 years agodoc/org.texi: mention (setq auto-save-default nil) in org-crypt.el section.
Bastien Guerry [Mon, 27 Jun 2011 16:48:49 +0000 (27 18:48 +0200)]
doc/org.texi: mention (setq auto-save-default nil) in org-crypt.el section.

12 years agoorg.el: fix bug about repeater not kept when using org-time-stamp
Bastien Guerry [Mon, 27 Jun 2011 16:22:37 +0000 (27 18:22 +0200)]
org.el: fix bug about repeater not kept when using org-time-stamp

Thanks to Karl Voit for reporting this.

12 years ago* org.el (org-read-property-name): Propose default property name.
Vincent Belaïche [Mon, 27 Jun 2011 10:35:08 +0000 (27 12:35 +0200)]
* org.el (org-read-property-name): Propose default property name.

Propose default property name value by looking at whether current line
is already some property setting.

12 years agoIntroduce CLOCK_INTO_DRAWER property like the existing LOG_INTO_DRAWER
Achim Gratz [Mon, 27 Jun 2011 10:12:23 +0000 (27 12:12 +0200)]
Introduce CLOCK_INTO_DRAWER property like the existing LOG_INTO_DRAWER

* lisp/org.el (defcustom org-log-into-drawer): correct typo
* lisp/org-clock.el: new function org-clock-into-drawer to change
  the location of clock events based on properties CLOCK_INTO_DRAWER
  or, as fallback, LOG_INTO_DRAWER, like it is already possible for
  state change logs.
* lisp/org-clock.el (org-clock-jump-to-current-clock): add statement
  to let clause to bind org-clock-into-drawer to result of function
  eval
* lisp/org-clock.el (org-clock-find-position): add statement
  to let clause to bind org-clock-into-drawer to result of function
  eval, change let to let* since the binding is used later in the
  same clause
* doc/org.texi: document that both CLOCK_INTO_DRAWER and
  LOG_INTO_DRAWER can be used to override the contents of variable
  org-clock-into-drawer (or if unset, org-log-into-drawer)
* doc/org.texi: @xref->@pxref

12 years agocontrib/doc/fr-orgcard.tex: Add Thierry Stoehr, Vincent-Xavier Jumel as french transl...
Bastien Guerry [Mon, 27 Jun 2011 09:43:25 +0000 (27 11:43 +0200)]
contrib/doc/fr-orgcard.tex: Add Thierry Stoehr, Vincent-Xavier Jumel as french translators.

Also fix some translations.

12 years agoDelete suspicious + sign.
Bastien Guerry [Mon, 27 Jun 2011 07:31:27 +0000 (27 09:31 +0200)]
Delete suspicious + sign.

Thanks to Nick Dokos for spotting this.

12 years agoob-lob: ensure 'cl is loaded during compilation so we can use flet
Eric Schulte [Mon, 27 Jun 2011 00:13:14 +0000 (26 17:13 -0700)]
ob-lob: ensure 'cl is loaded during compilation so we can use flet

* lisp/ob-lob.el (require): Ensure 'cl is loaded during compilation so
  we can use flet.

12 years agoPublish org-odt-20110626.tar (3 file package)
Jambunathan K [Sun, 26 Jun 2011 13:14:59 +0000 (26 18:44 +0530)]
Publish org-odt-20110626.tar (3 file package)

12 years agoMakefile: Honor PKG_REQ
Jambunathan K [Sun, 26 Jun 2011 13:14:12 +0000 (26 18:44 +0530)]
Makefile: Honor PKG_REQ

12 years agoGenericize org-export-html-* variables and other misc changes.
Jambunathan K [Sun, 26 Jun 2011 13:10:39 +0000 (26 18:40 +0530)]
Genericize org-export-html-* variables and other misc changes.

* lisp/org-html.el (org-html-should-inline-p):
Removed. Re-implemented as org-lparse-should-inline-p.
(org-export-html-format-href): Use org-xml-format-href.
(org-export-html-format-desc): Use org-xml-format-desc
(org-export-html-get-tag-class-name): Removed.
(org-export-html-get-todo-kwd-class-name): Removed.
(org-html-get): Added following new per-backend settings
1. INLINE-IMAGES for org-export-html-inline-images
2. INLINE-IMAGE-EXTENSIONS for
   org-export-html-inline-image-extensions
3. PLAIN-TEXT-MAP for
   org-export-html-protect-char-alist
4. TABLE-FIRST-COLUMN-AS-LABELS for
   org-export-html-table-use-header-tags-for-first-column
5. TODO-KWD-CLASS-PREFIX for
   org-export-html-todo-kwd-class-prefix
6. TAG-CLASS-PREFIX for org-export-html-tag-class-prefix

* lisp/org-lparse.el (org-lparse-should-inline-p): New.
(org-lparse-format-org-link): Use INLINE-IMAGE-EXTENSIONS
(org-xml-encode-plain-text): Use PLAIN-TEXT-MAP
(org-lparse-do-format-table-table): Misc change
(org-xml-fix-class-name): New. Extracted from
org-export-html-get-todo-kwd-class-name
(org-lparse-format-todo): Use org-xml-fix-class-name and
TODO-KWD-CLASS-PREFIX.
(org-lparse-format-org-tags): Use org-xml-fix-class-name and
TAG-CLASS-PREFIX.
(org-xml-format-href): Renamed from org-export-html-format-href
(org-xml-format-desc): Renamed form org-export-html-format-desc

* lisp/org-odt.el (org-odt-format-table-cell): Use
TABLE-FIRST-COLUMN-AS-LABELS.
(org-odt-format-inline-image): Use org-xml-format-href.
(org-odt-format-org-link): Use org-lparse-should-inline-p and
org-xml-format-href, org-xml-format-desc.
(org-export-odt-format-image): Use org-xml-format-desc.
(org-odt-get): Provide default values for INLINE-IMAGES,
INLINE-IMAGE-EXTENSIONS, PLAIN-TEXT-MAP,
TABLE-FIRST-COLUMN-AS-LABELS.

12 years agoob-lob: correctly indent results of non-inline call lines.
Eric Schulte [Sun, 26 Jun 2011 00:56:40 +0000 (25 17:56 -0700)]
ob-lob: correctly indent results of non-inline call lines.

* lisp/ob-lob.el (org-babel-lob-get-info): Correctly indent results of
  non-inline call lines.

12 years agotest: explicitly testing inline call lines at the beginning of a line
Eric Schulte [Sun, 26 Jun 2011 00:46:57 +0000 (25 17:46 -0700)]
test: explicitly testing inline call lines at the beginning of a line

12 years agoob-exp: don't export inline call_ blocks which aren't whitespace padded
Eric Schulte [Sun, 26 Jun 2011 00:45:06 +0000 (25 17:45 -0700)]
ob-exp: don't export inline call_ blocks which aren't whitespace padded

* lisp/ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
  call_ blocks which aren't whitespace padded.

12 years agotests: ensure un-named variables are assigned in the correct order -- passing all...
Eric Schulte [Sat, 25 Jun 2011 22:21:02 +0000 (25 15:21 -0700)]
tests: ensure un-named variables are assigned in the correct order -- passing all tests

12 years agoob: ensure that un-named variables are assigned correctly
Eric Schulte [Sat, 25 Jun 2011 22:20:05 +0000 (25 15:20 -0700)]
ob: ensure that un-named variables are assigned correctly

* lisp/ob.el (org-babel-merge-params): Do not reverse variable order,
  and be sure to increment variable index as appropriate.

12 years agoadding some basic arithmetic to the library of babel
Eric Schulte [Sat, 25 Jun 2011 22:11:08 +0000 (25 15:11 -0700)]
adding some basic arithmetic to the library of babel

12 years agotests: more thorough testing of inline call lines -- passing all tests
Eric Schulte [Sat, 25 Jun 2011 22:06:46 +0000 (25 15:06 -0700)]
tests: more thorough testing of inline call lines -- passing all tests

12 years agoob-lob: fixed problem in inline call line regexp
Eric Schulte [Sat, 25 Jun 2011 22:06:28 +0000 (25 15:06 -0700)]
ob-lob: fixed problem in inline call line regexp

* lisp/ob-lob.el (org-babel-inline-lob-one-liner-regexp): Updated to
  successfully match optional trailing header arguments in square
  brackets.
  (org-babel-lob-get-info): Updated to match the new regexp.

12 years agoob-tests: adding tests of new un-named arguments
Eric Schulte [Sat, 25 Jun 2011 21:41:13 +0000 (25 14:41 -0700)]
ob-tests: adding tests of new un-named arguments

12 years agoob-tests: passing all tests
Eric Schulte [Sat, 25 Jun 2011 21:31:50 +0000 (25 14:31 -0700)]
ob-tests: passing all tests

  fixed alignment of code and removed overly strict hashing test

12 years agoob: fix empty-argument bug introduced by recent inline call lines
Eric Schulte [Sat, 25 Jun 2011 21:25:18 +0000 (25 14:25 -0700)]
ob: fix empty-argument bug introduced by recent inline call lines

* lisp/ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
  then allow them to be so.

12 years agoob: unnamed variables are assigned in order
Eric Schulte [Sat, 25 Jun 2011 21:11:53 +0000 (25 14:11 -0700)]
ob: unnamed variables are assigned in order

* lisp/ob.el (org-babel-merge-params): If variables are not named they
  are assigned in order.

12 years agoob: remove code comments pointing to online documentation
Eric Schulte [Sat, 25 Jun 2011 20:13:54 +0000 (25 13:13 -0700)]
ob: remove code comments pointing to online documentation

* lisp/ob.el: Remove code comment about online documentation.
* lisp/ob-exp.el: Remove code comment about online documentation.
* lisp/ob-lob.el: Remove code comment about online documentation.

12 years agoMove from org-lprint to org-lparse prefix
Jambunathan K [Sat, 25 Jun 2011 04:08:49 +0000 (25 09:38 +0530)]
Move from org-lprint to org-lparse prefix

12 years agoUpstream patches for integrating org-lprint and org-odt.
Jambunathan K [Thu, 23 Jun 2011 10:38:29 +0000 (23 16:08 +0530)]
Upstream patches for integrating org-lprint and org-odt.

12 years agoorg.texi: Fix double-spaces at the end of sentences.
Bastien Guerry [Sat, 25 Jun 2011 09:53:21 +0000 (25 11:53 +0200)]
org.texi: Fix double-spaces at the end of sentences.

Thanks to Julian Gehring for these corrections!

12 years agoorg-export-format-source-code-or-example: Fix commit f0177f (org-odt)
Jambunathan K [Sat, 25 Jun 2011 08:53:14 +0000 (25 10:53 +0200)]
org-export-format-source-code-or-example: Fix commit f0177f (org-odt)

* lisp/org-exp.el (org-export-format-source-code-or-example):
Fix signature of org-<backend>-format-source-code-or-example
function.

12 years agoSplit org-html in to org-html and org-lprint.
Jambunathan K [Wed, 22 Jun 2011 17:23:22 +0000 (22 22:53 +0530)]
Split org-html in to org-html and org-lprint.

12 years agoIntroduced org-lprint prefix.
Jambunathan K [Tue, 21 Jun 2011 04:01:45 +0000 (21 09:31 +0530)]
Introduced org-lprint prefix.

12 years agoob: replace call to called-interactively-p with backwards-compatible interactive-p
Eric Schulte [Sat, 25 Jun 2011 02:48:10 +0000 (24 19:48 -0700)]
ob: replace call to called-interactively-p with backwards-compatible interactive-p

* lisp/ob.el (org-babel-sha1-hash): Replace call to
  called-interactively-p with backwards-compatible interactive-p.

12 years agodoc: documenting the new option for inline call lines
Eric Schulte [Fri, 24 Jun 2011 22:22:42 +0000 (24 15:22 -0700)]
doc: documenting the new option for inline call lines

* doc/org.texi (Evaluating code blocks): Documenting the new option
  for inline call lines.

12 years agoob: export of inline call blocks
Eric Schulte [Fri, 24 Jun 2011 22:16:11 +0000 (24 15:16 -0700)]
ob: export of inline call blocks

* lisp/ob-exp.el (org-babel-exp-lob-one-liners): Appropriate
  replacement of inline call blocks with their results.