Re: [Orgmode] list indentation

2008-02-07 Thread Hugo Schmitt
Hi.
The problem with your example, afaik, is that 'And another list' is just the
rest of the text that starts at the last 'blah'.
Shouldn't 'And another list' be a header? Maybe you want something like
this?

** TODO something to be done
  notes about this task
  come here and they include a list
  - blah
  - blah
*** and another list
- foo
- foo
*** And one more list
- bar
- bar

HTH,
Hugo

On Feb 7, 2008 4:58 PM, cezar <[EMAIL PROTECTED]> wrote:

> Hello,
>
>  I am using org-mode version 5.17a and I sometimes need to write some
> details on a task like:
>
> ** TODO something to be done
>   notes about this task
>   come here and they include a list
>   - blah
>   - blah
> And another list
> - foo
> - foo
>   And one more list
>   - bar
>   - bar
>
>  Now, this is not what it should look like !
>  The lists need to be aligned properly.
>
>  Am I making any sense ?
>
> Regards,
> Cezar
>
>
>
> ___
> Emacs-orgmode mailing list
> Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: GNU Screen and arrow keys

2008-02-07 Thread lore
Phil Jackson wrote:

> I thought changing TERM solved it for you? :/
>
> If you use the 256 colour one I mentioned you can use color-theme (with
> close matching colours) for TTY emacs too.

I'm trying it again. Thanks :)

-- 
Systems.Administrators.like.things.automated.



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


[Orgmode] [PATCH] Make updated clock table visible

2008-02-07 Thread Bernt Hansen
C-u C-c C-x C-r updates the first clock table in the org file.
If this task is folded the cursor moves to the task but you can't see the
result of the update.  The updated clock table is now immediately visible.
---

I use C-u C-c C-x C-r all the time to update my clock table and 99% of
the time it's folded so I can't see the result.  This patch works for me
but my * Timelog task does not have anything else but the clock table in
it.

I would prefer to display the task like org-cycle does and leave an
:PROPERTIES: drawers folded but I don't know how to do that...

This works for me. :)

-Bernt

 org.el |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/org.el b/org.el
index c73218b..2db8863 100644
--- a/org.el
+++ b/org.el
@@ -18797,7 +18797,8 @@ When called with a prefix argument, move to the first 
clock table in the
 buffer and update it."
   (interactive "P")
   (org-remove-clock-overlays)
