Commit graph

6449 commits

Author SHA1 Message Date
Dan Davison c354cb8eff babel: `org-babel-lob-ingest': Avoid error when source name is missing
* ob-lob.el (org-babel-lob-ingest): Check for nil source block
	name
2010-10-12 11:57:26 +01:00
Carsten Dominik 68037b0e1e Fix typo
* lisp/org-beamer.el (org-beamer-place-default-actions-for-lists): Fix
typo in regexp.
2010-10-12 07:26:36 +02:00
Nicolas Goaziou ce0d35a51c Fix "invalid search bound" when toggling a checkbox
* org-list.el (org-toggle-checkbox): avoid some boundary error when
  inserting a checkbox in an empty last item of a list.
2010-10-11 20:35:30 +02:00
David Maus 584adacf20 Query article number from file is nil by default
* org-gnus.el (org-gnus-nnimap-query-article-no-from-file): Query
article number from file is nil by default.

The function function `nnimap-group-overview-filename' is gone in Gnus
devel.  Subsequently enabling this feature by default will cause
org-gnus to fail on Emacs24.

Thanks for Matt Lundin for pointing this out.
2010-10-11 20:32:23 +02:00
Stephen Eglen b164a47571 Fix typo
* lisp/org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
2010-10-11 09:44:41 +02:00
Carsten Dominik ed39b332fb Capture: Fix positioning error when :unnarrowed property is set
* lisp/org-capture.el (org-capture-place-entry): Move to `beg' before
searching for `%?'.
2010-10-11 08:26:26 +02:00
Carsten Dominik d0e70e8c81 Fix mathjax treatment of single letters in between dollars.
* lisp/org.el (org-format-latex): Fix mathjax treatment of single letters
in between dollars.
2010-10-10 09:18:24 +02:00
Carsten Dominik 28638b0a7b Go back to pdflatex processing because of texi2dvi/egrep bug 2010-10-10 09:03:57 +02:00
Dan Davison 3afc34a10b babel: Remove protective commas from Org code 2010-10-08 18:35:39 +01:00
Carsten Dominik 63e4b4528e Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-10-08 12:40:14 +02:00
Jambunathan K 395098f6f1 ELPA Howto
Carsten

Reworked the changes based on your feedback. Customize to your tastes.

Jambunathan K.

From 1121461037e0308054afeabf8c67bd1a568dd9b1 Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
Date: Tue, 5 Oct 2010 15:33:08 +0530
Subject: [PATCH] Support for elpa-compatible tarballs

* Makefile (pkg): New target for creating elpa-compatible tarball.
2010-10-08 12:39:51 +02:00
Sébastien Vauban 3d13b8e687 Compiling multiple times the LaTeX output
* lisp/org-latex.el (org-latex-to-pdf-process): Add a third pdflatex run.

Hi Carsten,

Carsten Dominik wrote:
> I have just pushed a fix which will use texi2dvi when available. The echo
> area will now also give an indication of the kinds of errors that happened
> during the final pdflatex run.

Thanks to Matthew for the info about texi2dvi!

> This is a big improvement, thanks to Sebastian for kicking off this
> discussion, and to all who contributed.

You're welcome. It was needed for me as well...

> Please test the new processing and let me know if there are problems.

Tested on the document for which I experienced the troubles in the first place
(because my TOC was more than one page long). Works perfect!

Only one comment, after reading your code in org-latex.el: if there is no
texi2dvi executable, please run pdflatex 3 times, as this is the right number
to get the TOC in sync' with the document, when it's more than one page long
(at least, in my above case, with a couple of org-babel sql source blocks).

--8<---------------cut here---------------start------------->8---
Changes in HEAD
	Modified lisp/org-latex.el

--8<---------------cut here---------------end--------------->8---

Thanks.

Best regards,
  Seb
