[Orgmode] suggestion: latex presentations export

2009-04-24 Thread Ilya Shlyakhter
Orgmode's outline view is natural for creating slideshows /
presentations.   There are latex packages for creating
slideshow presentations ( http://texpower.sourceforge.net/ lists a few
).   So it would be great if there was an
export mode to export an orgmode subtree as a LaTeX presentation.
Each outline entry at a given depth level
would correspond to one slide, and the entries at deeper levels would
correspond to points on that slide.
Tables and figures from the entry text would get incorporated into the slide.

ilya


___
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 package: org-jira

2009-04-24 Thread Carsten Dominik

Hi Jonathan,

when you are finished with the implementation, we could
make this a contributed package.

- Carsten

On Apr 23, 2009, at 7:23 PM, Jonathan Arkell wrote:

This simple little package adds a jira link type to org mode, so you  
can have a hyperlink like [[jira:ticket]] that will automagickally  
open the Jira ticket with Dave Benjamin's Jira package.


I'll be doing reverse links soonish.  Later on I'll be looking at  
ways to import a Jira Ticket list as a series of TODO items.


I'm also open to any suggestions.

Enjoy!

My little org connector:  http://www.emacswiki.org/emacs/org-jira.el
Dave Benjamin's jira package: http://www.emacswiki.org/emacs/jira.el


Jonathan Arkell
Sr. Web Developer
Inspired by Drum + Bass, Scheme, Kawaii
402 – 11 Avenue SE
Calgary, AB T2G 0Y4
t: 403.206.4377
www.criticalmass.com


The information contained in this message is confidential. It is  
intended to be read only by the individual or entity named above or  
their designee. If the reader of this message is not the intended  
recipient, you are hereby notified that any distribution of this  
message, in any form, is strictly prohibited. If you have received  
this message in error, please immediately notify the sender and  
delete or destroy any copy of this message.

___
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] feature request: checkboxes in tables

2009-04-24 Thread Giovanni Ridolfi

--- Gio 23/4/09, Rainer Thiel r.th...@uni-jena.de ha scritto:
 grazie per aver risposto così presto.

Rainer,
keine Ursache.

 2009/4/23 Giovanni Ridolfi giovanni.rido...@yahoo.it:
 
  --- Gio 23/4/09, Rainer Thiel r.th...@uni-jena.de
  ha scritto:
   I am wondering if it might be possible to allow 
   check boxes in table columns.
   
   | Name  | announcement made [2/4] | hotel booked [2/4] |
   |---+-+|
   | Bill  | [ ] | [X]|
   | Jane  | [X] | [X]|
   
  please have a look at the Bastien's column view
  tutorial:
 
  http://orgmode.org/worg/org-tutorials/org-column-view-tutorial.php
 
  section:Adding summary-types for some properties 
 
 As far as I can see (but I may well have overlooked
 something), 