-  (when arg (org-find-dblock "clocktable"))
+  (when arg (org-find-dblock "clocktable")
+ (org-show-entry))
   (if (org-in-clocktable-p)
   (goto-char (org-in-clocktable-p))
 (org-create-dblock (list :name "clocktable"
-- 
1.5.4.34.g053d9




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


Re: [Orgmode] Re: GNU Screen and arrow keys

2008-02-07 Thread Phil Jackson
lore <[EMAIL PROTECTED]> writes:


[...]

>> * My setup
>> - gnome-terminal2.18.4
>
> I "solved" changing gnome-terminal with unicode rxvt.

I thought changing TERM solved it for you? :/

If you use the 256 colour one I mentioned you can use color-theme (with
close matching colours) for TTY emacs too.

RXVT is _very_ quick though :)

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


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


[Orgmode] list indentation

2008-02-07 Thread cezar
Hello,

  I am using org-mode version 5.17a and I sometimes need to write some 
details on a task like:

** TODO something to be done
   notes about this task
   come here and they include a list
   - blah
   - blah
 And another list
 - foo
 - foo
   And one more list
   - bar
   - bar

  Now, this is not what it should look like !
  The lists need to be aligned properly.

  Am I making any sense ?

Regards,
Cezar



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


Re: [Orgmode] problem with org-refile remains in 5.20

2008-02-07 Thread Jost Burkardt

I think the reason, I get this behaviour is the following code in
org-refile:
...
(goto-char (or (save-excursion
 (if reversed
 (outline-next-heading)
   (outline-get-next-sibling)))
   (point-max))) 
...

before org-refile moves the point to the correct position, as I have not
set `reversed', outline-get-next-sibling is called, as there is no
sibling to "*** Notes" the point is moved to "** B", but the call
returns nil, so finally (point-max) moves to the end of the file.

So the similar "*** Notes"-item below Project B was misleading me. Can
you reproduce this one? 

I tested it on:
GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-12-31 on 
wodka
Org-mode version 5.21

--
 Jost

Carsten Dominik <[EMAIL PROTECTED]> writes:

> I cannot reproduce this problem anymore, it works fine for me.
> Could someone else please try?
>
> - Carsten
>
> On Feb 6, 2008, at 8:23 PM, Jost Burkardt wrote:
>
>> Hi,
>>
>> org-refile still does not work correctly for me. it seems that the
>> refiling-bug from 5.19 still remains in 5.20. When refiling the entry
>> "something to refile to Project/A/Notes" to "Project/A/Notes",
>> org-refile sitll puts it to "Project/B/Notes" instead to "Project/A/
>> Notes"
>>
>>
>> - BEGIN TEST.org ---
>> * Stuff
>> ** something to refile to Project/A/Notes
>> * Projects
>> ** A
>> *** Notes
>> ** B
>> *** Notes
>> - END TEST.org -
>>
>> --
>> Jost
>
>


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


Re: [Orgmode] Org-mode on Cygwin

2008-02-07 Thread Manish
> > On Feb 7, 2008 6:51 AM, Manish <[EMAIL PROTECTED]> wrote:
>
> > Has anyone figured out how to use shift+arrowkeys on Cygwin Emacs?  I
> > am using puttycyg [1] for client.  I have to use Windows Emacs just to
> > use this feature of org-mode.
> >

> On Feb 7, 2008 11:16 PM, Eddward DeVilla <[EMAIL PROTECTED]> wrote:
> I'm not sure I understand.  I use them all the time, but I don't know
> what puttycyg is.  I assume you aren't running emacs as a window under
> the Xserver and using some terminal emulator?  If so, is there a
> reason you don't run it under the server?

Puttycyg is a local cygwin terminal (to replace default Windows
terminal) so I do not have to start an X server or run a ssh daemon.
I find it more easier and natural t$
Apart from simply looking better another reason why I prefer running
it inside Putty instead of X is that I can trigger it with Slickrun
[1].

[1] http://www.bayden.com/SlickRun/

--
Manish


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


[Orgmode] Re: GNU Screen and arrow keys

2008-02-07 Thread lore
lore wrote:

> My emacs lives inside a GNU Screen session.
>
> When I say M- to promote current heading I get '3C'.

[...]

> * My setup
> - gnome-terminal2.18.4

I "solved" changing gnome-terminal with unicode rxvt.

Thank you for your help Phil.

-- 
Systems.Administrators.like.things.automated.



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


Re: [Orgmode] Org-mode on Cygwin

2008-02-07 Thread Eddward DeVilla
I'm not sure I understand.  I use them all the time, but I don't know
what puttycyg is.  I assume you aren't running emacs as a window under
the Xserver and using some terminal emulator?  If so, is there a
reason you don't run it under the server?

Edd

On Feb 7, 2008 6:51 AM, Manish <[EMAIL PROTECTED]> wrote:
> Has anyone figured out how to use shift+arrowkeys on Cygwin Emacs?  I
> am using puttycyg [1] for client.  I have to use Windows Emacs just to
> use this feature of org-mode.
>
> Regards,
> --
> Manish
> [1] http://web.gccaz.edu/~medgar/puttycyg/
>
>
> ___
> Emacs-orgmode mailing list
> Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 5.21: Bug fixes

2008-02-07 Thread Maurice Boucher
Carsten,

Carsten Dominik <[EMAIL PROTECTED]> disait le 02/07/08 que :

> Org-mode 5.21 fixes the bugs reported in 5.20, at least
> those that I can reproduce.
>
> - Carsten

C-c aL now works for me.

GNU Emacs 23.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.5)
 of 2008-01-26 on elegiac, modified by Debian

Thanks,

Maurice



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


[Orgmode] Re: Timeline not working in 5.20

2008-02-07 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> On Feb 7, 2008, at 3:11 AM, Mark Ochocki wrote:
>
>> Phil Jackson wrote:
>>> Wanrong Lin <[EMAIL PROTECTED]> writes:
 I have the same problem, and here is a mini-example that will
 generate
 the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
 helps.
>>> I've had a look and I think the culprit is:
>>> ,[ line 21411 ]
>>> |  dfrac (/ (* 1.0 (- wdays diff)) wdays)
>>> `
>>> Which evals to -0.0e+NaN and then propagates. Might see if I can dig
>>> further tomorrow if I get time.
>>> Cheers,
>>> Phil
>>
>> I believe line 21411 also causes problems with Deadlines when
>> individual items are changed from the default set in org-deadline- 
>> warning-days.
>>
>> Here's an example from my org file:
>>
>> Day-agenda:
>>  Controller:In   4 d.:  TODO Review Fin... :workpc:(priority 1060)
>>  Controller:In   5 d.:  TODO Brief MA...   :work:  (priority 1050)
>>  Controller:In   4 d.:  TODO Run sale...   :workpc:(priority 1042)
>>
>> org file:
>> * TODO Run sale...   :workpc:
>>  DEADLINE: <2008-02-10 Sun +1m -7d>
>> * TODO Review Fin... :workpc:
>>  DEADLINE: <2008-02-10 Sun +1m -10d>
>> * TODO Brief MA... :work:
>>  DEADLINE: <2008-02-11 Mon -10d>
>
> Well, I guess this is a matter of taste.  Do you want the deadlines
> prioritized
> according to the fraction of warning time that has past, or according to
> the number of days left to do them.  Opinions?
>
> - Carsten

Here's my two cents :)

I think prioritizing it based on the number of days left to complete it
and still meet the deadline makes more sense to me.  I set longer time
frames for some deadlines because I want them to be visible early on the
agenda as a reminder even if I'm not planning to work on them right
away.  Deadlines are drop dead dates for me and things need to be
completed on or before the deadline expires.  Working on the things that
expire first just feels more natural to me.

-Bernt

>
>>
>>
>>
>> I think the 5 day deadline should have a lower priority than the 4
>> day priority regardless of the percentage of completion. Agree?
>>
>> Mark J. Ochocki


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


[Orgmode] Release 5.21: Bug fixes

2008-02-07 Thread Carsten Dominik

Org-mode 5.21 fixes the bugs reported in 5.20, at least
those that I can reproduce.

- Carsten


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


[Orgmode] Org-mode on Cygwin

2008-02-07 Thread Manish
Has anyone figured out how to use shift+arrowkeys on Cygwin Emacs?  I
am using puttycyg [1] for client.  I have to use Windows Emacs just to
use this feature of org-mode.

Regards,
-- 
Manish
[1] http://web.gccaz.edu/~medgar/puttycyg/


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


Re: [Orgmode] cygwin and org mode

2008-02-07 Thread Manish
On Feb 6, 2008 11:55 PM, Paul Schlesinger <[EMAIL PROTECTED]> wrote:
>
>
> When I attempt to load Org-mode in emacs 21 under cygwin I get  symbol not
> defined and macro-declaration-function is not found.  I ca not find this
> error in the mailing list database and wonder if there is any help from your
> experience to correct it.
>

I am using org 5.20 with Emacs 22.1.1 on Cygwin, works perfectly here.
 Are you configuring org for the first time or is it an upgrade from
an older version?  I would suggest double checking your configuration
in .emacs.

Regards,
-- 
Manish


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


[Orgmode] CONTRIB and changes

2008-02-07 Thread Phil Jackson
Hi,

On Carstens request I've created a ChangeLog file in the root of
CONTRIB that people who haven't signed the papers can use for their
er... conribs.

I would also like to point out that I was the first person to have their
changes reverted (doh) :)

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


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


Re: [Orgmode] Integration of Org mode with Mairix: org-mairix.el

2008-02-07 Thread Carsten Dominik

Hi George,

would you like to get push access to out Org-mode repository, so that  
you

can push org-mairix.el into that repository?

- Carsten

On Sep 26, 2007, at 3:45 PM, Georg C. F. Greve wrote:


Hi all,

since it appears that quite some people are using Org mode to do their
GTD organising, and email obviouisly plays an important role in that,
I've taken a little bit of time to clean up the integration of Mairix
with Org.

At the moment it only has support for Gnus as MUA, but it should be
fairly simple to also support other MUAs, the code supports it. I've
also made sure the file has the appropriate legal notices and such, so
it may eventually be elegible for integration into Org mode.

The weakest point right now is the selection of the Gnus group upon
matching, as I am still looking for a way to do this in Gnus that will
not generate zombies.

But overall I'm quite happy now: By default, this will pull an entire
thread into the search group and automatically select the mail that  
was

linked to.

Please test, help debug and extend. I don't have the time to maintain
this actively, but would be happy if people found it useful.

Regards,
Georg




--
Georg C. F. Greve  
<[EMAIL PROTECTED]>
Free Software Foundation Europe	 (http:// 
fsfeurope.org)
Join the Fellowship and protect your freedom! (http:// 
www.fsfe.org)
What everyone should know about DRM   (http:// 
DRM.info)

___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [OT] GNU Screen and arrow keys

2008-02-07 Thread lore
Phil Jackson wrote:

> lore <[EMAIL PROTECTED]> writes:
>
>> Phil Jackson wrote:
>>
 When I say M- to promote current heading I get '3C'.
>>>
>>> I'm a screen/TTY emacs user and I don't see the same behaviour. What
>>> is your TERM value outside and inside screen?
>>
>> screen, inside
>> xterm, outside
>
> And if within screen you set your TERM to xterm-256color (for example)
> and then start emacs?

It works properly with that TERM.

-- 
Systems.Administrators.like.things.automated.



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


Re: [Orgmode] Strange bug, request for more info

2008-02-07 Thread Carsten Dominik

Hi Jost,

I think I and many other people here owe you a beer.  You have finally
succeeded to make a reproducible case for this bug.  This is a bug  
somewhere

deep inside Emacs where some routine seems to call `set-window-start'
without the no-force argument behind my back.  I have a work-around,  
so I
am optimistic that this dreaded bug will have disappeared in the next  
release.


Thanks!

- Carsten

On Feb 6, 2008, at 7:08 PM, Jost Burkardt wrote:


Carsten Dominik <[EMAIL PROTECTED]> writes:


Hi everyone,

The bug happens when being in the agenda and trying to goto or show
the origin location of an agenda entry by pressing SPC or RET.
John reports that sometimes (for him several times a day),
the other window shows a completely different location.
The most weird part of it is that going back to the agenda buffer
and then trying the exact same command again, everything works
fine!  This is driving me crazy, and I'd love to find and fix
this problem.

So please, if anyone sees the same bug, try to give as as much as  
info

as possible.  How often does it happen, under what circumstances,
what is your setup etc etc.


Hi,

I think I've finally found a example to reproduce this bug. The sample
orgfile looks like this

 orgfile starts here ---
# -*- mode: org -*-

* Tasks
** DONE some Task
** DONE some Task
** DONE some Task
** DONE some Task
** DONE some Task
** DONE some Task
...
* calendar
** some calendar entry
  <2008-02-10 Do 18:30>
 orgfile ends here 

instead of "..." please add many more similar lines (approx. 50)  
of "** DONE some Task"


What I do is the following
- hide all sublevels via C-u TAB
- move cursor to  "* Tasks" cycle with TAB
- move cursor to second entry
- M-x calendar
- M-x org-calendar-goto-agenda
- within agenda move cursor to calendar entry
- press TAB

What happens is that focus is switched to org-file, but the cursor  
sits
on the 8th entry of "** DONE Some Task". When I move the cursor to  
the end

of my orgfile, I can see that the calendar entry is now correctly
reveal. Just the cursor position seems to be wrong. I tried using
edebug, but when stepping manually through org-agenda-goto, everything
went just fine and the cursor was positioned on the correct line?

When generating the above sample orgfile, the following aspects seemed
important.
- at least two lines before the entry "* Tasks", otherwise focus  
worked

 correctly
- many subentries below "* Tasks", I had the impression that frame has
 to be filled
- focus: the sublevels of "* calendar" must be hidden, maybe that
 explains, why position is found correctly on the second try.

I tried this on emacs 22.1.90 on windows with org-5.19a. I'll will  
test

this also with 5.20 (I just saw you did release it - I'm very much
looking forward to this release - Thank you !!)

Please inform me, if you need further information.

Best regards,

--
Jost




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


Re: [Orgmode] Git org and Emacs CVS

2008-02-07 Thread Carsten Dominik

Hi Leo,

synching with Emacs still needs special care and I am not yet  
experienced enough
with git to set up something more automatic.  So not, this will not  
change

anything.

As you know, there are scripts out there which will upgrade to the  
lates org-mode

with a single command.  Why don't you use these?

- Carsten

On Feb 6, 2008, at 6:32 PM, Leo wrote:


Dear All,

I compiled a new Emacs from latest CVS from time to time and wish also
to use the latest org version.

I know that it has been a hassle for Carsten to sync org with the  
one in

Emacs. However with the new facility git, will that be easier to do?

Best,
--
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

 Use the best OS -- http://www.fedoraproject.org/



___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-export-region-as-latex exports more than region

2008-02-07 Thread Carsten Dominik


On Feb 7, 2008, at 1:08 AM, Nick Dokos wrote:
PS. Here is a suggestion so that org-version behaves like emacs- 
version -
makes it easier to insert version strings in mail messages and bug  
reports:


(defun org-version (&optional here)
 (interactive "P")
 (let ((version (format "Org-mode version %s" org-version)))
   (message version)
   (if here
   (insert version



Good suggestion, I will use this.  Thanks.

- Carsten



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


[Orgmode] faces for keywords

2008-02-07 Thread Dmitri Minaev
When I followed the examples given in the manual for setting
org-todo-keyword-faces, I could change the font color but not its
weight.  I had to defface a new face and use it in the
org-todo-keyword-faces to get the bold font.

What I did first was:
(setq org-todo-keyword-faces
  '(("WAITING"  . (:foreground "blue" :weight bold :bold t

The same face definition syntax used with defface worked well:
(defface org-waiting-face '((t (:foreground "blue" :weight bold :bold
t))) "Face for WAITING todo items.")
(setq org-todo-keyword-faces
  '(("WAITING"  . org-waiting-face)))

GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)

What did I do wrong?

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com


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


Re: [Orgmode] Re: [OT] GNU Screen and arrow keys

2008-02-07 Thread Phil Jackson
lore <[EMAIL PROTECTED]> writes:

> Phil Jackson wrote:
>
>>> When I say M- to promote current heading I get '3C'.
>>
>> I'm a screen/TTY  emacs user and I don't see  the same behaviour. What
>> is your TERM value outside and inside screen?
>
> screen, inside
> xterm, outside

And if within screen you set your TERM to xterm-256color (for example)
and then start emacs?

Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


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


Re: [Orgmode] Re: Timeline not working in 5.20

2008-02-07 Thread Carsten Dominik


On Feb 7, 2008, at 3:11 AM, Mark Ochocki wrote:


Phil Jackson wrote:

Wanrong Lin <[EMAIL PROTECTED]> writes:
I have the same problem, and here is a mini-example that will  
generate

the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
helps.

I've had a look and I think the culprit is:
,[ line 21411 ]
|  dfrac (/ (* 1.0 (- wdays diff)) wdays)
`
Which evals to -0.0e+NaN and then propagates. Might see if I can dig
further tomorrow if I get time.
Cheers,
Phil


I believe line 21411 also causes problems with Deadlines when  
individual items are changed from the default set in org-deadline- 
warning-days.


Here's an example from my org file:

Day-agenda:
 Controller:In   4 d.:  TODO Review Fin... :workpc:(priority 1060)
 Controller:In   5 d.:  TODO Brief MA...   :work:  (priority 1050)
 Controller:In   4 d.:  TODO Run sale...   :workpc:(priority 1042)

org file:
* TODO Run sale...  :workpc:
 DEADLINE: <2008-02-10 Sun +1m -7d>
* TODO Review Fin...:workpc:
 DEADLINE: <2008-02-10 Sun +1m -10d>
* TODO Brief MA...:work:
 DEADLINE: <2008-02-11 Mon -10d>


Well, I guess this is a matter of taste.  Do you want the deadlines  
prioritized

according to the fraction of warning time that has past, or according to
the number of days left to do them.  Opinions?

- Carsten





I think the 5 day deadline should have a lower priority than the 4  
day priority regardless of the percentage of completion. Agree?


Mark J. Ochocki



___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] problem with org-refile remains in 5.20

2008-02-07 Thread Carsten Dominik

I cannot reproduce this problem anymore, it works fine for me.
Could someone else please try?

- Carsten

On Feb 6, 2008, at 8:23 PM, Jost Burkardt wrote:


Hi,

org-refile still does not work correctly for me. it seems that the
refiling-bug from 5.19 still remains in 5.20. When refiling the entry
"something to refile to Project/A/Notes" to "Project/A/Notes",
org-refile sitll puts it to "Project/B/Notes" instead to "Project/A/ 
Notes"



- BEGIN TEST.org ---
* Stuff
** something to refile to Project/A/Notes
* Projects
** A
*** Notes
** B
*** Notes
- END TEST.org -

--
Jost




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


Re: [Orgmode] Re: CATEGORY in different levels

2008-02-07 Thread Carsten Dominik


On Feb 7, 2008, at 12:31 AM, Sven Bretfeld wrote:


Hi Jost

Jost Burkardt <[EMAIL PROTECTED]> writes:


Sorry to correct you, but the result is correct. As Carsten said:

The :CATEGORY: property applies to the entry headline _above_ it,  
and to

the entire tree below it

So in your example


* Teaching
:PROPERTIES:
:CATEGORY: Teaching
:END:
** Sanskrit I (WS08):PROJECT:
 :PROPERTIES:
 :CATEGORY: Sanscrit I
 :END:


the ":CATEGORY: Sanscrit I" applies to the entry _above_, i.e.

** Sanskrit I (WS08)

and  the  ":CATEGORY: Teaching" is overridden. The TODO
entries in your file are _below_  ":CATEGORY: Sanscrit I"
so they will show up fine.

Think of the PROPERTIES as an attribute of the entry above.


Ok, I understand now. Thanks for explaining.

What I want to do seems quite simple and natural to me. What would be
the org-way to get my desired output? Can I use two different property
keywords, one for areas and one for projects? How do other people do
it?



There are three ways to do what you want.

1. Put a CATEGORY property into every child of "Sanscrit I"
2. Work around it with a "Teach/Sanscrit I" category
2. Change what you *want* by realizing that it is actually a good
   convention what we have right now.

- Carsten



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


Re: [Orgmode] Timeline not working in 5.20

2008-02-07 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Feb 6, 2008, at 7:57 PM, Wanrong Lin wrote:



I have the same problem, and here is a mini-example that will  
generate the error "Arithmetic range error: "floor", -0.0e+NaN ",  
hope it helps.


Wanrong

-
* Human Resources
*** TODO Do Employee survey
  DEADLINE: <2008-02-14 Thu>
--



Carsten Dominik wrote:

Hi Sven,

please make a minimal file that still reproduces this bug,
or at least prepare a backtrace so that we can have a chance.

