Commit graph

4933 commits

Author SHA1 Message Date
Dan Davison 1a43a5939b Merge branch 'octave-matlab' 2010-04-30 18:26:37 -04:00
Dan Davison a61de7b130 babel: matlab: don't try matlab-shell if using emacs link 2010-04-30 18:23:36 -04:00
Eric Schulte a3cc050a96 babel: `org-babel-get-colnames' no longer requires hline 2010-04-30 13:03:46 -06:00
Dan Davison 6f399c20b6 babel: Allow EmacsLink to be used for matlab session evaluation
To use EmacsLink, the user will need to set
org-babel-matlab-with-emacs-link to a non-nil value, and also arrange
that (matlab-with-emacs-link) evaluates to a non-nil value.
2010-04-30 14:39:31 -04:00
Dan Davison 10a07a644b babel: R: allow forcing of colnames without hline 2010-04-30 14:14:27 -04:00
Dan Davison 7f3e64bfb4 babel: R: output colnames when other languages would 2010-04-30 14:14:13 -04:00
Carsten Dominik 7f085d0e5c Agenda: Speed-up comparing entries when sorting
The comparison function now only computes the comparisons actually needed.
2010-04-30 07:54:18 +02:00
Carsten Dominik 4c2e8c359b New agenda sorting strategy alphabetically
Requested by John Wiegley
2010-04-30 07:31:43 +02:00
Robert P. Goldman 413e6b4eee Add handling of blockquote and output formats that must be flowed.
Added a handler for blockquotes.

Also added :body-newline-paragraph to the org-set-generic-type.  This is
intended to help handling output formats (like tikiwiki) where newlines are
treated as paragraph separators, instead of being used to fill (i.e., the
destination is expected to do the word-wrapping).  If this is set to T then
org-export-generic will emit a newline character when it sees a blank
line.  This should be used in concert with a value like "%s " for
:body-line-format and nil for :body-line-wrap.
2010-04-29 15:57:03 +02:00
Carsten Dominik ef51006a8f HTML export: Fix alignment bug
Patch by Stephen Peters.

Stephen writes:

> When creating a table, I was noticing that the
> <colgroup><col>... provides useful alignment information based on
> whether or not the column has numbers in it.  I think, however, that
> there is a mistake in this routine.  Take, for example, the following
> table:
>
> |  Id | Task         | Developer | Estimate | Spent | Remaining | Comp.% | Updated         |
> |-----+--------------+-----------+----------+-------+-----------+--------+-----------------|
> |   1 | Task One     | SLP       |        1 |     0 |         1 |      0 | SLP, 2010-04-27 |
> |   2 | Task Two     | SLP       |        1 |     0 |         1 |      0 | SLP, 2010-04-27 |
> |   3 | Task Three   | SLP       |        2 |     0 |         2 |      0 | SLP, 2010-04-27 |
> |   4 | Task Four    | SLP       |        2 |     0 |         2 |      0 | SLP, 2010-04-27 |
> |   5 | Task Five    | SLP       |      .25 |     0 |      0.25 |      0 | SLP, 2010-04-27 |
> | 5.1 | Another Task | XML team  |        0 |     1 |         0 |      0 | SLP, 2010-04-27 |
> |   6 | Task Six     | SLP       |      .25 |     0 |      0.25 |      0 | SLP, 2010-04-27 |
> | 6.1 | More Tasks   | DB team   |        3 |     0 |         3 |      0 | SLP, 2010-04-27 |
> |   7 | Task Seven   | SLP       |        3 |     0 |         3 |      0 | SLP, 2010-04-27 |
>
> When the colgroup list is created for this table, it reads:
>
> <colgroup><col align="right" /><col align="left" /><col align="left" /><col align="right" /><col align="right" /><col align="left" /><col align="left" /><col align="left" />
> </colgroup>
>
> Note that the first columns are correct, but the last few are not.  It
> should read right, left, left, right, right, right, right, left.
>
> I believe that this is due to the (< i nline) comparison within
> org-format-org-table-html, which is nonsensical because it's trying to
> compare a column number with a number of rows.  I've attached a patch
> for the problem.
2010-04-29 15:01:10 +02:00
Carsten Dominik 7d6013dc41 Fix typo 2010-04-29 07:27:02 +02:00
Carsten Dominik 9fdff15758 LaTeX export: Fix bug with export of x^{(0)}
Report by Dan Davison
2010-04-28 17:21:41 +02:00
Takaaki ISHIKAWA e41f76a1f7 Add a description attribute to an exported iCal file. 2010-04-28 17:00:40 +02:00
Carsten Dominik 3c9a47cccc Fix typo 2010-04-28 09:57:46 +02:00
Carsten Dominik 99162353c7 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-04-28 08:49:55 +02:00
Carsten Dominik ce6caec446 Automatically remove lines with formatting cookies when exporting tables
Lines that only contain formatting cookies like <l20> or <10> will now
be removed automatically.  Optionally, the first field in a row can
also be "/".
2010-04-28 08:49:35 +02:00
Eric Schulte 6a1f5b2bcb babel: ob-emacs-lisp now wraps body in a progn on execute 2010-04-27 13:55:48 -06:00
Dan Davison 77731fbe55 Merge branch 'master' of git://repo.or.cz/org-mode 2010-04-27 15:03:24 -04:00
Dan Davison 837e898936 babel: Fall back to generic expand function during tangling 2010-04-27 15:02:55 -04:00
Carsten Dominik 9822a6799a Push a mark before the agenda can move point in a buffer
Patch by Andreas Seltenreich.
2010-04-27 12:00:03 +02:00
Carsten Dominik 0d4883f7de Fix typos and add customization group for footnotes
Patch by Michael Fornius
2010-04-27 08:11:16 +02:00
Carsten Dominik 6cb5382669 Fix a bug with item demotion
M-right did not work on the last item of a list.

Report by Matti de Craene.
2010-04-27 07:57:22 +02:00
Carsten Dominik 91749e6594 Make the inclusion of packages for snippet creation optional 2010-04-27 07:44:14 +02:00
Carsten Dominik d555545b48 Docbook export: Implement ordered lists with offset 2010-04-27 06:58:48 +02:00
Dan Davison 068e414dc7 Merge branch 'master' of git://repo.or.cz/org-mode 2010-04-26 14:44:54 -04:00
Carsten Dominik a9539f449c Implement doi: links
Patch by Lennart Borgman.
2010-04-26 17:12:45 +02:00
Carsten Dominik 489f41f366 Document counter start cookies for ordered lists 2010-04-26 16:41:33 +02:00
Carsten Dominik 3fb4f28860 Implement list starter cookies also in Org-mode, and for ASCII export 2010-04-26 16:35:23 +02:00
Carsten Dominik b82652d90c Implement offsets for ordered lists
1. [@start:12] will star a lit a number 12
2010-04-26 14:29:17 +02:00
Carsten Dominik 35204940d2 Document windmove work-around 2010-04-26 11:06:10 +02:00
Carsten Dominik 13fbf75a14 Fix a typo 2010-04-26 06:59:08 +02:00
Carsten Dominik 4a03e44858 Turn off indent-tabs-mode when org-indent-mode is on
This makes for peter (if still imperfect) tag alignment.

Patch by Jason Dunsmore
2010-04-26 06:58:21 +02:00
Carsten Dominik de0903ba9f Added a symlink .dir-locals.el 2010-04-26 06:46:16 +02:00
Carsten Dominik 4dc0e6062d Remove .dir-locals.el 2010-04-26 06:45:32 +02:00
Carsten Dominik 5faad3ce87 Make sure clock mode line display is removed when there is not clock
Patch by Sebastian Rose.
2010-04-26 00:02:49 +02:00
Carsten Dominik 5fd8d0ea33 Fix docstring of `org-export-format-drawer-function'
Patch by Diego F. S. Ramos.
2010-04-25 23:56:37 +02:00
Carsten Dominik 3a62d52570 Redo the agenda after refiling 2010-04-25 23:52:51 +02:00
Dan Davison 3f9be0bb15 Merge branch 'master' of git://repo.or.cz/org-mode 2010-04-25 09:41:13 -04:00
Carsten Dominik da775ffebf Stop table mapping from emitting messages 2010-04-25 13:57:39 +02:00
Carsten Dominik c370a5300b Modify xhtml IDs to comply with CSS standards 2010-04-25 13:44:50 +02:00
Carsten Dominik 18c5609ea0 Make sure result buffer of LaTeX export is in LaTeX mode
Report and patch from Dan Davison
2010-04-25 09:13:42 +02:00
Carsten Dominik de5d40ba98 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-04-25 09:03:29 +02:00
Carsten Dominik 3864204d37 Four more hooks in the S-cursor commands 2010-04-25 09:03:18 +02:00
Eric Schulte a2518df498 Merge branch 'master' of git+ssh://eschulte@repo.or.cz/srv/git/org-mode 2010-04-24 13:26:49 -06:00
Eric Schulte 44bb82d38e babel: `org-babel-ref-resolve-reference' doesn't break paren nesting when resolving indicies 2010-04-24 13:26:34 -06:00
Dan Davison 037061e7d8 Merge branch 'master' of git://repo.or.cz/org-mode 2010-04-24 14:35:06 -04:00
Carsten Dominik 3b377f52dd Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-04-24 17:21:36 +02:00
Eric Schulte b8adc74894 babel: ob-emacs-lisp and ob-clojure now only wrap bodies in `let' forms when variables are present 2010-04-24 09:21:14 -06:00
Eric Schulte bc0a6c624d babel: adding :no-expand option to code blocks to inhibit body expansion 2010-04-24 09:08:27 -06:00
Carsten Dominik 4462229742 Fix table formula bug with negative result numbers
Willian Henney writes:

> The following is using today's git trunk of org-mode with emacs
> 23.1.94.1 (aquamacs 2.0preview5)
>
>    Consider the following table
>
>    | -8 |
>    |    |
>    |    |
>    |    |
> #+TBLFM: $1=@-1 - 1::@1$1=-8
>
>    Evaluate formulas once (C-u C-c *):
>
>    | -8 |
>    | -9 |
>    |----|
>    | -1 |
>
>    Evaluate formulas again (C-u C-c *):
>
>    | -8 |
>    | -9 |
>    |----|
>    |----|
>
>    What I expected:
>
>    |  -8 |
>    |  -9 |
>    | -10 |
>    | -11 |
>
> The problem always seems to start at -10. When I turn on table
> debugging, it first calculates the -10 value correctly, but then fails
> to recognise the -10 cell as a number when calculating the next row,
> using 0 instead, which results in -1. This is because during the
> intermediate formatting of the cell the minus sign in -10 abuts the
> column separator: "|-10 |", and the "|-" part is then interpreted as
> the beginning of an hline.
2010-04-24 14:39:28 +02:00