:-(

 this
 describes only how to get a mark in the head of the table
 when ALL items are flagged, 

 :-(  :-(

 not how get a head entry dewcribing HOW
 MANY items are, which was what I was trying to do.  
 I suspect  this is already
 possible, too, but so far I can't see how to do it.
 

Please
1) As written in the bottom of the mail:

Remember: use `Reply All' to send replies to the list.

2 ) Please, read more carefully Bastien's tutorial [1], 

[1] e.g. what does it mean %9Approved(Approved?){X}

and also be so kind to have a look at Chapter 7 of the 
manual, specifically at paragraph 7.5!

Everything is clearly explained. 

However this seems to be a solution for your question:

---test.org---
  -*- mode: org; -*-
* [2009-04-24 ven] column view 4 Rainer
#+BEGIN: columnview :hlines 1 :id Conference
| Name| announcement made | hotel booked |
|-+---+--|
| * [2009-04-24 ven] column view 4 Rainer | [0/2] | [2/2]|
| ** Bill | [ ]   | [X]  |
| ** Jane | [ ]   | [X]  |
#+END:

:PROPERTIES:
:COLUMNS: %10ITEM(Name) %20Ann(announcement made){X/} %20Hotel(hotel booked){X/}
:ID: Conference
:Ann_ALL: [ ] [X]
:Hotel_ALL: [ ] [X]
:END:
** Bill
:PROPERTIES:
:ID: Conference
:Ann: [ ]
:Hotel: [X]
:END:
** Jane
:PROPERTIES:
:ID: Conference
:Ann: [ ]
:Hotel: [X]
:END:


cheers
Giovanni






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


Re: [Orgmode] org-mode on sloooow computer

2009-04-24 Thread Eric S Fraga
Carsten Dominik writes:
 On Apr 24, 2009, at 12:10 AM, Eric S Fraga wrote:
  Which part can you not reproduce?
 
 When I have the agenda on an arbitrary date, pressing j does *not*  
 first switch the agenda to today.

blush

Okay, the problem was mine: I had included a very useful method,
originally from Tassilo (cf. th-calendar-open-agenda), which would
have the agenda view updated when the calendar view changed.  Removing
this gives the behaviour I was now looking for, and which is indeed
the default behaviour.  Apologies for the noise.

/blush

Actually, this experience is a testament to the insidious nature (in a
positive way) of org-mode: it is taking over my life!  I used to have
the Emacs diary + calendar as the focus of my attention for task and
time management and org-mode was initially an addition to this.
org-mode is now almost completely the focus and I really need to clean
up my customisations to remove the old vestiges of how I used to work.

Again, apologies and continued thanks for an excellent system which I
could no longer live without!


___
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: org-mode on sloooow computer

2009-04-24 Thread Eric S Fraga
Carsten Dominik carsten.domi...@gmail.com writes:

 Are both of you running compiled Lisp code?

yes.  I install org-mode from debian unstable which compiles all the
lisp codes.


 Are you using day view or week view (which makes 7 day views)

day view (used to use week view but was trying to speed things up).

 The following would be interesting:
 [...]
 M-x elp-results

 and post the resulting buffer.

I asked for agenda view (^caa) and get the following results:

,
| org-agenda 1   4.358551  4.358551
| org-agenda-list1   4.116562  4.116562
| org-agenda-get-day-entries 6   3.497896  0.582982
| org-get-tags-at106 3.264206  0.0307944056
| org-up-heading-all 247 3.217603  0.0130267368
| org-agenda-get-scheduled   6   2.660075  0.4433458333
| org-outline-level  20216   1.495495  7.397...e-05
| org-agenda-get-deadlines   6   0.732624  0.122104
| org-dblock-write:clocktable7   0.549022  0.0784317142
| org-get-clocktable 1   0.395574  0.395574
| org-update-dblock  1   0.357156  0.357156
| org-prepare-agenda-buffers 2   0.272433  0.1362165000
| org-agenda-get-restriction-and-command 1   0.241765  0.241765
| org-clock-sum  6   0.191091  0.0318485
| org-prepare-agenda 1   0.144341  0.144341
| org-refresh-category-properties12  0.082294  0.0068578333
| org-agenda-get-timestamps  6   0.054994  0.0091658333
| org-get-agenda-file-buffer 18  0.047752  0.002652
| org-find-base-buffer-visiting  18  0.047059  0.002614
| org-get-entries-from-diary 1   0.040401  0.040401
| org-get-todo-state 107 0.031544  0.0002948130
| org-back-to-heading232 0.029236  0.0001260172
| org-time-string-to-absolute111 0.025061  0.0002257837
| org-end-of-subtree 11  0.024123  0.0021930909
| org-agenda-get-blocks  6   0.017011  0.0028351666
| org-parse-time-string  215 0.016269  7.566...e-05
| org-agenda-get-sexps   6   0.013474  0.0022458333
| org-agenda-files   6   0.012667  0.002666
| org-fit-agenda-window  1   0.010794  0.010794
| org-fit-window-to-buffer   2   0.010633  0.0053165
| org-mode   1   0.008961  0.008961
| org-check-agenda-file  18  0.008071  0.0004483888
| org-get-priority   8   0.007977  0.0009972499
| org-format-agenda-item 8   0.006947  0.0008684999
| org-agenda-skip121 0.006809  5.627...e-05
| org-finalize-agenda-entries1   0.006645  0.006645
| org-install-agenda-files-menu  1   0.003953  0.003953
| org-finalize-agenda1   0.003672  0.003672
| org-get-effort 8   0.003324  0.0004155
| org-agenda-mode1   0.003274  0.003274
| org-entry-get  8   0.003146  0.0003933749
| org-agenda-highlight-todo  8   0.003116  0.0003895000
| org-table-align1   0.002933  0.002933
| org-get-property-block 8   0.002703  0.000337875
| org-agenda-align-tags  1   0.002667  0.002667
| org-split-string   74  0.002185  2.954...e-05
| org-create-dblock  1   0.002171  0.002171
| org-entries-lessp  16  0.002107  0.0001316875
| org-switch-to-buffer-other-window  1   0.001576  0.001576
| org-agenda-todayp  12  0.001523  0.000126
| org-set-startup-visibility 1   0.001405  0.001405
| org-get-category   107 0.001267  1.184...e-05
| org-closest-date   4   0.001067  0.00026675
| org-cycle  1   0.00104   0.00104
| org-add-props  21  0.000906  4.319...e-05
| org-time-string-to-time6   0.000892  0.000148
| org-prepare-dblock 1   0.000882  0.000882
| org-remove-uniherited-tags 149   

Re: [Orgmode] Re: org-mode on sloooow computer

2009-04-24 Thread Carsten Dominik

Interesting.

How many entries did this search return?

Could you do me a favor, get the git version I just pushed and try
to repeat the same command under the same conditions (compiled or  
uncompiled, org stuff pre-loaded because of a previous agenda  
command).


I may have made it quite a bit faster - thought I did this a long time  
ago, but it appears that I forgot to remove an important instance of  
org-up-heading-all.


Thanks.

- Carsten

On Apr 24, 2009, at 11:22 AM, Eric S Fraga wrote:


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


Are both of you running compiled Lisp code?


yes.  I install org-mode from debian unstable which compiles all the
lisp codes.



Are you using day view or week view (which makes 7 day views)


day view (used to use week view but was trying to speed things up).


The following would be interesting:
[...]
   M-x elp-results

and post the resulting buffer.


I asked for agenda view (^caa) and get the following results:

,
| org-agenda 1   4.358551   
4.358551
| org-agenda-list1   4.116562   
4.116562
| org-agenda-get-day-entries 6   3.497896   
0.582982
| org-get-tags-at106 3.264206   
0.0307944056
| org-up-heading-all 247 3.217603   
0.0130267368
| org-agenda-get-scheduled   6   2.660075   
0.4433458333
| org-outline-level  20216   1.495495   
7.397...e-05
| org-agenda-get-deadlines   6   0.732624   
0.122104
| org-dblock-write:clocktable7   0.549022   
0.0784317142
| org-get-clocktable 1   0.395574   
0.395574
| org-update-dblock  1   0.357156   
0.357156
| org-prepare-agenda-buffers 2   0.272433   
0.1362165000
| org-agenda-get-restriction-and-command 1   0.241765   
0.241765
| org-clock-sum  6   0.191091   
0.0318485
| org-prepare-agenda 1   0.144341   
0.144341
| org-refresh-category-properties12  0.082294   
0.0068578333
| org-agenda-get-timestamps  6   0.054994   
0.0091658333
| org-get-agenda-file-buffer 18  0.047752   
0.002652
| org-find-base-buffer-visiting  18  0.047059   
0.002614
| org-get-entries-from-diary 1   0.040401   
0.040401
| org-get-todo-state 107 0.031544   
0.0002948130
| org-back-to-heading232 0.029236   
0.0001260172
| org-time-string-to-absolute111 0.025061   
0.0002257837
| org-end-of-subtree 11  0.024123   
0.0021930909
| org-agenda-get-blocks  6   0.017011   
0.0028351666
| org-parse-time-string  215 0.016269   
7.566...e-05
| org-agenda-get-sexps   6   0.013474   
0.0022458333
| org-agenda-files   6   0.012667   
0.002666
| org-fit-agenda-window  1   0.010794   
0.010794
| org-fit-window-to-buffer   2   0.010633   
0.0053165
| org-mode   1   0.008961   
0.008961
| org-check-agenda-file  18  0.008071   
0.0004483888
| org-get-priority   8   0.007977   
0.0009972499
| org-format-agenda-item 8   0.006947   
0.0008684999
| org-agenda-skip121 0.006809   
5.627...e-05
| org-finalize-agenda-entries1   0.006645   
0.006645
| org-install-agenda-files-menu  1   0.003953   
0.003953
| org-finalize-agenda1   0.003672   
0.003672
| org-get-effort 8   0.003324   
0.0004155
| org-agenda-mode1   0.003274   
0.003274
| org-entry-get  8   0.003146   
0.0003933749
| org-agenda-highlight-todo  8   0.003116   
0.0003895000
| org-table-align1   0.002933   
0.002933
| org-get-property-block 8   0.002703   
0.000337875
| org-agenda-align-tags  1   0.002667   
0.002667
| org-split-string   74  0.002185   
2.954...e-05
| org-create-dblock  1   0.002171   
0.002171
| org-entries-lessp  16  0.002107   
0.0001316875
| org-switch-to-buffer-other-window  1   0.001576   
0.001576
| org-agenda-todayp  12  

Re: [Orgmode] Re: org-mode on sloooow computer

2009-04-24 Thread Eric S Fraga
Carsten Dominik writes:
 Interesting.
 
 How many entries did this search return?

Today, only 8 scheduled tasks, no diary entries, and no information in
the clock table (it's my get things done day ;-).  Yesterday was a
much busier day with a handful more scheduled todos, 5 meetings and 4+
entries in the clock table.

 Could you do me a favor, get the git version I just pushed and try
 to repeat the same command under the same conditions (compiled or  
 uncompiled, org stuff pre-loaded because of a previous agenda  
 command).

I'll try.  Back to you soon.


___
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: org-mode is turning off soft word wrapping.

2009-04-24 Thread Mathias Schenner
 Bernt Hansen bernt at norang.ca writes:
  Good Bad nbko3 at yahoo.com writes:
  
   1. How do I turn on soft word wrapping in org-mode?
 
 
 ;; keybinding for toggling soft word wrapping mode 
 (global-set-key (kbd f7) 'toggle-truncate-lines)
 
 ;; turn on soft wrapping mode for org mode
 (add-hook 'org-mode-hook 
 (lambda () (setq truncate-lines nil)))
 
 http://www.emacswiki.org/emacs/TruncateLines
 


Actually, it's even easier. Just add: 

(setq org-startup-truncated nil)


   2. If org-mode automatically turning off word wrapping 
   is a feature, what is the reason non-wrapping mode should 
   be prefered in org-mode?

Here is what org.el says: 

... entering Org-mode will set `truncate-lines'.  
This is useful since some lines containing links can be very long and   
uninteresting.  Also tables look terrible when wrapped.





___
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: org-mode on sloooow computer

2009-04-24 Thread Eric S Fraga
Carsten Dominik carsten.domi...@gmail.com writes:

 Could you do me a favor, get the git version I just pushed and try
 to repeat the same command under the same conditions (compiled or
 uncompiled, org stuff pre-loaded because of a previous agenda
 command).

Results (with org-mode version 6.26trans):

org-agenda 1   2.074879  2.074879
org-agenda-list1   1.754133  1.754133
org-agenda-get-day-entries 6   1.106589  0.1844315
org-agenda-get-scheduled   6   0.594791  0.0991318333
org-get-tags-at106 0.580281  0.0054743584
org-dblock-write:clocktable7   0.572584  0.0817977142
org-up-heading-safe247 0.541900  0.0021939271
org-get-clocktable 1   0.417553  0.417553
org-update-dblock  1   0.380027  0.380027
org-get-agenda-file-buffer 18  0.351312  0.019517
org-find-base-buffer-visiting  18  0.350603  0.0194779444
org-agenda-get-restriction-and-command 1   0.320559  0.320559
org-prepare-agenda-buffers 2   0.28367   0.141835
org-clock-sum  6   0.191555  0.0319258333
org-prepare-agenda 1   0.151539  0.151539
org-agenda-get-deadlines   6   0.13392   0.022320
org-refresh-category-properties12  0.082914  0.0069095
org-get-entries-from-diary 1   0.042627  0.042627
org-back-to-heading479 0.038750  8.089...e-05
org-agenda-get-timestamps  6   0.034261  0.0057101666
org-get-todo-state 107 0.031152  0.0002911401
org-time-string-to-absolute111 0.025068  0.0002258378
org-end-of-subtree 11  0.023868  0.0021698181
org-agenda-files   6   0.018080  0.003013
org-agenda-get-blocks  6   0.017015  0.0028358333
org-parse-time-string  215 0.016532  7.689...e-05
org-agenda-get-sexps   6   0.013272  0.002212
org-fit-window-to-buffer   2   0.013012  0.006506
org-outline-level  518 0.010418  2.011...e-05
org-check-agenda-file  18  0.009251  0.0005139444
org-mode   1   0.008785  0.008785
org-get-priority   8   0.008004  0.0010005
org-fit-agenda-window  1   0.007067  0.007067
org-finalize-agenda-entries1   0.006866  0.006866
org-format-agenda-item 8   0.006833  0.0008541250
org-agenda-skip121 0.006678  5.519...e-05
org-agenda-mode1   0.003775  0.003775
org-install-agenda-files-menu  1   0.003731  0.003731
org-finalize-agenda1   0.003599  0.003599
org-agenda-highlight-todo  8   0.003320  0.0004151249
org-get-effort 8   0.00324   0.000405
org-entry-get  8   0.003078  0.00038475
org-table-align1   0.003061  0.003061
org-get-property-block 8   0.002679  0.000334
org-agenda-align-tags  1   0.002598  0.002598
org-create-dblock  1   0.002287  0.002287
org-split-string   74  0.002134  2.883...e-05
org-entries-lessp  16  0.002098  0.0001311874
org-switch-to-buffer-other-window  2   0.001621  0.0008105
org-agenda-todayp  12  0.001507  0.0001255833
org-set-startup-visibility 1   0.001377  0.001377
org-get-category   107 0.001325  1.238...e-05
org-add-props  21  0.001039  4.947...e-05
org-cycle  1   0.001006  0.001006
org-closest-date   4   0.001002  0.0002505
org-time-string-to-time6   0.000926  0.000154
org-set-regexps-and-options1   0.00086   0.00086
org-at-date-range-p8   0.00086   0.0001075
org-cycle-internal-global  1   0.000825  0.000825
org-prepare-dblock 1   0.000816  0.000816
org-get-wdays  20  0.000764  3.824...e-05
org-remove-uniherited-tags 149   

[Orgmode] Possible bug with tag inheritance

2009-04-24 Thread Cameron Horsburgh
Hi folks,

Today I stumbled across an instance where tag inheritance doesn't seem
to work as I expected it to.

I'm using GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.14.7)
of 2009-04-12 on elegiac, modified by Debian, and Org-mode version
6.26trans.

Let's say I have an org file that records all the information for a
particular part of my life. Different parts of the file record
meetings, track projects and record notes and other
information. Here's what it might look like:



* Meetings
** Lunch with John   :Restaurant:
   2009-04-27 Mon 12:30
** Meeting with Fred :Office:
   2009-04-27 Mon 13:00
* Projects
** Find Higgs Boson  :Laboratory:
   DEADLINE: 2009-04-27 Mon
** Achieve World domination   :Office:Laboratory:
   SCHEDULED: 2009-04-28 Tue
** Cook dinner  :Kitchen:
* Notes:Info:
** Mary's phone numbers
   - 1234-5678
   - 0412-345-678
** Jenny's web page
   - [[http://www.somewebpage.com][Jenny's web page]]

I have customised org-stuck-projects[fn:1] to ignore entries tagged
with the tag `Info'. org-use-tag-inheritance is set to `t'.

If I hit C-a # to list stuck projects I would only expect to see the
entry about cooking dinner listed. The `Notes' headline should be
ignored, as should the notes about Mary's phone number and Jenny's web
page, because they inherit the `Info' tag.

In practice, the `Notes' headline is ignored as expected. However, the
children are listed as stuck projects.

After all this I have realised it's probably more appropriate to use
properties rather than tags to do this sort of thing. Still, the
behaviour puzzles me a bit, so I thought it was worth asking about.

Is this behaviour incorrect? Or am I expecting the wrong thing?

* Footnotes

[fn:1] I had some trouble customising this variable in the usual way,
because the explanation at the end of the customize buffer somehow got
included in the sexp recorded in my .emacs. I deleted that line, reset
the customize buffer and started again, but with exactly the same
result. 


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.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] A first push to Worg: please git me out of trouble?

2009-04-24 Thread Ian Barton



I just tried to make a small change to Worg, but can't manage to push
the changes.
I followed the recipe on the git-worg page, (and since a simple git
push doesn't work, I used the added command to git remote add
public...
So far so good but when I try to 'git push public'  I get the
error below.  Here's the output:

s...@vostro-15:~/doc/worg/Worg$ git remote add public
git+ssh://thesamedirect...@repo.or.cz/srv/git/Worg.git
s...@vostro-15:~/doc/worg/Worg$ git push public
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 336 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
error: unable to create temporary sha1 filename ./objects/dd: Permission denied

fatal: failed to write object
error: unpack failed: unpacker exited with error code
To git+ssh://thesamedirect...@repo.or.cz/srv/git/Worg.git
 ! [remote rejected] master - master (n/a (unpacker error))
error: failed to push some refs to
'git+ssh://thesamedirect...@repo.or.cz/srv/git/Worg.git'



The first error is permission denied to write to ./objects/dd
I can't think why this would be the case.  I checked write
permissions, space on drive, etc.  I notice that there is no 'objects'
directory in the Worg directory, it's in Worg/.git.



I think you need to ask Bastien to add your user name to the list of 
people allowed to push changes:


# If you don't have a SSH-key, create one.
# Register a new account on the git public repository.
# Drop an email to Bastien mentioning your username on repo.or.cz

Ian.


___
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] A first push to Worg: please git me out of trouble?

2009-04-24 Thread Scot Becker
I just tried to make a small change to Worg, but can't manage to push
the changes.
I followed the recipe on the git-worg page, (and since a simple git
push doesn't work, I used the added command to git remote add
public...
So far so good but when I try to 'git push public'  I get the
error below.  Here's the output:

s...@vostro-15:~/doc/worg/Worg$ git remote add public
git+ssh://thesamedirect...@repo.or.cz/srv/git/Worg.git
s...@vostro-15:~/doc/worg/Worg$ git push public
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 336 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
error: unable to create temporary sha1 filename ./objects/dd: Permission denied

fatal: failed to write object
error: unpack failed: unpacker exited with error code
To git+ssh://thesamedirect...@repo.or.cz/srv/git/Worg.git
 ! [remote rejected] master - master (n/a (unpacker error))
error: failed to push some refs to
'git+ssh://thesamedirect...@repo.or.cz/srv/git/Worg.git'



The first error is permission denied to write to ./objects/dd
I can't think why this would be the case.  I checked write
permissions, space on drive, etc.  I notice that there is no 'objects'
directory in the Worg directory, it's in Worg/.git.

Could it be a problem with my account at repo.or.cz (which worked fine
for the ssh pull), or could it be something wrong with the recipe on
the worg-git.org page?

Scot


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


Re: [Orgmode] org-mode on sloooow computer

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 10:24 AM, Eric S Fraga wrote:


Carsten Dominik writes:

On Apr 24, 2009, at 12:10 AM, Eric S Fraga wrote:

Which part can you not reproduce?


When I have the agenda on an arbitrary date, pressing j does *not*
first switch the agenda to today.


blush

Okay, the problem was mine: I had included a very useful method,
originally from Tassilo (cf. th-calendar-open-agenda), which would
have the agenda view updated when the calendar view changed.  Removing
this gives the behaviour I was now looking for, and which is indeed
the default behaviour.  Apologies for the noise.

/blush

Actually, this experience is a testament to the insidious nature (in a
positive way) of org-mode: it is taking over my life!  I used to have
the Emacs diary + calendar as the focus of my attention for task and
time management and org-mode was initially an addition to this.
org-mode is now almost completely the focus and I really need to clean
up my customisations to remove the old vestiges of how I used to work.

Again, apologies and continued thanks for an excellent system which I
could no longer live without!


I still would like to to see profiling information as I described in  
my message from yesterday, so see if specific operations are  
particularly slow on netbooks or a zaurus.


- 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] Re: org-mode on sloooow computer

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 12:25 PM, Eric S Fraga wrote:


Does seem faster!  Numbers indicate a 2x improvement?


Yes.

With some more improvements (available now) this should get down to  
1.5 seconds.
Not perfect, but almost a factor of three from the original 4.35  
seconds.


Please, everybody watch out for strange behavior in the agenda, to  
make sure I have not messed up anything while doing the optimization.


We should to profiling more often, this can apparently make a big  
difference.


- 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: Possible bug with tag inheritance

2009-04-24 Thread Bernt Hansen
Cameron Horsburgh ca...@netcall.com.au writes:

 Today I stumbled across an instance where tag inheritance doesn't seem
 to work as I expected it to.

 I'm using GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-04-12 on elegiac, modified by Debian, and Org-mode version
 6.26trans.

 Let's say I have an org file that records all the information for a
 particular part of my life. Different parts of the file record
 meetings, track projects and record notes and other
 information. Here's what it might look like:



 * Meetings
 ** Lunch with John :Restaurant:
2009-04-27 Mon 12:30
 ** Meeting with Fred   :Office:
2009-04-27 Mon 13:00
 * Projects
 ** Find Higgs Boson:Laboratory:
DEADLINE: 2009-04-27 Mon
 ** Achieve World domination :Office:Laboratory:
SCHEDULED: 2009-04-28 Tue
 ** Cook dinner
 :Kitchen:
 * Notes  
 :Info:
 ** Mary's phone numbers
- 1234-5678
- 0412-345-678
 ** Jenny's web page
- [[http://www.somewebpage.com][Jenny's web page]]

 I have customised org-stuck-projects[fn:1] to ignore entries tagged
 with the tag `Info'. org-use-tag-inheritance is set to `t'.

 If I hit C-a # to list stuck projects I would only expect to see the
 entry about cooking dinner listed. The `Notes' headline should be
 ignored, as should the notes about Mary's phone number and Jenny's web
 page, because they inherit the `Info' tag.

 In practice, the `Notes' headline is ignored as expected. However, the
 children are listed as stuck projects.

 After all this I have realised it's probably more appropriate to use
 properties rather than tags to do this sort of thing. Still, the
 behaviour puzzles me a bit, so I thought it was worth asking about.

 Is this behaviour incorrect? Or am I expecting the wrong thing?

 * Footnotes

 [fn:1] I had some trouble customising this variable in the usual way,
 because the explanation at the end of the customize buffer somehow got
 included in the sexp recorded in my .emacs. I deleted that line, reset
 the customize buffer and started again, but with exactly the same
 result. 

Hi Cameron,

I think we need more information to help.  Could you show us what your
value of org-stuck-projects is?

-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: checkbox statistics

2009-04-24 Thread Richard KLINDA
 Regarding 'Re: checkbox statistics'; Carsten Dominik adds:


   Hello, currently checkbox statistics only takes into account
   checkboxes on a single indent level.  I would prefer checkbox
   statistics to show the total number of checkboxes below them,
   regardless of level. [...]

   This is how it used to be a long time ago, and then we changed it,
   upon the request of several users.

Here is a patch to add support for the old way.  Carsten, please include
this if you find this acceptable, thanks.

 

diff --git a/lisp/org-list.el b/lisp/org-list.el
index 7469add..d4c50e3 100644
--- a/lisp/org-list.el
+++ b/lisp/org-list.el
@@ -110,6 +110,9 @@ with \\[org-ctrl-c-ctrl-c\\].
   :group 'org-plain-lists
   :type 'boolean)
 
+(defcustom org-recursive-checkbox-statistics nil
+  Non-nil means, that checkbox counting should happen recursively.)
+
 (defcustom org-description-max-indent 20
   Maximum indentation for the second line of a description list.
 When the indentation would be larger than this, it will become
@@ -402,7 +405,10 @@ the whole buffer.
   (org-beginning-of-item)
   (setq curr-ind (org-get-indentation))
   (setq next-ind curr-ind)
-  (while (and (bolp) (org-at-item-p) (= curr-ind next-ind))
+(while (and (bolp) (org-at-item-p)
+(if org-recursive-checkbox-statistics
+(= curr-ind next-ind)
+(= curr-ind next-ind)))
 (save-excursion (end-of-line) (setq eline (point)))
 (if (re-search-forward re-box eline t)
 (if (member (match-string 2) '([ ] [-]))
@@ -410,7 +416,9 @@ the whole buffer.
   (setq c-on (1+ c-on))
   )
   )
-(org-end-of-item)
+  (if org-recursive-checkbox-statistics
+  (forward-line 1)
+  (org-end-of-item))
 (setq next-ind (org-get-indentation))
 )))
 (goto-char continue-from)

 


-- 
Richard


___
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: org-mode on sloooow computer

2009-04-24 Thread Matthew Lundin
Carsten Dominik carsten.domi...@gmail.com writes:

 On Apr 24, 2009, at 12:25 PM, Eric S Fraga wrote:

 With some more improvements (available now) this should get down to
 1.5 seconds.
 Not perfect, but almost a factor of three from the original 4.35
 seconds.

 Please, everybody watch out for strange behavior in the agenda, to
 make sure I have not messed up anything while doing the optimization.


Wow. I am really impressed. The agenda is lightning fast this morning.
Thanks, Carsten!

I haven't seen any unusual behavior yet - but I'll let you know if I do.

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] Re: checkbox statistics

2009-04-24 Thread Richard KLINDA
 Regarding 'Re: checkbox statistics'; Carsten Dominik adds:


   This is how it used to be a long time ago, and then we changed it,
   upon the request of several users.

The patch I sent previously is bad, please ignore it.  It needs more
work (unfortunately).

-- 
Udv, Richard


___
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: checkbox statistics (fixed version)

2009-04-24 Thread Richard KLINDA
This is the fixed patch, it actually works on my real life org files so
this has a slight chance of being right.

 

diff --git a/lisp/org-list.el b/lisp/org-list.el
index 7469add..872dddf 100644
--- a/lisp/org-list.el
+++ b/lisp/org-list.el
@@ -110,6 +110,9 @@ with \\[org-ctrl-c-ctrl-c\\].
   :group 'org-plain-lists
   :type 'boolean)
 
+(defcustom org-recursive-checkbox-statistics nil
+  Non-nil means, that checkbox counting should happen recursively.)
+
 (defcustom org-description-max-indent 20
   Maximum indentation for the second line of a description list.
 When the indentation would be larger than this, it will become
@@ -402,7 +405,10 @@ the whole buffer.
   (org-beginning-of-item)
   (setq curr-ind (org-get-indentation))
   (setq next-ind curr-ind)
-  (while (and (bolp) (org-at-item-p) (= curr-ind next-ind))
+(while (and (bolp) (org-at-item-p)
+(if org-recursive-checkbox-statistics
+(= curr-ind next-ind)
+(= curr-ind next-ind)))
 (save-excursion (end-of-line) (setq eline (point)))
 (if (re-search-forward re-box eline t)
 (if (member (match-string 2) '([ ] [-]))
@@ -410,7 +416,12 @@ the whole buffer.
   (setq c-on (1+ c-on))
   )
   )
-(org-end-of-item)
+  (if org-recursive-checkbox-statistics
+  (progn
+(end-of-line)
+(when (re-search-forward org-list-beginning-re lim t)
+  (beginning-of-line)))
+  (org-end-of-item))
 (setq next-ind (org-get-indentation))
 )))
 (goto-char continue-from)

 

-- 
Richard


___
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: Possible bug with tag inheritance

2009-04-24 Thread Cameron Horsburgh
On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote:
 Cameron Horsburgh ca...@netcall.com.au writes:
 
  [fn:1] I had some trouble customising this variable in the usual way,
  because the explanation at the end of the customize buffer somehow got
  included in the sexp recorded in my .emacs. I deleted that line, reset
  the customize buffer and started again, but with exactly the same
  result. 
 
 Hi Cameron,
 
 I think we need more information to help.  Could you show us what your
 value of org-stuck-projects is?

Sure. 

 '(org-stuck-projects (quote (+LEVEL=2/-DONE (TODO NEXT NEXTACTION) 
(Info) 
   [State]: EDITED, shown value does not take effect until you set or save 
it.)))

This is the latest version of it. An earlier attempt also listed the
explanation of the way stuck projects are identified.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.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


[Orgmode] Re: Possible bug with tag inheritance

2009-04-24 Thread Bernt Hansen
Cameron Horsburgh ca...@netcall.com.au writes:

 On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote:
 I think we need more information to help.  Could you show us what your
 value of org-stuck-projects is?

 Sure. 

  '(org-stuck-projects (quote (+LEVEL=2/-DONE (TODO NEXT NEXTACTION) 
 (Info) 
[State]: EDITED, shown value does not take effect until you set or save 
 it.)))


I think that's a little messed up.  Can you post what C-h v
org-stuck-projects displays (or cut and paste the value out of your
custom file?  The [State]: EDITED, ... stuff shouldn't be part of the
value.

-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] [PATCH] New function org-reset-checkbox-state which always clears the checkboxes

2009-04-24 Thread Bernt Hansen
Copying subtrees with checked off lists to create a new task would
normally require the boxes to be unchecked.  This function lets
you easily clear all checkboxes in an entry without requiring
the RESET_CHECK_BOXES property.
---
This patch is available at git://git.norang.ca/org-mode.git for-carsten

 contrib/lisp/org-checklist.el |   27 ---
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/contrib/lisp/org-checklist.el b/contrib/lisp/org-checklist.el
index 9661b53..c3348bc 100644
--- a/contrib/lisp/org-checklist.el
+++ b/contrib/lisp/org-checklist.el
@@ -52,17 +52,22 @@
   Reset all checkboxes in an entry if the `RESET_CHECK_BOXES' property is set
   (interactive *)
   (if (org-entry-get (point) RESET_CHECK_BOXES)
-  (save-restriction
-   (save-excursion
- (org-narrow-to-subtree)
- (org-show-subtree)
- (goto-char (point-min))
- (let ((end (point-max)))
-   (while ( (point) end)
- (when (org-at-item-checkbox-p)
-   (replace-match [ ] t t))
- (beginning-of-line 2
-   (org-update-checkbox-count-maybe
+  (org-reset-checkbox-state)))
+
+(defun org-reset-checkbox-state ()
+  Reset all checkboxes in an entry
+  (interactive *)
+  (save-restriction
+(save-excursion
+  (org-narrow-to-subtree)
+  (org-show-subtree)
+  (goto-char (point-min))
+  (let ((end (point-max)))
+   (while ( (point) end)
+ (when (org-at-item-checkbox-p)
+   (replace-match [ ] t t))
+ (beginning-of-line 2
+(org-update-checkbox-count-maybe)))
 
 (defun org-make-checklist-export ()
   Produce a checklist containing all unchecked items from a list
-- 
1.6.3.rc1.34.g0be9b



___
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: org-mode on sloooow computer

2009-04-24 Thread Rainer Stengele
Hi Carsten,

strange enough the latest git version does not improve time for my agenda at 
all.
It still is as slow or fast - however you see it.

org-version is 6.26trans

,
| org-run-agenda-series 1   
1.797 1.797
| org-agenda1   
1.797 1.797
| org-let2  2   
1.422 0.711
| org-agenda-get-day-entries12  
1.248 0.104
| org-agenda-list   1   
1.234999  1.234999
| org-agenda-get-scheduled  10  
0.797999  0.0798
| org-end-of-subtree1533
0.643000  0.0004194390
| org-prepare-agenda3   
0.359 0.119666
| org-prepare-agenda-buffers1   
0.25  0.25
| org-back-to-heading   2198
0.188000  8.55...e-005
| org-todo-list 1   
0.187 0.187
| org-agenda-get-todos  2   
0.171 0.0855
| org-refresh-category-properties   2   
0.141 0.0705
| org-get-entries-from-diary5   
0.126 0.0252
| org-agenda-get-deadlines  10  
0.107 0.0107
| org-agenda-get-timestamps 10  
0.078 0.0078
| org-outline-level 5376
0.064 1.19...e-005
| org-agenda-skip-if167 
0.061 0.0003652694
| org-agenda-skip-entry-if  167 
0.061 0.0003652694
| org-agenda-get-blocks 10  
0.046 0.0046
| org-check-agenda-file 14  
0.032 0.0022857142
| org-get-todo-state333 
0.031 9.30...e-005
| org-finalize-agenda   3   
0.016 0.005333
| org-time-string-to-absolute   1627
0.016 9.83...e-006
| org-agenda-get-sexps  10  
0.016 0.0016
| org-at-date-range-p   217 
0.016 7.37...e-005
| org-agenda-align-tags 1   
0.016 0.016
| org-let   1   
0.016 0.016
| org-agenda-files  4   
0.015 0.00375
| org-agenda-skip   3213
0.015 4.66...e-006
| org-on-heading-p  164 
0.015 9.14...e-005
| org-agenda-set-mode-name  1   0.0 
  0.0
| org-date-to-gregorian 474 0.0 
  0.0
| org-delete-overlay65  0.0 
  0.0
| org-agenda-reset-markers  1   0.0 
  0.0
| org-find-base-buffer-visiting 14  0.0 
  0.0
| org-set-sorting-strategy  2   0.0 
  0.0
| org-get-effort69  0.0 
  0.0
| org-downcase-keep-props   41  0.0 
  0.0
| org-get-agenda-file-buffer14  0.0 
  0.0
| org-fit-agenda-window 1   0.0 
  0.0
| org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item  189 0.0 
  0.0
| org-entry-get 69  0.0 
  0.0
| org-agenda-post-command-hook  2   0.0 
  0.0
| org-overlay-get   241 0.0 
  0.0
| org-agenda-cleanup-fancy-diary5   0.0 
  0.0
| org-get-wdays 150 0.0 
  0.0
| org-parse-time-string 17970.0 
  0.0
| org-entries-lessp 215 0.0 
  

[Orgmode] Re: org-mode on sloooow computer

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 3:37 PM, Rainer Stengele wrote:


Hi Carsten,

strange enough the latest git version does not improve time for my  
agenda at all.

It still is as slow or fast - however you see it.


I think you have tag inheritance turned off, or you have everything in  
top-level entries.


From todays adjustments, the people who will benefit the most are  
those who have a very large number of siblings on arbitrary levels,  
and who, at the same time, use tag inheritance.


- Carsten



org-version is 6.26trans

,
| org-run-agenda-series  
1   1.797 1.797
| org-agenda 
1   1.797 1.797
| org-let2   
2   1.422 0.711
| org-agenda-get-day-entries 
12  1.248 0.104
| org-agenda-list
1   1.234999  1.234999
| org-agenda-get-scheduled   
10  0.797999  0.0798
| org-end-of-subtree 
15330.643000  0.0004194390
| org-prepare-agenda 
3   0.359 0.119666
| org-prepare-agenda-buffers 
1   0.25  0.25
| org-back-to-heading
21980.188000  8.55...e-005
| org-todo-list  
1   0.187 0.187
| org-agenda-get-todos   
2   0.171 0.0855
| org-refresh-category-properties
2   0.141 0.0705
| org-get-entries-from-diary 
5   0.126 0.0252
| org-agenda-get-deadlines   
10  0.107 0.0107
| org-agenda-get-timestamps  
10  0.078 0.0078
| org-outline-level  
53760.064 1.19...e-005
| org-agenda-skip-if 
167 0.061 0.0003652694
| org-agenda-skip-entry-if   
167 0.061 0.0003652694
| org-agenda-get-blocks  
10  0.046 0.0046
| org-check-agenda-file  
14  0.032 0.0022857142
| org-get-todo-state 
333 0.031 9.30...e-005
| org-finalize-agenda
3   0.016 0.005333
| org-time-string-to-absolute
16270.016 9.83...e-006
| org-agenda-get-sexps   
10  0.016 0.0016
| org-at-date-range-p
217 0.016 7.37...e-005
| org-agenda-align-tags  
1   0.016 0.016
| org-let
1   0.016 0.016
| org-agenda-files   
4   0.015 0.00375
| org-agenda-skip
32130.015 4.66...e-006
| org-on-heading-p   
164 0.015 9.14...e-005
| org-agenda-set-mode-name   
1   0.0   0.0
| org-date-to-gregorian  
474 0.0   0.0
| org-delete-overlay 
65  0.0   0.0
| org-agenda-reset-markers   
1   0.0   0.0
| org-find-base-buffer-visiting  
14  0.0   0.0
| org-set-sorting-strategy   
2   0.0   0.0
| org-get-effort 
69  0.0   0.0
| org-downcase-keep-props
41  0.0   0.0
| org-get-agenda-file-buffer 
14  0.0   0.0
| org-fit-agenda-window  
1   0.0   0.0
| org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item   
189 0.0   0.0
| org-entry-get  
69  0.0   0.0
| org-agenda-post-command-hook   
2   0.0   0.0
| org-overlay-get
241

Re: [Orgmode] Possible bug with tag inheritance

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 12:43 PM, Cameron Horsburgh wrote:


Hi folks,

Today I stumbled across an instance where tag inheritance doesn't seem
to work as I expected it to.

I'm using GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.14.7)
of 2009-04-12 on elegiac, modified by Debian, and Org-mode version
6.26trans.

Let's say I have an org file that records all the information for a
particular part of my life. Different parts of the file record
meetings, track projects and record notes and other
information. Here's what it might look like:



* Meetings
** Lunch with John   :Restaurant:
  2009-04-27 Mon 12:30
** Meeting with Fred :Office:
  2009-04-27 Mon 13:00
* Projects
** Find Higgs Boson  :Laboratory:
  DEADLINE: 2009-04-27 Mon
** Achieve World domination   :Office:Laboratory:
  SCHEDULED: 2009-04-28 Tue
** Cook dinner  :Kitchen:
* Notes:Info:
** Mary's phone numbers
  - 1234-5678
  - 0412-345-678
** Jenny's web page
  - [[http://www.somewebpage.com][Jenny's web page]]

I have customised org-stuck-projects[fn:1] to ignore entries tagged
with the tag `Info'. org-use-tag-inheritance is set to `t'.

If I hit C-a # to list stuck projects I would only expect to see the
entry about cooking dinner listed. The `Notes' headline should be
ignored, as should the notes about Mary's phone number and Jenny's web
page, because they inherit the `Info' tag.

In practice, the `Notes' headline is ignored as expected. However, the
children are listed as stuck projects.

After all this I have realised it's probably more appropriate to use
properties rather than tags to do this sort of thing. Still, the
behaviour puzzles me a bit, so I thought it was worth asking about.

Is this behaviour incorrect? Or am I expecting the wrong thing?



The tags in org-stuck-projects must be present explicitly in the  
subtree, because the subtree is searched with a regula expression that  
does not know about inheritance.


However, you can include this into your definition of a project:

(setq org-stuck-projects
   (quote (+LEVEL=2-Info/-DONE (TODO NEXT NEXTACTION) nil )))

HTH




* Footnotes

[fn:1] I had some trouble customising this variable in the usual way,
because the explanation at the end of the customize buffer somehow got
included in the sexp recorded in my .emacs. I deleted that line, reset
the customize buffer and started again, but with exactly the same
result.


There seems to be a bug in customize.  Can anyone please submit a but  
report to Emacs, after verifying that this still occurs in the latest  
update of emacs 23?





___
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: Quickly inputting next actions to specific lists.

2009-04-24 Thread Peter Jones
Marcelo de Moraes Serpa celose...@gmail.com writes:
 Ah, I got it. I had Ctrl+1..2 to switch desktops configured in gnome, that's
 why it was not being captured by emacs. It is working now. Thank you!

FWIW: C-u 1 is the same as C-1.  It's an extra key, but I prefer using
C-u since it works regardless of the environment I'm running Emacs in.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



___
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: org-mode on sloooow computer

2009-04-24 Thread Carsten Dominik
I ave just pushed one more optimization which may improve things a bit  
for you, Rainer.


- Carsten

On Apr 24, 2009, at 3:37 PM, Rainer Stengele wrote:


Hi Carsten,

strange enough the latest git version does not improve time for my  
agenda at all.

It still is as slow or fast - however you see it.

org-version is 6.26trans

,
| org-run-agenda-series  
1   1.797 1.797
| org-agenda 
1   1.797 1.797
| org-let2   
2   1.422 0.711
| org-agenda-get-day-entries 
12  1.248 0.104
| org-agenda-list
1   1.234999  1.234999
| org-agenda-get-scheduled   
10  0.797999  0.0798
| org-end-of-subtree 
15330.643000  0.0004194390
| org-prepare-agenda 
3   0.359 0.119666
| org-prepare-agenda-buffers 
1   0.25  0.25
| org-back-to-heading
21980.188000  8.55...e-005
| org-todo-list  
1   0.187 0.187
| org-agenda-get-todos   
2   0.171 0.0855
| org-refresh-category-properties
2   0.141 0.0705
| org-get-entries-from-diary 
5   0.126 0.0252
| org-agenda-get-deadlines   
10  0.107 0.0107
| org-agenda-get-timestamps  
10  0.078 0.0078
| org-outline-level  
53760.064 1.19...e-005
| org-agenda-skip-if 
167 0.061 0.0003652694
| org-agenda-skip-entry-if   
167 0.061 0.0003652694
| org-agenda-get-blocks  
10  0.046 0.0046
| org-check-agenda-file  
14  0.032 0.0022857142
| org-get-todo-state 
333 0.031 9.30...e-005
| org-finalize-agenda
3   0.016 0.005333
| org-time-string-to-absolute
16270.016 9.83...e-006
| org-agenda-get-sexps   
10  0.016 0.0016
| org-at-date-range-p
217 0.016 7.37...e-005
| org-agenda-align-tags  
1   0.016 0.016
| org-let
1   0.016 0.016
| org-agenda-files   
4   0.015 0.00375
| org-agenda-skip
32130.015 4.66...e-006
| org-on-heading-p   
164 0.015 9.14...e-005
| org-agenda-set-mode-name   
1   0.0   0.0
| org-date-to-gregorian  
474 0.0   0.0
| org-delete-overlay 
65  0.0   0.0
| org-agenda-reset-markers   
1   0.0   0.0
| org-find-base-buffer-visiting  
14  0.0   0.0
| org-set-sorting-strategy   
2   0.0   0.0
| org-get-effort 
69  0.0   0.0
| org-downcase-keep-props
41  0.0   0.0
| org-get-agenda-file-buffer 
14  0.0   0.0
| org-fit-agenda-window  
1   0.0   0.0
| org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item   
189 0.0   0.0
| org-entry-get  
69  0.0   0.0
| org-agenda-post-command-hook   
2   0.0   0.0
| org-overlay-get
241 0.0   0.0
| org-agenda-cleanup-fancy-diary 
5   0.0   0.0
| org-get-wdays  
150   

Re: [Orgmode] A first push to Worg: please git me out of trouble?

2009-04-24 Thread Bastien
 I think you need to ask Bastien to add your user name to the list of
 people allowed to push changes:

I added Scot to the list of Worgers.

PS: until my work settles a bit, I am checking my @altern.org and
@gnu.org emails only twice a week.  For Worg and other urgent requests
please use my bastienguerry AT gmail.com address.  Thanks!

-- 
 Bastien


___
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] A first push to Worg: please git me out of trouble?

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 5:19 PM, Bastien wrote:


I think you need to ask Bastien to add your user name to the list of
people allowed to push changes:


I added Scot to the list of Worgers.

PS: until my work settles a bit, I am checking my @altern.org and
@gnu.org emails only twice a week.  For Worg and other urgent requests
please use my bastienguerry AT gmail.com address.  Thanks!


OK, I will, thanks.

- Carsten



--
Bastien


___
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: org-mode on sloooow computer

2009-04-24 Thread Leo
On 2009-04-24 12:35 +0100, Carsten Dominik wrote:
 With some more improvements (available now) this should get down to
 1.5 seconds. Not perfect, but almost a factor of three from the
 original 4.35 seconds.

I have to ditch org 6.21b now for the performance gained.

What's really annoying is that I can on longer use the following to
compile .el files. I am using GNU Emacs 23.0.92.1
(i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-22 on
neutron.local.

,[ .bash_profile ]
| alias bbc='/Applications/Emacs.app/Contents/MacOS/Emacs -batch -q 
-no-site-file -f byte-compile-file'
`

Any one got a fix?

When I run 'bbc somefile.el', it does not take the file I supply and
still ask me 'Byte compile file: '.

 Please, everybody watch out for strange behavior in the agenda, to
 make sure I have not messed up anything while doing the optimization.

 We should to profiling more often, this can apparently make a big
 difference.

-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
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: org-mode on sloooow computer

2009-04-24 Thread Leo
On 2009-04-24 16:57 +0100, Nick Dokos wrote:
 Any one got a fix?
 

 Does replacing 'byte-compile-file' with 'batch-byte-compile'
 make any difference?

 Nick

Thanks, Nick. It turned out that was a typo when I manually copied this
from my old setup.

Cheers,
-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
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: org-mode on sloooow computer

2009-04-24 Thread Nick Dokos
Leo sdl@gmail.com wrote:

 What's really annoying is that I can on longer use the following to
 compile .el files. I am using GNU Emacs 23.0.92.1
 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-22 on
 neutron.local.
 
 ,[ .bash_profile ]
 | alias bbc='/Applications/Emacs.app/Contents/MacOS/Emacs -batch -q 
 -no-site-file -f byte-compile-file'
 `
 
 Any one got a fix?
 

Does replacing 'byte-compile-file' with 'batch-byte-compile'
make any difference?

Nick





___
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] New function org-reset-checkbox-state which always clears the checkboxes

2009-04-24 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 Applied, thanks.

 Maybe we should move this function into org-list.el.

Sure if that makes sense.  I just refactored it in place without
thinking about where it should really live.

-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: org-mode on sloooow computer

2009-04-24 Thread Eric S Fraga
Carsten Dominik writes:
 On Apr 24, 2009, at 3:37 PM, Rainer Stengele wrote:
 
  Hi Carsten,
 
  strange enough the latest git version does not improve time for my  
  agenda at all.
  It still is as slow or fast - however you see it.
 
 I think you have tag inheritance turned off, or you have everything in  
 top-level entries.
 
  From todays adjustments, the people who will benefit the most are  
 those who have a very large number of siblings on arbitrary levels,  
 and who, at the same time, use tag inheritance.

Carsten,

I definitely fall into the tag inheritance with large number of
siblings on arbitrary levels category!  FYI, here is another data
point for analysis.  I've downloaded the latest git version:

  commit 4b6f0cf77b941bdaf7d784215d1977f7ea58f550
  Author: Carsten Dominik carsten.domi...@gmail.com
  Date:   Fri Apr 24 16:45:01 2009 +0200

Optimization: Make org-end-of-subtree much faster

and these are the first few lines of the profiling information (I can
send all output if you wish) which show another further significant
improvement!  This is fantastic.

org-agenda 1   1.354913  1.354913
org-agenda-list1   1.082066  1.082066
org-dblock-write:clocktable7   0.541785  0.0773978571
org-agenda-get-day-entries 6   0.430589  0.0717648333
org-get-clocktable 1   0.384531  0.384531
org-update-dblock  1   0.349331  0.349331
org-prepare-agenda-buffers 2   0.340886  0.170443
org-agenda-get-scheduled   6   0.289391  0.0482318333
org-agenda-get-restriction-and-command 1   0.272534  0.272534
org-get-tags-at8   0.223889  0.0279862499
org-up-heading-all 21  0.220187  0.0104851428
...

Thanks again,
eric 


___
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] Protecting comment lines from fill-paragraph

2009-04-24 Thread Matthew Lundin
Hi Carsten, 

Thanks to the addition your wonderful org-footnote, I increasingly use
org-mode for all my writing. And just as I do in LaTeX, I like to use
comment lines to insert notes in my text. I have a couple of questions,
however, about the behavior of comment lines in relation to
fill-paragraph.

I find that if I add a comment such as the following...

--8---cut here---start-8---
Here is some text.
# Here is a comment
Here is some text.
--8---cut here---end---8---

When I invoke fill-paragraph on lines two or three, line three is folded
into the comment line, as follows:

--8---cut here---start-8---
Here is some text.
# Here is a comment Here is some text.
--8---cut here---end---8---

But when I invoke fill paragraph on line one, the text stays as it is.
In other words, the comment symbol blocks filling into the preceding
line, but not the line that follows it.

The same behavior affects other comment blocks. E.g.,

--8---cut here---start-8---
#+begin_quote
Here is a quote.
#+end_quote
--8---cut here---end---8---

becomes...

--8---cut here---start-8---
#+begin_quote Here is a quote.
#+end_quote
--8---cut here---end---8---

In short, would it be possible to prevent lines that follow comment
lines from being folded into comment lines when fill-paragraph is
invoked. The reason I ask is because I like to place comments in
paragraphs while retaining the integrity of the paragraph for export.

Thanks in advance for considering this.
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] Font problem with copying subtrees

2009-04-24 Thread Bernt Hansen
Hi Carsten!

I got a chance to try out the new C-c C-x c
(org-clone-subtree-with-time-shift) yesterday while doing my quarterly
accounting (ugh) and this is much better than the old way I dealt with
these repeating tasks.  Thanks!!

I noticed a problem with font locking (if that's what you call it) when
copying subtrees and supplying a date.

I started with the following file:

,[ x.org ]
| 
| * Level One
| ** TODO One
| *** TODO One.One
| *** TODO One.Two
| ** TODO Two
| ** TODO Three
| *** TODO Three.One
| ** TODO Four
| * TODO Next thing
`

and with the cursor on * Level One I did
C-c C-x c
Number of clones to produce: 1 RET
Date shift per clone (e.g. +1w, empty to copy unchanged): +1y

and the copied clone was all black text.

Of course I just undid it now and redid it and it looks correct :/

I noticed this when copying my large-ish subtrees for the accounting
quarterly work because tables were not blue, no heading levels were
coloured etc.

Let me know if you need more information.

-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] Idea for agenda notifications

2009-04-24 Thread Marcelo de Moraes Serpa
Hello list,

I love org-mode and I'm constantly trying to find ways to enhance my GTD
workflow with it. One thing that I miss from the more high-level PIMs (such
as Evolution) is the notification feature, specifically integrated into the
environment (using gnome-notification for example). My idea is to somehow
parse my gtd.org file, search for scheduled items and, using an additional
metadata in the item, decide when (how long before the event happens) to use
gnome-notify (or any other notify mechanism in the OS) to show the reminder
of the event. I'm thinking on using Ruby or Python to develop a small daemon
that would do that, but I'm not sure if this would be the best way. I would
love your suggestions regarding that. Of course, if I manage to make it
work, I will release the code as open-source ;)

Thanks,

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


Re: [Orgmode] Idea for agenda notifications

2009-04-24 Thread Friedrich Delgado Friedrichs
Marcelo de Moraes Serpa schrieb:
 parse my gtd.org file, search for scheduled items and, using an additional
 metadata in the item, decide when (how long before the event happens) to use
 gnome-notify (or any other notify mechanism in the OS) to show the reminder
 of the event. I'm thinking on using Ruby or Python to develop a small daemon
---Zitatende---

There's already M-x org-agenda-to-appt, dunno if appt.el can be used
or extended to do what you want.

I use (appt-activate 1) (appt-message-warning-time 5) and occasionally
call M-x org-agenda-to-appt (which I think is only relevant if you've
didn't add the schedule with an org command, iirc).

I use this to remind of regular appointments at work.

-- 
Friedrich Delgado Friedrichs frie...@nomaden.org
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] Re: Idea for agenda notifications

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

 I love org-mode and I'm constantly trying to find ways to enhance my
 GTD workflow with it. One thing that I miss from the more high-level
 PIMs (such as Evolution) is the notification feature, specifically
 integrated into the environment (using gnome-notification for
 example). My idea is to somehow parse my gtd.org file, search for
 scheduled items and, using an additional metadata in the item, decide
 when (how long before the event happens) to use gnome-notify (or any
 other notify mechanism in the OS) to show the reminder of the
 event. I'm thinking on using Ruby or Python to develop a small daemon
 that would do that, but I'm not sure if this would be the best way. I
 would love your suggestions regarding that. Of course, if I manage to
 make it work, I will release the code as open-source ;)

I live in Emacs and just use the remind interface for notifications.
They aren't as obvious (read: annoying) as pop-up windows that steal
your mouse and keyboard focus but they work great for me.

Here's my setup.

--8---cut here---start-8---
(defun my-org-agenda-to-appt ()
  (interactive)
  (setq appt-time-msg-list nil)
  (org-agenda-to-appt))

(add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)
(my-org-agenda-to-appt)
(appt-activate t)
(run-at-time 24:01 nil 'my-org-agenda-to-appt)
(run-at-time 00:59 3600 'org-save-all-org-buffers)
--8---cut here---end---8---

I've seen other setups for reminder windows and apps on this list so you
might want to search the list archives if you need a different solution.

-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: Idea for agenda notifications

2009-04-24 Thread Marcelo de Moraes Serpa
Thanks guys, I'll try your solutions and let you know how it goes!

I live in Emacs and just use the remind interface for notifications.
 They aren't as obvious (read: annoying) as pop-up windows that steal
 your mouse and keyboard focus but they work great for me.


What I have in mind is not a popup Windows, but to interface the gnome
notification system which is pretty unobtrusive or maybe use mumbles (www.*
mumbles*-project.org/).

Thanks,

Marcelo.


On Fri, Apr 24, 2009 at 12:17 PM, Bernt Hansen be...@norang.ca wrote:

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

  I love org-mode and I'm constantly trying to find ways to enhance my
  GTD workflow with it. One thing that I miss from the more high-level
  PIMs (such as Evolution) is the notification feature, specifically
  integrated into the environment (using gnome-notification for
  example). My idea is to somehow parse my gtd.org file, search for
  scheduled items and, using an additional metadata in the item, decide
  when (how long before the event happens) to use gnome-notify (or any
  other notify mechanism in the OS) to show the reminder of the
  event. I'm thinking on using Ruby or Python to develop a small daemon
  that would do that, but I'm not sure if this would be the best way. I
  would love your suggestions regarding that. Of course, if I manage to
  make it work, I will release the code as open-source ;)

 I live in Emacs and just use the remind interface for notifications.
 They aren't as obvious (read: annoying) as pop-up windows that steal
 your mouse and keyboard focus but they work great for me.

 Here's my setup.

 --8---cut here---start-8---
 (defun my-org-agenda-to-appt ()
  (interactive)
  (setq appt-time-msg-list nil)
  (org-agenda-to-appt))

 (add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)
 (my-org-agenda-to-appt)
 (appt-activate t)
 (run-at-time 24:01 nil 'my-org-agenda-to-appt)
 (run-at-time 00:59 3600 'org-save-all-org-buffers)
 --8---cut here---end---8---

 I've seen other setups for reminder windows and apps on this list so you
 might want to search the list archives if you need a different solution.

 -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: Idea for agenda notifications

2009-04-24 Thread Marcelo de Moraes Serpa
By the way, how can I use the org-agenda-to-appt? When I run it a message
saying No event to add is returned -- I do have some scheduled events on
my gtd.org file and this file is part of the org-agenda-files list.

Thank you!

Marcelo.

On Fri, Apr 24, 2009 at 12:28 PM, Marcelo de Moraes Serpa 
celose...@gmail.com wrote:

 Thanks guys, I'll try your solutions and let you know how it goes!

 I live in Emacs and just use the remind interface for notifications.
 They aren't as obvious (read: annoying) as pop-up windows that steal
 your mouse and keyboard focus but they work great for me.


 What I have in mind is not a popup Windows, but to interface the gnome
 notification system which is pretty unobtrusive or maybe use mumbles (www.
 *mumbles*-project.org/).

 Thanks,

 Marcelo.


 On Fri, Apr 24, 2009 at 12:17 PM, Bernt Hansen be...@norang.ca wrote:

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

  I love org-mode and I'm constantly trying to find ways to enhance my
  GTD workflow with it. One thing that I miss from the more high-level
  PIMs (such as Evolution) is the notification feature, specifically
  integrated into the environment (using gnome-notification for
  example). My idea is to somehow parse my gtd.org file, search for
  scheduled items and, using an additional metadata in the item, decide
  when (how long before the event happens) to use gnome-notify (or any
  other notify mechanism in the OS) to show the reminder of the
  event. I'm thinking on using Ruby or Python to develop a small daemon
  that would do that, but I'm not sure if this would be the best way. I
  would love your suggestions regarding that. Of course, if I manage to
  make it work, I will release the code as open-source ;)

 I live in Emacs and just use the remind interface for notifications.
 They aren't as obvious (read: annoying) as pop-up windows that steal
 your mouse and keyboard focus but they work great for me.

 Here's my setup.

 --8---cut here---start-8---
 (defun my-org-agenda-to-appt ()
  (interactive)
  (setq appt-time-msg-list nil)
  (org-agenda-to-appt))

 (add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)
 (my-org-agenda-to-appt)
 (appt-activate t)
 (run-at-time 24:01 nil 'my-org-agenda-to-appt)
 (run-at-time 00:59 3600 'org-save-all-org-buffers)
 --8---cut here---end---8---

 I've seen other setups for reminder windows and apps on this list so you
 might want to search the list archives if you need a different solution.

 -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: checkbox statistics

2009-04-24 Thread Samuel Wales
Perhaps any such change should also change todo statistics for consistency?

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Greed is corrupting science into foul nonsense.  Anybody can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] Jumping to a task sometimes goes to the wrong place

2009-04-24 Thread Bernt Hansen
Hi Carsten,

I still have this issue where once in a while jumping to a task goes to
the wrong task.  I probably run into this once/twice a week.

I need to take better notes about what exactly I'm doing when this
happens so I can pass them along to you.  I think it's related to
clocking in tasks from the agenda somehow but I don't have enough good
data on this yet to narrow down what is really happening.  Repeating the
command works fine the second time.

I've seen at least the following:

  - Enter a remember note and store it
  - C-u C-u C-M-r goes to the wrong place
  - C-u C-u C-M-r a second time goes to the right place

  - Refile a note
  - C-u C-u C-c C-w goes to the wrong place
  - C-u C-u C-c C-w a second time goes to the right place

More details later.

Regards,
Bernt

PS. Thanks for org-mode





___
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] Minor colouring (font lock) annoyance

2009-04-24 Thread Bernt Hansen
Hi Carsten,

I've noticed a problem with colour tasks in my use of org-mode which I
thought I should bring to your attention.

This is just a font lock issue (I think) with the org clock history
list.  When I display my clock history with C-u C-c C-x C-i some of the
entries are not displayed in the correct colours.

   - Some DONE tasks have DONE in green, others in BLACK

   - Tasks seem to either be coloured correctly or not coloured at all

Right now I have:

,
| Default Task
| [d] norang  STARTED Organization
| The task interrupted by starting the last one
| [i] norang  STARTED Email, News, and IRC
| Current Clocking Task
| [c] norang  STARTED Organization
| Recent Tasks
| [1] norang  STARTED Organization
| [2] norang  STARTED Email, News, and IRC
| ...
| [Z] todoDONE Take Mark swimming
`

d, i, c, and 1-2 are black (no colours at all)
3-9, A-D are coloured properly
E-H are black (no colours)
I is coloured
J-L is black
M is coloured
N is black
O, P are coloured
Q, R are black
S, T are coloured
U, V are black
W is coloured
X-Z are black (no colours)

There doesn't seem to be any rhyme or reason to which ones get colours
and which don't as far as I can tell.

Let me know if there's anything else I can provide to try to figure out
what's going on here.

Regards,
Bernt



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


[Orgmode] Re: Idea for agenda notifications

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

 By the way, how can I use the org-agenda-to-appt? When I run it a
 message saying No event to add is returned -- I do have some
 scheduled events on my gtd.org file and this file is part of the
 org-agenda-files list.

As I understand it org-agenda-to-appt picks up tasks from your
org-agenda-files that have an active timestamp for today.  If you have a
scheduled, deadline, or active timestamp for 12:00 it will create
reminders in the remind package for those and let remind handle them.

I don't use dates/times in headlines so I don't know if it works for
that case.

For my setup remind starts bugging me 12 minutes before the appointment.

-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: Possible bug with tag inheritance

2009-04-24 Thread Cameron Horsburgh
On Fri, Apr 24, 2009 at 09:24:10AM -0400, Bernt Hansen wrote:
 Cameron Horsburgh ca...@netcall.com.au writes:
 
  On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote:
  I think we need more information to help.  Could you show us what your
  value of org-stuck-projects is?
 
  Sure. 
 
   '(org-stuck-projects (quote (+LEVEL=2/-DONE (TODO NEXT NEXTACTION) 
  (Info) 
 [State]: EDITED, shown value does not take effect until you set or save 
  it.)))
 
 
 I think that's a little messed up.  Can you post what C-h v
 org-stuck-projects displays (or cut and paste the value out of your
 custom file?  The [State]: EDITED, ... stuff shouldn't be part of the
 value.

That's cut straight from my .emacs. The first few lines of C-h v tell me:

org-stuck-projects is a variable defined in `org-agenda.el'.
Its value is 
(+LEVEL=2/-DONE
 (TODO NEXT NEXTACTION)
 (Info)
 \n   [State]: EDITED, shown value does not take effect until you set or save 
it.)



 
 -Bernt
 

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.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


[Orgmode] Re: Possible bug with tag inheritance

2009-04-24 Thread Bernt Hansen
Cameron Horsburgh ca...@netcall.com.au writes:

 On Fri, Apr 24, 2009 at 09:24:10AM -0400, Bernt Hansen wrote:
 Cameron Horsburgh ca...@netcall.com.au writes:
 
  On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote:
  I think we need more information to help.  Could you show us what your
  value of org-stuck-projects is?
 
  Sure. 
 
   '(org-stuck-projects (quote (+LEVEL=2/-DONE (TODO NEXT 
  NEXTACTION) (Info) 
 [State]: EDITED, shown value does not take effect until you set or save 
  it.)))
 
 
 I think that's a little messed up.  Can you post what C-h v
 org-stuck-projects displays (or cut and paste the value out of your
 custom file?  The [State]: EDITED, ... stuff shouldn't be part of the
 value.

 That's cut straight from my .emacs. The first few lines of C-h v tell me:

 org-stuck-projects is a variable defined in `org-agenda.el'.
 Its value is 
 (+LEVEL=2/-DONE
  (TODO NEXT NEXTACTION)
  (Info)
  \n   [State]: EDITED, shown value does not take effect until you set or 
 save it.)

Okay.  That string is used for regexp matching and probably should not
be there.

  - If this regexp - \n   [State]: ...it. matches anywhere in the
subtree then the project is not stuck.

That's probably not what you want even if matching that exactly string
is unlikely.  If you click on the _customize_ link you'll see what each
value is used for.  You probably just want an empty string there.

Carsten mentioned that inherited tags are not considers for stuck
project matching during the search and you should probably try his
suggestion to see if it works better for your scenario.

-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] Minor colouring (font lock) annoyance

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 7:53 PM, Bernt Hansen wrote:


Hi Carsten,

I've noticed a problem with colour tasks in my use of org-mode which I
thought I should bring to your attention.

This is just a font lock issue (I think) with the org clock history
list.  When I display my clock history with C-u C-c C-x C-i some of  
the

entries are not displayed in the correct colours.

  - Some DONE tasks have DONE in green, others in BLACK

  - Tasks seem to either be coloured correctly or not coloured at all

Right now I have:

,
| Default Task
| [d] norang  STARTED Organization
| The task interrupted by starting the last one
| [i] norang  STARTED Email, News, and IRC
| Current Clocking Task
| [c] norang  STARTED Organization
| Recent Tasks
| [1] norang  STARTED Organization
| [2] norang  STARTED Email, News, and IRC
| ...
| [Z] todoDONE Take Mark swimming
`

d, i, c, and 1-2 are black (no colours at all)
3-9, A-D are coloured properly
E-H are black (no colours)
I is coloured
J-L is black
M is coloured
N is black
O, P are coloured
Q, R are black
S, T are coloured
U, V are black
W is coloured
X-Z are black (no colours)

There doesn't seem to be any rhyme or reason to which ones get colours
and which don't as far as I can tell.

Let me know if there's anything else I can provide to try to figure  
out

what's going on here.


I do not actively color these tasks, but any headlines that
have been *visible* in a window will have been fontified,
others will not have bee fontified.  Org just copies the
text for this list.  Maybe I should make then all without
colors?

- 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] Minor colouring (font lock) annoyance

2009-04-24 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On Apr 24, 2009, at 7:53 PM, Bernt Hansen wrote:
 Right now I have:

 ,
 | Default Task
 | [d] norang  STARTED Organization
 | The task interrupted by starting the last one
 | [i] norang  STARTED Email, News, and IRC
 | Current Clocking Task
 | [c] norang  STARTED Organization
 | Recent Tasks
 | [1] norang  STARTED Organization
 | [2] norang  STARTED Email, News, and IRC
 | ...
 | [Z] todoDONE Take Mark swimming
 `

 d, i, c, and 1-2 are black (no colours at all)
 3-9, A-D are coloured properly
 E-H are black (no colours)
 I is coloured
 J-L is black
 M is coloured
 N is black
 O, P are coloured
 Q, R are black
 S, T are coloured
 U, V are black
 W is coloured
 X-Z are black (no colours)

 There doesn't seem to be any rhyme or reason to which ones get colours
 and which don't as far as I can tell.

 Let me know if there's anything else I can provide to try to figure
 out
 what's going on here.

 I do not actively color these tasks, but any headlines that
 have been *visible* in a window will have been fontified,
 others will not have bee fontified.  Org just copies the
 text for this list.  Maybe I should make then all without
 colors?

Okay.  That's a perfect explanation for me -- and I'll just ignore that
color or lack of colour issue.  It's actually a lot easier to read
coloured than not so please don't bother making them all black. :)

-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] Jumping to a task sometimes goes to the wrong place

2009-04-24 Thread Carsten Dominik

I will have to wait for more info :-(

These are a bitch to find.  They often have to do with prompting the  
user for something while the cursor is in an invisible place, like a  
folded entry, or in a buffer which has a displayed window, but the  
point is not currently visible in that window...


- Carsten



On Apr 24, 2009, at 7:53 PM, Bernt Hansen wrote:


Hi Carsten,

I still have this issue where once in a while jumping to a task goes  
to

the wrong task.  I probably run into this once/twice a week.

I need to take better notes about what exactly I'm doing when this
happens so I can pass them along to you.  I think it's related to
clocking in tasks from the agenda somehow but I don't have enough good
data on this yet to narrow down what is really happening.  Repeating  
the

command works fine the second time.

I've seen at least the following:

 - Enter a remember note and store it
 - C-u C-u C-M-r goes to the wrong place
 - C-u C-u C-M-r a second time goes to the right place

 - Refile a note
 - C-u C-u C-c C-w goes to the wrong place
 - C-u C-u C-c C-w a second time goes to the right place

More details later.

Regards,
Bernt

PS. Thanks for org-mode





___
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] Minor colouring (font lock) annoyance

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 8:20 PM, Bernt Hansen wrote:


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


On Apr 24, 2009, at 7:53 PM, Bernt Hansen wrote:

Right now I have:

,
| Default Task
| [d] norang  STARTED Organization
| The task interrupted by starting the last one
| [i] norang  STARTED Email, News, and IRC
| Current Clocking Task
| [c] norang  STARTED Organization
| Recent Tasks
| [1] norang  STARTED Organization
| [2] norang  STARTED Email, News, and IRC
| ...
| [Z] todoDONE Take Mark swimming
`

d, i, c, and 1-2 are black (no colours at all)
3-9, A-D are coloured properly
E-H are black (no colours)
I is coloured
J-L is black
M is coloured
N is black
O, P are coloured
Q, R are black
S, T are coloured
U, V are black
W is coloured
X-Z are black (no colours)

There doesn't seem to be any rhyme or reason to which ones get  
colours

and which don't as far as I can tell.

Let me know if there's anything else I can provide to try to figure
out
what's going on here.


I do not actively color these tasks, but any headlines that
have been *visible* in a window will have been fontified,
others will not have bee fontified.  Org just copies the
text for this list.  Maybe I should make then all without
colors?


Okay.  That's a perfect explanation for me -- and I'll just ignore  
that

color or lack of colour issue.  It's actually a lot easier to read
coloured than not so please don't bother making them all black. :)


I can also actively give them a color.  Should these be the correct  
level colors, or some particular color?


- Carsten



-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: org-mode on sloooow computer

2009-04-24 Thread Carsten Dominik


On Apr 24, 2009, at 5:47 PM, Eric S Fraga wrote:


Carsten Dominik writes:

On Apr 24, 2009, at 3:37 PM, Rainer Stengele wrote:


Hi Carsten,

strange enough the latest git version does not improve time for my
agenda at all.
It still is as slow or fast - however you see it.


I think you have tag inheritance turned off, or you have everything  
in

top-level entries.

From todays adjustments, the people who will benefit the most are
those who have a very large number of siblings on arbitrary levels,
and who, at the same time, use tag inheritance.


Carsten,

I definitely fall into the tag inheritance with large number of
siblings on arbitrary levels category!  FYI, here is another data
point for analysis.  I've downloaded the latest git version:

 commit 4b6f0cf77b941bdaf7d784215d1977f7ea58f550
 Author: Carsten Dominik carsten.domi...@gmail.com
 Date:   Fri Apr 24 16:45:01 2009 +0200

   Optimization: Make org-end-of-subtree much faster

and these are the first few lines of the profiling information (I can
send all output if you wish) which show another further significant
improvement!  This is fantastic.


Hi Eric,

if you want to hunt for more improvements, looking at
this table, much can be gained by turning off the
clocktable in the agenda and only turning it on
interactively with R when you really need it.

Hmmm, `org-up-heading-all' still gets called, this should no longer  
happen.

I wonder why, when.

If you want to help:

1. reload uncompiled-code:

   C-u C-c C-x r

2. Arm the function

  M-x debug-on-entry RET org-up-heading-all RET

3. TUrn on debugging on error (needed, but hard to explain here)

  You can best do this from the Options menu, Enter Debugger on  
Error


4. Produce your agenda.  You will get a backtrace buffer, which I  
would like to see...


Thanks.

- Carsten



org-agenda 1   1.354913   
1.354913
org-agenda-list1   1.082066   
1.082066
org-dblock-write:clocktable7   0.541785   
0.0773978571
org-agenda-get-day-entries 6   0.430589   
0.0717648333
org-get-clocktable 1   0.384531   
0.384531
org-update-dblock  1   0.349331   
0.349331
org-prepare-agenda-buffers 2   0.340886   
0.170443
org-agenda-get-scheduled   6   0.289391   
0.0482318333
org-agenda-get-restriction-and-command 1   0.272534   
0.272534
org-get-tags-at8   0.223889   
0.0279862499
org-up-heading-all 21  0.220187   
0.0104851428

...

Thanks again,
eric




___
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] Minor colouring (font lock) annoyance

2009-04-24 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On Apr 24, 2009, at 8:20 PM, Bernt Hansen wrote:

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

 I do not actively color these tasks, but any headlines that
 have been *visible* in a window will have been fontified,
 others will not have bee fontified.  Org just copies the
 text for this list.  Maybe I should make then all without
 colors?

 Okay.  That's a perfect explanation for me -- and I'll just ignore
 that
 color or lack of colour issue.  It's actually a lot easier to read
 coloured than not so please don't bother making them all black. :)

 I can also actively give them a color.  Should these be the correct
 level colors, or some particular color?

The actual level colours with highlighted TODO keywords and other
cookies would be ideal I think.

I find the TODO keywords and cookies in a different font from the
heading text helps a lot.  Also if different tasks are at different
levels they get different heading text colours which breaks up the list
nicely.

-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] Protecting comment lines from fill-paragraph

2009-04-24 Thread Samuel Wales
Did you try putting this in your org mode hook?

  (if (featurep 'filladapt) (filladapt-mode 1))

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Greed is corrupting science into foul nonsense.  Anybody can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] Protecting comment lines from fill-paragraph

2009-04-24 Thread Matthew Lundin
Samuel,

Samuel Wales samolog...@gmail.com writes:

 Did you try putting this in your org mode hook?

   (if (featurep 'filladapt) (filladapt-mode 1))

Thanks. That was just what I was looking for.

- 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] Re: checkbox statistics (fixed version)

2009-04-24 Thread Eddward DeVilla
I'll have to see if I can get this to work.  I think I was one of the
one that ask for the old behavior and have missed it ever since it was
changed.

Thanks!
Edd

On Fri, Apr 24, 2009 at 8:01 AM, Richard KLINDA rkli...@gmail.com wrote:
 This is the fixed patch, it actually works on my real life org files so
 this has a slight chance of being right.

 

 diff --git a/lisp/org-list.el b/lisp/org-list.el
 index 7469add..872dddf 100644
 --- a/lisp/org-list.el
 +++ b/lisp/org-list.el
 @@ -110,6 +110,9 @@ with \\[org-ctrl-c-ctrl-c\\].
   :group 'org-plain-lists
   :type 'boolean)

 +(defcustom org-recursive-checkbox-statistics nil
 +  Non-nil means, that checkbox counting should happen recursively.)
 +
  (defcustom org-description-max-indent 20
   Maximum indentation for the second line of a description list.
  When the indentation would be larger than this, it will become
 @@ -402,7 +405,10 @@ the whole buffer.
               (org-beginning-of-item)
               (setq curr-ind (org-get-indentation))
               (setq next-ind curr-ind)
 -              (while (and (bolp) (org-at-item-p) (= curr-ind next-ind))
 +                (while (and (bolp) (org-at-item-p)
 +                            (if org-recursive-checkbox-statistics
 +                                (= curr-ind next-ind)
 +                                (= curr-ind next-ind)))
                 (save-excursion (end-of-line) (setq eline (point)))
                 (if (re-search-forward re-box eline t)
                     (if (member (match-string 2) '([ ] [-]))
 @@ -410,7 +416,12 @@ the whole buffer.
                       (setq c-on (1+ c-on))
                       )
                   )
 -                (org-end-of-item)
 +                  (if org-recursive-checkbox-statistics
 +                      (progn
 +                        (end-of-line)
 +                        (when (re-search-forward org-list-beginning-re lim t)
 +                          (beginning-of-line)))
 +                      (org-end-of-item))
                 (setq next-ind (org-get-indentation))
                 )))
         (goto-char continue-from)

 

 --
 Richard


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



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


Re: [Orgmode] Re: Idea for agenda notifications

2009-04-24 Thread Russell Adams
I have emacs w/ org running at all times, and I use a hook with
kdialog to make popup notifications when appointments are due.

I adapted this from someone else's post on using Zenity, I wish I
remembered who so I could credit them.

Here is a snippet from my .emacs: 

--
;; For org appointment reminders

;; Get appointments for today
(defun my-org-agenda-to-appt ()
(interactive)
(setq appt-time-msg-list nil)
(let ((org-deadline-warning-days 0));; will be automatic in org  
5.23
  (org-agenda-to-appt)))

(my-org-agenda-to-appt)
(appt-activate t)
(run-at-time 24:01 nil 'my-org-agenda-to-appt)

;; 5 minute warning
(setq appt-message-warning-time '60)
(setq appt-display-interval '15)

;; Update appt each time agenda opened.
(add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)

;; Setup zenify, we tell appt to use window, and replace default function
(setq appt-display-format 'window)
(setq appt-disp-window-function (function my-appt-disp-window))

(defun my-appt-disp-window (min-to-app new-time msg)
(save-window-excursion (shell-command (concat
  /usr/bin/kdialog --msgbox ' msg ' ) nil nil)))
))
--

Enjoy!

On Fri, Apr 24, 2009 at 01:55:48PM -0400, Bernt Hansen wrote:
 Marcelo de Moraes Serpa celose...@gmail.com writes:

  By the way, how can I use the org-agenda-to-appt? When I run it a
  message saying No event to add is returned -- I do have some
  scheduled events on my gtd.org file and this file is part of the
  org-agenda-files list.

 As I understand it org-agenda-to-appt picks up tasks from your
 org-agenda-files that have an active timestamp for today.  If you have a
 scheduled, deadline, or active timestamp for 12:00 it will create
 reminders in the remind package for those and let remind handle them.

 I don't use dates/times in headlines so I don't know if it works for
 that case.

 For my setup remind starts bugging me 12 minutes before the appointment.

 -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



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


Re: [Orgmode] Protecting comment lines from fill-paragraph

2009-04-24 Thread Matthew Lundin
Samuel Wales samolog...@gmail.com writes:

 Did you try putting this in your org mode hook?

   (if (featurep 'filladapt) (filladapt-mode 1))

Actually, on second thought, this causes problems for all the other
auto-fill-inhibit-regexp settings that are part of org-mode: e.g.,
headings, tables, etc. are filled if I turn on filladapt-mode.

- 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] ascii export error

2009-04-24 Thread Eraldo Helal
When pressing C-c C-e, a // export to ascii
I get the following error:

 org-export: Autoloading failed to define function org-export-as-ascii

Any idea how to fix this?

Eraldo
___
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] ascii export error

2009-04-24 Thread Nick Dokos
Eraldo Helal off...@eraldo.at wrote:

 When pressing C-c C-e, a // export to ascii
 I get the following error:
 
  org-export: Autoloading failed to define function org-export-as-ascii
 
 Any idea how to fix this?
 

Well, you can fix it by loading the org-ascii.el (or org-ascii.elc) file
(at least on recent upstream versions - the export file organization
changed recently and that *may* be what is triggering your problem).
But the question is: why are you getting this error? The file should be
loaded on demand.

Are you using the upstream org-mode or the one that comes with your
emacs? In particular, what version?[1] And how do you load org-mode from
your .emacs (including any settings of load-path)?

Also, can you do C-h f org-export-as-ascii RET and include the output
in your reply?

Thanks,
Nick

[1] C-u M-x org-version RET will insert the version string into the
buffer, so you can easily annotate any email you send with the
version. It is *always* a good idea to include the org-version with
any questions/problems you send to the list, as well as the
corresponding emacs version: C-u M-x emacs-version RET.


___
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] ascii export error

2009-04-24 Thread Eraldo Helal
Thank you Nick for helping me troubleshoot!
Are you using the upstream org-mode or the one that comes with your
emacs? In particular, what version?[1] Org-mode version 6.26trans And how do you load org-mode from
your .emacs (including any settings of load-path)?; Orgmode; http://orgmode.org; using orgmode-dev requires org-install(setq load-path (cons "~/system/elisp/org-mode/lisp" load-path))(add-to-list 'load-path "~/system/elisp/org-mode/contrib/lisp")(require 'org-install)(require 'org)

Also, can you do C-h f org-export-as-ascii RET and include the output
in your reply?org-export-as-ascii is an interactive autoloaded Lisp function in`org-exp.el'.(org-export-as-ascii arg)Export the outline as a pretty ASCII file.If there is an active region, export only the region.The prefix arg specifies how many levels of the outline should becomeunderlined headlines. The default is 3. 

Thanks,
Nick

[1] C-u M-x org-version RET will insert the version string into the
  buffer, so you can easily annotate any email you send with the
  version. It is *always* a good idea to include the org-version with
  any questions/problems you send to the list, as well as the
  corresponding emacs version: C-u M-x emacs-version RET.
GNU Emacs 23.0.91.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.0) of 2009-04-05 on crested, modified by DebianEraldo


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


Re: [Orgmode] ascii export error

2009-04-24 Thread Eraldo Helal
Thank you Nick for helping me troubleshoot!

Are you using the upstream org-mode or the one that comes with your
 emacs? In particular, what version?[1]

Org-mode version 6.26trans

 And how do you load org-mode from
 your .emacs (including any settings of load-path)?

 ; Orgmode
; http://orgmode.org
; using orgmode-dev requires org-install
(setq load-path (cons ~/system/elisp/org-mode/lisp load-path))
(add-to-list 'load-path ~/system/elisp/org-mode/contrib/lisp)
(require 'org-install)
(require 'org)



 Also, can you do C-h f org-export-as-ascii RET and include the output
 in your reply?

org-export-as-ascii is an interactive autoloaded Lisp function in
`org-exp.el'.

(org-export-as-ascii arg)

Export the outline as a pretty ASCII file.
If there is an active region, export only the region.
The prefix arg specifies how many levels of the outline should become
underlined headlines.  The default is 3.



 Thanks,
 Nick

 [1] C-u M-x org-version RET will insert the version string into the
buffer, so you can easily annotate any email you send with the
version. It is *always* a good idea to include the org-version with
any questions/problems you send to the list, as well as the
corresponding emacs version: C-u M-x emacs-version RET.

GNU Emacs 23.0.91.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.0) of 2009-04-05
on crested, modified by Debian

Eraldo
___
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: org-mode on sloooow computer

2009-04-24 Thread Eric S Fraga
Carsten Dominik writes:
 Hmmm, `org-up-heading-all' still gets called, this should no longer  
 happen.
 I wonder why, when.

There must have been an error in recompilation after pulling the
updates with git.  Although I asked emacs to recompile the directory,
it must have done something strange.  I've cleared out the elc files
and compiled the whole directory and this is what I get now (which
indicates yet another improvement!):

org-agenda 1   1.114424  1.114424
org-agenda-list1   0.889913  0.889913
org-dblock-write:clocktable7   0.586827  0.0838324285
org-get-clocktable 1   0.427968  0.427968
org-update-dblock  1   0.390233  0.390233
org-prepare-agenda-buffers 2   0.267907  0.1339535
org-agenda-get-day-entries 6   0.255334  0.042555
org-agenda-get-restriction-and-command 1   0.224329  0.224329
org-clock-sum  6   0.195653  0.0326088333
org-agenda-get-scheduled   6   0.145536  0.024256
org-prepare-agenda 1   0.128176  0.128176
org-refresh-category-properties12  0.083083  0.006923
org-get-tags-at8   0.059022  0.00737775
org-up-heading-safe21  0.056052  0.0026691428
org-get-entries-from-diary 1   0.042899  0.042899
...

 If you want to help:
 
 1. reload uncompiled-code:
 
 C-u C-c C-x r

Ummm, this doesn't work for me?  C-c C-x r is undefined.

 2. Arm the function
 
M-x debug-on-entry RET org-up-heading-all RET
 
 3. TUrn on debugging on error (needed, but hard to explain here)
 
You can best do this from the Options menu, Enter Debugger on  
 Error
 
 4. Produce your agenda.  You will get a backtrace buffer, which I  
 would like to see...

I don't get a backtrace buffer, which I guess now makes sense since
org-up-heading-all doesn't seem to get invoked any more.

 if you want to hunt for more improvements, looking at
 this table, much can be gained by turning off the
 clocktable in the agenda and only turning it on
 interactively with R when you really need it.

Yep, this helps as well:

org-agenda 1   0.963539  0.963539
org-agenda-list1   0.739349  0.739349
org-finalize-agenda-entries1   0.286326  0.286326
org-agenda-highlight-todo  8   0.282616  0.035327
org-agenda-get-day-entries 6   0.257445  0.0429075000
org-agenda-get-restriction-and-command 1   0.224016  0.224016
org-agenda-get-scheduled   6   0.147105  0.0245175
org-prepare-agenda 1   0.128321  0.128321
org-prepare-agenda-buffers 1   0.120287  0.120287
org-get-tags-at8   0.059197  0.007399625
org-up-heading-safe21  0.056139  0.0026732857
org-get-entries-from-diary 1   0.043058  0.043058
...

However, I may actually leave the clock display on by default as it
has a psychological effect that is worthwhile for my working
practices; but at least I know that turning it off might be worthwhile
on the Asus.

In any case, I am impressed: from 4.5 seconds to less than a second in
one day!  Can you do the same for my 2+ day optimisation runs I
require in my research? ;-)

Thanks yet again,
eric 


___
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] ascii export error

2009-04-24 Thread Nick Dokos
Eraldo Helal off...@eraldo.at wrote:


 Org-mode version 6.26trans
 

 Also, can you do C-h f org-export-as-ascii RET and include the output
 in your reply?
 
 org-export-as-ascii is an interactive autoloaded Lisp function in
 `org-exp.el'.
 

... and this is a sign that you are picking up old bits from somewhere:
the function should be autoloaded from org-ascii.el.

Did you do a

make clean
make all doc

and restart your emacs after your last git pull?

Nick


___
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] ascii export error

2009-04-24 Thread Eraldo Helal
Did all of this... problem persists. :(

On Sat, Apr 25, 2009 at 00:28, Nick Dokos nicholas.do...@hp.com wrote:

 Eraldo Helal off...@eraldo.at wrote:


  Org-mode version 6.26trans
 

  Also, can you do C-h f org-export-as-ascii RET and include the
 output
  in your reply?
 
  org-export-as-ascii is an interactive autoloaded Lisp function in
  `org-exp.el'.
 

 ... and this is a sign that you are picking up old bits from somewhere:
 the function should be autoloaded from org-ascii.el.

 Did you do a

make clean
make all doc

 and restart your emacs after your last git pull?

 Nick

___
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: Idea for agenda notifications

2009-04-24 Thread Marcelo de Moraes Serpa
Awesome! This idea could be extended to add other kind of events, like send
emails, SMS, play some audio file, whatever (turn org-mode in a kind of PIM
server too.. hmm, lots of cool ideas come to my mind). I still prefer using
the gnome-notifier but it shouldn't be hard to adapt it for that.

Well -- the first thing I need to do though is to master elisp :)

Thanks!

Marcelo.

On Fri, Apr 24, 2009 at 2:54 PM, Russell Adams rlad...@adamsinfoserv.comwrote:

 I have emacs w/ org running at all times, and I use a hook with
 kdialog to make popup notifications when appointments are due.

 I adapted this from someone else's post on using Zenity, I wish I
 remembered who so I could credit them.

 Here is a snippet from my .emacs:

 --
 ;; For org appointment reminders

 ;; Get appointments for today
 (defun my-org-agenda-to-appt ()
(interactive)
(setq appt-time-msg-list nil)
 (let ((org-deadline-warning-days 0));; will be automatic in org
  5.23
   (org-agenda-to-appt)))

 (my-org-agenda-to-appt)
 (appt-activate t)
 (run-at-time 24:01 nil 'my-org-agenda-to-appt)

 ;; 5 minute warning
 (setq appt-message-warning-time '60)
 (setq appt-display-interval '15)

 ;; Update appt each time agenda opened.
 (add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)

 ;; Setup zenify, we tell appt to use window, and replace default function
 (setq appt-display-format 'window)
 (setq appt-disp-window-function (function my-appt-disp-window))

 (defun my-appt-disp-window (min-to-app new-time msg)
(save-window-excursion (shell-command (concat
  /usr/bin/kdialog --msgbox ' msg ' ) nil nil)))
 ))
 --

 Enjoy!

 On Fri, Apr 24, 2009 at 01:55:48PM -0400, Bernt Hansen wrote:
  Marcelo de Moraes Serpa celose...@gmail.com writes:
 
   By the way, how can I use the org-agenda-to-appt? When I run it a
   message saying No event to add is returned -- I do have some
   scheduled events on my gtd.org file and this file is part of the
   org-agenda-files list.
 
  As I understand it org-agenda-to-appt picks up tasks from your
  org-agenda-files that have an active timestamp for today.  If you have a
  scheduled, deadline, or active timestamp for 12:00 it will create
  reminders in the remind package for those and let remind handle them.
 
  I don't use dates/times in headlines so I don't know if it works for
  that case.
 
  For my setup remind starts bugging me 12 minutes before the appointment.
 
  -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
 


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

___
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] pop-up-windows

2009-04-24 Thread Samuel Wales
When I click on a link, org-open-at-point splits the window.
What I would like is for it to open the link in the current
window.  The same occurs with org-remember; it splits the
window, but I would like to have the whole window.

Both Emacs and Xemacs have a standard variable,
pop-up-windows, that allows the user to control this
behavior.  Users who set it to nil can expect all but the
most unusual buffers to open in the current window.  Most
parts of emacs respect it.

IMO it would be useful for org to do the same.  It is easy to do,
because you can call pop-to-buffer instead of
switch-to-buffer-other-window.

Try these:

(let ((pop-up-windows t)) (pop-to-buffer (get-buffer *Messages*)))
(let ((pop-up-windows)) (pop-to-buffer (get-buffer *Messages*)))

People who use small screens and people who use large fonts
use nil because splitting the window makes small windows.

In org, todo state selection and tag selection should
probably ignore the variable, provided that the window
height contains the buffer.  The context is useful, so it's
OK to split the window.

Export dispatch and agenda dispatch should probably respect
the variable because context usually does not add to the
decision being made (among other reasons).  They do not
currently respect it.

org-complete is currently problematic because it
inadvertently respects the variable.  It changes to the
completions buffer, and then the completion keys do not
work.  This should probably either ignore the variable or accept the
completion keys.  However, I do not use it, so I have not
tried it much.

I hope this made enough sense to be useful to you.  :)

Thanks.

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Greed is corrupting science into foul nonsense.  Anybody can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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: org-mode on sloooow computer

2009-04-24 Thread Carsten Dominik


On Apr 25, 2009, at 12:26 AM, Eric S Fraga wrote:


Carsten Dominik writes:

Hmmm, `org-up-heading-all' still gets called, this should no longer
happen.
I wonder why, when.


There must have been an error in recompilation after pulling the
updates with git.  Although I asked emacs to recompile the directory,
it must have done something strange.  I've cleared out the elc files
and compiled the whole directory and this is what I get now (which
indicates yet another improvement!):

org-agenda 1   1.114424   
1.114424
org-agenda-list1   0.889913   
0.889913
org-dblock-write:clocktable7   0.586827   
0.0838324285
org-get-clocktable 1   0.427968   
0.427968
org-update-dblock  1   0.390233   
0.390233
org-prepare-agenda-buffers 2   0.267907   
0.1339535
org-agenda-get-day-entries 6   0.255334   
0.042555
org-agenda-get-restriction-and-command 1   0.224329   
0.224329
org-clock-sum  6   0.195653   
0.0326088333
org-agenda-get-scheduled   6   0.145536   
0.024256
org-prepare-agenda 1   0.128176   
0.128176
org-refresh-category-properties12  0.083083   
0.006923
org-get-tags-at8   0.059022   
0.00737775
org-up-heading-safe21  0.056052   
0.0026691428
org-get-entries-from-diary 1   0.042899   
0.042899

...


If you want to help:

1. reload uncompiled-code:

   C-u C-c C-x r


Ummm, this doesn't work for me?  C-c C-x r is undefined.


You need to be in an org-mode buffer for this..




2. Arm the function

  M-x debug-on-entry RET org-up-heading-all RET

3. TUrn on debugging on error (needed, but hard to explain here)

  You can best do this from the Options menu, Enter Debugger on
Error

4. Produce your agenda.  You will get a backtrace buffer, which I
would like to see...


I don't get a backtrace buffer, which I guess now makes sense since
org-up-heading-all doesn't seem to get invoked any more.


yes..




if you want to hunt for more improvements, looking at
this table, much can be gained by turning off the
clocktable in the agenda and only turning it on
interactively with R when you really need it.


Yep, this helps as well:

org-agenda 1   0.963539   
0.963539
org-agenda-list1   0.739349   
0.739349
org-finalize-agenda-entries1   0.286326   
0.286326
org-agenda-highlight-todo  8   0.282616   
0.035327
org-agenda-get-day-entries 6   0.257445   
0.0429075000
org-agenda-get-restriction-and-command 1   0.224016   
0.224016
org-agenda-get-scheduled   6   0.147105   
0.0245175
org-prepare-agenda 1   0.128321   
0.128321
org-prepare-agenda-buffers 1   0.120287   
0.120287
org-get-tags-at8   0.059197   
0.007399625
org-up-heading-safe21  0.056139   
0.0026732857
org-get-entries-from-diary 1   0.043058   
0.043058

...

However, I may actually leave the clock display on by default as it
has a psychological effect that is worthwhile for my working
practices; but at least I know that turning it off might be worthwhile
on the Asus.


Of course, this i what I meant.



In any case, I am impressed: from 4.5 seconds to less than a second in
one day!  Can you do the same for my 2+ day optimisation runs I
require in my research? ;-)


:-)  Someone needs to write a profiler for that.  In fact, clocking your
work and looking at the biggest time consumers may help :-)

Thanks, this was a fun day.


- 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] org-mode on sloooow computer

2009-04-24 Thread Samuel Wales
This is running org-agenda on a 1GHz Mac.  I will post again with a
larger set of agenda files.  I have a few operations that are 11
seconds or so, but I can maybe speed them up by combining searches
into one (not sure if that will work).

Function Name Call
Count  Elapsed Time  Average Time

==    
org-agenda1
   4.473791  4.473791
org-agenda-get-restriction-and-command1
   3.318245  3.318245
org-agenda-list   1
   1.15528   1.15528
org-agenda-get-day-entries28
   0.836402  0.0298715000
org-agenda-get-timestamps 28
   0.363768  0.0129917142
org-up-heading-safe   160
   0.349915  0.002186975
org-get-tags-at   26
   0.349628  0.0134472307
org-prepare-agenda1
   0.254526  0.254526
org-prepare-agenda-buffers1
   0.248059  0.248059
org-agenda-get-scheduled  28
   0.20  0.007499
org-refresh-category-properties   4
   0.181482  0.0453705
org-agenda-get-deadlines  28
   0.116133  0.0041476428
org-time-string-to-absolute   385
   0.057257  0.0001487220
org-agenda-get-sexps  28
   0.053529  0.0019117500
org-agenda-get-blocks 28
   0.052818  0.0018863571
org-finalize-agenda   1
   0.027553  0.027553
org-get-agenda-file-buffer32
   0.024686  0.0007714687
org-find-base-buffer-visiting 32
   0.024321  0.0007600312
org-agenda-dim-blocked-tasks  1
   0.021669  0.021669
org-end-of-subtree9
   0.019045  0.002116
org-format-agenda-item28
   0.018972  0.0006775714
org-parse-time-string 399
   0.015087  3.781...e-05
org-block-todo-from-children-or-siblings-or-parent26
   0.014839  0.0005707307
org-closest-date  133
   0.014300  0.0001075263
org-finalize-agenda-entries   7
   0.012161  0.0017372857
org-entry-get 84
   0.011275  0.0001342261
org-back-to-heading   385
   0.010518  2.732...e-05
org-get-property-block84
   0.009824  0.0001169523
org-at-date-range-p   177
   0.009109  5.146...e-05
org-agenda-skip   534
   0.009033  1.691...e-05
org-check-agenda-file 32
   0.007903  0.0002469687
org-date-to-gregorian 266
   0.007365  2.768...e-05
org-get-todo-state45
   0.005962  0.0001324888
org-agenda-mode   1
   0.005456  0.005456
org-agenda-highlight-todo 28
   0.005278  0.0001885000
org-get-effort26
   0.004446  0.0001710384
org-get-priority  26
   0.003813  0.0001466538
org-agenda-align-tags 1
   0.003731  0.003731
org-add-props 91
   0.003582  3.937...e-05
org-outline-level 357
   0.003342  9.364...e-06
org-agenda-todayp 56
   0.002966  5.296...e-05
org-fit-window-to-buffer  1
   0.00257   0.00257
org-agenda-files  3
   0.002198  0.000732
org-agenda-add-inherited-tags 28
   0.001933  6.903...e-05
org-get-time-of-day   33
   0.001796  5.442...e-05
org-agenda-fontify-priorities 1
   0.001709  0.001709
org-entries-lessp 47
   0.001702  3.621...e-05
org-time-string-to-time   14
   0.001579  0.0001128571
org-get-wdays 

[Orgmode] Offline

2009-04-24 Thread Carsten Dominik

Hi

I will be offline for about a week

- 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