When I take a random file, the timeline works just fine for me.

- Carsten

On Feb 6, 2008, at 10:59 AM, Sven Bretfeld wrote:


Hi

I've installed 5.20 today. There seems to be a bug with "Timeline  
for

current buffer" (C-c aL)

Arithmetic range error: "floor", -0.0e+NaN

The Agenda buffer shows only one timestamped item. It's the same on
both my machines (with an identical org-file). I'm using GNUEmacs
23.0.50.1 on Debian Etch.

Greetings

Sven
___
Emacs-orgmode mailing list
Remember: 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
Remember: 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
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug in #+SEQ_TODO: config?

2008-02-07 Thread Carsten Dominik


On Feb 7, 2008, at 12:46 AM, Rainer Stengele wrote:


Hi all,

I think i found a bug/unwanted behaviour:

1. Having this config at the top of an org file:

#+SEQ_TODO: TODO INARBEIT WARTEN| DONE CANCELED DELEGATED

I do get all (!) DONE entries in any agenda call. although I  
configured to not see any of them ((org-agenda-skip-scheduled-if- 
done t) etc.).



2. Having this config at the top of an org file:

#+SEQ_TODO: TODO INARBEIT WARTEN | DONE CANCELED DELEGATED


I get correct agenda behaviour - all DONE items disappear.
The only difference is the space after "WARTEN"!
That was not quite easy to track down ...

