Re: [O] [PATCH] Save undo history after org-edit-src-save.

2012-01-24 Thread Peter Danenberg
Thanks, Bastien! Just found the Preferred way of submitting patches document. Quoth Bastien on Prickle-Prickle, the 24th of Chaos: Hi Peter, Peter Danenberg p...@roxygen.org writes: It's been irritating me that after saving an edit buffer, the undo history disappears; the attached patch

[O] [PATCH] Save undo history after org-edit-src-save.

2012-01-23 Thread Peter Danenberg
It's been irritating me that after saving an edit buffer, the undo history disappears; the attached patch restores the undo history. diff --git a/lisp/org-src.el b/lisp/org-src.el index 8cdf81e..e85e04e 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -661,7 +661,7 @@ the language, a switch

Re: [Orgmode] org-exp-bibtex

2010-01-29 Thread Peter Danenberg
No, just requiring should do the trick. Can you check if org-export-bibtex-preprocess does indeed end up in the hook? It does now, inexplicably; thank you. And using the following code, I can process the doc with xelatex and bibtex (provided that file.bib accompanies file.org): (require

[Orgmode] org-exp-bibtex

2010-01-28 Thread Peter Danenberg
Despite org-mode/contrib/lisp being in my loadpath and issuing (require 'org-exp-bibtex), org-exp-bibtex doesn't seem to be available. Using autoload results in Autoloading failed to define function org-exp-bibtex. Would anyone mind sharing with me how they successfully installed org-exp-bibtex?

Re: [Orgmode] org-exp-bibtex

2010-01-28 Thread Peter Danenberg
There is no function org-exp-bibtex. What happens if you evalueate the following form? (progn (require 'org-exp-bibtex) (featurep 'org-exp-bibtex)) That evaluates to t. Are there hooks installed, by the way, for exported to LaTeX? C-c C-e d (export as LaTeX, process to PDF, and open the

Re: [Orgmode] org-exp-bibtex

2010-01-28 Thread Peter Danenberg
Are you sure about it being in your load-path? What does M-x locate-library RET org-exp-bibtex RET say? If it finds it, both autoload and require should work. locate-library says: Library is file ~/lib/emacs/org-mode/contrib/lisp/org-exp-bibtex.el Just to be sure, my require form looks

[Orgmode] #+BEGIN_... blocks in lists

2009-11-24 Thread Peter Danenberg
I'd like to be able to do something like the following: - item 1 - item 1.1 #+BEGIN_SRC lang code #+END_SRC - item 1.2 ... but the source blocks are interpreted as text despite section 2.7 of the manual, which says: Since indentation is what governs the

Re: [Orgmode] #+BEGIN_... blocks in lists

2009-11-24 Thread Peter Danenberg
version. What does M-x org-version say? - Carsten On Nov 25, 2009, at 3:07 AM, Peter Danenberg wrote: I'd like to be able to do something like the following: - item 1 - item 1.1 #+BEGIN_SRC lang code #+END_SRC - item 1.2 ... but the source blocks