Re: [O] [babel] Trying to add ERT test cases

2011-09-20 Thread Martyn Jago
Hi Eric Eric Schulte writes: >>> >>> Footnotes: [1] , >>> | org-test-with-temp-text is a Lisp macro in `org-test.el'. >>> | >>> | (org-test-with-temp-text TEXT &rest BODY) >>> | >>> | Run body in a temporary buffer with Org-mode as the active >>> | mode holding TEXT. If the string "" appe

Re: [O] Problems with Org-Mode export

2011-09-20 Thread Michael Hannon
Nick Dokos wrote: > [...] > FWIW, I don't get any error messages. I have no idea what the exported file > should look like: I attach both the exported pdf and the exported html below > (as well as the org file, which is just cut-n-pasted from what you posted).   > Versions: > Org-mode version 7

Re: [O] org-capture-hook only when in frame?

2011-09-20 Thread Micah Anderson
Micah Anderson writes: > > (defadvice capture-finalize (after delete-capture-frame activate) > "Advise capture-finalize to close the frame if it is the capture frame" > (if (equal "capture" (frame-parameter nil 'name)) > (delete-frame))) > > (defadvice capture-destroy (after delete-capt

Re: [O] org-capture-hook only when in frame?

2011-09-20 Thread Micah Anderson
Tom Prince writes: > On Tue, 20 Sep 2011 18:45:31 -0400, Micah Anderson wrote: > Non-text part: multipart/signed >> >> I have a function to create a frame for capture mode that I can call >> with emacsclient at any time: >> >> ;; Initialization of capture frames >> (defun make-capture-frame ()

Re: [O] org-capture-hook only when in frame?

2011-09-20 Thread Tom Prince
On Tue, 20 Sep 2011 18:45:31 -0400, Micah Anderson wrote: Non-text part: multipart/signed > > I have a function to create a frame for capture mode that I can call > with emacsclient at any time: > > ;; Initialization of capture frames > (defun make-capture-frame () > "Create a new frame and ru

Re: [O] slides precess in html5presentation

2011-09-20 Thread Derek Thomas
On Tue, Sep 20, 2011 at 11:46 AM, Matt Price wrote: > and it for the most part works really great, except that the slides > 'precess' ovr time - -that is, the slides slowly slide ot the left, > until eventually (after about 20 slides) the left side of a slide will > become invisible.  Has anyone e

[O] org-capture-hook only when in frame?

2011-09-20 Thread Micah Anderson
I have a function to create a frame for capture mode that I can call with emacsclient at any time: ;; Initialization of capture frames (defun make-capture-frame () "Create a new frame and run org-capture" (interactive) (make-frame '((name . "capture") (width . 80) (height . 10))) (selec

[O] ODT image export

2011-09-20 Thread Derek Thomas
I got the odt export working and I'm very excited about the possibility of using it, but when I export a file with an image link, the image isn't embedded. Instead there's a link to the file. Do I need to take any special steps to embed images in export? A few other questions, is there any funct

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Christian Moe
Hi, Nick, No whacks intended! It was an easy catch because I was mulling over similar problems with my code. My own second pass at a vmode implementation for Calc is below, now with support for negative values and bimodal data. It takes a different route and is a bit shorter, but doesn't hand

Re: [O] Problems with Org-Mode export

2011-09-20 Thread Michael Hannon
Another bit of information about this:  if I remove:     :session *R* from the line starting with:     #+BABEL then I don't see any error message. OTOH, this isn't much of a workaround, because without a "session", the values of the variables are not preserved between source-code blocks, so t

Re: [O] bug: org-mouse broken

2011-09-20 Thread Samuel Wales
To reproduce load org-mouse and mouse-1 in the stars: *** will say no links instead of cycle click in the stars * more no links instead of cycle more * more with links will do menu instead of cycle http://google.com/whatever http://google.com * more

Re: [O] bug: org-mouse broken

2011-09-20 Thread Samuel Wales
Org-mouse still broken. I wonder if it would be safe to revert this patch, or perhaps it's a bug in org-mouse. On 2011-08-18, Samuel Wales wrote: > git bisect: > > 628ebf04f74afa8694945386c507bde06c3aac9e is the first bad commit > commit 628ebf04f74afa8694945386c507bde06c3aac9e > Author: Nicolas

[O] slides precess in html5presentation

2011-09-20 Thread Matt Price
Hi folks, I think someone else mentioned this in an earlierthread but I can't find the solution anywhere. I am using this html5 presentation exporter: https://gist.github.com/509761 and it for the most part works really great, except that the slides 'precess' ovr time - -that is, the slides slow

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Nick Dokos
Nick Dokos wrote: > All in all, a disaster: can a posting be deleted? or at least marked > with a big, red X so that it won't mislead in the future? I'll try to > post a corrected version later on. > Here's an attempt to correct the problems that Christian, Lawrence and I found in my previous a

Re: [O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]

2011-09-20 Thread Dave Abrahams
on Tue Sep 20 2011, David Maus wrote: > The original link is alread "wrong", i.e. unescaped. > > The key question are > > 1. How did you create the original link? I used this code: https://github.com/dabrahams/elisp/blob/master/elisp/autoload.d/wl-setup.el#L801 Is there some encoding step I sh

Re: [O] [PATCH] Modifications to enable test script to run with emacs-23 and emacs-22

2011-09-20 Thread Eric Schulte
Applied, Thanks! -- Eric Martyn Jago writes: > Hi > > With this patch, the command-line test script now passes all tests on > Emacs 24, 23 and 22. > > On 23 and 22, testing directory should include ert.el and ert-x.el > > Best, Martyn > > From 6ab323b099f55462f690d44f6ad482c962461a97 Mon Sep 17

Re: [O] [babel] Trying to add ERT test cases

2011-09-20 Thread Eric Schulte
>> >> Footnotes: [1] , >> | org-test-with-temp-text is a Lisp macro in `org-test.el'. >> | >> | (org-test-with-temp-text TEXT &rest BODY) >> | >> | Run body in a temporary buffer with Org-mode as the active >> | mode holding TEXT. If the string "" appears in TEXT >> | then remove it and plac

Re: [O] org-bibtex: "TYPE" property conflicting with bibtex's "type" parameter

2011-09-20 Thread Eric Schulte
Lluís writes: > The current org-bibtex code uses the value of the "TYPE" property for two > different purposes: > > * identify the type of bibtex entry > * give a value to the "type" parameter in a bibtex entry > > Using the "TYPE" property for both has the unfortunate effect that on > an entry

Re: [O] Idea, configurable markup

2011-09-20 Thread Darlan Cavalcante Moreira
When I moved from Planner/Muse to Org, the ability to define custom markup with ... is the only thing I missed as well as the ability to easily toggle between hide and show the markup (I thing it was C-c C-l, but I'm not sure). This was a small thing to pay considering everything else org-mode off

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Nick Dokos
Christian Moe wrote: > I think your vmode() needs to subtract one from the result. The mode > in the "systolic" column of Jude's dataset should be 124 (f=12), not > 125 (f=2). > Yes, this is an off-by-one error: in vfreqs, I should cons prev onto freqs, not (nth 0 vec). In addition to this and

[O] org-velocity load problem

2011-09-20 Thread d . tchin
Hi all, This post just to warn that org-velocity is not loaded with Emacs 22.3.1. I try to load org-velocity but I have the following message : error: Unknown keyword :safe I use GNU Emacs 22.3.1 (i386-mingw-nt6.1.7601) and Org-mode version 7.7. I had the possibility to try with emacs 23.3 with

[O] minor html validator error for a orgmode.org page

2011-09-20 Thread Jesse Alama
According to http://validator.w3.org/check?uri=http%3a%2f%2forgmode%2eorg%2fChanges%2ehtml there is one minor HTML validation error for http://orgmode.org/Changes.html The error is: Line 97, Column 87: required attribute "alt" not specified Best, Jesse -- Jesse Alama http://centria.di.fc

Re: [O] Time estimates time format?

2011-09-20 Thread Johan Ekh
I found it here http://patchwork.newartisans.com/patch/638/ do you know how to apply it? Johan 2011/9/20 Christian Egli > Johan Ekh writes: > > > There appears to be a patch for this and I've downloaded it. > > Where is this patch? > > -- > Christian Egli > Swiss Library for the Blind, Visu

Re: [O] how export highlight code

2011-09-20 Thread a machine of awareness
Jambunathan K writes: >> And I have not changed any option related to org-babel or the >> exporting function. So how can I make the syntax highlighting work >> for exporting to html? > > Add contrib/lisp to load path and do a (require 'htmlize) thank you,i have done it. org-mode is nice. -- a m

Re: [O] Time estimates time format?

2011-09-20 Thread Christian Egli
Johan Ekh writes: > Thank you, > > I've changed to > > #+PROPERTY: Effort_ALL 2d 1w 2w 3w 4w 2m > #+COLUMNS: %40ITEM(Task) %17Effort(Estimated Effort){:} %CLOCKSUM > > but there is no mapping between days, weeks, months and hours. For example, > '2d' + '1w' is summed as '3:00'. How can I change t

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Christian Moe
Hi, Nick, I think your vmode() needs to subtract one from the result. The mode in the "systolic" column of Jude's dataset should be 124 (f=12), not 125 (f=2). For Jude's limited purposes I got by with less code (but note the caveats): #+begin_src emacs-lisp (defmath vmode (vec) "Retu

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Lawrence Mitchell
Nick Dokos wrote: [...] > I cribbed heavily from the implementation of vmedian. Although there is > no key binding, you can even use the above in an interactive Calc > session, by entering the formula in algebraic form. I yanked the vector > twice onto the Calc stack and then entered 'vmode($) wi

[O] Multiple capture within one buffer?

2011-09-20 Thread XeCycle
Hello, I'm trying out org mode capture now. It's great. However, what if I want to capture multiple items? Do I have to C-c C-c and restart the capture many times? Hope there's a quicker way. Thank you. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Nick Dokos
Nick Dokos wrote: > Jude DaShiell wrote: > > > > |+--+---+---| > > | mode | | | | > > | Min| | | | > > | Max| 127. | 81. | 74. | >

Re: [O] [babel] Trying to add ERT test cases

2011-09-20 Thread Martyn Jago
Hi Eric Eric Schulte writes: > Martyn Jago writes: > [...] >> >> (ert-deftest ob-tangle/speed-command-r () >> (let ((org-use-speed-commands t)) >> (with-temp-buffer >> (org-mode) >> (insert "* Speed command") >> (goto-char (point-at-bol)) >> ;; ensure default spee

[O] [PATCH] Modifications to enable test script to run with emacs-23 and emacs-22

2011-09-20 Thread Martyn Jago
Hi With this patch, the command-line test script now passes all tests on Emacs 24, 23 and 22. On 23 and 22, testing directory should include ert.el and ert-x.el Best, Martyn >From 6ab323b099f55462f690d44f6ad482c962461a97 Mon Sep 17 00:00:00 2001 From: Martyn Jago Date: Tue, 20 Sep 2011 08:44:

Re: [O] Time estimates time format?

2011-09-20 Thread Johan Ekh
Thank you, I've changed to #+PROPERTY: Effort_ALL 2d 1w 2w 3w 4w 2m #+COLUMNS: %40ITEM(Task) %17Effort(Estimated Effort){:} %CLOCKSUM but there is no mapping between days, weeks, months and hours. For example, '2d' + '1w' is summed as '3:00'. How can I change this? The best for me would be to h

Re: [O] [babel] Trying to add ERT test cases

2011-09-20 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: >> * Test >> >> #+begin_src emacs-lisp >> (ert-deftest ob-tangle/speed-command-r () >> "Test that speed command `r' does demote the headline." >> (org-test-at-id "4ee368b8-cf7c-4269-98c0-b28dcf94ff2b" >> (goto-char (point-at-bol)) >> (org-self-insert-comman