2010-10-08 12:31:19 +02:00
Carsten Dominik 4a8b676d28 Document the auto' setting of org-blank-before-new-entry'.
* lisp/org.el (org-blank-before-new-entry): Improve docstring.
2010-10-08 12:29:11 +02:00
Carsten Dominik aaab45081b Document encryption for MobileOrg
* doc/org.texi (Setting up the staging area): Document which versions are
needed for encryption.
2010-10-08 09:35:59 +02:00
Carsten Dominik 70bc7786de Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-10-08 09:29:46 +02:00
Carsten Dominik 0c90cdc779 MobileOrg: Use outline path if we cannot make an ID
* lisp/org-mobile.el (org-mobile-force-id-on-agenda-items): Fix docstring.
(org-mobile-write-agenda-for-mobile): Use outline path if we do not
have an ID and are not allowed to make one.
(org-mobile-get-outline-path-link): New function.
2010-10-08 09:29:42 +02:00
Carsten Dominik f1960677de Fix some issues related to MobileOrg encryption
* lisp/org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty file.
(org-mobile-write-agenda-for-mobile): Use the right name, even if the
file get encrypted.
(org-mobile-move-capture): Only delete tempfile if it does exist.
2010-10-08 09:27:43 +02:00
Eric Schulte 0901585105 ob: minor fix to a documentation string
* lisp/ob.el (org-babel-number-p): fixed documentation string
2010-10-06 10:50:39 -06:00
Eric Schulte 3701c0aeb3 doc: updating :noweb documentation to reflect the new "tangle" argument
* doc/org.texi (noweb): updating :noweb documentation to reflect the
  new "tangle" argument
2010-10-06 10:42:43 -06:00
Eric Schulte f687f51dd0 ob-exp: ":noweb tangle" now expands noweb references during tangling
* lisp/ob-tangle.el (org-babel-tangle-collect-blocks): accepting
  "tangle" as a positive argument for the :noweb header argument
  during tangling
2010-10-06 10:37:46 -06:00
Eric Schulte 19efdcca43 added tangle tests exercising new desired tangling behavior 2010-10-06 10:23:50 -06:00
Eric Schulte 462fc24cd3 typo in testing/README.org, once again, thanks Nick Dokos
* testing/README.org: type
2010-10-06 09:04:06 -06:00
Eric Schulte be42b2fb51 ensuring that test files include org-test in their load path
again thanks to Nick Dokos for pointing this out
2010-10-06 09:02:25 -06:00
Eric Schulte 25c9d74352 ensure that the testing/contrib/lisp directory is created
thanks to Nick Dokos for noticing this
2010-10-06 08:58:08 -06:00
Eric Schulte d9e4469c1c updated testing/README.org describing how to get started writing tests 2010-10-05 20:55:45 -06:00
Carsten Dominik af4bd933d0 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-10-05 23:12:39 +02:00
Carsten Dominik cfe7f9a754 Bind variable to keep compiler happy 2010-10-05 23:12:34 +02:00
Eric Schulte e1b90eea45 ob-exp: fixed export when headings have links, with tests
also some organization of the test directory

* lisp/ob-exp.el (org-babel-exp-src-blocks): fixed export when
  headings have links, with tests
2010-10-05 11:54:48 -06:00
Eric Schulte 41cde9d9bd test: re-arranging example files into their own directory 2010-10-05 11:54:48 -06:00
Eric Schulte d6143f1e7a added a test ensuring that export works from buffers which aren't visiting files 2010-10-05 11:54:48 -06:00
Eric Schulte 49b22bb57e more permissive selector in `org-test-run-all-tests' 2010-10-05 11:54:48 -06:00
Eric Schulte 5bafe303aa beginning tests for ob-exp, and related improvements to org-test
- fixed issue in creation of new files
  - fixed issue in org-test-in-file
  - new example file w/o any headlines
2010-10-05 11:54:48 -06:00
Eric Schulte 9bd5f511ce improving test-helper macros for better name-spaceing and more flexibility 2010-10-05 11:54:48 -06:00
Eric Schulte 271d1bb986 fixed `org-test-load' so that is recursively loads all test files 2010-10-05 11:54:48 -06:00
Eric Schulte e694d1fe39 requiring ert and jump, and using jump for navigation `org-test-jump' 2010-10-05 11:54:48 -06:00
Eric Schulte 58b0242bcb updating org-testing requires to load ert and jump.el 2010-10-05 11:54:48 -06:00
Eric Schulte 509ee52b53 adding ERT and jump.el as git submodules 2010-10-05 11:54:48 -06:00
Eric Schulte 70ee58a8ab merge ert-testing and schulte-testing, temporarily removing navigation functions 2010-10-05 11:54:48 -06:00
Sebastian Rose, Hannover, Germany 2b52d1911c Create a test file per defun.
* org-test-which-func: New function.  Find name of defun around point.

* org-test-ensure-buffer-emacs-lisp-p: New function.  Ensure a buffer
  hold an elisp file based on filename extension.
2010-10-05 11:54:48 -06:00
Sebastian Rose, Hannover, Germany 399e488146 Initial ERT test: org-test.el 2010-10-05 11:54:48 -06:00
Carsten Dominik e0c70d0a1a Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-10-05 18:24:12 +02:00
Carsten Dominik 59ba412552 Use texi2dvi for processing LaTeX to pdf
* lisp/org-latex.el (org-latex-to-pdf-process): Use texi2dvi if available.
(org-export-latex-get-error): New function.
(org-export-as-pdf): Give an indication of the errors that happened
during processing.
2010-10-05 18:22:31 +02:00
Łukasz Stelmach 8b4e52d80c there is no &sacute; in HTML
* lisp/org-exp.el (org-export-language-setup): Fix Polish entries.

Hello.

There is no such named entity as &sacute;. If you want to be 7bit clean
then use &#x015b; (or decimal &#347;).
2010-10-05 11:54:36 +02:00
Carsten Dominik 02357b0c2a Allow comma as a separator when specifying tags
* lisp/org.el (org-set-tags): Allow comma as a separator when
specifying tags at the completion interface.
(org-tags-completion-function): Allow comma as a separator when
specifying tags at the completion interface.

Patch by Richard Riley, extended by Carsten
2010-10-05 09:56:32 +02:00
Eric Schulte 093e8cf58e ob-exp: only jump to export-file if original buffer is visiting a file
Thanks to Puneeth for insisting upon the existence of this error

* lisp/ob-exp.el (org-babel-exp-src-blocks): don't jump back to
  export-file if exporting from a buffer which is not visiting a file
2010-10-04 08:39:10 -06:00
Eric Schulte 8bac197bb3 ob-exp: removed spurious concatenation of "::" to the end of file names on export
Thanks to Giovanni Moretti for pointing out this issue

* lisp/ob-exp.el (org-babel-exp-src-blocks): only append "::" to a
  file name in link construction if there is a heading to follow it.
2010-10-04 07:45:38 -06:00
Carsten Dominik b7372638bc Add "svg" as allowed files for images in HTML exort
* lisp/org-html.el (org-export-html-inline-image-extensions): Add
"svg" as an allowed extension.
2010-10-04 10:28:53 +02:00
Sébastien Vauban 464bf73b74 Pad clock times with zeros, apply face with better starting position
* lisp/org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
with zeros.  Start applying face earlier.

Hello,

Here a tiny patch to:

- have padding with 0 for the clock time

- begin applying face org-time-grid from position 2, in order to be properly
  aligned with the rest of the agenda (you don't see that if you don't have a
  face with background color)
2010-10-04 09:46:08 +02:00
Bernt Hansen 344785bd8c Fix dangling clocks created by org-clock-out-hook clocking in again
This is a fixup patch to commit
17c71a40c6.  The org-clock-clocking-in
variable needs to be set when we are clocking out - in case the clock
out hook clocks-in again.  This fixes a bug that creates dangling
clock entries.
2010-10-03 11:47:15 -04:00
Bernt Hansen 17c71a40c6 Revert "Update modeline with effort and task name on re-clock-in"
This reverts commit 4a4fbf1b8c.

Clocking in the currently clocking task was leaving open clock entries
which is incorrect.  Updating the modeline is less important than
keeping correct clocking data.
2010-10-03 17:27:39 +02:00