Is this intended?


Well, you told Org-mode to use "WARTEN|" as a keyword, and you did not  
have
a separator between TODO and DONE states in that line.  Therefore, Org- 
mode
thinks that only "DELEGATED" is a DONE state.  This is the default  
behavior,

use the last keyword as "done" state.  It is documented that way.

- Carsten



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


[Orgmode] Re: RELEASE: Org-mode version 5.20

2008-02-07 Thread Carsten Dominik


On Feb 7, 2008, at 12:33 AM, Rainer Stengele wrote:


Carsten Dominik schrieb:

On Feb 6, 2008, at 4:18 PM, Rainer Stengele wrote:

  - [ ]
- [X]
- [X]
- [X]
- [X]
  - [X]
- [X]
- [X]
- [ ]
- [X]

Yes, still bugs in there
- Carsten



I have fixed this part.



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


ok then.

Maybe this is also important:

Using the setup as above in my quite long main org file (680.000  
Bytes) will bring org-mode/emacs to "hang" when C-c one of the  
entries.


What do you mean here?  what is "and entry", is it a headline
somewhere unrelated, or is it one of the checklist items here?
Also you probably do no press "C-c" alone?



Only a C-g stops the process and continues.
Moving the lines to a small org file the "hanging" disappears.


Please check if this is still present.  If yes, please load an  
uncompiled org.el,

