Re: [Orgmode] Added support for habit tracking

2009-10-21 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Oct 20, 2009, at 9:36 PM, John Wiegley wrote:


Ok, the following changes today have been submitted for inclusion:

- Habit appears in mode-line when Habits are being displayed

- Habits no longer use a DEADLINE, but .+1d/3d, to indicate a range.
  Use .+1d if the min and max are the same.

- org-habit uses faces for all its colors, and appropriate colors have
  been chosen for dark backgrounds.

- The consistency graph starts from the scheduled date, if that date  
precedes

  today and the first completed date.

- Habits are now sorted according to a habit-specific priority  
scheme, based
  on Sciral's priority sorting method.  This means that habits  
which demand
  more attention will shift to the top.  Use 'P' in the agenda to  
see what the

  relative priorities are.

John


___
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


- 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] Integration with jsMath for HTML export of latex equations (feature request)

2009-10-21 Thread Carsten Dominik

Hi Darlan,

I put up the file on

http://orgmode.org/worg/org-tutorials/org-jsmath.php

Thanks!

- Carsten

On Oct 21, 2009, at 7:16 AM, Darlan Cavalcante Moreira wrote:



I was alreade doing that but it was replace by $alpha;$ in the html
file. However, the option #+OPTIONS: LaTeX:nil solves the problem.

At last, I wrote an org file with instructions on how to use jsMath  
with Org.

Thanks again Carsten,

Darlan

jsMath.org


At Tue, 20 Oct 2009 17:17:46 +0200,
Carsten Dominik carsten.domi...@gmail.com wrote:



On Oct 20, 2009, at 3:56 PM, Darlan Cavalcante Moreira wrote:



Hi Carsten,

The option #+OPTIONS ^:nil did the trick with underlines and hats,
but Greek
letter are still replaced. Since they are ignored by jsMath I get
the correct
equations and the only minor annoyance is that the font of the Greek
letters is
not as nice as if it were replace by jsMath (jsMath fonts are
equivalent to
latex fonts). If it is something easy to do, an option to also turn-
off the
replacements of Greek letters by org-mode would be nice, but don't
bother if it
is to much work.


You can just use LaTeX conventions and write $\alpha$ instead of the
lazy \alpha.  That should do the trick.

- Carsten





I'll write the instructions of how to use jsMath with org-mode here
soon.
Thanks Carsten,

Darlan





At Tue, 20 Oct 2009 10:53:22 +0200,
Carsten Dominik carsten.domi...@gmail.com wrote:


Hi Darlan,

On Oct 16, 2009, at 6:36 PM, Darlan Cavalcante Moreira wrote:



Hello org-users,

I know that it is possible to export equations as images if you  
set

the variable
org-export-with-LaTeX-fragments to t, but I prefer to use jsMath
(http://www.math.union.edu/~dpvc/jsMath/) for equation in HTML.  
The

problem is
that when org-export-with-LaTeX-fragments is set to nil org-mode
interprets
underlines, hats and Greek letters and replace them in the  
generated

HTML.


Would

#+OPTIONS ^:nil

already do what you want?

If you get this working, can I ask you to write up some  
instructions

on how to use this with Org and post them here?

Thanks.

- Carsten



I agree that this is nice in most cases, but I need them to be  
left

untouched,
since they will be later interpreted by jsMath when I'm viewing  
the

page in a
browser that supports java-script. Therefore, my feature request
is disabling
this smart behavior of org-mode when latex fragments are not
converted to
images.

I also need to add a line in the HTML header to load the jsMath
script, but this is
easily accomplished with the line
#+STYLE: SCRIPT SRC=../jsMath/easy/load.js/SCRIPT
in the org-file header.

Here are some advantages and disadvantages about using jsMath
instead of images.
Advantages:
- It's really pretty when you have all the fonts installed and you
can zoom
without any loss of quality.
- No need to generate images when exporting
+ When you see the generated HTML page the jsMath script is run
each time you
  reload the page. Because modern browsers are increasing more and
more the
  efficiency of the java-script engine this is not a problem even
if there are
  a lot of equations in the generated page.
+ On the other hand, creating images when exporting can take
considerable
  time when there are man equations.

Disadvantages
- More difficult to setup
+ you have to install jsMath for authors, since you are creating
pages with it.
+ you have to install jsMath for users, that is, install the fonts
that will
  be used. If this is not done, jsMath will use images for the
equations. You
  won't need to generate images when exporting, since jsMath
already has all
  images (it just put the pieces together)
- It is more inconvenient to send the generated HTML page to a
friend, since
your friend will need to install the fonts used by jsMath.


Darlan


___
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


- Carsten





- Carsten





- 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] No definition for class `article' in `org-export-latex-classes'

2009-10-21 Thread Carsten Dominik

I cannot reproduce this.

Anyone?

- Carsten

On Oct 20, 2009, at 3:52 PM, Jeff Kowalczyk wrote:

Using Org at e8e296 with emacs 23.1.1 and texlive-2008, when  
exporting to PDF,

the following error occurs:

Exporting to PDF...
Exporting to LaTeX...
org-export-latex-set-initial-vars: No definition for class `article'  
in

`org-export-latex-classes'

It still works as of 79031ab. The next changeset f376fe does modify
lisp/org-latex.el.

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


- 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] [PATCH 1/3] Add a missing entry, and fix some formatting in the changelog.

2009-10-21 Thread Carsten Dominik

Applied, thanks

- Carsten

On Oct 20, 2009, at 4:51 AM, James TD Smith wrote:


---
lisp/ChangeLog |   19 ---
1 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 822bd57..47b44cd 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -983,21 +983,10 @@
* org-remember.el (org-remember-finalize): Avoid buffer-modified
messages.

+2009-08-06  James TD Smith  ahktenz...@mohorovi.cc

-
-
-
-
-
-
-
-
-
-
-
-
-
-
+   * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
+   before gnuplot can read it.

2009-08-05  Carsten Dominik  carsten.domi...@gmail.com

@@ -5455,7 +5444,7 @@
(org-clock-special-range): Also undertand yesterday, lastweek etc.

2008-06-18  Glenn Morris  r...@gnu.org
-* org.el (org-map-entries): Let-bind `file'.
+   * org.el (org-map-entries): Let-bind `file'.

2008-06-19  Carsten Dominik  domi...@science.uva.nl

--
1.6.3.3



___
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


- 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] [PATCH 2/3] Add a way to display names for tag groups in fast tag selection.

2009-10-21 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Oct 20, 2009, at 4:51 AM, James TD Smith wrote:

If the nil term in the start or end group cells are replaced by  
strings, these

are displayed before or after the brackets for the group.
---
lisp/ChangeLog |6 ++
lisp/org.el|   12 ++--
2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 47b44cd..83af7a4 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -29,6 +29,12 @@
(org-mobile-create-index-file): Sort the files to be listed in
index.org.

+2009-10-17  James TD Smith  ahktenz...@mohorovi.cc
+
+   * org.el (org-fast-tag-selection): Add a way to display a
+   description for a tag group. This is done by adding a string to
+   either the startgroup or endgroup cell.
+
2009-10-17  Carsten Dominik  carsten.domi...@gmail.com

* org-clock.el (org-clock-resolve, org-resolve-clocks)
diff --git a/lisp/org.el b/lisp/org.el
index a394443..3f8bbee 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -11542,15 +11542,15 @@ Returns the new tags string, or nil to not  
change the current settings.

  (setq tbl fulltable char ?a cnt 0)
  (while (setq e (pop tbl))
(cond
-((equal e '(:startgroup))
+((equal (car e) :startgroup)
  (push '() groups) (setq ingroup t)
  (when (not (= cnt 0))
(setq cnt 0)
(insert \n))
- (insert { ))
-((equal e '(:endgroup))
+ (insert (if (cdr e) (format %s:  (cdr e)) ) { ))
+((equal (car e) :endgroup)
  (setq ingroup nil cnt 0)
- (insert }\n))
+ (insert } (if (cdr e) (format  (%s)  (cdr e)) ) \n))
 ((equal e '(:newline))
  (when (not (= cnt 0))
(setq cnt 0)
@@ -11595,8 +11595,8 @@ Returns the new tags string, or nil to not  
change the current settings.

  (setq rtn
(catch 'exit
  (while t
-   (message [a-z..]:Toggle [SPC]:clear [RET]:accept 
[TAB]:free%s%s
-(if groups  [!] no groups  [!]groups)
+		(message [a-z..]:Toggle [SPC]:clear [RET]:accept [TAB]:free [!]  
%sgroups%s

+(if (not groups) no  )
			 (if expert  [C-c]:window (if exit-after-next  [C-c]:single  
 [C-c]:multi)))

(setq c (let ((inhibit-quit t)) (read-char-exclusive)))
(cond
--
1.6.3.3



___
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


- 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] [PATCH 3/3] Some small fixes in org-registry.

2009-10-21 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Oct 20, 2009, at 4:51 AM, James TD Smith wrote:

org-registry-assoc-all removed matching links from the registry.  
This meant

subsequent calls with the same parameters would return nothing.

Add another function for finding entries in the register, which used  
find-if to

get entries satisfying a predicate.
---
contrib/ChangeLog|9 +++--
contrib/lisp/org-registry.el |   40 +++ 
+

2 files changed, 31 insertions(+), 18 deletions(-)

diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index e30c28f..8524c9f 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,10 @@
+2009-10-19  James TD Smith  ahktenz...@mohorovi.cc
+
+   * lisp/org-registry.el (org-registry-assoc-all): Stop this from
+   deleting the links it finds from the registry.
+   (org-registry-find-all): Add a new function which returns all
+   registry entries which satisfy a test function.
+
2009-10-02  Carsten Dominik  carsten.domi...@gmail.com

* lisp/org-special-blocks.el (org-special-blocks-ignore-regexp):
@@ -284,5 +291,3 @@
* lisp/org-irc.el: New file.

* ChangeLog: New file.
-
-
diff --git a/contrib/lisp/org-registry.el b/contrib/lisp/org- 
registry.el

index f8d3d61..01b2fc8 100644
--- a/contrib/lisp/org-registry.el
+++ b/contrib/lisp/org-registry.el
@@ -39,25 +39,25 @@
;;
;; This is were org-registry comes in handy.
;;
-;; M-x org-registry-show will tell you the name of the file
+;; M-x org-registry-show will tell you the name of the file
;; C-u M-x org-registry-show will directly jump to the file
;;
-;; In case there are several files where the link lives in:
+;; In case there are several files where the link lives in:
;;
;; M-x org-registry-show will display them in a new window
;; C-u M-x org-registry-show will prompt for a file to visit
;;
;; Add this to your Org configuration:
-;;
+;;
;; (require 'org-registry)
;; (org-registry-initialize)
;;
;; If you want to update the registry with newly inserted links in the
;; current buffer: M-x org-registry-update
-;;
+;;
;; If you want this job to be done each time you save an Org buffer,
;; hook 'org-registry-update to the local 'after-save-hook in org- 
mode:

-;;
+;;
;; (org-registry-insinuate)

;;; Code:
@@ -94,7 +94,7 @@ buffer.
 (match-string-no-properties 1 blink)))
 (desc (or (and (string-match org-bracket-link-regexp blink)
(match-string-no-properties 3 blink)) No description))
-(files (org-registry-assoc-all link))
+(files (org-registry-assoc-all link))
 file point selection tmphist)
(cond ((and files visit)
   ;; result(s) to visit
@@ -103,7 +103,7 @@ buffer.
  (setq tmphist (mapcar (lambda(entry)
  (format %s (%d) [%s]
  (nth 3 entry) ; file
- (nth 2 entry) ; point
+ (nth 2 entry) ; point
  (nth 1 entry))) files))
  (setq selection (completing-read File:  tmphist
   nil t nil 'tmphist))
@@ -123,7 +123,7 @@ buffer.
   ;; result(s) to display
   (cond  ((eq 1 (length files))
   ;; show one file
-  (message Link in file %s (%d) [%s]
+  (message Link in file %s (%d) [%s]
(nth 3 (car files))
(nth 2 (car files))
(nth 1 (car files
@@ -132,25 +132,33 @@ buffer.

(defun org-registry-display-files (files link)
  Display files in a separate window.
-  (switch-to-buffer-other-window
+  (switch-to-buffer-other-window
   (get-buffer-create  *Org registry info*))
  (erase-buffer)
  (insert (format Files pointing to %s:\n\n link))
  (let (file)
(while (setq file (pop files))
-  (insert (format %s (%d) [%s]\n (nth 3 file)
+  (insert (format %s (%d) [%s]\n (nth 3 file)
  (nth 2 file) (nth 1 file)
  (shrink-window-if-larger-than-buffer)
  (other-window 1))

(defun org-registry-assoc-all (link optional registry)
  Return all associated entries of LINK in the registry.
-  (let ((reg (or org-registry-alist registry)) entry output)
+  (let ((reg (copy-list (or org-registry-alist registry))) entry  
output)

(while (setq entry (assoc link reg))
  (add-to-list 'output entry)
  (setq reg (delete entry reg)))
(nreverse output)))

+(defun org-registry-find-all (test optional registry)
+  Return all entries satisfying `test' in the registry.
+  (let ((reg (copy-list (or org-registry-alist registry))) entry  
output)

+(while (setq entry (find-if test reg))
+  (add-to-list 'output entry)
+  (setq reg (delete entry reg)))
+(nreverse output)))
+

[Orgmode] New module: org-learn, incremental reading

2009-10-21 Thread John Wiegley

The attached file, when loaded, provides two new commands:

  M-x org-smart-reschedule
  M-x org-agenda-smart-reschedule

The latter being only for the *Org Agenda* buffer.

You should use these commands on a scheduled entry, with state logging  
enabled for the DONE state.  It then reschedules the item to a future  
date based on the SM-5 algorithm and a quality factor you are  
prompted for.


To summarize the SM-5 algorithm:

  1. After you read an item on the scheduled day, you hit M-x org- 
smart-reschedule.


  2. You are then asked how well you remember what you just read,  
from 0-5:


 5 - perfect response
 4 - correct response after a hesitation
 3 - correct response recalled with serious difficulty
 2 - incorrect response; where the correct one seemed easy to  
recall

 1 - incorrect response; the correct one remembered
 0 - complete blackout.

  3. If your answer is 4 or 5, the item will not be repeated.  If it  
is anything

 else, the item is rescheduled, to be read again on a future date.

  4. Based on the quality of your response, AND the number of times  
you've read
 the item so far, the amount of time being reschedulings will  
vary.  If your
 retention is good, the gaps grow wider; if it is poor, they grow  
shorter.


  5. Your learning data is kept in a special property  
called :LEARN_DATA:.  Do
 not modify this, as it controls how the algorithm reschedules  
after future

 repetitions, and based on past quality responses.

More about this algorithm can be read here: http://www.supermemo.com/english/ol/sm2.htm 
.


This contribution is made in honor of Russell Adams, who drove all the  
way to New Jersey from Kennedy airport to visit me today, and who  
brought up the idea of implementing it, based on an earlier proposal  
by Pere Quintana Seguí (http://article.gmane.org/gmane.emacs.orgmode/17781 
).


John



org-learn.el
Description: Binary data
___
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 1/2] Add an X11 equivalent to org-mac-idle-seconds.

2009-10-21 Thread James TD Smith
This needs a small C program (in UTILITIES/x11idle.c) to work.
---
 .gitignore  |1 +
 ChangeLog   |6 +-
 UTILITIES/x11idle.c |   21 +
 lisp/ChangeLog  |8 +++-
 lisp/org-clock.el   |   10 --
 5 files changed, 42 insertions(+), 4 deletions(-)
 create mode 100644 UTILITIES/x11idle.c

diff --git a/.gitignore b/.gitignore
index ab68b2a..c21fc91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -58,3 +58,4 @@ TODO
 # fill-column: 72
 # mode: conf
 # End:
+/UTILITIES/x11idle
diff --git a/ChangeLog b/ChangeLog
index 95387ea..77cca37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-21  James TD Smith  ahktenz...@mohorovi.cc
+
+   * UTILITIES/x11idle.c: Add a small C program which outputs the X11
+   idle time
+
 2009-09-16  Carsten Dominik  carsten.domi...@gmail.com
 
* Makefile: Add dependencies for org-crypt.el.
@@ -65,4 +70,3 @@
 2008-04-25  Carsten Dominik  domi...@science.uva.nl
 
* Makefile (BATCH): Fix the path to the local lisp files.
-
diff --git a/UTILITIES/x11idle.c b/UTILITIES/x11idle.c
new file mode 100644
index 000..33d0035
--- /dev/null
+++ b/UTILITIES/x11idle.c
@@ -0,0 +1,21 @@
+#include X11/extensions/scrnsaver.h
+#include stdio.h
+
+/* Based on code from
+ * http://coderrr.wordpress.com/2008/04/20/getting-idle-time-in-unix/
+ *
+ * compile with 'gcc -l Xss x11idle.c -o x11idle' and copy x11idle into your
+ * path
+ */
+main() {
+XScreenSaverInfo *info = XScreenSaverAllocInfo();
+Display *display = XOpenDisplay(0);
+
+//check that X11 is running or else you get a segafult/coredump
+if (display != NULL) {
+   XScreenSaverQueryInfo(display, DefaultRootWindow(display), info);
+}
+XScreenSaverQueryInfo(display, DefaultRootWindow(display), info);
+printf(%u\n, info-idle);
+return 0;
+}
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bcd6a8a..75bdc38 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -37,6 +37,12 @@
modeline when habits are being displayed (if that module is being
loaded).
 
+2009-10-21  James TD Smith  ahktenz...@mohorovi.cc
+
+   * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
+   idle time using the xscreensaver extension.
+   (org-user-idle-seconds): Use X11 idle time if available.
+
 2009-10-20  Carsten Dominik  carsten.domi...@gmail.com
 
* org-agenda.el (org-agenda-next-line): New command.
@@ -161,7 +167,7 @@
currently active clock if the user has exceeded the time returned
by `org-user-idle-seconds', based on the value of
`org-clock-idle-time'.
-   (org-clock-in): If, after resolving clocks, 
+   (org-clock-in): If, after resolving clocks,
(org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
 
* org-clock.el (org-clock-resolve-clock): New function that
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index c7ebbf8..fddf3f8 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -762,16 +762,22 @@ non-dangling (i.e., currently open and valid) clocks.
   Return the current Mac idle time in seconds
   (string-to-number (shell-command-to-string ioreg -c IOHIDSystem | perl -ane 
'if (/Idle/) {$idle=(pop @F)/10; print $idle; last}')))
 
+(defun org-x11-idle-seconds ()
+  Return the current X11 idle time in seconds
+  (/ (string-to-number (shell-command-to-string x11idle)) 1000))
+
 (defun org-user-idle-seconds ()
   Return the number of seconds the user has been idle for.
 This routine returns a floating point number.
-  (if (eq system-type 'darwin)
+  (if (or (eq system-type 'darwin) (eq window-system 'x))
   (let ((emacs-idle (org-emacs-idle-seconds)))
;; If Emacs has been idle for longer than the user's
;; `org-clock-idle-time' value, check whether the whole system has
;; really been idle for that long.
(if ( emacs-idle (* 60 org-clock-idle-time))
-   (min emacs-idle (org-mac-idle-seconds))
+   (min emacs-idle (if (eq system-type 'darwin)
+   (org-mac-idle-seconds)
+ (org-x11-idle-seconds)))
  emacs-idle))
 (org-emacs-idle-seconds)))
 
-- 
1.6.3.3



___
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 2/2] org-repeat-re was no longer matching simple +2d type repeaters. Fix.

2009-10-21 Thread James TD Smith
---
 lisp/ChangeLog |3 +++
 lisp/org.el|2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 75bdc38..9bd532d 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -39,6 +39,9 @@
 
 2009-10-21  James TD Smith  ahktenz...@mohorovi.cc
 
+   * org.el (org-repeat-re): The changed org-repeat-re no longer
+   matched simple +2d type repeaters. Fix it so it does.
+
* org-clock.el (org-x11-idle-seconds): Add a method to get the X11
idle time using the xscreensaver extension.
(org-user-idle-seconds): Use X11 idle time if available.
diff --git a/lisp/org.el b/lisp/org.el
index cdb8d25..d5a30ac 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -475,7 +475,7 @@ An entry can be toggled between QUOTE and normal with
   :type 'string)
 
 (defconst org-repeat-re
-  [0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9] 
[^\n]*?\\([.+]?\\+[0-9]+[dwmy]\\(/[0-9]+[dwmy]\\)?\\)
+  [0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9] 
[^+.\n]*\\([.+]?\\+[0-9]+[dwmy]\\(/[0-9]+[dwmy]\\)?\\)
   Regular expression for specifying repeated events.
 After a match, group 1 contains the repeat expression.)
 
-- 
1.6.3.3



___
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] report/summary of what was done for retrospection purposes?

2009-10-21 Thread Jevgeni Holodkov
Hi,

   Is there functionality available in org-mode to create the
report/summary of what was done on the previous day/week/month/year
(let's say, generate it from the agenda view)? For instance, if I have
tasks:

* TODO Task1
* DONE Task2
- State DONE   from STARTED[2009-07-21 T 10:59]
* WAITING Task3
- State WAITINGfrom DONE[2009-07-14 K 16:07]
- State DONEfrom STARTED[2009-07-14 K 16:06]

Then I would like to generate the report on what was done on June with
1 row  only (which will be Task2).

With kind regards,
Jevgeni Holodkov


___
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] Recent upgrade to 6.29a.

2009-10-21 Thread Noorul Islam K M

Hello all,

I just did org pull to update to latest version. (org-version) says this 

Org-mode version 6.29a

But from an org file when I do C-\ and type in a tag name and press
enter I get following error

defvar: Symbol's function definition is void: org-float-time

Looks like function definition is missing. I was not facing this problem 
earlier.

Thanks and Regards
Noorul


___
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: [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Bernt Hansen
Manish mailtomanish.sha...@gmail.com writes:

 On Wed, Oct 21, 2009 at 10:45 AM, Marcelo de Moraes Serpa wrote:
 Hello list,

 This is for the GTD orgers out there. I've taken the article written by
 Charles as a basis for my GTD implementation. In the end, it's all about
 what works for you, but I'd like to get some insights/opinions from you: For
 Next Actions, are you using a single list OR you organize them
 hierarchically under each project (in the projects list)?

 I started with the second one, putting each next action (TODO) item under
 its correspondent project, however, it quickly became too bloated, and a mix
 of projects, sub-projects and next-actions. Of course, org helps there with
 sparse trees and other functions to filter trees, but still, I found it was
 too complex, albeit more specific and I did felt I was more organized,
 even though I was getting lost.

 So, I just let go of my obsession about the perfect thing and decided to try
 a single Next Actions list, together with a Projects list. The next actions
 is a single list with all the actionable items from all the projects. I've
 lost the relationship between a next action item and a project, but I can do
 this easily by just looking at the action, having the system tell me is not
 that important.

 Usually, you define all actions for a project under the same hierarchy.  You
 can decide how you want actions to be designated next (and projects to be
 designated project) -- using keywords or tags and have a custom agenda
 command collect the next actions for you from all agenda files in a single
 list.

I define NEXT actions as a tag on some TODO item under the project
hierarchy.  I then pick NEXT actions off of the custom agenda view for
NEXT actions using agenda filtering to limit the total number of things
I'm looking at.

-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] New module: org-learn, incremental reading

2009-10-21 Thread Russell Adams
On Wed, Oct 21, 2009 at 04:53:39AM -0400, John Wiegley wrote:
 The attached file, when loaded, provides two new commands:

   M-x org-smart-reschedule
   M-x org-agenda-smart-reschedule

 The latter being only for the *Org Agenda* buffer.

 You should use these commands on a scheduled entry, with state logging  
 enabled for the DONE state.  It then reschedules the item to a future  
 date based on the SM-5 algorithm and a quality factor you are prompted 
 for.

 To summarize the SM-5 algorithm:

   1. After you read an item on the scheduled day, you hit M-x org- 
 smart-reschedule.

   2. You are then asked how well you remember what you just read, from 
 0-5:

  5 - perfect response
  4 - correct response after a hesitation
  3 - correct response recalled with serious difficulty
  2 - incorrect response; where the correct one seemed easy to recall
  1 - incorrect response; the correct one remembered
  0 - complete blackout.

   3. If your answer is 4 or 5, the item will not be repeated.  If it is 
 anything
  else, the item is rescheduled, to be read again on a future date.

   4. Based on the quality of your response, AND the number of times  
 you've read
  the item so far, the amount of time being reschedulings will vary.  
 If your
  retention is good, the gaps grow wider; if it is poor, they grow  
 shorter.

   5. Your learning data is kept in a special property called 
 :LEARN_DATA:.  Do
  not modify this, as it controls how the algorithm reschedules after 
 future
  repetitions, and based on past quality responses.

 More about this algorithm can be read here: 
 http://www.supermemo.com/english/ol/sm2.htm.

 This contribution is made in honor of Russell Adams, who drove all the  
 way to New Jersey from Kennedy airport to visit me today, and who  
 brought up the idea of implementing it, based on an earlier proposal by 
 Pere Quintana Segu? (http://article.gmane.org/gmane.emacs.orgmode/17781 
 ).

 John


John,

That was *fast*. I'll look into moving some of my notes into this.

What do you think regarding the initial setup of spaced interval?

Were there a file full of tidbits to digest this way, a way to
pseudo-random scatter them across a few weeks might be useful.

Now I've got to remember my git commands to checkout the latest. ;]

Thanks.

PS. Next time I'll bring my gaming HD and we'll LAN party!



--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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: No definition for class `article' in `org-export-latex-classes'

2009-10-21 Thread Bernt Hansen
I can't reproduce it either

Carsten Dominik carsten.domi...@gmail.com writes:

 I cannot reproduce this.

 Anyone?

 - Carsten

 On Oct 20, 2009, at 3:52 PM, Jeff Kowalczyk wrote:

 Using Org at e8e296 with emacs 23.1.1 and texlive-2008, when
 exporting to PDF,
 the following error occurs:

 Exporting to PDF...
 Exporting to LaTeX...
 org-export-latex-set-initial-vars: No definition for class `article'
 in
 `org-export-latex-classes'

 It still works as of 79031ab. The next changeset f376fe does modify
 lisp/org-latex.el.

 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

 - 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


___
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: No definition for class `article'in `org-export-latex-classes'

2009-10-21 Thread Jeff Kowalczyk
Carsten Dominik carsten.dominik at gmail.com writes:
 I cannot reproduce this.
 
 Anyone?

Yes, it's not producing the error at today's git HEAD. Sorry for the false 
alarm.

I'm not sure what was causing it, I had reset the HEAD twice around f376fe to
confirm when posting. That changeset didn't look like it could cause the error.
Perhaps I missed a step in the make clean, make, restart emacs daemon procedure.

Thanks,
Jeff



___
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] Arrow keys in agenda view

2009-10-21 Thread Marco
Dear List,

First of all I wanna thank Carsten and all of you contributors for
this amazing tool. Then, my problem ;)

Sometimes I use the agenda view in org-mode, but with at least the new
version when I try C-a a, then I am not able anymore to navigate to
the next/previous day or week using the arrow keys, as it did in the
previous versions. Is this a new feature I missed or a bug somewhere
(not possible that this only hit me!) or again could it be related to
my own configuration (no fancy stuff in my .emacs though)?

I cannot tell when (from which version) it began to behave like this.
I am on GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version
2.16.5), archlinux, with org-mode 6.31a.

Greetings,
Marco


___
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: report/summary of what was done for retrospection purposes?

2009-10-21 Thread Bernt Hansen
Jevgeni Holodkov jevgeni.holod...@gmail.com writes:

Is there functionality available in org-mode to create the
 report/summary of what was done on the previous day/week/month/year
 (let's say, generate it from the agenda view)? For instance, if I have
 tasks:

 * TODO Task1
 * DONE Task2
 - State DONE   from STARTED[2009-07-21 T 10:59]
 * WAITING Task3
 - State WAITINGfrom DONE[2009-07-14 K 16:07]
 - State DONEfrom STARTED[2009-07-14 K 16:06]

 Then I would like to generate the report on what was done on June with
 1 row  only (which will be Task2).

Not exactly.  If you use CLOSED timestamps then you can view the agenda
for the period you want and use l (ell) to show logged items.  You can
specify what to include in the view with org-agenda-log-mode-items.

To show a week's worth of logged items starting on 10-14 you can do
C-c a a - go to the agenda
w   - display week view
j 10-14 - go to Oct 14th
l   - show logged items as per org-agenda-log-mode-items

This allows you to create a custom agenda view which only shows CLOSED
tags for instance which I think gives you what you want -- or you can
look at state changes which will show the 3 entries above.

You can export the resulting agenda view to some other format.

HTH,
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] Re: report/summary of what was done for retrospection purposes?

2009-10-21 Thread Jevgeni Holodkov
Hi Bernt,

   Thanks for your suggestion. However, in this case, if I have been
working on 'Task1' each day and finished it only on Friday, then I'll
get 5 rows stating ' (clocked): xx:xx DONE Task 1'. Is there a
possibility to reduce the agenda even more by applying custom logic?
(i.e., remove all non 'DONE' and all duplicate rows, but last)

With kind regards,
Jevgeni

On Wed, Oct 21, 2009 at 3:34 PM, Bernt Hansen be...@norang.ca wrote:
 Jevgeni Holodkov jevgeni.holod...@gmail.com writes:

    Is there functionality available in org-mode to create the
 report/summary of what was done on the previous day/week/month/year
 (let's say, generate it from the agenda view)? For instance, if I have
 tasks:

 * TODO Task1
 * DONE Task2
     - State DONE       from STARTED    [2009-07-21 T 10:59]
 * WAITING Task3
     - State WAITING    from DONE    [2009-07-14 K 16:07]
     - State DONE    from STARTED    [2009-07-14 K 16:06]

 Then I would like to generate the report on what was done on June with
 1 row  only (which will be Task2).

 Not exactly.  If you use CLOSED timestamps then you can view the agenda
 for the period you want and use l (ell) to show logged items.  You can
 specify what to include in the view with org-agenda-log-mode-items.

 To show a week's worth of logged items starting on 10-14 you can do
 C-c a a - go to the agenda
 w       - display week view
 j 10-14 - go to Oct 14th
 l       - show logged items as per org-agenda-log-mode-items

 This allows you to create a custom agenda view which only shows CLOSED
 tags for instance which I think gives you what you want -- or you can
 look at state changes which will show the 3 entries above.

 You can export the resulting agenda view to some other format.

 HTH,
 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] Re: report/summary of what was done for retrospection purposes?

2009-10-21 Thread Bernt Hansen
[Reordered to remove top-post]

Jevgeni Holodkov jevgeni.holod...@gmail.com writes:

 On Wed, Oct 21, 2009 at 3:34 PM, Bernt Hansen be...@norang.ca wrote:
 Jevgeni Holodkov jevgeni.holod...@gmail.com writes:

    Is there functionality available in org-mode to create the
 report/summary of what was done on the previous day/week/month/year
 (let's say, generate it from the agenda view)? For instance, if I have
 tasks:

 * TODO Task1
 * DONE Task2
     - State DONE       from STARTED    [2009-07-21 T 10:59]
 * WAITING Task3
     - State WAITING    from DONE    [2009-07-14 K 16:07]
     - State DONE    from STARTED    [2009-07-14 K 16:06]

 Then I would like to generate the report on what was done on June with
 1 row  only (which will be Task2).

 Not exactly.  If you use CLOSED timestamps then you can view the agenda
 for the period you want and use l (ell) to show logged items.  You can
 specify what to include in the view with org-agenda-log-mode-items.

 To show a week's worth of logged items starting on 10-14 you can do
 C-c a a - go to the agenda
 w       - display week view
 j 10-14 - go to Oct 14th
 l       - show logged items as per org-agenda-log-mode-items

 This allows you to create a custom agenda view which only shows CLOSED
 tags for instance which I think gives you what you want -- or you can
 look at state changes which will show the 3 entries above.

 You can export the resulting agenda view to some other format.

 HTH,
 Bernt

 Hi Bernt,

Thanks for your suggestion. However, in this case, if I have been
 working on 'Task1' each day and finished it only on Friday, then I'll
 get 5 rows stating ' (clocked): xx:xx DONE Task 1'. Is there a
 possibility to reduce the agenda even more by applying custom logic?
 (i.e., remove all non 'DONE' and all duplicate rows, but last)

If you customize the variable org-agenda-log-mode-items you can remove
'clock' form the list of things it displays.  You can override this
variables value for in a custom agenda view to show exactly the detail
you need.

-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] Arrow keys in agenda view

2009-10-21 Thread Stephan Schmitt
Hi Marco,

try 'f' and 'b'.

hth,
Stephan


Marco wrote:
 Dear List,
 
 First of all I wanna thank Carsten and all of you contributors for
 this amazing tool. Then, my problem ;)
 
 Sometimes I use the agenda view in org-mode, but with at least the new
 version when I try C-a a, then I am not able anymore to navigate to
 the next/previous day or week using the arrow keys, as it did in the
 previous versions. Is this a new feature I missed or a bug somewhere
 (not possible that this only hit me!) or again could it be related to
 my own configuration (no fancy stuff in my .emacs though)?
 
 I cannot tell when (from which version) it began to behave like this.
 I am on GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version
 2.16.5), archlinux, with org-mode 6.31a.
 
 Greetings,
 Marco
 
 
 ___
 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

-- 



Stephan Schmitt

Neural Information Processing Group
Fac. IV - Electrical Engineering
 Computer Science
Berlin University of Technology

Office: +49 30 - 314 24 158
Mobile: +49 179 - 593 84 48
Email:
  echo 'drmabuse at cs x tu-berlin x de' \
  | sed -e 's/ x /\./g' -e 's/ at /@/'




___
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 in org-agenda.el; (release_6.31.146.gba46)

2009-10-21 Thread Stephan Schmitt
Hi,

the following line (1398) in org-agenda.el

(org-defkey org-agenda-mode-map \\d 'org-agenda-show-scroll-down)

causes the following error when loading the file:

org-defkey: Key sequence \ d starts with non-prefix key \

Greetings,
Stephan



Emacs  : GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.16.6)
 of 2009-10-06
Package: Org-mode version 6.31trans (release_6.31.146.gba46)


___
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] preparation-function syntax for publishing

2009-10-21 Thread Julien Barnier
Dear org users,

I'm trying to use the :preparation-function argument for project
publishing. What I'd like to achieve i s to load a file in order to
define some styling elements for the export process, something such 
as :

(load org-style)

I tried several different syntaxes, such as :

:preparation-function (load org-style)

But I didn't manage to achieve it, whichever syntax I try I get an
invalid function error.

Do you know if there is a way to declare such a thing ?

Thanks a lot in advance for any help.

-- 
Julien



___
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] Arrow keys in agenda view

2009-10-21 Thread Carsten Dominik

Hi Marco,

please see the release notes at

http://orgmode.org/Changes.html#sec-2.2.2

- Carsten

On Oct 21, 2009, at 2:34 PM, Marco wrote:


Dear List,

First of all I wanna thank Carsten and all of you contributors for
this amazing tool. Then, my problem ;)

Sometimes I use the agenda view in org-mode, but with at least the new
version when I try C-a a, then I am not able anymore to navigate to
the next/previous day or week using the arrow keys, as it did in the
previous versions. Is this a new feature I missed or a bug somewhere
(not possible that this only hit me!) or again could it be related to
my own configuration (no fancy stuff in my .emacs though)?

I cannot tell when (from which version) it began to behave like this.
I am on GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version
2.16.5), archlinux, with org-mode 6.31a.

Greetings,
Marco


___
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


- 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: New module: org-learn, incremental reading

2009-10-21 Thread Bill Powell
Wow! This is great! I'm using Anki and Mnemosyne to manage
spaced repetition right now, but integrating this with
org-mode is /awesome/. 

Just one question...

[snip]

  5 - perfect response
  4 - correct response after a hesitation
  3 - correct response recalled with serious difficulty
  2 - incorrect response; where the correct one seemed easy to recall
  1 - incorrect response; the correct one remembered
  0 - complete blackout.

   3. If your answer is 4 or 5, the item will not be repeated.  

In my own experience, material /always/ has to be repeated.
Especially when you're first learning something, those
perfect responses will turn real shaky if you wait three
months before you look at the items again. I believe this is
how Anki and Mnemosyne work, too.

Anyhow, I will look at the code, as it's probably easy
enough to tweak, but I just wanted to mention this issue.
Coming back to previous perfects after too long and
finding them fuzzy can be quite disappointing. :) 

Thanks again for this!

Bill Powell

-- 
_

http://stmarysmessenger.com : New Catholic magazine for kids!
http://wineskinmedia.com : Books and sites crafted with care.
http://billpowellisalive.com : Man found alive with two legs.  
_



___
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] Recent upgrade to 6.29a.

2009-10-21 Thread Carsten Dominik


On Oct 21, 2009, at 6:58 AM, Noorul Islam K M wrote:



Hello all,

I just did org pull to update to latest version. (org-version) says  
this


Org-mode version 6.29a

But from an org file when I do C-\ and type in a tag name and press
enter I get following error

defvar: Symbol's function definition is void: org-float-time


org-float-time is in org-compat.el.

The fact that your version shows 6.29a indicates that while you might  
have the latest version, it is not the one that is being used.   
Probably some old compiled lisp files somehwere.


See also this FAQ:

http://orgmode.org/worg/org-faq.php#loaded-old-org

- 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] Recent upgrade to 6.29a.

2009-10-21 Thread Xiao-Yong Jin
Noorul Islam K M gnu...@gmail.com writes:

 Hello all,

 I just did org pull to update to latest version. (org-version) says this 

 Org-mode version 6.29a

The current version is 6.31a.  If you used git pull, it
should be 6.31trans.

You might want to make sure that you properly installed the
new version.


 But from an org file when I do C-\ and type in a tag name and press
 enter I get following error

 defvar: Symbol's function definition is void: org-float-time

 Looks like function definition is missing. I was not facing this problem 
 earlier.

 Thanks and Regards
 Noorul
-- 
c/*__o/*
\ * (__
*/\  


___
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: Arrow keys in agenda view

2009-10-21 Thread Matt Lundin
Marco doma...@gmail.com writes:

 Sometimes I use the agenda view in org-mode, but with at least the new
 version when I try C-a a, then I am not able anymore to navigate to
 the next/previous day or week using the arrow keys, as it did in the
 previous versions. Is this a new feature I missed or a bug somewhere
 (not possible that this only hit me!) or again could it be related to
 my own configuration (no fancy stuff in my .emacs though)?

These commands have changed to f (forward) and b (back) so as to
free up the cursor keys for normal motion.

You can find an up-to-date list of agenda commands here:

http://orgmode.org/manual/Agenda-commands.html#Agenda-commands

Best,
Matt


___
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] visual-line-mode

2009-10-21 Thread Quintana Seguí , Pere
Hello,

I have a problem relating /emphasis/ which leads to a question related
to visual-line-mode.

1) Now I use auto-fill-mode when working with org files. My problem is
that when I want to emphasise a whole paragraph putting it between /
and /, the paragraph doesn't show in emphasis if it is too long
(usually more than two or three lines). But, if I put the same
paragraph in one long line, it does show emphasised.

2) I've done a test using visual-line-mode. In this case, even
visually the paragraph is multiline, the previous problem disappears,
as it is, in fact, only one line.

So, my questions are:

a) Is that behaviour with emphasis on multiline long paragraphs
normal? Is there a solution or it is a limitation on the software?

b) Are visual-line-mode and org-mode good friends?

I'm using GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version
2.12.9) of 2009-08-01 on radon, modified by Debian on Ubuntu Hardy
and Org-mode version 6.21b. But I had the same problem on Mac OS also.

Thank you.

-- 
http://pere.quintanasegui.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] [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Desmond Rivet
Manish mailtomanish.sha...@gmail.com writes:

 On Wed, Oct 21, 2009 at 10:45 AM, Marcelo de Moraes Serpa wrote:
 Hello list,

 This is for the GTD orgers out there. I've taken the article written by
 Charles as a basis for my GTD implementation. In the end, it's all about
 what works for you, but I'd like to get some insights/opinions from you: For
 Next Actions, are you using a single list OR you organize them
 hierarchically under each project (in the projects list)?

 I started with the second one, putting each next action (TODO) item under
 its correspondent project, however, it quickly became too bloated, and a mix
 of projects, sub-projects and next-actions. Of course, org helps there with
 sparse trees and other functions to filter trees, but still, I found it was
 too complex, albeit more specific and I did felt I was more organized,
 even though I was getting lost.

 So, I just let go of my obsession about the perfect thing and decided to try
 a single Next Actions list, together with a Projects list. The next actions
 is a single list with all the actionable items from all the projects. I've
 lost the relationship between a next action item and a project, but I can do
 this easily by just looking at the action, having the system tell me is not
 that important.

 Usually, you define all actions for a project under the same hierarchy.  You
 can decide how you want actions to be designated next (and projects to be
 designated project) -- using keywords or tags and have a custom agenda
 command collect the next actions for you from all agenda files in a single
 list.

I use a single file which contains both next actions (NAs) and projects,
with NAs living under the relevant project.  NAs have TODO state and
tags for the contexts.

Well, that's not 100% true.  My GTD file contains NAs and a more generic
concept which I'm calling Categories, since a Category uses a CATEGORY
property.  Categories are just grouping items.  Projects are a special
kind of Category which a) have a TODO state (normal Categories do not)
and b) tack a p_ onto the beginning of the CATEGORY label and c) have
a project tag.  Basically a project is a Category that you can
finish and which can be immediately identified as a project with a
query (because of the project tag).

In this way, NAs always live under a Category (I have a Misc Category
to catch NAs which don't seem to fit anywhere else), and some Categories
are projects.  I don't nest Categories into sub-Categories, but I think
I could do it - projects are just Categories with some extra TODO state
and tags, and heading level doesn't really enter into it.  Similarly,
NAs are TODO items which do NOT have the project tag.

When I collect all my NAs into an agenda view, I immediately see the
CATEGORY label in the first column and I can see which NAs belong to a
project and which don't, since I tacked a p_ onto the Categories which
represent projects.

Also, my waiting list is defined as items in the WAITING state.  I keep
my someday list as a seperate file.

-- 
Desmond Rivet

Pain is weakness leaving the body.


___
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: Arrow keys in agenda view

2009-10-21 Thread Bernt Hansen
Marco doma...@gmail.com writes:

 Sometimes I use the agenda view in org-mode, but with at least the new
 version when I try C-a a, then I am not able anymore to navigate to
 the next/previous day or week using the arrow keys, as it did in the
 previous versions. Is this a new feature I missed or a bug somewhere
 (not possible that this only hit me!) or again could it be related to
 my own configuration (no fancy stuff in my .emacs though)?

This was changed from arrows keys left and right to b and f respectively
for moving backward and forwards through the calendar.  The arrow keys
now navigate around the agenda.

There was a discussion about this on this mailing list prior to
implementing the change.

-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] Arrow keys in agenda view

2009-10-21 Thread Darlan Cavalcante Moreira

This was changed in version 6.30.  Org now uses f and b to go forward and
back in time in order to allow cursor motion in the agenda. See this
http://orgmode.org/Changes.html#sec-2.1

follow-mode is now activated with F (it was f before)


Darlan

At Wed, 21 Oct 2009 14:34:56 +0200,
Marco doma...@gmail.com wrote:
 
 Dear List,
 
 First of all I wanna thank Carsten and all of you contributors for
 this amazing tool. Then, my problem ;)
 
 Sometimes I use the agenda view in org-mode, but with at least the new
 version when I try C-a a, then I am not able anymore to navigate to
 the next/previous day or week using the arrow keys, as it did in the
 previous versions. Is this a new feature I missed or a bug somewhere
 (not possible that this only hit me!) or again could it be related to
 my own configuration (no fancy stuff in my .emacs though)?
 
 I cannot tell when (from which version) it began to behave like this.
 I am on GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version
 2.16.5), archlinux, with org-mode 6.31a.
 
 Greetings,
 Marco
 
 
 ___
 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 org-agenda.el; (release_6.31.146.gba46)

2009-10-21 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Oct 21, 2009, at 3:47 PM, Stephan Schmitt wrote:


Hi,

the following line (1398) in org-agenda.el

(org-defkey org-agenda-mode-map \\d 'org-agenda-show-scroll-down)

causes the following error when loading the file:

org-defkey: Key sequence \ d starts with non-prefix key \

Greetings,
Stephan



Emacs  : GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.16.6)
of 2009-10-06
Package: Org-mode version 6.31trans (release_6.31.146.gba46)


___
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


- 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] Sage Math - Maybe some inspiration for org-babel

2009-10-21 Thread Eric Schulte
Hi Darlan,

Thanks for pointing out this interesting tool.

my comment are inline below

Darlan Cavalcante Moreira darc...@gmail.com writes:

 Hello org-users

 I have been reading with attention the E-Mails about org-babel here on the 
 list
 and decided to play with it a little this weekend. It reminded me about 
 another
 great piece of software called Sage Math (Some screencasts here -
 http://www.sagemath.org/help-video.html) that I have tested sometime ago.

 Sage is a free open-source mathematics software system licensed under the
 GPL. It combines the power of many existing open-source packages into a common
 Python-based interface.


This is the first I'd heard about sage, after watching the first intro
video it looks like a very relevant tool.

It seems like the biggest difference between Sage and Org-babel is that
sage wraps all of it's component-languages into a single top level
environment (which is basically python) and somehow puts the
functionality of each language behind an API of function/library calls
(I may be misunderstanding here).  Where as babel doesn't provide any
unified top level, but rather evaluates each language in it's own
separate environment and allows it's supported languages to share
results via a lowest-common-denominator of elisp and org-mode constructs
(like tables).


 Although Sage and org-babel are very different, I think that Sage may be a 
 good
 source of inspiration for org-babel. Probably the most practical way of using
 sage is though the notebook: a front-end that runs inside the browser and
 communicates with the sage server (may be remote or local).


As soon as someone implements an emacs-run browser which can render
org-mode files on demand and supports an elisp REPL we should be very
close to similar functionality in Org-babel. :)


 In the sage notebook one creates worksheets. Each worksheet starts with a text
 area where you type the code. The main language is python, but others may be
 used if specified with a comment. When the code is evaluated any output is 
 shown
 in addition to the last value. Therefore, the code

 ,
 | print hello
 | 10
 | print world
 | 9
 | 15
 `
 will show
 ,
 | hello
 | world
 | 15
 `

 This is similar to a combination of :results output and :results value in
 org-babel. A really nice feature is that if an image is created by the last
 command in the block it is automatically shown. Therefore, it doesn't matter
 which library was used to generate the plot as long as it creates an image 
 (for
 instance, plotting to a file with matplotlib will shown the plot when the code
 is evaluated). Maybe the same approach could be used in org-mode.


I'd be interested to see how sage captures images created by it's
sub-languages.  It looks to me like sage has tighter coupling with it's
components (perhaps making more requirements of it's sub-languages) than
org-babel.  I know that for languages (like R) which support changing
the default graphical output to a file it would be possible (in fact I
believe Dan may already have this implemented to some degree) to
automatically capture any image output and place it in the org-mode
buffer.


 In the text area, RET only creates a new line, Shift+RET evaluates the code in
 the text area and creates a new one below the output keeping all the variables
 similar to the multiple source blocks within a single session in org-babel.

 Two things I find interesting is that you can easily evaluate all blocks in 
 the
 worksheet (org-mode already has org-babel-execute-buffer) and if any block
 starts with the comment %hide the code is not shown, only its output. I 
 think
 that a header argument :hide for a source block could be useful.


There have been a couple of people expressing the desire to hide the
body of source-code blocks recently.  It seems that there is some need
here which is not met by any of the existing source-block hiding methods
- pressing tab while at the head of the source-code block
- adding #+STARTUP hideblocks to the top of an org-mode file
- saving source-code blocks as library-of-babel functions

what behavior would you suggest results from a :hide header argument?


 That's my two cents. It is really amazing what you can do with org-mode and
 org-babel and I'm not saying in that org-babel should became more similar to
 sage. I only think that getting some inspiration from sage could be nice.


I agree completely, I'm sure that there are lessons to be learned from a
project with such similarities.  Now it's just a matter of getting to
know a little bit more about Sage.

Thanks -- Eric


 Regards,

 Darlan


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

Re: [Orgmode] Arrow keys in agenda view

2009-10-21 Thread Marco
Dear List,

 Is this a new feature I missed or a bug somewhere

 please see the release notes at
 http://orgmode.org/Changes.html#sec-2.2.2

 You can find an up-to-date list of agenda commands here:
 http://orgmode.org/manual/Agenda-commands.html#Agenda-commands

 This was changed in version 6.30.  Org now uses f and b to go forward and
 back in time in order to allow cursor motion in the agenda. See this
 http://orgmode.org/Changes.html#sec-2.1

My bad, I did not catch this discussion. Sorry for taking your time.

And thanks a lot again!

M


___
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: [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Marcelo de Moraes Serpa
Thanks for the replies.

I can see the value of having project lists with its actions beneath (and
sub-projects), but I don't have the discipline or maybe not enough org
skills to use it efficiently.

Having one project list that *lists only projects* (outcomes that require
more than one action to be considered a reality) and another single stack of
Next Actions has its benefits. The first one, being a cleaner list and
simplicity.

In the process phase, you process your blob of stuff, and when you get to
the point in the workflow where you have to decide if its a project or an
actual next action, then you can decide where to put it, *two lits to choose
from*.

The next actions can have the context tags, and the project list all have
the PROJECT tag. No more, no less.

Later on, in the planning phase, you can then generate more actions to crank
up in the list of actions.

So, you need to act on, just check the Next Actions list. Review the
projects lists whenever you feel to, to check for completed outcomes, need
to filter by context, use the agenda view. In the weekly review, check the
inbasket and someday/maybe, project lists and next actions, process,
organize, rise and repeat. Project lists and next actions lists refreshed
and ready to rock again. That's all.

As a side-benefit, having a cleaner text-file is good.

The other option, of having a Projects list, with projects then next actions
mixed up, has its benefits, since when using tagging properly you can
differentiate between Next Actions and Projects using org search features.
However, in the agenda view I won't have any clue of to which project the
TODO belongs, so, I lost the project information there, unless I turn follow
mode on or follow this item (enter, mouse-click), then I find that there
are too many items and hierarchies when I follow the items, it just gets too
cluttered for me, too confusing.

Also, one of the reasons I tried to simplify was that I was spending too
much time adjusting it and little time actually using it :S

I haven't stopped and I will keep studying better ways to do GTD and
automate more of my system, but this will be in the someday/maybe now.

I will create a section on Worg on different implementations of systems with
org based on the GTD model, then we could list the pros and cons, relate to
other productivity models and make a good menu to serve as reference for us
or as a great menu for new users.

Anyway, two different approaches that are both good, depends on how your
mind works and your level of knowledge of GTD/org.







On Wed, Oct 21, 2009 at 7:22 AM, Bernt Hansen be...@norang.ca wrote:

 Manish mailtomanish.sha...@gmail.com writes:

  On Wed, Oct 21, 2009 at 10:45 AM, Marcelo de Moraes Serpa wrote:
  Hello list,
 
  This is for the GTD orgers out there. I've taken the article written by
  Charles as a basis for my GTD implementation. In the end, it's all about
  what works for you, but I'd like to get some insights/opinions from you:
 For
  Next Actions, are you using a single list OR you organize them
  hierarchically under each project (in the projects list)?
 
  I started with the second one, putting each next action (TODO) item
 under
  its correspondent project, however, it quickly became too bloated, and a
 mix
  of projects, sub-projects and next-actions. Of course, org helps there
 with
  sparse trees and other functions to filter trees, but still, I found it
 was
  too complex, albeit more specific and I did felt I was more organized,
  even though I was getting lost.
 
  So, I just let go of my obsession about the perfect thing and decided to
 try
  a single Next Actions list, together with a Projects list. The next
 actions
  is a single list with all the actionable items from all the projects.
 I've
  lost the relationship between a next action item and a project, but I
 can do
  this easily by just looking at the action, having the system tell me is
 not
  that important.
 
  Usually, you define all actions for a project under the same hierarchy.
  You
  can decide how you want actions to be designated next (and projects to
 be
  designated project) -- using keywords or tags and have a custom agenda
  command collect the next actions for you from all agenda files in a
 single
  list.

 I define NEXT actions as a tag on some TODO item under the project
 hierarchy.  I then pick NEXT actions off of the custom agenda view for
 NEXT actions using agenda filtering to limit the total number of things
 I'm looking at.

 -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] Setting org-remember-store-without-prompt specifically for certain templates?

2009-10-21 Thread Ryan C. Thompson

Hi,

I want to be prompted for a location to file some org-remember 
templates, but not others. How can I set 
org-remember-store-without-prompt in a template-specific fashion? I 
tried putting code in the template with %(sexp) that would set a 
buffer-local value for this variable, but I can't seem to make it work.


-Ryan


___
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] visual-line-mode

2009-10-21 Thread Scott Randby
Quintana Seguí wrote:
 Hello,

 I have a problem relating /emphasis/ which leads to a question related
 to visual-line-mode.

 b) Are visual-line-mode and org-mode good friends?

I've found that one must exit visual-line-mode before converting an
org file to html. Weird things can happen if you forget to exit before
the conversion.

Scott Randby


___
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: [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Marcelo de Moraes Serpa
Another thing I'd like to add:

The only one next actions lists put the importance on actions, not on
projects. And isn't that what GTD is essentially about? Managing actions?

As long as you are acting up on your actions, that's fine, the need to check
the projects is not that frequent, in my opinion.

When you have actions below projects, you end up by thinking too much if the
action really fits on this project or if it belongs to a different
project/outcome. At least that's what happens to me. When I have a single
project list, I feel more freedom to just list outcomes and related actions
in the actions lists, then I check the project lists and eventually find out
that some outcomes have been reached. Good!

For example, when I get to the point that I decided that there is a next
action that results from a piece of data I'm processing, I might just add it
to the next actions lists, well written, or add it to its corresponding
project.

Of course, I could use remember and set it up to fill from the existing
project maybe (like, remember, tasks, type, choose the project from the
project list), but it is much more keystrokes than just saving it in the
Next Actions list. It's a more organic way to work, has less structure.

On the other hand, most of this could be achieved by using the agenda view
and other org filtering features, and still keep a list of projects,
sub-projects and next-actions, all in one, like:

(Always ordered by priority)

* Projects and Next Actions
** A project/outcome :PROJECT:
*** TODO Do something :HOME:
*** A subproject :PROJECT:
 TODO Do something! :HOME:
*** TODO Do something else :OFFICE:

Then, in the agenda, I can filter by HOME / OFFICE or TODO and would have a
flat list of actions too.

More configuration, but more you get, when you view the Projects and Next
Actions list, the information of to which project this next action belongs,
which might not be that important, as I'm interested on doing, not reviewing
the landscape all the time, but could be useful sometimes (when the action
is not specific enough you can't tell the related outcome).

What do you guys think?

On Wed, Oct 21, 2009 at 1:06 PM, Marcelo de Moraes Serpa 
celose...@gmail.com wrote:

 Thanks for the replies.

 I can see the value of having project lists with its actions beneath (and
 sub-projects), but I don't have the discipline or maybe not enough org
 skills to use it efficiently.

 Having one project list that *lists only projects* (outcomes that require
 more than one action to be considered a reality) and another single stack of
 Next Actions has its benefits. The first one, being a cleaner list and
 simplicity.

 In the process phase, you process your blob of stuff, and when you get to
 the point in the workflow where you have to decide if its a project or an
 actual next action, then you can decide where to put it, *two lits to choose
 from*.

 The next actions can have the context tags, and the project list all have
 the PROJECT tag. No more, no less.

 Later on, in the planning phase, you can then generate more actions to
 crank up in the list of actions.

 So, you need to act on, just check the Next Actions list. Review the
 projects lists whenever you feel to, to check for completed outcomes, need
 to filter by context, use the agenda view. In the weekly review, check the
 inbasket and someday/maybe, project lists and next actions, process,
 organize, rise and repeat. Project lists and next actions lists refreshed
 and ready to rock again. That's all.

 As a side-benefit, having a cleaner text-file is good.

 The other option, of having a Projects list, with projects then next
 actions mixed up, has its benefits, since when using tagging properly you
 can differentiate between Next Actions and Projects using org search
 features. However, in the agenda view I won't have any clue of to which
 project the TODO belongs, so, I lost the project information there, unless I
 turn follow mode on or follow this item (enter, mouse-click), then I find
 that there are too many items and hierarchies when I follow the items, it
 just gets too cluttered for me, too confusing.

 Also, one of the reasons I tried to simplify was that I was spending too
 much time adjusting it and little time actually using it :S

 I haven't stopped and I will keep studying better ways to do GTD and
 automate more of my system, but this will be in the someday/maybe now.

 I will create a section on Worg on different implementations of systems
 with org based on the GTD model, then we could list the pros and cons,
 relate to other productivity models and make a good menu to serve as
 reference for us or as a great menu for new users.

 Anyway, two different approaches that are both good, depends on how your
 mind works and your level of knowledge of GTD/org.








 On Wed, Oct 21, 2009 at 7:22 AM, Bernt Hansen be...@norang.ca wrote:

 Manish mailtomanish.sha...@gmail.com writes:

  On Wed, Oct 21, 2009 at 10:45 AM, Marcelo 

[Orgmode] Re: Added support for habit tracking

2009-10-21 Thread Matt Lundin
Hi John, 

John Wiegley jwieg...@gmail.com writes:

 Ok, the following changes today have been submitted for inclusion:

  - Habit appears in mode-line when Habits are being displayed

  - Habits no longer use a DEADLINE, but .+1d/3d, to indicate a range.
Use .+1d if the min and max are the same.

Thanks again for the excellent addition to org-mode. I have a couple of
questions about the graph output.

Let's say I have a habit that I would like to do every day, e.g.,

,
| * TODO Shave
|   SCHEDULED: 2009-10-21 Wed .+1d
|   :LOGBOOK:
|   - State DONE   from TODO   [2009-10-19 Mon 14:06]
|   - State DONE   from TODO   [2009-10-18 Sun 14:06]
|   - State DONE   from TODO   [2009-10-17 Sat 14:06]
|   - State DONE   from TODO   [2009-10-15 Thu 14:06]
|   - State DONE   from TODO   [2009-10-11 Sun 14:06]
|   :END:
|   :PROPERTIES:
|   :STYLE:habit
|   :END:
`

As you can see from the above example, I missed few days (10-12, 10-13,
etc.).

In the consistency graph, the first day the task was skipped (10-12)
appears in green (org-habit-ready-face) on the graph. The second day
(10-13), when the task was overdue, appears in yellow
(org-habit-alert-face). If I am reading the manual correctly, I would
expect this second day to be red, since the task is overdue on the day.
(See the attachment graph-1.png).

I believe I've found another issue with the graphs. If a task is
completed twice on the same day, it prevents all subsequent days from
appearing on the consistency graph.

Here's the example:

,
| * TODO Shave
|   SCHEDULED: 2009-10-21 Wed .+1d
|   :LOGBOOK:
|   - State DONE   from TODO   [2009-10-19 Mon 14:06]
|   - State DONE   from TODO   [2009-10-17 Sat 14:06]
|   - State DONE   from TODO   [2009-10-15 Thu 14:06]
|   - State DONE   from TODO   [2009-10-11 Sun 14:06]
|   - State DONE   from TODO   [2009-10-10 Sat 14:06]
|   - State DONE   from TODO   [2009-10-10 Sat 12:00]
|   :END:
|   :PROPERTIES:
|   :STYLE:habit
|   :LAST_REPEAT: [2009-10-21 Wed 14:06]
|   :END:
`

See the second attached screenshot (graph-2.png) for the output.

Thanks,
Matt

attachment: graph-1.pngattachment: graph-2.png___
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: [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Matt Lundin
Marcelo de Moraes Serpa celose...@gmail.com writes:

 On the other hand, most of this could be achieved by using the agenda
 view and other org filtering features, and still keep a list of
 projects, sub-projects and next-actions, all in one, like:

 (Always ordered by priority)

 * Projects and Next Actions
 ** A project/outcome :PROJECT:
 *** TODO Do something :HOME:
 *** A subproject :PROJECT:
  TODO Do something! :HOME:
 *** TODO Do something else :OFFICE:

 Then, in the agenda, I can filter by HOME / OFFICE or TODO and would
 have a flat list of actions too.

 More configuration, but more you get, when you view the Projects and
 Next Actions list, the information of to which project this next action
 belongs, which might not be that important, as I'm interested on doing,
 not reviewing the landscape all the time, but could be useful sometimes
 (when the action is not specific enough you can't tell the related
 outcome).

 What do you guys think?

Are you looking for us to convince you to organize your files by
project? :)

IMO, how the user chooses to organize his/her files is a moot point,
since the magic of org-mode lies in the agenda. My agenda files consist
of several thematic files (currently 21), each containing a variety of
notes, projects, todos, etc. In the end, the organization of these files
doesn't matter, since org-mode's agenda commands do a fantastic job of
presenting me with clean lists of all my todos, while org-refile allows
me easily to move items to different files and or subheadings.

I prefer this method because it allows me to jump to rich contextual
information from the agenda. For me, keeping next actions and projects
separate within the org files would eliminate a major strength of
org-mode and reduplicate what the agenda already does. But to each
his/her own! :)

- Matt



___
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: [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Bernt Hansen
Matt Lundin m...@imapmail.org writes:

 Marcelo de Moraes Serpa celose...@gmail.com writes:

 On the other hand, most of this could be achieved by using the agenda
 view and other org filtering features, and still keep a list of
 projects, sub-projects and next-actions, all in one, like:

 (Always ordered by priority)

 * Projects and Next Actions
 ** A project/outcome :PROJECT:
 *** TODO Do something :HOME:
 *** A subproject :PROJECT:
  TODO Do something! :HOME:
 *** TODO Do something else :OFFICE:

 Then, in the agenda, I can filter by HOME / OFFICE or TODO and would
 have a flat list of actions too.

 More configuration, but more you get, when you view the Projects and
 Next Actions list, the information of to which project this next action
 belongs, which might not be that important, as I'm interested on doing,
 not reviewing the landscape all the time, but could be useful sometimes
 (when the action is not specific enough you can't tell the related
 outcome).

 What do you guys think?

 Are you looking for us to convince you to organize your files by
 project? :)

 IMO, how the user chooses to organize his/her files is a moot point,
 since the magic of org-mode lies in the agenda. My agenda files consist
 of several thematic files (currently 21), each containing a variety of
 notes, projects, todos, etc. In the end, the organization of these files
 doesn't matter, since org-mode's agenda commands do a fantastic job of
 presenting me with clean lists of all my todos, while org-refile allows
 me easily to move items to different files and or subheadings.

 I prefer this method because it allows me to jump to rich contextual
 information from the agenda. For me, keeping next actions and projects
 separate within the org files would eliminate a major strength of
 org-mode and reduplicate what the agenda already does. But to each
 his/her own! :)

Agreed :)  The agenda is not just about calendar dates, the agenda is

  - A calendar view of dates (single day, week, month) (C-c a a)
  - A list of todo items collected from multiple org-agenda-files (C-c a t)
  - A general search tool through all of your org-agenda-files (C-c a /)
  - A list of things matching tags (C-c a m)

and so much more (when you add custom agenda views etc).  Filtering lets
you remove tasks quickly and easily based on tags or other criteria to
get your lists down to what you are really looking at.  Then there's
agenda restrictions (to file or subtree) to further limit the initial
list of returned headlines.

If you're thinking the agenda is just about dates then you need to
revisit this and see how you can use this to your advantage.

I personally keep related tasks together in the same subtree.  I collect
multiple subtrees in the same org file so I can add / remove the entire
thing from my agenda easily.  For example one client is one file - with
multiple projects for that client in the same file.  That just makes
sense logically (to me) - if I'm working on a task then stuff related to
it is close by in the same org file.  The status of those tasks (next
item, todo item, just some note with further information, etc) is
irrelevant to where I place them in the tree - they're part of some
larger thing (project?) and are a sublevel of that thing.

-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] New module: org-learn, incremental reading

2009-10-21 Thread Quintana Seguí , Pere
Johan, thanks a lot for such a great piece of software. I didn't
expect to have this feature implemented so fast!

I'm very new to this community, but now I'm sure it was a great idea
to invest some time learning Emacs and Org-mode!

The next step will be to learn some Emacs Lisp. But this is tougher, though.

Thank you,

Pere

2009/10/21 John Wiegley jwieg...@gmail.com:
 The attached file, when loaded, provides two new commands:

  M-x org-smart-reschedule
  M-x org-agenda-smart-reschedule

 The latter being only for the *Org Agenda* buffer.

 You should use these commands on a scheduled entry, with state logging
 enabled for the DONE state.  It then reschedules the item to a future date
 based on the SM-5 algorithm and a quality factor you are prompted for.

 To summarize the SM-5 algorithm:

  1. After you read an item on the scheduled day, you hit M-x
 org-smart-reschedule.

  2. You are then asked how well you remember what you just read, from 0-5:

     5 - perfect response
     4 - correct response after a hesitation
     3 - correct response recalled with serious difficulty
     2 - incorrect response; where the correct one seemed easy to recall
     1 - incorrect response; the correct one remembered
     0 - complete blackout.

  3. If your answer is 4 or 5, the item will not be repeated.  If it is
 anything
     else, the item is rescheduled, to be read again on a future date.

  4. Based on the quality of your response, AND the number of times you've
 read
     the item so far, the amount of time being reschedulings will vary.  If
 your
     retention is good, the gaps grow wider; if it is poor, they grow
 shorter.

  5. Your learning data is kept in a special property called :LEARN_DATA:.
  Do
     not modify this, as it controls how the algorithm reschedules after
 future
     repetitions, and based on past quality responses.

 More about this algorithm can be read here:
 http://www.supermemo.com/english/ol/sm2.htm.

 This contribution is made in honor of Russell Adams, who drove all the way
 to New Jersey from Kennedy airport to visit me today, and who brought up the
 idea of implementing it, based on an earlier proposal by Pere Quintana Seguí
 (http://article.gmane.org/gmane.emacs.orgmode/17781).

 John


 ___
 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





-- 
http://pere.quintanasegui.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] visual-line-mode

2009-10-21 Thread Scot Becker
I don't know much about exporting to HTML, but I do all my writing in org
with visual-line-mode (with occasional export to latex).  I really like
v-l-m and have had no problems.  There is a lot of functionality in org
which I don't make use of, however.  So, in my experience, they're good
friends.

Scot


On Wed, Oct 21, 2009 at 7:24 PM, Scott Randby sran...@uakron.edu wrote:

 Quintana Seguí wrote:
  Hello,
 
  I have a problem relating /emphasis/ which leads to a question related
  to visual-line-mode.
 
  b) Are visual-line-mode and org-mode good friends?

 I've found that one must exit visual-line-mode before converting an
 org file to html. Weird things can happen if you forget to exit before
 the conversion.

 Scott Randby


 ___
 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: [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Marcelo de Moraes Serpa
Thanks. Got it, I'm definitely not giving org agenda the importance it
deserves. Anyway, it might serve as an example of a simpler approach.

I have one question, though. There are actions that you know you have to do,
but that don't justify the creation of an outcome, or, in other words,
creating a project for this NA would be overkill, such as Buy chocolate
:HOME:. What would be the outcome related to that? Satisfy my desire of
sugar. Of course, this could be part of a Monthly shopping, in this case
it is obvious, but sometimes I just have the feeling to buy chocolate, that
doesn't justify the creation of an outcome. What do you guys do in this
case? Keep another list for these kind of tasks?


On Wed, Oct 21, 2009 at 2:15 PM, Bernt Hansen be...@norang.ca wrote:

 Matt Lundin m...@imapmail.org writes:

  Marcelo de Moraes Serpa celose...@gmail.com writes:
 
  On the other hand, most of this could be achieved by using the agenda
  view and other org filtering features, and still keep a list of
  projects, sub-projects and next-actions, all in one, like:
 
  (Always ordered by priority)
 
  * Projects and Next Actions
  ** A project/outcome :PROJECT:
  *** TODO Do something :HOME:
  *** A subproject :PROJECT:
   TODO Do something! :HOME:
  *** TODO Do something else :OFFICE:
 
  Then, in the agenda, I can filter by HOME / OFFICE or TODO and would
  have a flat list of actions too.
 
  More configuration, but more you get, when you view the Projects and
  Next Actions list, the information of to which project this next action
  belongs, which might not be that important, as I'm interested on doing,
  not reviewing the landscape all the time, but could be useful sometimes
  (when the action is not specific enough you can't tell the related
  outcome).
 
  What do you guys think?
 
  Are you looking for us to convince you to organize your files by
  project? :)
 
  IMO, how the user chooses to organize his/her files is a moot point,
  since the magic of org-mode lies in the agenda. My agenda files consist
  of several thematic files (currently 21), each containing a variety of
  notes, projects, todos, etc. In the end, the organization of these files
  doesn't matter, since org-mode's agenda commands do a fantastic job of
  presenting me with clean lists of all my todos, while org-refile allows
  me easily to move items to different files and or subheadings.
 
  I prefer this method because it allows me to jump to rich contextual
  information from the agenda. For me, keeping next actions and projects
  separate within the org files would eliminate a major strength of
  org-mode and reduplicate what the agenda already does. But to each
  his/her own! :)

 Agreed :)  The agenda is not just about calendar dates, the agenda is

  - A calendar view of dates (single day, week, month) (C-c a a)
  - A list of todo items collected from multiple org-agenda-files (C-c a t)
  - A general search tool through all of your org-agenda-files (C-c a /)
  - A list of things matching tags (C-c a m)

 and so much more (when you add custom agenda views etc).  Filtering lets
 you remove tasks quickly and easily based on tags or other criteria to
 get your lists down to what you are really looking at.  Then there's
 agenda restrictions (to file or subtree) to further limit the initial
 list of returned headlines.

 If you're thinking the agenda is just about dates then you need to
 revisit this and see how you can use this to your advantage.

 I personally keep related tasks together in the same subtree.  I collect
 multiple subtrees in the same org file so I can add / remove the entire
 thing from my agenda easily.  For example one client is one file - with
 multiple projects for that client in the same file.  That just makes
 sense logically (to me) - if I'm working on a task then stuff related to
 it is close by in the same org file.  The status of those tasks (next
 item, todo item, just some note with further information, etc) is
 irrelevant to where I place them in the tree - they're part of some
 larger thing (project?) and are a sublevel of that thing.

 -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: New module: org-learn, incremental reading

2009-10-21 Thread John Wiegley

On Oct 21, 2009, at 9:58 AM, Bill Powell wrote:


In my own experience, material /always/ has to be repeated.
Especially when you're first learning something, those
perfect responses will turn real shaky if you wait three
months before you look at the items again. I believe this is
how Anki and Mnemosyne work, too.


The algorithm had two details that maybe we could make configurable:

 1. If the user's quality answer is 3, restart the OF-Matrix all
over again, but using the current E-Factor.

 2. If the user's quality answer is 3, stop the repetition cycle.

We could make these numbers be min and max, and configurable, so that  
you could either always repeat, or only restart the OF-Matrix if it's  
below a lower number.


John


___
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] [feature-suggestion] Schedule and tick/mark multiple items

2009-10-21 Thread Marcelo de Moraes Serpa
Hello list,

Is there a way to schedule multiple items at the same time? It would be a
nice addition for planning the day, for example.

Another thing, it would be nice if we could mark items in an org-mode
buffer, and then actions would be applied only to these items, so, for
example, we want to move some items from different lists (refill) to another
list, we would mark them, and then apply the refill.

Just two thoughts I just had and thought I'd share.

Thanks and keep the great work!

Marcelo.
___
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: [feature-suggestion] Schedule and tick/mark multiple items

2009-10-21 Thread Marcelo de Moraes Serpa
Awesome! Thanks.

On Wed, Oct 21, 2009 at 6:27 PM, Matt Lundin m...@imapmail.org wrote:

 Hi Marcelo,

 Marcelo de Moraes Serpa celose...@gmail.com writes:

  Is there a way to schedule multiple items at the same time? It would be
  a nice addition for planning the day, for example.
 
  Another thing, it would be nice if we could mark items in an org-mode
  buffer, and then actions would be applied only to these items, so, for
  example, we want to move some items from different lists (refill) to
  another list, we would mark them, and then apply the refill.

 Yes, you can perform batch actions in the agenda. Simply mark the items
 you'd like to modify with m. Then type B for a list of possible
 actions (which includes scheduling and refiling).

 Best,
 Matt

___
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 3/3] Some small fixes in org-registry.

2009-10-21 Thread Andreas Burtzlaff

Here's a clean rewrite of org-registry-assoc-all and
org-registry-find-all that also fixes a small bug:

---
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 8524c9f..313fc74 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-22  Andreas Burtzlaff  and...@gmx.net
+
+   * lisp/org-registry.el (org-registry-assoc-all): Clean rewrite
+   (org-org-registry-find-all): Clean rewrite
+
 2009-10-19  James TD Smith  ahktenz...@mohorovi.cc
 
