org-mode/org-kjn.git
12 years agoRelease 7.01brelease_7.01b
Carsten Dominik [Tue, 20 Jul 2010 13:17:33 +0000 (20 15:17 +0200)]
Release 7.01b

12 years agoMerge branch 'master' into maint
Carsten Dominik [Tue, 20 Jul 2010 13:14:14 +0000 (20 15:14 +0200)]
Merge branch 'master' into maint

12 years agoUpdate usage message of pw script
Carsten Dominik [Tue, 20 Jul 2010 12:49:15 +0000 (20 14:49 +0200)]
Update usage message of pw script

12 years agoUpdate pw script to send better email notifications
Carsten Dominik [Tue, 20 Jul 2010 12:43:11 +0000 (20 14:43 +0200)]
Update pw script to send better email notifications

The workflow is now:

$ pw branch NNN

  To create a branch with patch numb er NNN

$ git commit --amend

  To check and modify the commit message where necessary

$ pw merge -m "Comment for notification email" NNN

  To merge that branch.  The -m comment will be added to the
  notification email that is sent to the mailing list.

The -m comment can also be given to the update command,if the update
sends an email:

$ pw update -s "changes requested" -m "comment for email" NNN

12 years agofix infinite loop in csv table import
Eric Schulte [Tue, 20 Jul 2010 01:53:30 +0000 (20 01:53 +0000)]
fix infinite loop in csv table import

* lisp/org-table.el (org-table-convert-region): don't continue csv
importation which the point catches the end, this fixes an infinite
loop which was caused by the (point) never catching up with the
"end" marker

Hi,

