Re: [Orgmode] Re: Linux Journal

2008-01-20 Thread Carsten Dominik


On Jan 20, 2008, at 5:16 AM, Leo wrote:


On 2007-11-08 17:05 +, Dale Smith wrote:
Great.  Any chance that people in this list could read it  
*somewhere*,

even if not Linux Journal subscribers?


I'm not sure.  There is this link, but you need to be a registered
print or digital subscriber: http://www.linuxjournal.com/article/9116

-Dale


This is now open to public. Shall we include it in orgmode.org?



There is now a link to this article on the tutorials page.

- 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] Small documentation change regarding Agenda View

2008-01-20 Thread Chris Randle
Hi,

There is, I believe, a small mistake in the documentation for org-mode
v5.19 (although it's been there since the change was made to the code).

PDF Manual page 69, section 10.5, Agenda Views
PDF Reference Card (2/2), Agenda Views, Change display

Both list the toggle time grid key as 'g', whereas it's now 'G'.

-- 
Chris Randle



___
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] Documentation request

2008-01-20 Thread Rustom Mody
On Jan 19, 2008 10:44 PM, Sven Bretfeld [EMAIL PROTECTED] wrote:

 Hello to all

 Org mode is powerful. This well-known, almost trivial, statement
 contains a problematic dimension that is so far not solved in neither
 the documentation nor in the various howtos all over the web: How do
 newbies learn to make optimal use of all it's power?


Hear Hear Sven!
I too must confess to increasing depression at the fact that -- in my little
world -- the imminent marriage of GTD with org is far from consummated.  Two
months back I told my friends Give me 2 days of 'leave-me-alone' and I'll
grok this org-thing and soon have my life in order.

2 months on and I am yet to figure out how to match the org notion of agenda
with the corresponding GTD lists.  Not yet figured out how to use
remember... Just 2 examples... Much else that has me at sea...


 I read quite a few descriptions of how to use org mode for GTD,
 day-planning, even LaTeX-writing. But when reading this list I have
 the impression that many members use org mode in a much more creative
 way than I can imagine from reading what is to be found on the web.

 I'm sure that I don't use the possibilities of org mode in an optimal
 way, and that my concept of ordering data and using features is not
 the best suitable for me. The major problem is as follows:

 - Even if one knows what features are available in org-mode, it's hard
  to imagine what fine things you can actually do with them and how
  they could be used to complement each other in order to build up a
  meaningful overall concept.


This may be so Sven but I see the problem as more basic:

I never learnt how to be organized
I do not know the intricacies of orgmode
The use of org for organizing (a la GTD or anything else) is clearly a
second order problem



 In other words, it's a problem of imagination. This might be *my*
 problem, but yet I believe that many users will have this same
 difficulty, especially the new ones. John Wiegley's and Charles Cave's
 howtos are fine and most instructive in this respect, but I have
 different needs. I need more of these suggestions in order to pick out
 ideas for my own style. On the org mode homepage there are several
 descriptions of setups (Lisp code), but AFAIK only these two
 explanations of concepts. We had many postings that gave a glimpse on
 some concepts, but this is piecemeal.

 What I would really like to see -- and now I come to my suggestion --
 are some snapshots of org files by other users. What features are they
 using and what for? What is the underlying concept of their
 organization structure? What I need is the: Aah, you are doing it
 that way ...


Of course this  would be useful.
Also would be useful to see the lisp setups, makefiles/shell scripts people
are using showing how remember, diary, bbdb and much else hang together


 How do you think about making a space on the tutorial page of the org
 mode homepage where people can upload example org-files, maybe
 together with a short description of their concepts? Of course these
 files have to be prepared in order to disguise their personal tasks
 and dates, which are (of course) of no concern to the public, but they
 should have to be recognizable as snapshots of a work-in-progress
 (project A, project B isn't very instructive, I think. Writing
 chapter 4 of my dissertation thesis would be much more informative).

 I think this could be a valuable source for ideas how to optimize the
 use of org mode, and it could give newbies (as well as experts) a
 major clue to orientate themselves in the world of org mode.

 I hope this request is not too silly. Of course, I would be willing to
 become the first person to submit a file, although I believe that
 there is not much to be learned from it.

 Thanks for considering my request (and for reading this long message)

 Sven


Sorry if Ive sounded grumpy.  When I saw the mail talking of the need to
rewrite org-mode I thought I know lisp better than many people and I may
even be able to round up some ex-students of mine to chip in to this
rewrite.
Then I thought-- knowing Scheme is one thing whereas the intricacies of
elisp something else.  Each time the emacs version bumps up I find I
understand it less and less

So for now will have to stay as a user rather than contributor. :-(
___
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] Small documentation change regarding Agenda View

2008-01-20 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Jan 20, 2008, at 11:03 AM, Chris Randle wrote:


Hi,

There is, I believe, a small mistake in the documentation for org-mode
v5.19 (although it's been there since the change was made to the  
code).


PDF Manual page 69, section 10.5, Agenda Views
PDF Reference Card (2/2), Agenda Views, Change display

Both list the toggle time grid key as 'g', whereas it's now 'G'.

--
Chris Randle



___
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] optimising the selection of alternatives in remember templates

2008-01-20 Thread Carsten Dominik

Hi Rainer,

I am not sure how this is supposed to work in a practical way.  Are  
these for filling in 3 different places in a tempate, or just one?  In  
the latter case, how about setting up a syntax
   company1/customer name1|company1/customer name2  | company2/ 
customer name4...



and then just using completion to go throough from company to name?

- Carsten

On Jan 19, 2008, at 12:13 AM, Rainer Stengele wrote:


Imagine using remember to write down a note about a telephone call.
These days I have a remember template with the most possible  
customers company name, the most possible customer names and then  
subjects and the types.


This adds up to a lot of alternatives in the template.
For choosing the correct one I have to switch through a lot of  
alternatives which are uninteresting as soon as I have chosen the  
first alternative, here the company name.


I find the remember templates are an awesome feature!
They could be optimised in terms of usability if I could define the  
alternatives hierarchically like for example



(company1 - ((customer name1|customer name2|customer name3)
 (project name1|project name2|project name3)
 (incident type1|incident type2|incident type3|)))
(company2 - ((customer name4|customer name5|customer name6)
 (project name1|project name4|project name4)
 (incident type1|incident type3|incident type4|)))
...

This would help speeding up the selection of the correct  
alternatives in a remember template depending on the selection first  
made while a customer is just beginnning to talk on the phone.


I hope this was clear enough.


Rainer



___
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] Re: Remember and then refile

2008-01-20 Thread Piotr Zielinski
On Jan 18, 2008 10:19 PM, Steven Lumos [EMAIL PROTECTED] wrote:

 Have you considered somehow merging the tree selection and
 minibuffer with completion methods so that both are available
 simultaneously?

I haven't made up my mind about org-refile yet, but I'd like to speak
in defense of org-goto.  In my setup, when you start typing in
org-goto, it automatically enters the isearch mode that searches only
headlines, which is very useful for refiling and kind of achieves what
you are asking for.  This requires some additional elisp code; I can
repost it if somebody is interested.

As for completion, both org-refile and org-goto should work with
icicles but I haven't tried it extensively yet (icicles provides
general-purpose extensive completion support for emacs).  My main
point is that I'd rather vote for making org-mode work well with
otherspecialized modes (eg icicles) than for reimplementing the
features.

Thanks,
Piotr


___
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: Remember and then refile

2008-01-20 Thread Carsten Dominik


On Jan 18, 2008, at 11:19 PM, Steven Lumos wrote:


Carsten Dominik [EMAIL PROTECTED] writes:

On Jan 18, 2008, at 9:40 PM, Steven Lumos wrote:


Carsten Dominik [EMAIL PROTECTED] writes:

This will be in 5.19.  Thanks for the proposal!.

- Carsten


Hi.

Have you considered somehow merging the tree selection and  
minibuffer

with completion methods so that both are available simultaneously?


Could you please be more specific?

Thanks.

- Carsten


Maybe. :-)

Currently, C-u C-c C-c in remember uses this Select a destination
location for the note mode where you navigate the org tree in the
usual way and then RET to select a headline.

On the other hand, org-refile uses the minibuffer and you type a
headline, with completion and history.

So recently I've been thinking it should be possible (though only
arguably desirable) to allow both of these modes to be active at once,
so movement commands would navigate the tree and typing commands would
append to the minibuffer.

There are key conflicts that need to be worked out, but I think it
could be done.  For one example, TAB could do completion if there is
text in the minibuffer, and tree navigation otherwise.


Hmm, this sound like over-complx to me.  I would use the interface
that makes sense most of the time and then move by hand in the
remaining cases.  Or do you think tat the interface you want
is dependent on the template you are using?

- Carsten




Steve




Steve


On Jan 7, 2008, at 5:05 PM, Hugo Schmitt wrote:


Hello everyone!

I know Remember allows one to select where we want to file an  
entry
with C-u C-c C-c, but now that we have org-refile (great!), it  
would

be really nice to be able to call org-refile after the text is
inserted on it's default place (mine is the Tasks tree on  
todo.org)

Now, I couldn't find a way to insert this nicely into the code,
since that is done via the remember command.
Any ideas?

Thanks in advance,
Hugo




___
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: Remember and then refile

2008-01-20 Thread Leo
On 2008-01-20 14:31 +, Piotr Zielinski wrote:
 As for completion, both org-refile and org-goto should work with
 icicles but I haven't tried it extensively yet (icicles provides
 general-purpose extensive completion support for emacs).  My main
 point is that I'd rather vote for making org-mode work well with
 otherspecialized modes (eg icicles) than for reimplementing the
 features.

But the problem with icicles is that it might never be included in
Emacs.

-- 
.:  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


Re: [Orgmode] Re: BUG?: repeat items disappears in agenda

2008-01-20 Thread Carsten Dominik

Hi Dennis, thanks for the patch.

I am not sure yet if you are using the right condition though.  It  
seems to me that extending the late-warning-period makes sens only for  
repeating *tasks*, where the base date keeps changing each time you  
mark this entry as DONE.  So maybe the condition should be that it is  
today *and* that the item is a task marked by a TODO keyword.


Or: maybe for Scheduled, we should no relate to the *nearest* match of  
the repeater, but to the most recent one.  This way you would get over- 
due warnings right up to the day where the next occurrence of this  
item is scheduled.  So you would never loose sight on the item.


H.  More discussion please!

- Carsten

On Jan 18, 2008, at 10:55 PM, Dennis J Lin wrote:


Salutations!


Please post your code, you can always do this, the copyright question
only star when we decide to use it.  And even then, 4 lines is very  
little.


Sure, please see it below :-)

Dennis Lin



Basically, in org-agenda-get-scheduled, we call
org-time-string-to-absolute passing in d1 (the day that we're trying
to get agenda items for.)  The problems is that if d1 is today, we
will get the closest day, which may be in the future, leading to the
problem.  The patch that I've found was to not pass in d1 if  
todayp is

true.

I have a 4 line patch implementing this (and I probably should write
another one to fix a similar problem with deadlines), but I've not
signed a FSF release, so I don't know if you want me to post my code
here.


Now, this patch is now quite old (it was for 5.08) but it should still
apply cleanly.  Looking at it, it might be whitespace damaged, and
there should be a similar change for the get-deadline.  However, I
think it gets the idea across (and seems to fix the problem for me.)

Dennis Lin

--- old/org.el  2007-09-05 03:16:41.0 -0500
+++ new/org.el  2007-09-09 00:50:36.0 -0500
@@ -18676,7 +18676,9 @@
(org-agenda-skip)
(setq s (match-string 1)
  pos (1- (match-beginning 1))
- d2 (org-time-string-to-absolute (match-string 1) d1)
+ d2 (if todayp
+ (org-time-string-to-absolute (match-string 1))
+   (org-time-string-to-absolute (match-string 1) d1))
  diff (- d2 d1))
(setq pastschedp (and todayp ( diff 0)))
;; When to show a scheduled item in the calendar:




___
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: Remember and then refile

2008-01-20 Thread Hugo Schmitt
I use ido all day, and I find ido-completing-read much nicer/cooler
than the default. If anyone wants to try, just change the sexp
(completing-read ...) inside org-refile for something like:

(if (fboundp 'ido-completing-read)
 (ido-completing-read Refile to:  tbl nil t nil 'org-refile-history)
 (completing-read Refile to:  tbl nil t nil 'org-refile-history))

... and the good thing is that ido comes with emacs22.

Cheers,
Hugo

On Jan 20, 2008 12:44 PM, Leo [EMAIL PROTECTED] wrote:
 On 2008-01-20 14:31 +, Piotr Zielinski wrote:
  As for completion, both org-refile and org-goto should work with
  icicles but I haven't tried it extensively yet (icicles provides
  general-purpose extensive completion support for emacs).  My main
  point is that I'd rather vote for making org-mode work well with
  otherspecialized modes (eg icicles) than for reimplementing the
  features.

 But the problem with icicles is that it might never be included in
 Emacs.

 --
 .:  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-batch-store-agenda-views - bug or functional change?

2008-01-20 Thread Carsten Dominik

Hi,

yes, there was a change in this function, some time ago.  But org- 
batch-store-agenda-views calls `org-agenda-normalize-custom-commands'  
to offset this change.  Maybe you have something odd in org-agenda- 
custom-commands?


- Carsten

On Jan 20, 2008, at 12:03 AM, wasyst wrote:


First of all - org-mode is a great peace of software which I use
everyday now. Thanks!

I'm not sure if this is the place for bug reports, but I could not
find other link.
It might be a change in functionality, but I could not find anything
relevant in the changelog or in the documentation.

My custom defined agenda views stopped to export and I tracked the
problem down to a change in org-batch-store-agenda-views function
(after version 5.16 I believe ) in the following fragment:
(setq cmd (pop cmds)
  thiscmdkey (car cmd)
  opts (nth 4 cmd)
  files (nth 5 cmd))
The function used to look in the 3rd and 4th element of the list for
opts and files before. Changing the last two lines to
opts (nth 3 cmd)
 files (nth 4 cmd))
fixes the problem for me.

Was there a change in the parameters list?

Thanks!


___
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: BUG?: repeat items disappears in agenda

2008-01-20 Thread Bernt Hansen
I'm using the agenda to keep my important tasks 'in my face' so they get
dealt with.  This is normally the only place my repeating tasks show up.
If I miss a repeating task for a few days for some reason the worst
thing (for me) that can happen is it falls off the agenda for some time
without being completed.  In that case I lose it until it comes up again
and now it's really late.

It's fine if the date resets on the next repeating date if it remains
undone that long but I'd really prefer the task to stay on the agenda no
matter what - until it is completed (and moves to some future date).

Just my two cents :)

Bernt

Carsten Dominik [EMAIL PROTECTED] writes:

 Hi Dennis, thanks for the patch.

 I am not sure yet if you are using the right condition though.  It
 seems to me that extending the late-warning-period makes sens only for
 repeating *tasks*, where the base date keeps changing each time you
 mark this entry as DONE.  So maybe the condition should be that it is
 today *and* that the item is a task marked by a TODO keyword.

 Or: maybe for Scheduled, we should no relate to the *nearest* match of
 the repeater, but to the most recent one.  This way you would get
 over- 
 due warnings right up to the day where the next occurrence of this
 item is scheduled.  So you would never loose sight on the item.

 H.  More discussion please!

 - Carsten

 On Jan 18, 2008, at 10:55 PM, Dennis J Lin wrote:

 Salutations!

 Please post your code, you can always do this, the copyright question
 only star when we decide to use it.  And even then, 4 lines is very
 little.

 Sure, please see it below :-)

 Dennis Lin


 Basically, in org-agenda-get-scheduled, we call
 org-time-string-to-absolute passing in d1 (the day that we're trying
 to get agenda items for.)  The problems is that if d1 is today, we
 will get the closest day, which may be in the future, leading to the
 problem.  The patch that I've found was to not pass in d1 if
 todayp is
 true.

 I have a 4 line patch implementing this (and I probably should write
 another one to fix a similar problem with deadlines), but I've not
 signed a FSF release, so I don't know if you want me to post my code
 here.

 Now, this patch is now quite old (it was for 5.08) but it should still
 apply cleanly.  Looking at it, it might be whitespace damaged, and
 there should be a similar change for the get-deadline.  However, I
 think it gets the idea across (and seems to fix the problem for me.)

 Dennis Lin

 --- old/org.el   2007-09-05 03:16:41.0 -0500
 +++ new/org.el   2007-09-09 00:50:36.0 -0500
 @@ -18676,7 +18676,9 @@
  (org-agenda-skip)
  (setq s (match-string 1)
pos (1- (match-beginning 1))
 -  d2 (org-time-string-to-absolute (match-string 1) d1)
 +  d2 (if todayp
 + (org-time-string-to-absolute (match-string 1))
 +   (org-time-string-to-absolute (match-string 1) d1))
diff (- d2 d1))
  (setq pastschedp (and todayp ( diff 0)))
  ;; When to show a scheduled item in the calendar:



 ___
 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] [PATCH] Fix typo

2008-01-20 Thread Bernt Hansen
conveiently - conveniently
---
 org.texi |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/org.texi b/org.texi
index 3583009..2734e6f 100644
--- a/org.texi
+++ b/org.texi
@@ -3409,7 +3409,7 @@ application of properties, imagine keeping track of one's 
music CD's,
 where properties could be things such as the album artist, date of
 release, number of tracks, and so on.
 
-Properties can be conveiently edited and viewed in column view
+Properties can be conveniently edited and viewed in column view
 (@pxref{Column view}).
 
 Properties are like tags, but with a value.  For example, in a file
-- 
1.5.4.rc3.24.gb53139




___
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: BUG?: repeat items disappears in agenda

2008-01-20 Thread Dennis J Lin
Salutations!

 Hi Dennis, thanks for the patch.

 I am not sure yet if you are using the right condition though.  It seems to 
 me that extending the late-warning-period makes sens only for repeating 
 *tasks*, where the base date keeps changing each time you mark this entry 
 as DONE.  So maybe the condition should be that it is today *and* that the 
 item is a task marked by a TODO keyword.

Hmm, that may be -- every entry that has a date is a TODO for me.  I
would think that a non-todo entry (repeating or not) should only occur
on the day(s) where it's scheduled, since there is no way to mark it
done and get it off of today's agenda.

 Or: maybe for Scheduled, we should no relate to the *nearest* match of the 
 repeater, but to the most recent one.  This way you would get over-due 
 warnings right up to the day where the next occurrence of this item is 
 scheduled.  So you would never loose sight on the item.

However, if we do this, we lose information on *how* overdue a
particular item is.  I tend to keep things on the agenda and let the
large numbers shame me into getting things done...

Dennis Lin


___
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] BUG? starting org-agenda-list from .emacs

2008-01-20 Thread Bernt Hansen
Carsten,

I live in the agenda view.  I'm always wanting to look at that as the
first thing I do when I start Emacs.

If I add (org-agenda-list) as the last thing in my .emacs I get an error
when I try to switch to day view the very first time.  Am I missing some
other setup or is this a bug?

If I don't call org-agenda-list from .emacs and display the agenda
normally via C-a a a then d it works fine every time so I think some
initial setup is missing when going straight to org-agenda-list at
startup.

Here's the error I get:

,
| org-agenda-check-type: Not allowed in nil-type agenda buffers
`

The second time I hit 'd' it works fine.

,
| Rebuilding agenda buffer...done
| Switched to day view
`

,[ minimal.emacs ]
| (setq inhibit-splash-screen t)
| (global-font-lock-mode t)
| (add-to-list 'load-path (expand-file-name ~/git/org-mode))
| (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
| (require 'org-install)
| (define-key global-map \C-ca 'org-agenda)
| (custom-set-variables
|  '(org-agenda-files (quote (~/org/test.org
| (setq org-use-fast-todo-selection t)
| 
| (org-agenda-list)
`

,[ test.org ]
| * one   |
| SCHEDULED: 2008-01-20 Sun |
| * two   |
| SCHEDULED: 2008-01-19 Sat |
| * three |
| SCHEDULED: 2008-01-17 Thu |
| *** TODO One Two Three  |
`

| Key Sequence | Notes  |
|--+|
| d| Go to day view |
|--+|

You know I can't live without org-mode anymore...  My desk is clean and
my notes are all in org-mode :)

Thanks again!

Bernt




___
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] BUG: column view in agenda -- marker does not point anywhere

2008-01-20 Thread Bernt Hansen
Hi Carsten,

It seems today is bug reporting day :)

,[ minimal.emacs ]
| (setq inhibit-splash-screen t)
| (global-font-lock-mode t)
| (add-to-list 'load-path (expand-file-name ~/git/org-mode))
| (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
| (require 'org-install)
| (define-key global-map \C-ca 'org-agenda)
| (custom-set-variables
|  '(org-agenda-files (quote (~/org/test.org
| (setq org-use-fast-todo-selection t)
| 
| (setq org-global-properties '((Effort_ALL . 0 0:10 0:30 1:00 2:00 3:00 
4:00 5:00 6:00 7:00 8:00)))
| (setq org-columns-default-format %40ITEM(Task) %17Effort(Estimated 
Effort){:} %CLOCKSUM)
| 
| (org-agenda-list)
`

,[ test.org ]
| * one
|   SCHEDULED: 2008-01-20 Sun
| * two
|   SCHEDULED: 2008-01-19 Sat
| * three
|   SCHEDULED: 2008-01-17 Thu
| *** TODO One Two Three
`

| Keystroke | Notes   |
|---+-|
| C-c C-x C-c   | Enter column view in the agenda |
| down arrow| to task |
| right arrow   | to Estimated Effort field   |
| S-right arrow | to set the value|
|---+-|

Each time I set the value I get the error: 

org-columns-update: Marker does not point anywhere

but it does work and update the task property so it's not harming
anything in org-mode data that I can see - it just beeps and displays
the message which is confusing.

This also breaks C-x ( macros which I use alot when repeating the same
actions on multiple tasks.  When the error displays the macro recording
terminates which is a little inconvenient.

With the cursor on a task in the agenda

| Keystroke | Notes |
|---+---|
| C-x ( | Start macro recording |
| right arrow   | to Estimated Effort field |
| S-right arrow | to set the value (displays error) |
| C-x ) | to stop recording |
|---+---|

This issues the error

kmacro-end-macro: Not defining kbd macro

Regards,
Bernt




___
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: BUG?: repeat items disappears in agenda

2008-01-20 Thread Wanrong Lin


I prefer the same way. I wish to have full confidence that anything 
scheduled but not done will show up in my agenda.


Thanks.

Wanrong

Bernt Hansen wrote:

I'm using the agenda to keep my important tasks 'in my face' so they get
dealt with.  This is normally the only place my repeating tasks show up.
If I miss a repeating task for a few days for some reason the worst
thing (for me) that can happen is it falls off the agenda for some time
without being completed.  In that case I lose it until it comes up again
and now it's really late.

It's fine if the date resets on the next repeating date if it remains
undone that long but I'd really prefer the task to stay on the agenda no
matter what - until it is completed (and moves to some future date).

Just my two cents :)

Bernt

Carsten Dominik [EMAIL PROTECTED] writes:

  

Hi Dennis, thanks for the patch.

I am not sure yet if you are using the right condition though.  It
seems to me that extending the late-warning-period makes sens only for
repeating *tasks*, where the base date keeps changing each time you
mark this entry as DONE.  So maybe the condition should be that it is
today *and* that the item is a task marked by a TODO keyword.

Or: maybe for Scheduled, we should no relate to the *nearest* match of
the repeater, but to the most recent one.  This way you would get
over- 
due warnings right up to the day where the next occurrence of this

item is scheduled.  So you would never loose sight on the item.

H.  More discussion please!

- Carsten

On Jan 18, 2008, at 10:55 PM, Dennis J Lin wrote:



Salutations!

  

Please post your code, you can always do this, the copyright question
only star when we decide to use it.  And even then, 4 lines is very
little.


Sure, please see it below :-)

Dennis Lin

  

Basically, in org-agenda-get-scheduled, we call
org-time-string-to-absolute passing in d1 (the day that we're trying
to get agenda items for.)  The problems is that if d1 is today, we
will get the closest day, which may be in the future, leading to the
problem.  The patch that I've found was to not pass in d1 if
todayp is
true.

I have a 4 line patch implementing this (and I probably should write
another one to fix a similar problem with deadlines), but I've not
signed a FSF release, so I don't know if you want me to post my code
here.
  

Now, this patch is now quite old (it was for 5.08) but it should still
apply cleanly.  Looking at it, it might be whitespace damaged, and
there should be a similar change for the get-deadline.  However, I
think it gets the idea across (and seems to fix the problem for me.)

Dennis Lin

--- old/org.el  2007-09-05 03:16:41.0 -0500
+++ new/org.el  2007-09-09 00:50:36.0 -0500
@@ -18676,7 +18676,9 @@
(org-agenda-skip)
(setq s (match-string 1)
  pos (1- (match-beginning 1))
- d2 (org-time-string-to-absolute (match-string 1) d1)
+ d2 (if todayp
+ (org-time-string-to-absolute (match-string 1))
+   (org-time-string-to-absolute (match-string 1) d1))
  diff (- d2 d1))
(setq pastschedp (and todayp ( diff 0)))
;; When to show a scheduled item in the calendar:
  


___
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] Documentation request

2008-01-20 Thread Sven Bretfeld
Hi Adam and all others

From time to time my emails don't reach the list. Maybe I made a
mistake and sent my answer to Adam personally this afternoon.

Adam Spiers [EMAIL PROTECTED] writes:

 Your request is right on the money; in fact Bastien's already ahead of
 you -

  http://search.gmane.org/search.php?group=gmane.emacs.orgmodequery=worg

In fact, I didn't realize that worg is exactly for that purpose. A
good idea, although the Name reminds me on the MAD Magazine ;-) Thank
you very much, Bastien. I will send you my request for registration
soon.

Greetings

Sven


pgpSl6t8pRVq9.pgp
Description: PGP signature
___
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? starting org-agenda-list from .emacs

2008-01-20 Thread Carsten Dominik

Hi Bernt,

this happens because the command needs a variable that is set
by the post-command-hook in the agenda buffer.  Normally you are
issuing a command to get to the buffer, so the hook is run.  However,
in your case no command has been called yet.

As a work-around, just press d twice, or execute
any command, like a cursor motion first.

I will have this fixed in the next version, thanks for the report.

- Carsten

On Jan 20, 2008, at 7:11 PM, Bernt Hansen wrote:


Carsten,

I live in the agenda view.  I'm always wanting to look at that as the
first thing I do when I start Emacs.

If I add (org-agenda-list) as the last thing in my .emacs I get an  
error
when I try to switch to day view the very first time.  Am I missing  
some

other setup or is this a bug?

If I don't call org-agenda-list from .emacs and display the agenda
normally via C-a a a then d it works fine every time so I think some
initial setup is missing when going straight to org-agenda-list at
startup.

Here's the error I get:

,
| org-agenda-check-type: Not allowed in nil-type agenda buffers
`

The second time I hit 'd' it works fine.

,
| Rebuilding agenda buffer...done
| Switched to day view
`

,[ minimal.emacs ]
| (setq inhibit-splash-screen t)
| (global-font-lock-mode t)
| (add-to-list 'load-path (expand-file-name ~/git/org-mode))
| (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
| (require 'org-install)
| (define-key global-map \C-ca 'org-agenda)
| (custom-set-variables
|  '(org-agenda-files (quote (~/org/test.org
| (setq org-use-fast-todo-selection t)
|
| (org-agenda-list)
`

,[ test.org ]
| * one   |
| SCHEDULED: 2008-01-20 Sun |
| * two   |
| SCHEDULED: 2008-01-19 Sat |
| * three |
| SCHEDULED: 2008-01-17 Thu |
| *** TODO One Two Three  |
`

| Key Sequence | Notes  |
|--+|
| d| Go to day view |
|--+|

You know I can't live without org-mode anymore...  My desk is clean  
and

my notes are all in org-mode :)

Thanks again!

Bernt




___
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