* lisp/org-registry.el (org-registry-assoc-all): Stop this from
diff --git a/contrib/lisp/org-registry.el b/contrib/lisp/org-registry.el
index 01b2fc8..ad382f0 100644
--- a/contrib/lisp/org-registry.el
+++ b/contrib/lisp/org-registry.el
@@ -145,19 +145,16 @@ buffer.
 
 (defun org-registry-assoc-all (link optional registry)
   Return all associated entries of LINK in the registry.
-  (let ((reg (copy-list (or org-registry-alist registry))) entry
output)
-(while (setq entry (assoc link reg))
-  (add-to-list 'output entry)
-  (setq reg (delete entry reg)))
-(nreverse output)))
+  (org-registry-find-all 
+   (lambda (entry) (string= link (car entry)))
+   registry))
 
 (defun org-registry-find-all (test optional registry)
   Return all entries satisfying `test' in the registry.
-  (let ((reg (copy-list (or org-registry-alist registry))) entry
output)
-(while (setq entry (find-if test reg))
-  (add-to-list 'output entry)
-  (setq reg (delete entry reg)))
-(nreverse output)))
+  (delq nil 
+(mapcar 
+ (lambda (x) (and (funcall test x) x)) 
+ (or registry org-registry-alist
 
 ;;;###autoload
 (defun org-registry-visit ()
---

On Wed, 21 Oct 2009 10:43:13 +0200
Carsten Dominik carsten.domi...@gmail.com wrote:

 Applied, thanks.
 
 - Carsten
 
 On Oct 20, 2009, at 4:51 AM, James TD Smith wrote:
 
  org-registry-assoc-all removed matching links from the registry.  
  This meant
  subsequent calls with the same parameters would return nothing.
 
  Add another function for finding entries in the register, which used  
  find-if to
  get entries satisfying a predicate.
  ---
  contrib/ChangeLog|9 +++--
  contrib/lisp/org-registry.el |   40 +++ 
  +
  2 files changed, 31 insertions(+), 18 deletions(-)
 
  diff --git a/contrib/ChangeLog b/contrib/ChangeLog
  index e30c28f..8524c9f 100644
  --- a/contrib/ChangeLog
  +++ b/contrib/ChangeLog
  @@ -1,3 +1,10 @@
  +2009-10-19  James TD Smith  ahktenz...@mohorovi.cc
  +
  +   * lisp/org-registry.el (org-registry-assoc-all): Stop this from
  +   deleting the links it finds from the registry.
  +   (org-registry-find-all): Add a new function which returns all
  +   registry entries which satisfy a test function.
  +
  2009-10-02  Carsten Dominik  carsten.domi...@gmail.com
 
  * lisp/org-special-blocks.el (org-special-blocks-ignore-regexp):
  @@ -284,5 +291,3 @@
  * lisp/org-irc.el: New file.
 
  * ChangeLog: New file.
  -
  -
  diff --git a/contrib/lisp/org-registry.el b/contrib/lisp/org- 
  registry.el
  index f8d3d61..01b2fc8 100644
  --- a/contrib/lisp/org-registry.el
  +++ b/contrib/lisp/org-registry.el
  @@ -39,25 +39,25 @@
  ;;
  ;; This is were org-registry comes in handy.
  ;;
  -;; M-x org-registry-show will tell you the name of the file
  +;; M-x org-registry-show will tell you the name of the file
  ;; C-u M-x org-registry-show will directly jump to the file
  ;;
  -;; In case there are several files where the link lives in:
  +;; In case there are several files where the link lives in:
  ;;
  ;; M-x org-registry-show will display them in a new window
  ;; C-u M-x org-registry-show will prompt for a file to visit
  ;;
  ;; Add this to your Org configuration:
  -;;
  +;;
  ;; (require 'org-registry)
  ;; (org-registry-initialize)
  ;;
  ;; If you want to update the registry with newly inserted links in the
  ;; current buffer: M-x org-registry-update
  -;;
  +;;
  ;; If you want this job to be done each time you save an Org buffer,
  ;; hook 'org-registry-update to the local 'after-save-hook in org- 
  mode:
  -;;
  +;;
  ;; (org-registry-insinuate)
 
  ;;; Code:
  @@ -94,7 +94,7 @@ buffer.
   (match-string-no-properties 1 blink)))
   (desc (or (and (string-match org-bracket-link-regexp blink)
  (match-string-no-properties 3 blink)) No description))
  -(files (org-registry-assoc-all link))
  +(files (org-registry-assoc-all link))
   file point selection tmphist)
  (cond ((and files visit)
 ;; result(s) to visit
  @@ -103,7 +103,7 @@ buffer.
(setq tmphist (mapcar (lambda(entry)
(format %s (%d) [%s]
(nth 3 entry) ; file
  - (nth 2 entry) ; point
  + (nth 2 entry) ; point
   

[Orgmode] Re: [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-21 Thread Bernt Hansen
Marcelo de Moraes Serpa celose...@gmail.com writes:

 I have one question, though. There are actions that you know you have
 to do, but that don't justify the creation of an outcome, or, in other
 words, creating a project for this NA would be overkill, such as Buy
 chocolate :HOME:. What would be the outcome related to that? Satisfy
 my desire of sugar. Of course, this could be part of a Monthly
 shopping, in this case it is obvious, but sometimes I just have the
 feeling to buy chocolate, that doesn't justify the creation of an
 outcome.  What do you guys do in this case? Keep another list for
 these kind of tasks?

I'd just make a task

,[ todo.org ]
| * Miscellaneous
| ** Go Shopping and buy stuff  :INTOWN:
|   - [ ] Chocolate
`

and accumulate items in the list until there is enough to warrant a trip
to the store.

I normally have separate tasks (Buy This, and Buy That) which I convert
to a list later as above.  It's faster to record the buy something task
in remember than to find the Go Shopping task when I remember something
I need to add to the list.  Later when I have time I can consolidate the
separate tasks into the shopping list, print it out and check off the
boxes with a pen when I'm actually in town.

If I'm going to town for something I look at my agenda list for :INTOWN:
tags and deal with whatever I can in a single trip.

-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] [PATCH 0/2] Soem more minor patches

2009-10-21 Thread Carsten Dominik


On Oct 21, 2009, at 11:52 AM, James TD Smith wrote:

I found the changes John Wiegley made to org-repeat-re stopped it  
from matching

repeaters with just a '+' at the start. I have fixed this.


Hi James, can you please provide an example for this bug?

Thanks!

- Carsten




Also, I've added a way for the clock resolution code to use system  
idle time
under X11, using a small C program which uses the xscreensaver  
extension.


James TD Smith (2):
 Add an X11 equivalent to org-mac-idle-seconds.
 org-repeat-re was no longer matching simple +2d type repeaters. Fix.

.gitignore  |1 +
ChangeLog   |6 +-
UTILITIES/x11idle.c |   21 +
lisp/ChangeLog  |   11 ++-
lisp/org-clock.el   |   10 --
lisp/org.el |2 +-
6 files changed, 46 insertions(+), 5 deletions(-)
create mode 100644 UTILITIES/x11idle.c

--
|-James TD Smith-email/ahktenz...@mohorovi.cc-|


___
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


- 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] Setting org-remember-store-without-prompt specifically for certain templates?

2009-10-21 Thread Darlan Cavalcante Moreira

I just leave org-remember-store-without-prompt as t and use C-c C-c in the
remember buffer to put the note in the default location. When I want to specify
a different location I use M-1 C-c C-c instead and org asks me where to refile
it to.

Darlan

At Wed, 21 Oct 2009 11:15:23 -0700,
Ryan C. Thompson r...@thompsonclan.org wrote:
 
 Hi,
 
 I want to be prompted for a location to file some org-remember 
 templates, but not others. How can I set 
 org-remember-store-without-prompt in a template-specific fashion? I 
 tried putting code in the template with %(sexp) that would set a 
 buffer-local value for this variable, but I can't seem to make it work.
 
 -Ryan
 
 
 ___
 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] Setting org-remember-store-without-prompt specifically for certain templates?

2009-10-21 Thread Ryan C. Thompson
That's a fine solution for now, but I have one template that I *always* 
want to be prompted about. (It's an assignment template, and I want to 
refile it under the appropriate class.) For others, I don't want a 
prompt. I feel there should be a way to implement this and stick it 
inside a %(sexp) in my template of choice.


Darlan Cavalcante Moreira wrote:

I just leave org-remember-store-without-prompt as t and use C-c C-c in the
remember buffer to put the note in the default location. When I want to specify
a different location I use M-1 C-c C-c instead and org asks me where to refile
it to.

Darlan

At Wed, 21 Oct 2009 11:15:23 -0700,
Ryan C. Thompson r...@thompsonclan.org wrote:
  



___
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