turn debug-on-quit on, hit the bug, wait a while, the hit C-g and sent
me the backtrace.

- Carsten


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


Re: [Orgmode] Timeline not working in 5.20

2008-02-07 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Feb 7, 2008, at 12:10 AM, Phil Jackson wrote:


Wanrong Lin <[EMAIL PROTECTED]> writes:

I have the same problem, and here is a mini-example that will  
generate

the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
helps.


I've had a look and I think the culprit is:

,[ line 21411 ]
|  dfrac (/ (* 1.0 (- wdays diff)) wdays)
`

Which evals to -0.0e+NaN and then propagates. Might see if I can dig
further tomorrow if I get time.

Cheers,
Phil
--
Phil Jackson
http://www.shellarchive.co.uk


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] Fix grammer and incorrect key documentation for org-refile

2008-02-07 Thread Carsten Dominik

You are right, this is fixed now.  Thanks.

- Carsten

On Feb 7, 2008, at 3:27 AM, Bernt Hansen wrote:


Documentation fixes to clarify the use of org-refile.
---

I came across the following documentation today which I believe is
incorrect.  Here's a patch in case it's useful.  Thanks again for a
great tool!

org.el |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/org.el b/org.el
index 8fffb80..c73218b 100644
--- a/org.el
+++ b/org.el
@@ -14016,9 +14016,9 @@ At the target location, the entry is filed  
as a subitem of the target heading.
Depending on `org-reverse-note-order', the new subitem will either  
be the

first of the last subitem.

-With prefix are GOTO, the command will only visit the target  
location,
+With prefix argument GOTO, the command will only visit the target  
location,

not actually move anything.
-With a double prefix `C-c C-c', go to the location where the last  
refiling
+With a double prefix `C-u C-u', go to the location where the last  
refiling

operation has put the subtree.

With a double prefix argument, the command can be used to jump to any
--
1.5.4.23.gef5b9




___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode