Re: [O] unexpected failure on all formulas

2011-09-20 Thread Nick Dokos
Jude DaShiell jdash...@shellworld.net wrote: |+--+---+---| | mode | | | | | Min| | | | | Max| 127. | 81. | 74. | #+TBLFM:

Re: [O] Time estimates time format?

2011-09-20 Thread Christian Egli
Johan Ekh ekh.jo...@gmail.com writes: But I'd like to make estimates in days, weeks or even months. You can certainly do that. Have a look at org-effort-durations. You could for example define the effort as '2d', '4w' or '7m'. And have spent time displayed in percentage of the estimate. Is

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-command ?r)

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

[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 martyn.j...@btinternet.com

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

2011-09-20 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com 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))

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Jude DaShiell jdash...@shellworld.net wrote: |+--+---+---| | mode | | | | | Min| | | | | Max

[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

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($) with

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)

Re: [O] Time estimates time format?

2011-09-20 Thread Christian Egli
Johan Ekh ekh.jo...@gmail.com 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

Re: [O] how export highlight code

2011-09-20 Thread a machine of awareness
Jambunathan K kjambunat...@gmail.com 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

[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

[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

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Nick Dokos
Christian Moe m...@christianmoe.com 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

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 something.../something 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

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

2011-09-20 Thread Eric Schulte
Lluís xscr...@gmx.net 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

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 point appears in TEXT | then remove it and place the point

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 martyn.j...@btinternet.com 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

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 dmaus-AT-ictsoc.de 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

Re: [O] unexpected failure on all formulas

2011-09-20 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com 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

[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

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 samolog...@gmail.com wrote: git bisect: 628ebf04f74afa8694945386c507bde06c3aac9e is the first bad commit commit 628ebf04f74afa8694945386c507bde06c3aac9e

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] 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

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

[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

[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)))

Re: [O] slides precess in html5presentation

2011-09-20 Thread Derek Thomas
On Tue, Sep 20, 2011 at 11:46 AM, Matt Price mopto...@gmail.com 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

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 mi...@riseup.net 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

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

2011-09-20 Thread Micah Anderson
Tom Prince tom.pri...@ualberta.net writes: On Tue, 20 Sep 2011 18:45:31 -0400, Micah Anderson mi...@riseup.net 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

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

2011-09-20 Thread Micah Anderson
Micah Anderson mi...@riseup.net 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

Re: [O] Problems with Org-Mode export

2011-09-20 Thread Michael Hannon
Nick Dokos nicholas.do...@hp.com 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:

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

2011-09-20 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com 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 point