[Orgmode] clock resolver never stops if task hasn't been clocked before

2010-02-27 Thread Simon Campese
Hello,

I just noticed a bug in the clock resolver while testing its
functionality which can be reproduced as follows:

  - Start the clock on a task which doesn't contain any clocked time
(i.e. no clock-entries in the :LOGBOOK: property). 

  - Leave emacs idle until the resolver gets active (I set my
'org-clock-idle-time' to '1', maybe that's the cause of the bug)

  - Cancel the clock altogether (i.e. choose 'C' in the resolver), so
that any clock information gets erased from the tasks'
:LOGBOOK:.

  - If you now leave emacs idle again, the resolver gets active
although no clock is running


At first I thought that this has something to do with my rather
unusual setting of 'org-clock-idle-time' to '1', but this can also be
reproduced with other settings (though I must confess that I just
tested a value of '2' additionally).

Unfortunately I'm an elisp-illiterate so that I can not look into it
myself.


Kind regards,

Simon


signature.asc
Description: Digital signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Lesson Learned: Day needed for iCalendar export

2010-02-27 Thread David A. Gershman

Hello Everyone,

I ran into this just now and I don't think it's documented anywhere so
here is a tidbit thay may prevent some hair loss:

I get a work calendar of my days off work for holidays.  So I collect
them in my .org file like so:

* Work Holidays
   <2010-05-31>
   <2010-07-05>
   <2010-09-06>
   <2010-11-25>
   { there are more }

When exporting my .ics file I found these dates were not showing up, but
they *were* showing on my .org Agenda view.  Turns out the iCalendar
export needs the *day* also:

* Work Holidays
   <2010-05-31 Mon>
   <2010-07-05 Mon>
   <2010-09-06 Mon>
   <2010-11-25 Thu>

.ics export worked great after that.  Enjoy!


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: default browser - SOLVED

2010-02-27 Thread Henri-Paul Indiogine
Matt Lundin  writes:
>> (setq browse-url-browser-function (quote browse-url-generic))
>> (setq browse-url-generic-program "firefox")
>
> (setq browse-url-browser-function 'browse-url-firefox)
> (setq browse-url-firefox-new-window-is-tab t)
>
> The second setting ensures that links are opened in new tabs if firefox
> is running.

How about clicking on a URL in org-mode or other text file and having
w3m pop-up?

Thanks,


-- 
Henri-Paul Indiogine
Email: hindiog...@gmail.com
Skype: hindiogine
Website: http://www.coe.tamu.edu/~enrico


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Creating ditaa diagrams

2010-02-27 Thread Andrew Stribblehill
I do most of the work in artist mode, with the line-drawing feature: I
love that it's C-c C-c to switch back to the native org-mode. To add
arrows and make lines dashed, I switch to picture-mode or just use
overwrite.

On Sat, Feb 27, 2010 at 8:20 AM, Nathan Neff  wrote:
> While researching org-babel (wow, wish I'd looked @ it earlier)
> I found the cool ditaa functionality.
>
> I experimented for a couple of hours with Emacs' picture mode and
> artist mode, and wanted to get advice/feedback from everyone
> on how they draw their ascii diagrams.
>
> Any advice?
>
> Thanks,
> --Nate
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] plotting when x-axis has non-numeric data

2010-02-27 Thread henry atting
I have a table which I am plotting longly, it looks like this:

#+PLOT: title:"expenses" ind:1  type:2d with:lines 
#+PLOT:  set:"yrange [0:]" labels:("month" "expenses" "average") 
| month   |   two |three|
|++-|
| November| 500   | 500 |
| December| 500   | 500 |
| January | 600   | 500 |
| February| 400   | 500 |

Thus far it was no problem that the x-axis contains non-numeric data.
Now gnuplot stops with this error message:

gnuplot> plot '/tmp/org-plot18686CtJ' using 1:3:xticlabel(1) with lines title 
'H-index'
   warning: Skipping data file with no valid points
  x range is invalid

When I try to plot the table 'Citas' from this tutorial [1] I get the
same error message. 

henry

___

[1] http://orgmode.org/worg/org-tutorials/org-plot.php


-- 
http://literaturlatenight.de



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Link-protocols

2010-02-27 Thread Christian Zang
Am 26.02.2010 um 18:18 schrieb Anthony Lander:

> 
> On 10-Feb-26, at 8:57 AM, Christian Zang wrote:
> 
>> I use org-mode for notes, and DEVONthink and Papers on the mac for storing 
>> reference material. I want to add links to entries in DEVONthink and Papers 
>> to my org-files, but org doesn't understand links like
>> 
>> papers://doi/10.1038/463860a
>> 
>> or
>> 
>> x-devonthink-item://6EB3DF6A-9B0D-4D26-A7D3-86D0B589E455
>> 
>> However, when I paste these links into my browser, the desired documents 
>> open in the respective app.
>> 
>> Is there a way to add these "protocols" to the protocols org can handle? I 
>> looked into org-follow-link, but couldn't come up with a solution.
>> 
> 
> Hi Christian,
> 
> Here is a snippet I use for opening Together links (another mac organizer):
> 
> --
> (org-add-link-type "x-together-item" 'org-together-item-open)
> 
> (defun org-together-item-open (uid)
>  "Open the given uid, which is a reference to an item in Together"
>  (shell-command (concat "open \"x-together-item:" uid "\"")))
> ---
> 
> I suspect that this can be adapted for your purposes as well.
> 
> Regards,
> 
>  --Anthony

Hi Anthony,

thanks for the snippet, it works perfectly with DEVONthink, but not with 
Papers.app. I suppose because the Papers-link contains slashes and might not be 
a proper uid...

Best,
Christian

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-prefere-future for other applications

2010-02-27 Thread Łukasz Stelmach
Hello.

I've tried to rearrange org-read-date and some other helper function to
make them usable from other applications which might not want to prefere
future dates. Unfortunatelly I can't do it without making org-read-date
*require* additional argument (prefer-future) everytime it is called in
orgmode like this:

(org-read-date ... org-read-date-prefer-future)

Is it possible to refactor the code the way I've described it (without
too much fuss)?

-- 
Miłego dnia,
Łukasz Stelmach



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [ORG and emacs-w3m] C-c C-e b: 'configure' it to open html-page within emacs

2010-02-27 Thread Livin Stephen Sharma
When I export an agenda-file as html using the 'open-in-browser' variant ['C-c 
C-e b'],
 how can I have the resulting html 'opened' using emacs-w3m -- instead of the 
'external' browser [Safari in my case]

FWIW, I already have/use this:
> (setq browse-url-browser-function 'w3m-browse-url)



I'm using:
> Emacs 23.50.1
> Org-mode 6.34 from the 2010_02_25 snapshot

On a somewhat related note:
 which, if any, in-emacs browser(s) are the most popular among org-mode users? 
Are any such browsers more friendly/compatible WRT org-mode?

[ In Carsten's google tech-talk, I notice that T.V. Raman mentions using emacs 
as a browser? ]


Thanks
Livin Stephen Sharma




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Creating ditaa diagrams

2010-02-27 Thread Nathan Neff
While researching org-babel (wow, wish I'd looked @ it earlier)
I found the cool ditaa functionality.

I experimented for a couple of hours with Emacs' picture mode and
artist mode, and wanted to get advice/feedback from everyone
on how they draw their ascii diagrams.

Any advice?

Thanks,
--Nate
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Precision setting for spreadsheet calculation

2010-02-27 Thread Michael Brand

Carsten Dominik wrote:
> when using a printf format specifier, the number
> is first converted into a Lisp number, which is
> a double, with 16 significant digits
Thanks for the clarification.


Maybe you find this interesting enough so that I can
persuade you to write a FAQ entry about these issues? :-)
Yes, within a few days I will come back with this and/or a texinfo patch for 
the Org info manual, at least chapter "3.5.2 Formula syntax for Calc".



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode