Commit Graph

8156 Commits

Author SHA1 Message Date
Nicolas Goaziou abe9550309 Forbid footnotes in some contexts
* lisp/org.el (org-in-block-p): new function.
* lisp/org-footnote.el (org-footnote-forbidden-blocks): new variable.
(org-footnote-in-valid-context-p): new function.
(org-footnote-at-reference-p): use new function. Allow inline
footnotes to start at bol.
2011-07-08 18:08:34 +02:00
Bastien Guerry b7cbf687de ob-lilypond.el: delete useless comment. 2011-07-08 17:54:44 +02:00
Matthew Sauer 4693a3632f Fix ob-lilypond.el compiler error: org-babel-tangle undefined function 2011-07-08 17:33:12 +02:00
emacs 87aa678e45 Update README_GIT 2011-07-08 15:22:21 +00:00
Bastien Guerry 57dd93f8ea contrib/babel/library-of-babel.org: Added languages section. 2011-07-08 16:38:52 +02:00
Eric Schulte baa83dacc7 support for fomus code blocks added to contrib
Thanks to Torsten Anders for contributing this functionality
2011-07-08 08:20:12 -06:00
Bastien Guerry e6f45face6 Rename org-export-convert-* to org-lparse-convert-*
The org-export-* prefix is confusing here, as these functions
seem to be part of org-exp.el.  Let's name them by the library
they are in (and rely on) for now -- maybe this will change
when we move the ODT exporter to the core.
2011-07-08 12:39:05 +02:00
Bastien Guerry 227bd77874 contrib/lisp/org-odt.el: rename org-export-convert-process.
Rename org-export-convert-process to org-lparse-convert-process.

Other cosmetic changes.
2011-07-08 12:32:15 +02:00
Bastien Guerry b5feb951a4 contrib/lisp/org-lparse.el: New defcustom `org-lparse-use-flashy-warning'
* org-lparse.el (org-lparse-use-flashy-warning): New
defcustom.
(org-lparse-warn): Use it.
2011-07-08 12:28:35 +02:00
Bastien Guerry aea3efde8f doc/org.texi: be a bit less formal in ODT's "Additional documentation" 2011-07-08 12:20:01 +02:00
Bastien Guerry 0c7f3726fa org-ascii.el: fix `org-export-as-utf8'.
* org-ascii.el (org-export-as-utf8): fix call to
`org-called-interactively-p': it requires an argument.  Also
fix the docstring.
2011-07-08 11:56:24 +02:00
Bastien Guerry 0a0fb300f3 Merge branch 'master' of orgmode.org:org-mode 2011-07-08 09:59:28 +02:00
Tassilo Horn dc59011473 org-mobile.el: Fix org-mobile-push with custom functions 2011-07-08 08:30:31 +02:00
Eric Schulte 197d23cc6f ob-lilypond: add to make file and fix compiler warnings
* Makefile (LISPF): Adding ob-lilypond.el.
* lisp/ob-lilypond.el (show-all): Declaring function from outline.el.
  (org-babel-default-header-args:lilypond): Declared.
  (ly-process-basic): Use the appropriate prefix for the temporary
  file, and don't call a function from ob-dot.el.
  (ly-version): Let-bind a free variable.
2011-07-07 19:34:08 -06:00
Bastien Guerry f305a6f81a org.texi: Add Lilypond and Awk as supported languages.
* install/git/org-mode/doc/org.texi (Languages): Add Lilypond and
Awk as supported languages.

Thanks to Torsten Anders for spotting this.
2011-07-07 22:00:30 +02:00
Bastien Guerry c75aa036a2 contrib/org-lparse.el and org-odt.el: cosmetic changes. 2011-07-07 15:18:47 +02:00
Bastien Guerry 468e38de90 org.texi: minor fix: use english version for DATE.
Thanks to Giovanni Ridolfi for spotting this!
2011-07-07 13:44:56 +02:00
Bastien Guerry 6a76a485a0 Makefile: Remove dash from git commands
I.e. "git tag" instead of "git-tag".
2011-07-07 13:43:25 +02:00
Bastien Guerry c9b49c05a6 Makefile: minor fix to the git command in make testrelease 2011-07-07 08:53:40 +02:00
Bastien Guerry 8567831ff8 org-footnote.el: silent compiler warning.
Declare  `org-bracket-link-regexp'.

Thanks to Achim Gratz for catching this.
2011-07-06 22:58:40 +02:00
Bastien Guerry 9c05a7c781 Bump to version 7.6 2011-07-06 21:06:03 +02:00
Bastien Guerry 0fba25a37f Bump to version 7.6 2011-07-06 21:05:28 +02:00
Bastien Guerry 0f5cc60a24 Bump to version 7.6. 2011-07-06 21:05:11 +02:00
Bastien Guerry ff038caae5 Revert "Silence byte-compiler with a new alias: filter-buffer-substring-functions."
This reverts commit 5a2eec3207.

The replacement of `buffer-substring-filters' by
`filter-buffer-substring-functions' requires some rewriting
of functions like `org-indent-remove-properties-from-string'.
2011-07-06 20:56:39 +02:00
Bastien Guerry 737241402a org-indent.el: tiny docstring fix. 2011-07-06 20:49:55 +02:00
Bastien Guerry 382e69ee6c org-publish.el: fix bug in `org-publish-cache-file-needs-publishing'.
* install/git/org-mode/lisp/org-publish.el
(org-publish-cache-file-needs-publishing): only check against .org
files.
2011-07-06 19:21:50 +02:00
Bastien Guerry 7a88eaec29 New face: org-default.
* install/git/org-mode/lisp/org.el (org-mode): Use org-default as
the default face in org-mode.

* install/git/org-mode/lisp/org-faces.el (org-default): New face.

M-x customize-face RET org-default RET lets the user define a default
face for org-mode.
2011-07-06 17:25:29 +02:00
Bastien Guerry c6b22dee33 org-publish.el: Take #+INCLUDE: directives into account.
* install/git/org-mode/lisp/org-publish.el
(org-publish-cache-file-needs-publishing): Takes care of more
recently included files, returning `t' in case the file including
them needs to be republished.
2011-07-06 17:04:07 +02:00
Martyn Jago 514ed6b79c ob-lilypond: more consistent behavior with other code block languages
>    Hi
>
>    I've added functionality to make ob-lilypond act in a consistent
>    org-babel way by default (think ob-dot).
>
>    The previous modus operandi is now known as arrange-mode and is
>    selected by setting ly-arrange-mode to t
>
>    More details including examples are at
>    http://github.com/mjago/ob-lilypond
2011-07-06 07:17:29 -06:00
Bastien Guerry c86a84828d EXPERIMENTAL/org-export.el: Delete redundant function.
`org-export-export-preprocess-string' was a dummy copy of
`org-export-preprocess-string', adapted for specific needs
of org-mw-export.  We now use `org-export-preprocess-string'
directly.  This requires a minor change in this latter function:
if :for-backend is not explicitely passed, then the let binding
of `org-export-current-backend' falls back on the previous value
of org-export-current-backend'.
2011-07-06 12:56:53 +02:00
Bastien Guerry 91b6f11a04 Rename experimental file org-mediawiki.el to org-mw.el.
This version also introduces many fixes.
2011-07-06 12:53:19 +02:00
Nicolas Goaziou 301b3450fe org-exp: remove tasks before normalizing footnotes
* lisp/org-exp.el (org-export-preprocess-string): if the last subtree
  is a task, footnotes may be removed along with the subtree. This
  patch ensures footnotes are put at the end of the buffer after the
  subtree has been removed.
2011-07-05 20:42:15 +02:00
Nicolas Goaziou de0fcdffa4 org-footnote: distinguish footnotes from links
* lisp/org-footnote.el (org-footnote-at-reference-p): verify that what
  looks like a footnote doesn't belong to a link.
(org-footnote-next-reference-or-definition): check more strictly
footnote definitions.
2011-07-05 14:01:44 +02:00
Bastien Guerry 43c08a1fbd org.texi: avoid export problem with double dashes.
Thanks to Sébastien Delafond for reporting this.
This closes Debian bug #632158 - http://bugs.debian.org/632158
2011-07-05 12:28:09 +02:00
Bastien Guerry 5a2eec3207 Silence byte-compiler with a new alias: filter-buffer-substring-functions.
When `filter-buffer-substring-functions' is not a known variable to
Emacs (for versions < 24.1), we alias it to `buffer-substring-filters'.
2011-07-05 12:00:15 +02:00
Bastien Guerry b109cbfab5 Makefile: add `make targets' to document possible targets
Thanks to Jude DaShiell for this suggestion, and to Nick Dokos for
comments.
2011-07-05 11:27:13 +02:00
Bastien Guerry 330ed08feb org.el: fix `org-end-of-meta-data-and-drawers'
Back to the previous version of `org-end-of-meta-data-and-drawers',
with a better fix.

Thanks to Eric Abrahamsen for this.
2011-07-05 11:05:20 +02:00
Deech 5a5036cc13 Ignore errors when launching a language's mode when tangling a source block.
The lua-mode for instance was throwing errors that killed the tangling process.

* lisp/ob-tangle.el (org-babel-tangle): Ignore errors thrown by
  language modes.
2011-07-04 15:00:17 -06:00
Eric Schulte c22c904718 test: adding simple regression test for table formula evaluation 2011-07-04 12:13:41 -06:00
Eric Schulte 20401ecd6d test: small changes to ensure proper setup... passing all tests 2011-07-04 12:04:43 -06:00
Nicolas Goaziou dfd1257eb3 Add missing white spaces also in Org guide 2011-07-04 18:42:29 +02:00
Nicolas Goaziou 89b94b2459 Add some white spaces missing in documentation 2011-07-04 18:36:45 +02:00
Suvayu Ali 71d871f96e Improve "Images in LaTeX export" documentation
* Mention use of keywords like multicolumn and float
* Remove previous mention of hack with placement option
  as per comments on the mailing list. The hack is
  better suited for Worg.
2011-07-04 15:03:06 +02:00
Eric S Fraga 9f056593a5 org-table.el: Er... fix the previous fix about time formulas computation.
The error was introduced by Bastien, not Maciek Starzyk.  Bzg was
trying to fix things manually too hastily :)
2011-07-04 12:23:25 +02:00
Bastien Guerry b9af1d0cd5 ob-ref.el: declare two functions.
Declare `org-id-find-id-in-file' and `org-show-context'.

Thanks to Achim Gratz for spotting this.
2011-07-04 11:05:07 +02:00
Rémi Vanicat 5a20035809 org-agenda.el: fix bug in org-diary-class.
calendar-absolute-from-gregorian returns a number of day and
should not be used here.
2011-07-04 11:00:54 +02:00
Maciek Starzyk 429b1cc81a org-table.el: Fix bug in formula duration computation. 2011-07-04 10:51:29 +02:00
Bastien Guerry 71eff05694 org-footnote.el: fix a few compiler warnings.
Thanks to Achim Gratz for catching them.
2011-07-03 21:32:41 +02:00
Eric Schulte e409a859ff ob-python: inhibit return of the eoe string during session evaluation
* lisp/ob-python.el (org-babel-python-evaluate-session): Inhibit
  return of the eoe string during session evaluation.
2011-07-03 12:12:11 -06:00
Eric Schulte fcede7c577 ob-python: enough newlines to ensure a return when ":results output :session"
* lisp/ob-python.el (org-babel-python-evaluate-session): Enough
  newlines to ensure a return when ":results output :session".
2011-07-03 12:08:13 -06:00