I've just noticed that I get an infinite loop when importing csv tables
into Org-mode tables.  For example calling

  (org-table-convert-region (point-min) (point-max) '(4))

from inside of a simple text file containing the following

--8<---------------cut here---------------start------------->8---
1,2,3
1
2
3
5
--8<---------------cut here---------------end--------------->8---

results in an infinite loop.  The attached patch fixes this issue [1],
however it seems weird that this would just surface now, given that the
code in question has been in the repo since last fall

,----
| commit 59c9c4cdd4ae974dfb92ab441462b3fee48ab5af
| Author: Carsten Dominik <carsten.dominik@gmail.com>
| Date:   Mon Oct 26 12:31:16 2009 +0100
|
|     Correctly interpret CVS tables with quoted fields
|
|     The csv parser was very primitive, ignoring quoted fields.  This is
|     now fixed.
`----

Has anyone else noticed this problem? Should I go ahead and apply this
patch?

Best -- Eric

Footnotes:
[1]

>From 3c3f4ca9a34dca23051ca2f4e4518b416338d4f4 Mon Sep 17 00:00:00 2001
From: Eric Schulte <schulte.eric@gmail.com>
Date: Mon, 19 Jul 2010 13:45:25 -0700
Subject: [PATCH] org-table: fix infinite loop in table importation

* lisp/org-table.el (org-table-convert-region): don't continue csv
  importation which the point catches the end, this fixes an infinite
  loop which was caused by the (point) never catching up with the
  "end" marker

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Tue, 20 Jul 2010 07:27:37 +0000 (20 09:27 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoMake org-capture use `org-default-notes-file' if the file is not specified
Carsten Dominik [Tue, 20 Jul 2010 05:54:11 +0000 (20 07:54 +0200)]
Make org-capture use `org-default-notes-file' if the file is not specified

* lisp/org-macs.el (org-string-nw-p): New function.
* lisp/org-capture.el (org-capture-import-remember-templates): Interpret
an empty string as request to use `org-default-notes-file'.
(org-capture-target-buffer): If the FILE is not a (non-empty) string,
use `org-default-notes-file'.

12 years agoNo longer try to include ChangeLog into the distribution
Carsten Dominik [Tue, 20 Jul 2010 05:20:34 +0000 (20 07:20 +0200)]
No longer try to include ChangeLog into the distribution

ChangeLog has been removed.

12 years agolibrary-of-babel: more flexible reading of files into elisp
Eric Schulte [Tue, 20 Jul 2010 00:00:20 +0000 (19 17:00 -0700)]
library-of-babel: more flexible reading of files into elisp

12 years agolibrary of babel: support for reading/writing to/from Google docs
Eric Schulte [Tue, 20 Jul 2010 00:12:53 +0000 (19 17:12 -0700)]
library of babel: support for reading/writing to/from Google docs

12 years agoFix manual and guide tools to remove broken links
Carsten Dominik [Mon, 19 Jul 2010 17:00:24 +0000 (19 19:00 +0200)]
Fix manual and guide tools to remove broken links

12 years agoFix some typos
Carsten Dominik [Mon, 19 Jul 2010 12:58:28 +0000 (19 14:58 +0200)]
Fix some typos

12 years agoFix customize type for capture template function
Carsten Dominik [Mon, 19 Jul 2010 12:42:06 +0000 (19 14:42 +0200)]
Fix customize type for capture template function

* lisp/org-capture.el (org-capture-templates): Fix customize type

12 years agoEstimate ranges in column view
Carsten Dominik [Mon, 19 Jul 2010 11:56:17 +0000 (19 13:56 +0200)]
Estimate ranges in column view

* lisp/org-colview-xemacs.el (org-columns-compile-map):
(org-columns-number-to-string):
(org-columns-string-to-number): Handle estimate ranges.
(org-estimate-mean-and-var):  New function.
(org-estimate-combine):  New function.
(org-estimate-print):  New function.
(org-string-to-estimate): New function.

12 years agoEstimate ranges in column view
Michael Gauland [Tue, 22 Jun 2010 07:36:10 +0000 (22 07:36 +0000)]
Estimate ranges in column view

Carsten,
Here is a patch for a new 'est+' summary type, including corresponding changes for xemacs and the manual. I've done basic testing on the GNU emacs version, but not the xemacs code.

I'm not sure the change to the manual provides the right amount of information
in the right place; I'd be happy to re-write to make it find in
better. Similarly, the name of the summary type is entirely up to you.

I didn't know whether to send this directly to you, or to the list; if it should go to the list I'd be happy to send it there directly.

Thanks for the chance to contribute,
Mike

12 years agoorg.texi: Fix info file path
Carsten Dominik [Mon, 19 Jul 2010 11:33:24 +0000 (19 13:33 +0200)]
org.texi: Fix info file path

12 years agoMake setversion.pl also change the version number of the guide
Carsten Dominik [Mon, 19 Jul 2010 11:31:14 +0000 (19 13:31 +0200)]
Make setversion.pl also change the version number of the guide

12 years agoBetter description of the guide on the homepage
Carsten Dominik [Mon, 19 Jul 2010 11:14:55 +0000 (19 13:14 +0200)]
Better description of the guide on the homepage

12 years agoRemove the various ChangeLog files
Carsten Dominik [Mon, 19 Jul 2010 10:59:30 +0000 (19 12:59 +0200)]
Remove the various ChangeLog files

We are no longer using them - when a ChangeLog is need, we generate it
from the git history.

12 years agoMake the guide the first document references on the website
Carsten Dominik [Mon, 19 Jul 2010 10:54:44 +0000 (19 12:54 +0200)]
Make the guide the first document references on the website

12 years agoMention release 7.01 on the website, push release number to 7.01trans
Carsten Dominik [Mon, 19 Jul 2010 06:33:24 +0000 (19 08:33 +0200)]
Mention release 7.01 on the website, push release number to 7.01trans

12 years agoRelease 7.01release_7.01
Carsten Dominik [Mon, 19 Jul 2010 06:29:24 +0000 (19 08:29 +0200)]
Release 7.01

12 years agoNew option -o for setversion script
Carsten Dominik [Mon, 19 Jul 2010 06:21:12 +0000 (19 08:21 +0200)]
New option -o for setversion script

12 years agoFinal fixes for release
Carsten Dominik [Mon, 19 Jul 2010 05:34:37 +0000 (19 07:34 +0200)]
Final fixes for release

12 years agoFix docstrings in org.el
Philip Rooke [Mon, 19 Jul 2010 05:17:51 +0000 (19 07:17 +0200)]
Fix docstrings in org.el

This is the 9th patch in this series.

12 years agoadded link to "literal export" from Babel in orgguide
Eric Schulte [Sun, 18 Jul 2010 20:38:12 +0000 (18 13:38 -0700)]
added link to "literal export" from Babel in orgguide

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Sun, 18 Jul 2010 20:28:10 +0000 (18 22:28 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoDocstring fixes
Philip Rooke [Sun, 18 Jul 2010 21:20:08 +0000 (18 21:20 +0000)]
Docstring fixes

This is the eighth patch in a series that makes some straightforward
corrections to a number of docstrings.  Each change is normally to:

- correct a typo, or
- fix up hyperlinks to function or variable names, or
- ensure slightly better conformance with the documentation guidelines
  and tips given in the Elisp manual

12 years agoorgguide: slight babel documentation change for better page breaks
Eric Schulte [Sun, 18 Jul 2010 18:11:11 +0000 (18 11:11 -0700)]
orgguide: slight babel documentation change for better page breaks

12 years agoDocstring fixes part 6
Phil Rooke [Sun, 18 Jul 2010 15:04:15 +0000 (18 17:04 +0200)]
Docstring fixes part 6

12 years agoFix some trivial typos
Phil Rooke [Sun, 18 Jul 2010 14:44:33 +0000 (18 15:44 +0100)]
Fix some trivial typos

People like Douglas Crockford (a member of the JavaScript 2.0 committee
at ECMA and author of JavaScript: The Good Parts) capitalize the J and
the S in JavaScript.  This patch fixes some references to follow this
standard.

12 years agoUse proper quote and backtick in PDF output
David Maus [Sun, 18 Jul 2010 07:16:45 +0000 (18 09:16 +0200)]
Use proper quote and backtick in PDF output

* texinfo.tex: Update to Texinfo 4.13.

* org.texi: Use proper quote and backtick in PDF output.

* orgguide.texi: Use proper quote and backtick in PDF output.

12 years agoFix problem when org-capturing text from French email
David Maus [Sat, 17 Jul 2010 11:40:05 +0000 (17 11:40 +0000)]
Fix problem when org-capturing text from French email

* lisp/org-gnus.el (org-gnus-store-link):  Remove text properties
of subject string to avoid Emacs bug

12 years agoFinishing touches to the release notes
Carsten Dominik [Sun, 18 Jul 2010 07:00:42 +0000 (18 09:00 +0200)]
Finishing touches to the release notes

12 years agoMerge branch 'changes'
Carsten Dominik [Sun, 18 Jul 2010 06:58:55 +0000 (18 08:58 +0200)]
Merge branch 'changes'

12 years agoCredit to David Maus in the manual
Carsten Dominik [Sun, 18 Jul 2010 06:11:33 +0000 (18 08:11 +0200)]
Credit to David Maus in the manual

12 years agoUse correct variable when calculating `org-timer-start-time'
David Maus [Sat, 17 Jul 2010 11:21:53 +0000 (17 11:21 +0000)]
Use correct variable when calculating `org-timer-start-time'

* org-timer.el (org-timer-start): Use correct variable when
calculating `org-timer-start-time'.

12 years agoLaTeX/pdf processing: Quote file argument for the shell
Carsten Dominik [Sun, 18 Jul 2010 05:50:43 +0000 (18 07:50 +0200)]
LaTeX/pdf processing: Quote file argument for the shell

* lisp/org-latex.el (org-export-as-pdf): Quote file argument for the shell.

Patch by Gregory Grubbs.

12 years agoQuote path argument in ob-ditaa
Gregory J. Grubbs [Sun, 18 Jul 2010 09:01:24 +0000 (18 09:01 +0000)]
Quote path argument in ob-ditaa

* lisp/ob-ditaa.el (org-babel-execute:ditaa): Quote path to ditaa executable.

12 years agoCapture: Change order of escape processing
Carsten Dominik [Sun, 18 Jul 2010 05:37:52 +0000 (18 07:37 +0200)]
Capture: Change order of escape processing

* lisp/org-capture.el (org-capture-fill-template): Do inserting file
contents and expanding sexp escapes first, so that further escape
processing can happen in the inserted text.

This was a request by Sebastian Rose.

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Sun, 18 Jul 2010 05:33:53 +0000 (18 07:33 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoMinor documentation fix
Carsten Dominik [Sun, 18 Jul 2010 05:33:50 +0000 (18 07:33 +0200)]
Minor documentation fix

Patch by Sebastian Rose

12 years agoCorrect some doc strings [part 5]
Philip Rooke [Sat, 17 Jul 2010 18:53:36 +0000 (17 18:53 +0000)]
Correct some doc strings [part 5]

This is the fifth patch in a series that makes some straightforward
corrections to a number of docstrings.  Each change is normally to:

- correct a typo, or
- fix up hyperlinks to function or variable names, or
- ensure slightly better conformance with the documentation guidelines
  and tips given in the Elisp manual

No attempt is made to provide missing docstrings or document arguments.

Cheers,

Phil

12 years agoDon't throw an error when trying to decrypt before first headline
David Maus [Fri, 16 Jul 2010 20:25:45 +0000 (16 20:25 +0000)]
Don't throw an error when trying to decrypt before first headline

* lisp/org-crypt.el (org-decrypt-entry): Silently do nothing when
cursor is before first headline.

12 years agoorgguide.texi: Corrected a typo in the new Babel chapter
Tom Dye [Sat, 17 Jul 2010 00:53:04 +0000 (16 14:53 -1000)]
orgguide.texi: Corrected a typo in the new Babel chapter

12 years agominor babel documentation fixes
Eric Schulte [Sat, 17 Jul 2010 00:28:40 +0000 (16 17:28 -0700)]
minor babel documentation fixes

12 years agoA good start on the Babel section of the orgguide
Eric Schulte [Fri, 16 Jul 2010 19:47:38 +0000 (16 12:47 -0700)]
A good start on the Babel section of the orgguide

12 years agoob-tangle: fixed bug, org-babel-post-tangle-hook was using an undefined macro
Eric Schulte [Fri, 16 Jul 2010 22:55:40 +0000 (16 15:55 -0700)]
ob-tangle: fixed bug, org-babel-post-tangle-hook was using an undefined macro

* lisp/ob-tangle.el (org-babel-with-temp-filebuffer): a macro for
  quickly visiting files with cleanup

  (org-babel-tangle): now using the locally defined
  with-temp-filebuffer macro

12 years agoob-exp: check for info before exporting code blocks -- fixes a latex export issue
Eric Schulte [Fri, 16 Jul 2010 22:34:57 +0000 (16 15:34 -0700)]
ob-exp: check for info before exporting code blocks -- fixes a latex export issue

  Thanks for Nicolas Goaziou for pointing this out

* lisp/ob-exp.el (org-babel-exp-src-blocks): don't attempt to export
  blocks when there is no info match -- this fixes a bug in the latex
  export of code blocks located before the first headline

12 years agoob-ocaml: more robust handling of complex input/output values
Eric Schulte [Fri, 16 Jul 2010 22:00:11 +0000 (16 15:00 -0700)]
ob-ocaml: more robust handling of complex input/output values

* lisp/ob-ocaml.el (org-babel-expand-body:ocaml): now able to
  initialize complex ocaml values without error

  (org-babel-execute:ocaml): more sophisticated parsing of results,
  only grabbing the line immediately preceding the eoe indicator

  (org-babel-ocaml-elisp-to-ocaml): a new function for converting
  complex elisp values like lists to ocaml syntax

  (org-babel-ocaml-read-array): quoting arrays so that they aren't
  interpreted as function calls

12 years agoCorrect some docstrings [part 4]
Philip Rooke [Fri, 16 Jul 2010 21:23:01 +0000 (16 21:23 +0000)]
Correct some docstrings [part 4]

Same rationale as previous patches in this series.

Phil

12 years agoCorrect some docstrings [part 3]
Philip Rooke [Fri, 16 Jul 2010 21:22:01 +0000 (16 21:22 +0000)]
Correct some docstrings [part 3]

This is the third patch in a series that makes some straightforward
corrections to a number of docstrings.  Each change is normally to:

- correct a typo, or
- fix up hyperlinks to function or variable names, or
- ensure slightly better conformance with the documentation guidelines
  and tips given in the Elisp manual

No attempt is made to provide missing docstrings or document arguments.

Cheers,

Phil

12 years agoorg-reload doesn't load language files not in org-babel-load-langs
Eric Schulte [Fri, 16 Jul 2010 17:53:36 +0000 (16 10:53 -0700)]
org-reload doesn't load language files not in org-babel-load-langs

* lisp/org.el (org-reload): ensure that org-reload doesn't load
  language files that are not part of org-babel-load-langs

12 years agoMore credit in the manual
Carsten Dominik [Fri, 16 Jul 2010 12:27:23 +0000 (16 14:27 +0200)]
More credit in the manual

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Fri, 16 Jul 2010 12:15:47 +0000 (16 14:15 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoChanged two uses of setq to let, to fix compiler warnings
John Wiegley [Fri, 16 Jul 2010 06:49:37 +0000 (16 02:49 -0400)]
Changed two uses of setq to let, to fix compiler warnings

12 years agoAdd the ability to remove time ranges specifications
Julien Barnier [Mon, 12 Jul 2010 18:57:24 +0000 (12 18:57 +0000)]
Add the ability to remove time ranges specifications

12 years agoob-C: removing excess newlines around expanded C code bodies
Eric Schulte [Thu, 15 Jul 2010 23:43:06 +0000 (15 16:43 -0700)]
ob-C: removing excess newlines around expanded C code bodies

* lisp/ob-C.el (org-babel-C-expand): removing excess newlines around
  expanded C code bodies

12 years agoCorrect some docstrings [part 2]
Philip Rooke [Thu, 15 Jul 2010 22:54:53 +0000 (15 22:54 +0000)]
Correct some docstrings [part 2]

This is a second patch in a series that makes some straightforward
corrections to a number of docstrings.  Each change is normally to:

- correct a typo, or
- fix up hyperlinks to function or variable names, or
- ensure slightly better conformance with the documentation guidelines
  and tips given in the Elisp manual

No attempt is made to provide missing docstrings or document arguments.

Cheers,

Phil

12 years agoMore work on the list of changes
Carsten Dominik [Thu, 15 Jul 2010 17:32:06 +0000 (15 19:32 +0200)]
More work on the list of changes

12 years agoCorrect some docstrings
Philip Rooke [Thu, 15 Jul 2010 20:26:51 +0000 (15 20:26 +0000)]
Correct some docstrings

This patch makes some straightforward corrections to a number of
docstrings.  Each change is normally to:

- correct a typo, or
- fix up hyperlinks to function or variable names, or
- ensure slightly better conformance with the documentation guidelines
  and tips given in the Elisp manual

No attempt is made to provide missing docstrings or document arguments.

Cheers,

Phil

12 years agoob-c: no longer ignores the :results vector header argument
Eric Schulte [Thu, 15 Jul 2010 06:10:33 +0000 (14 23:10 -0700)]
ob-c: no longer ignores the :results vector header argument

* lisp/ob-C.el (org-babel-C-execute): no longer ignores the :results vector
  header argument

12 years agoFix inclusion of agenda-archives in search view
Matt Lundin [Thu, 15 Jul 2010 04:40:59 +0000 (15 04:40 +0000)]
Fix inclusion of agenda-archives in search view

* org-agenda.el (org-search-view): Fixed inclusion of agenda-archives
in org-agenda-text-search-extra-files.

org-search-view lacked a local binding for
org-agenda-text-search-extra-files. Thus when pop was called on the
variable, the agenda-archives symbol was removed and subsequent
searches failed to include the archives.

12 years agoLocally bind variable `txt'
David Maus [Thu, 15 Jul 2010 10:13:51 +0000 (15 10:13 +0000)]
Locally bind variable `txt'

* org-list.el (org-list-send-list): Locally bind variable
`txt'.

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Thu, 15 Jul 2010 05:20:52 +0000 (15 07:20 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoMinor change
Carsten Dominik [Thu, 15 Jul 2010 05:20:26 +0000 (15 07:20 +0200)]
Minor change

12 years agoob-ref: fixed error caused by missing count function, now using org-count
Eric Schulte [Thu, 15 Jul 2010 00:59:43 +0000 (14 17:59 -0700)]
ob-ref: fixed error caused by missing count function, now using org-count

* lisp/ob-ref.el (org-babel-ref-resolve-reference): removed an error
  introduced while fixing compiler warnings -- required mirroring of
  the count cl-seqs function under the org-mode namespace.

* lisp/org.el (org-count): adding an org-mode version of the cl-seqs
  count function

12 years agoob-dot: can handle arguments
Eric Schulte [Wed, 14 Jul 2010 23:39:19 +0000 (14 16:39 -0700)]
ob-dot: can handle arguments

* lisp/ob-dot.el (org-babel-expand-body:dot): now inserts variable
  arguments rather than ignoring them

  (org-babel-execute:dot): making use of org-babel-expand-body:dot

12 years agoorg-reload: now also reloading babel files
Eric Schulte [Wed, 14 Jul 2010 20:15:07 +0000 (14 13:15 -0700)]
org-reload: now also reloading babel files

* lisp/org.el (org-reload): now also reloading babel files

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Wed, 14 Jul 2010 20:00:16 +0000 (14 22:00 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoCapture, fix template files again
Carsten Dominik [Wed, 14 Jul 2010 19:59:53 +0000 (14 21:59 +0200)]
Capture, fix template files again

Note to self: Next time, just trust David ... :-)

12 years agobabel doc: minor edits
Dan Davison [Wed, 14 Jul 2010 19:20:29 +0000 (14 15:20 -0400)]
babel doc: minor edits

12 years agoMerge branch 'master' of git://repo.or.cz/org-mode
Dan Davison [Wed, 14 Jul 2010 19:01:44 +0000 (14 15:01 -0400)]
Merge branch 'master' of git://repo.or.cz/org-mode

12 years agoob-sh: can now handle variable strings which contain newlines
Eric Schulte [Wed, 14 Jul 2010 18:42:06 +0000 (14 11:42 -0700)]
ob-sh: can now handle variable strings which contain newlines

* lisp/ob-sh.el (org-babel-sh-var-to-sh): shell can now handle input
  strings which contain newlines

12 years agoob-python: can now handle variable strings with newlines
Eric Schulte [Wed, 14 Jul 2010 18:31:38 +0000 (14 11:31 -0700)]
ob-python: can now handle variable strings with newlines

* lisp/ob-python.el (org-babel-python-var-to-python): python can now
  handle input strings with newlines

12 years agodoc: two tiny tweaks to the babel indexing documentation
Eric Schulte [Wed, 14 Jul 2010 18:08:58 +0000 (14 11:08 -0700)]
doc: two tiny tweaks to the babel indexing documentation

12 years agobabel: cleaned up code and improved documentation of indexing into variables
Eric Schulte [Wed, 14 Jul 2010 18:01:57 +0000 (14 11:01 -0700)]
babel: cleaned up code and improved documentation of indexing into variables

* lisp/ob-ref.el (org-babel-ref-index-list): slight code cleanup, also
  now allowing an empty index to mean the entire range

* doc/org.texi (var): updated the documentation of Babel index
  referencing to include working examples covering the full range of
  index behavior

12 years agobabel doc: cleaned up documentation on "Evaluating code blocks"
Eric Schulte [Wed, 14 Jul 2010 16:53:59 +0000 (14 09:53 -0700)]
babel doc: cleaned up documentation on "Evaluating code blocks"

12 years agoCapture: Fix the case of using a template file
Carsten Dominik [Wed, 14 Jul 2010 09:03:27 +0000 (14 11:03 +0200)]
Capture: Fix the case of using a template file

* lisp/org-capture.el (org-capture-set-plist): Make sure txt is a string
before calling `string-match'.
(org-capture-templates): Fix customization type.

Modified from a patch proposal by Johan Friis.

TINYCHANGE

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Wed, 14 Jul 2010 08:54:51 +0000 (14 10:54 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoLaTeX export: Make sure \nbsp{} does not create additional space
Carsten Dominik [Wed, 14 Jul 2010 08:54:39 +0000 (14 10:54 +0200)]
LaTeX export: Make sure \nbsp{} does not create additional space

* lisp/org-latex.el (org-export-latex-preprocess): Make a special case for \nbsp.
(org-latex-entities): Remove the entry for \nbsp.
(org-latex-entities-exceptions): Variable removed.

12 years agoob-eval: no longer throws errors on non-numeric exit codes
Eric Schulte [Wed, 14 Jul 2010 04:11:12 +0000 (13 21:11 -0700)]
ob-eval: no longer throws errors on non-numeric exit codes

* lisp/ob-eval.el (org-babel-eval-error-notify): no longer throws
  errors on non-numeric exit codes

12 years agoFinished editing Babel docstrings
Tom Dye [Tue, 13 Jul 2010 23:20:08 +0000 (13 16:20 -0700)]
Finished editing Babel docstrings

12 years agoMore docstring edits
Tom Dye [Tue, 13 Jul 2010 23:04:47 +0000 (13 16:04 -0700)]
More docstring edits

12 years agoFixed typo in ob-css.el
Tom Dye [Wed, 7 Jul 2010 07:09:59 +0000 (6 21:09 -1000)]
Fixed typo in ob-css.el

12 years agoMinor change to ob-css.el
Tom Dye [Wed, 7 Jul 2010 07:09:17 +0000 (6 21:09 -1000)]
Minor change to ob-css.el

12 years agoWondering if error messages ought to be standardized?
Tom Dye [Tue, 13 Jul 2010 22:56:17 +0000 (13 15:56 -0700)]
Wondering if error messages ought to be standardized?

12 years agoFix bookmarking the capture position
Carsten Dominik [Tue, 13 Jul 2010 12:12:45 +0000 (13 14:12 +0200)]
Fix bookmarking the capture position

* lisp/org-capture.el (org-capture-refile): Do not try to manipulate
bookmark list.
* lisp/org.el (org-refile): Use the correct bookmark here.

12 years agoFinalize documentation about radio lists
Carsten Dominik [Tue, 13 Jul 2010 11:42:03 +0000 (13 13:42 +0200)]
Finalize documentation about radio lists

12 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Carsten Dominik [Tue, 13 Jul 2010 11:36:37 +0000 (13 13:36 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

12 years agoFix radio lists
Carsten Dominik [Tue, 13 Jul 2010 11:34:28 +0000 (13 13:34 +0200)]
Fix radio lists

* lisp/org-list.el (org-list-send-list): Parse list from its true beginning.
* lisp/org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
* doc/org.texi (Radio lists): Fix bug in description of radio lists.

12 years agoFix relative path creation when making a file link
Carsten Dominik [Tue, 13 Jul 2010 10:53:47 +0000 (13 12:53 +0200)]
Fix relative path creation when making a file link

* lisp/org.el (org-insert-link): Correctly determine if we should use
a relative path.

Aidan Gauland writes:

> If I create a link with C-c C-l and give it a relative "file:" link, a
> link is created with an absolute path.  For example, C-c C-l
> file:../foo.org <RET> foo puts
> [[file:~/path/to/working-directory/foo.org][foo]] in the buffer.  I was
> expecting [[file:../foo.org][foo]].

12 years agobabel: consolidate execution messaging into ob.el
Eric Schulte [Tue, 13 Jul 2010 05:26:25 +0000 (12 22:26 -0700)]
babel: consolidate execution messaging into ob.el

* lisp/ob.el (org-babel-execute-src-block): consolidate execution
  messaging into ob.el rather than spread out amongst all the language
  files

12 years agobabel: more informative automatically generated block names in tangled comments
Eric Schulte [Mon, 12 Jul 2010 23:48:05 +0000 (12 16:48 -0700)]
babel: more informative automatically generated block names in tangled comments

* lisp/ob-tangle.el (org-babel-tangle-collect-blocks): more
  informative automatically generated block names in comments

12 years agobabel: adding comments to org-babel-header-arg-names
Eric Schulte [Mon, 12 Jul 2010 23:32:24 +0000 (12 16:32 -0700)]
babel: adding comments to org-babel-header-arg-names

* lisp/ob.el (org-babel-header-arg-names): adding comments to
  org-babel-header-arg-names

12 years agobabel: don't prematurely remove existing results when not caching
Eric Schulte [Mon, 12 Jul 2010 21:38:35 +0000 (12 14:38 -0700)]
babel: don't prematurely remove existing results when not caching

* lisp/ob.el (org-babel-where-is-src-block-result): be sure not to
  remove existing results when the there is no cache header arg

12 years agoorg-exp: raise an error when trying to export code blocks w/o languages
Eric Schulte [Mon, 12 Jul 2010 17:42:59 +0000 (12 10:42 -0700)]
org-exp: raise an error when trying to export code blocks w/o languages

* lisp/ob.el (org-babel-get-src-block-info): ensure that we don't
  match (and return info for) source blocks without a language

* lisp/org-exp.el (org-export-replace-src-segments-and-examples):
  updated source code block regexp so that the presence of a language
  can be explicitly checked.  Also now raising an error when a source
  block does not have a language.

12 years agobabel: now always updating hash when inserting results
Eric Schulte [Mon, 12 Jul 2010 19:28:49 +0000 (12 12:28 -0700)]
babel: now always updating hash when inserting results

* lisp/ob.el (org-babel-where-is-src-block-result): now will replace
  the results line when if contains an old hash which is out of date

12 years agoFix typo, ORGLIST versus ORGLST
Carsten Dominik [Mon, 12 Jul 2010 17:06:14 +0000 (12 19:06 +0200)]
Fix typo, ORGLIST versus ORGLST

12 years agoFix radio list templates
Nicolas Goaziou [Mon, 12 Jul 2010 12:44:51 +0000 (12 14:44 +0200)]
Fix radio list templates

* lisp/org-list.el (org-list-radio-list-templates): Fix templates.