Re: [Orgmode] Bug in subtree narrowing

2009-09-18 Thread Carsten Dominik


On Sep 18, 2009, at 12:09 AM, Samuel Wales wrote:


Hi Carsten,

org-tree-to-indirect-buffer does not include the final
newline.  This causes sorting to run two lines together.
For example, a headline can get joined to an :END: line.
This can cause a task to not be recognized.


Fixed for this case.



Sorting makes a lot of changes, so some users will not
notice the bug until much later.


I do not understand what this has to do with narrowing to a subtree?



org-narrow-to-subtree appears similar.


Fixed for this case as well.



A lot of user code might assume, as perhaps org-sort does,
that the final line has a newline.

The choice of solution I will leave to you :).

My preference is for the final newline to exist.


Are you suggesting that I should add the final newline?
Under what circumstances?
Are you aware of the variable `require-final-newline'?  It might be  
for you?

I have turned it on.

- Carsten



This is
because it feels normal to me as a user.  If I go to the end
of the buffer, then up, I usually expect to be on the last
line.  If I manually kill a subtree (or a paragraph) I kill
to the beginning of the next line.  m-x mark-paragraph
appears to do this.  So does m-x kill-paragraph.

However, I will not file a bug on outline.
outline-mark-subtree (which org users use also) does not include the
final newline.
outline-end-of-subtree does (forward-char -1), which means
that it is deliberate.  There are likely to be factors that
I have not considered.

Org-mode version 6.30trans (release_6.30d.814.gdacd) .

Thanks.


Samuel


--
Myalgic encephalomyelitis causes death (Jason et al. 2006)
and severe suffering.  Conflicts of interest are destroying
research.  What people know is wrong.  Silence = death.
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




___
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] indirect buffer idea and proto-bug

2009-09-18 Thread Carsten Dominik


On Sep 18, 2009, at 6:29 AM, Samuel Wales wrote:


I would find it useful if org-cycle-agenda-files included
indirect buffers that pointed to agenda buffers.


Hmm, right now I only walk along the value of org-agenda-files.
I guess it would be possible to change the mechanics and include
the indirect buffers, but I am not really comfortable with this.
Maybe use org-iswitchb instead?

- Carsten



By the way, with (org) indirect buffers, emacs leaves lock
files around even when all buffers are saved.  I do not know
what circumstances cause it.  It does not happen all the
time.  Maybe somebody can edit in an org indirect buffer to
confirm.  Carbon Emacs 22.

Thanks.

--
Myalgic encephalomyelitis causes death (Jason et al. 2006)
and severe suffering.  Conflicts of interest are destroying
research.  What people know is wrong.  Silence = death.
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




___
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: LaTeX export bugs?

2009-09-18 Thread Carsten Dominik


On Sep 17, 2009, at 3:52 PM, Sébastien Vauban wrote:


Hi Carsten,

Francesco Pizzolante wrote:


indeed, it looks like I did make a mistake when recently trying to  
fix

this.

I believe I have got it right this time (current git version),  
please

verify.


It works perfectly now.


Not exactly the same problem, but very similar IMHO, there is (now  
or still?)
a problem of highlighting with `#+BEGIN' meta info not starting in  
column 0.


Just test with the following:

--8---cut here---start-8---
* 2009-09

#+BEGIN: clocktable :maxlevel 2 :scope file :block yesterday
Clock summary at [2009-09-16 Wed 17:27], for Tuesday, September 15,  
2009.


| L | Headline | Time   |  |
|---+--++--|
|   | *Total time* | *7:25* |  |
|---+--++--|
| 1 | 2009-09  | 7:25   |  |
| 2 | Some project || 7:25 |
#+END:
--8---cut here---end---8---


Hi Sebasien,

I am aware of this problem, but it is not so easy to solve.
The reason for this is that dynamic blocks are written by some
user function, which is not aware of any indentation to be applied.
So if I would allow indentation for the BEGIN line, I would end up
with

 #+BEGIN: clocktable
| L | Headline | Time   |  |
|---+--++--|
|   | *Total time* | *7:25* |  |
|---+--++--|
| 1 | 2009-09  | 7:25   |  |
| 2 | Some project || 7:25 |
 #+END:

Is that the desired outcome?
I guess I could enforce indentation of the block written by
the user function, but I am not sure if this might cause
problems in some cases.

I need to think more about this.

- 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] column view bug

2009-09-18 Thread Carsten Dominik

Hi Geaorge,

the text further down in the mail was just a citation of the original  
message,

not my attempt to reproduce the bug.

- Carsten

On Sep 17, 2009, at 3:04 PM, George Pearson wrote:


On 17 Sep 2009 at 3:08, Giovanni Ridolfi wrote:

--- Mer 16/9/09, Carsten Dominik carsten.domi...@gmail.com ha  
scritto:



I cannot
reproduce this problem, it works just fine for me.

Could someone else please try as well?  Thanks!


I cannot reproduce it as well; at least with the file below,
I hope the file is correct.


But wait - you HAVE reproduced it!  Look at your result below,
and note the vertical bar | in front of the Tuesday and
Thursday date lines.


* column view: C-c C-x C-c
CATE | ITEM   | E | P | A |
Week-agenda (W38):
Monday 14 September 2009 W38
| Tuesday15 September 2009   | . |   |   |
Test| TODO task 1
Wednesday  16 September 2009
| Thursday   17 September 2009| . |   |   |
Test| TODO task 1 | . |   |   |
Test| TODO task 2 | . |   |   |
Friday 18 September 2009
Saturday   19 September 2009
Sunday 20 September 2009
--


Incidentally, I have NOT seen the recurrence of Task 1 on
Thursday, as seen in your results.  Possibly the result of
some option setting?




___
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] indirect buffer idea and proto-bug

2009-09-18 Thread Samuel Wales
This is for if you have forgotten that you have an indirect buffer.


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


Re: [Orgmode] Bug in subtree narrowing

2009-09-18 Thread Samuel Wales
On Thu, Sep 17, 2009 at 23:22, Carsten Dominik
carsten.domi...@gmail.com wrote:
 Sorting makes a lot of changes, so some users will not
 notice the bug until much later.

 I do not understand what this has to do with narrowing to a subtree?

Sorting obscures the bug.

 Are you suggesting that I should add the final newline?

No.  Move the end forward by one char.

 Under what circumstances?

Perhaps when it won't break anything.

 Are you aware of the variable `require-final-newline'?  It might be for you?
 I have turned it on.

Isn't that for files?

I am referring to narrowed regions.  Point at end should be after the
newline, to match my intuition.  But this conflicts with outline's
intuition.

Adding a newline is not necessary.

Thanks for fixing the bug.


___
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: Possibly a feature request - inline tasks without arrows?

2009-09-18 Thread Paul Mead
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Paul,

 how about an example and a proposed output?

 - Carsten
Carsten, I'll see what I can pull together, probably won't be today
though!

Paul



___
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: LaTeX export bugs?

2009-09-18 Thread Carsten Dominik


On Sep 18, 2009, at 7:37 AM, Carsten Dominik wrote:



On Sep 17, 2009, at 3:52 PM, Sébastien Vauban wrote:


Hi Carsten,

Francesco Pizzolante wrote:


indeed, it looks like I did make a mistake when recently trying  
to fix

this.

I believe I have got it right this time (current git version),  
please

verify.


It works perfectly now.


Not exactly the same problem, but very similar IMHO, there is (now  
or still?)
a problem of highlighting with `#+BEGIN' meta info not starting in  
column 0.


Just test with the following:

--8---cut here---start-8---
* 2009-09

#+BEGIN: clocktable :maxlevel 2 :scope file :block yesterday
Clock summary at [2009-09-16 Wed 17:27], for Tuesday, September 15,  
2009.


| L | Headline | Time   |  |
|---+--++--|
|   | *Total time* | *7:25* |  |
|---+--++--|
| 1 | 2009-09  | 7:25   |  |
| 2 | Some project || 7:25 |
#+END:
--8---cut here---end---8---


Hi Sebasien,

I am aware of this problem, but it is not so easy to solve.
The reason for this is that dynamic blocks are written by some
user function, which is not aware of any indentation to be applied.
So if I would allow indentation for the BEGIN line, I would end up
with

#+BEGIN: clocktable
| L | Headline | Time   |  |
|---+--++--|
|   | *Total time* | *7:25* |  |
|---+--++--|
| 1 | 2009-09  | 7:25   |  |
| 2 | Some project || 7:25 |
#+END:

Is that the desired outcome?
I guess I could enforce indentation of the block written by
the user function, but I am not sure if this might cause
problems in some cases.

I need to think more about this.



I just *did* think more about it.  Indented dynamic blocks are now  
possible.


- 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] lisp/org-agenda.el:33:1:Error: Key sequence C-c C-x m g starts with non-prefix key C-c C-x m

2009-09-18 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 17, 2009, at 1:23 PM, Jeff Kowalczyk wrote:

At 3651c206ee118d67ce1ee4b4dad0278b08356c37, my system sees a  
compilation error in org-agenda.el:


Compiling source in /var/tmp/portage/app-emacs/org-mode-/work/ 
org-mode ...

make -j2
emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load- 
path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load- 
path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/ 
org.el
emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load- 
path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load- 
path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/ 
org-agenda.el


In toplevel form:
lisp/org-agenda.el:33:1:Error: Key sequence C-c C-x m g starts with  
non-prefix key C-c C-x m

make: *** [lisp/org-agenda.elc] Error 1
make: *** Waiting for unfinished jobs






___
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] column view bug

2009-09-18 Thread Giovanni Ridolfi
--- Ven 18/9/09, Carsten Dominik carsten.domi...@gmail.com ha scritto:
 the text further down in the mail was just a citation of
 the original  
 message, not my attempt to reproduce the bug.

Carsten, George was talking of *my* message,  not yours ;-)
 
so let's sum up:

file to work with:
-
#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+CATEGORY: Test

* test columns
(setq org-columns-default-format %CATEGORY %35ITEM %Effort{:} %PRIORITY 
%ALLTAGS)
* Test
*** TODO task 1
   SCHEDULED: 2009-09-15 Tue
*** TODO task 2
   SCHEDULED: 2009-09-17 Thu
*** C-c a  a
*** column view: C-c C-x C-c
---EOF---

1.   The result of the Agenda command is:

---
Week-agenda (W38):
Monday 14 September 2009 W38
Tuesday15 September 2009
  Test:   Scheduled:  TODO task 1
Wednesday  16 September 2009
Thursday   17 September 2009
  Test:   Sched. 3x:  TODO task 1
  Test:   Scheduled:  TODO task 2
Friday 18 September 2009
Saturday   19 September 2009
Sunday 20 September 2009
-

2. Yesterday the result of the column view command  was:
   (for the today's one please see the image attached;
please noitice the red circle indicating the bug? )
---Result:

CATE | ITEM   | E | P | A |
Week-agenda (W38):
Monday 14 September 2009 W38
 | Tuesday15 September 2009   | . |   |   |
 Test| TODO task 1
Wednesday  16 September 2009
 | Thursday   17 September 2009| . |   |   |
 Test| TODO task 1 | . |   |   |
 Test| TODO task 2 | . |   |   |
Friday 18 September 2009
Saturday   19 September 2009
Sunday 20 September 2009
---


 On Sep 17, 2009, at 3:04 PM, George Pearson wrote:
  But wait - you HAVE reproduced it!  Look at your
Giovanni's ;-)

  result below,
  and note the vertical bar | in front of the Tuesday
 ^
  and  Thursday date lines.

  Incidentally, I have NOT seen the recurrence of Task 1
  on Thursday, as seen in your results.  Possibly the
  result of some option setting?
George, I don't know.

HTH
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


Image attached Re: [Orgmode] column view bug

2009-09-18 Thread Giovanni Ridolfi
sorry,
now  image attached

Giovanni


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


[Orgmode] Re: no annual agenda entries for repeater interval year

2009-09-18 Thread Steffen Prochnow
Carsten Dominik wrote:
 
 Indeed, I believe now there was a bug, which is fixed now.  Please verify,
 and also keep your eyes open if this change does break anything.
 
 You too, Steffen, please!
 

Works fine -- thanks a lot!

-- Steffen


___
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] checkbox aggregation issues

2009-09-18 Thread Michael Brand

Carsten Dominik wrote:

I am not able to reproduce this!
...

#+STARTUP: overview


I assume you took the example files literally with all subheadings collapsed 
(overview), right?

For me this issue happens even with the only emacs command line option -q and 
both on Windows and Linux with different GNU Emacs versions, one 23.1.1 and one 
23 prior to its release from cvs, both with org-version 6.30e. Can others 
please check whether they can reproduce or not?

- Michael


___
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] Eliminate DONE state?

2009-09-18 Thread PT
Is is possible to eliminate the DONE state completely? I'd like a single 
state TODO and want to switch between TODO and nothing states, but 

 (setq org-todo-keywords '((sequence TODO)))

doesn't seem to work, because it always considers the last state as a
DONE state.

Is it possible to have only a single actionable task state and nothing 
else, so when I switch then the sequence is nothing-TODO-nothing-TODO-...? 




___
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] (no subject)

2009-09-18 Thread Robin Green
Is there any equivalent to planner-mode's planner-rank.el for org-mode? I want 
to automatically compute some sort of combined measure of urgency and 
importance for each of my TODOs, and rank them according to this measure. (Of 
course, I could write my own code to do this, and I might do just that if there 
isn't anything suitable already out there.)
-- 
Robin


___
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] checkbox aggregation issues

2009-09-18 Thread Carsten Dominik


On Sep 18, 2009, at 12:40 PM, Michael Brand wrote:


Carsten Dominik wrote:

I am not able to reproduce this!
...

#+STARTUP: overview


I assume you took the example files literally with all subheadings  
collapsed (overview), right?


I took the example literally, but I did not have the file folded.

Now I did, saw the bug, and fixed it.

- Carsten




For me this issue happens even with the only emacs command line  
option -q and both on Windows and Linux with different GNU Emacs  
versions, one 23.1.1 and one 23 prior to its release from cvs, both  
with org-version 6.30e. Can others please check whether they can  
reproduce or not?


- Michael




___
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] Startup option for Show all, including drawers

2009-09-18 Thread Carsten Dominik

Hi Jeff,

I have added a showeverything option for this purpose now.

- Carsten

On Sep 17, 2009, at 1:58 PM, Jeff Kowalczyk wrote:

When doing extensive search-replace in org files I find it is easier  
with visibility M-x show-all (C-u C-u C-u TAB). The files often  
remain in a bulk-editing phase for more than one session.


Could we have a startup option for show all, including drawers?

Thanks,
Jeff

P.S. Thanks for org-clock-clocktable-default-properties, it's a real  
timesaver.








___
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] indentation problem

2009-09-18 Thread Carsten Dominik


On Sep 16, 2009, at 10:48 AM, Rainer Stengele wrote:


I have a minor indentation quirk:

 STARTED [#A] whatever
SCHEDULED: 2009-09-14 Mo
:LOGBOOK:
CLOCK: [2009-08-24 Mo 15:25]--[2009-08-24 Mo 16:00] =  0:35
CLOCK: [2009-08-21 Fr 10:05]--[2009-08-21 Fr 13:05] =  3:00
CLOCK: [2009-08-20 Do 16:05]--[2009-08-20 Do 18:05] =  2:00
CLOCK: [2009-08-20 Do 10:30]--[2009-08-20 Do 15:34] =  5:04
CLOCK: [2009-08-18 Di 09:27]--[2009-08-18 Di 10:50] =  1:23
CLOCK: [2009-08-04 Di 15:44]--[2009-08-04 Di 16:02] =  0:18
CLOCK: [2009-08-03 Mo 10:57]--[2009-08-03 Mo 10:59] =  0:02
CLOCK: [2009-07-30 Do 10:20]--[2009-07-30 Do 11:35] =  1:15
 :END:
 created: [2009-06-23 Di 10:20]
- some text
...

Orgmode does not allow to indent the :END: symbol correctly.
Indenting the while block beginning from the headline down to :END:  
does not change anything here.


Is this a (minor) bug?

Ahh - putting the block in a separate file does the correct  
indentation.

But why? Is the indentation mechnism dependant on the previous blocks?


Hi Rainer,

in a separate file i works for me.  Can you make an example where it  
does not work???


- 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] problem with org-remember invoked from agenda view

2009-09-18 Thread Eric S Fraga
Hi,

Using the latest (as of this morning in any case) org-mode, I get the
following error if I invoke org-remember (C-c r) from the agenda view:

--8---cut here---start-8---
  signal(error (Don't know what location to link to))
  error(Don't know what location to link to)
  org-store-link(nil)
  org-remember-annotation()
  run-hook-with-args-until-success(org-remember-annotation)
  remember(nil)
  org-do-remember()
  org-remember(nil)
  call-interactively(org-remember nil nil)
--8---cut here---end---8---

This happens when the cursor in the agenda view is not on an actual
item, such as if you bring up the agenda initially and the cursor is
on the date line.

I can re-run with org-mode not compiled if necessary.

thanks,
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] urgency importance (was: (no subject)

2009-09-18 Thread Giovanni Ridolfi
--- Ven 18/9/09, Robin Green gree...@greenrd.org ha scritto:
Robin,
please, next time remember to write a subject for your messages.

 Is there any equivalent to
 planner-mode's planner-rank.el for org-mode? I want to
 automatically compute some sort of combined measure of
 urgency and importance for each of my TODOs, 
  and rank them according to this measure.

what about priority?

http://orgmode.org/manual/Priorities.html#Priorities

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


[Orgmode] Html Export and Containers

2009-09-18 Thread Ian Barton
As part of my Using org on Mobile Devices worglet, I want to try and 
explain how to use style sheets to present different formatting 
depending on a mobile device.


However, I can't find any documentation about org's default export 
format, in terms of how the html is contained in divs, etc. There was a 
disussion a while back at 
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11661.html , but I 
can find anything in the org manual.


If the documentation doesn't exist and someone can point me at the 
relevant bit of lisp code where it's defined, I promise to submit a 
patch documenting it:)


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] Re: Eliminate DONE state?

2009-09-18 Thread Matt Lundin
PT spamfilteracco...@gmail.com writes:

 Is is possible to eliminate the DONE state completely? I'd like a single 
 state TODO and want to switch between TODO and nothing states, but 

  (setq org-todo-keywords '((sequence TODO)))

 doesn't seem to work, because it always considers the last state as a
 DONE state.

 Is it possible to have only a single actionable task state and nothing 
 else, so when I switch then the sequence is nothing-TODO-nothing-TODO-...? 

Not that I am aware of. Lots of functionality in org depends on inactive
TODOs. For instance, if you don't have a DONE state, then scheduled
items will remain on your agenda forever, even if they aren't marked as
a TODO.

Why not just switch back and forth between TODO and nothing by S-Right
and S-Left?

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: urgency importance (was: (no subject)

2009-09-18 Thread Matt Lundin
Robin Green gree...@greenrd.org writes:

 Is there any equivalent to planner-mode's planner-rank.el for
 org-mode? I want to automatically compute some sort of combined
 measure of urgency and importance for each of my TODOs, and rank them
 according to this measure. (Of course, I could write my own code to do
 this, and I might do just that if there isn't anything suitable
 already out there.)

Could you please explain what you mean by urgency and importance? I'm
not familiar with that distinction.

You might want to checkout the docstring for the variable
org-agenda-sorting-strategy. There are lots of ways to sort items in the
agenda, along with the possibility of creating your own sorting
functions.

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: LaTeX export bugs?

2009-09-18 Thread Sébastien Vauban
Hi Carsten,

Carsten Dominik wrote:
 On Sep 18, 2009, at 7:37 AM, Carsten Dominik wrote:

 I am aware of this problem, but it is not so easy to solve. The reason for
 this is that dynamic blocks are written by some user function, which is not
 aware of any indentation to be applied. So if I would allow indentation for
 the BEGIN line, I would end up with

 #+BEGIN: clocktable
 | L | Headline | Time   |  |
 |---+--++--|
 |   | *Total time* | *7:25* |  |
 |---+--++--|
 | 1 | 2009-09  | 7:25   |  |
 | 2 | Some project || 7:25 |
 #+END:

 Is that the desired outcome?

Certainly not.


 I guess I could enforce indentation of the block written by the user
 function, but I am not sure if this might cause problems in some cases.

 I need to think more about this.

 I just *did* think more about it. Indented dynamic blocks are now possible.

Great!  Otherwise, leave it as it is...

Best regards,
  Seb

-- 
Sébastien Vauban



___
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] Html Export and Containers

2009-09-18 Thread Carsten Dominik


On Sep 18, 2009, at 2:52 PM, Ian Barton wrote:

As part of my Using org on Mobile Devices worglet, I want to try  
and explain how to use style sheets to present different formatting  
depending on a mobile device.


However, I can't find any documentation about org's default export  
format, in terms of how the html is contained in divs, etc. There  
was a disussion a while back at http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11661.html 
 , but I can find anything in the org manual.


If the documentation doesn't exist and someone can point me at the  
relevant bit of lisp code where it's defined, I promise to submit a  
patch documenting it:)


Hi Ian,

the lisp code is in org-html.el, but it may be hard to find the  
relevant pieces.


Maybe the easiest is to make a file with all elements you care
about, export it and look at the resulting html.

Otherwise, I think that Sebastian Rose has the best overview over the  
HTML

used by Org export.

- 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: Eliminate DONE state?

2009-09-18 Thread PT
Matt Lundin mdl at imapmail.org writes:

 Not that I am aware of. Lots of functionality in org depends on inactive
 TODOs. For instance, if you don't have a DONE state, then scheduled
 items will remain on your agenda forever, even if they aren't marked as
 a TODO.

Okay, it's not a big deal. I always delete DONE items anyway, so they don't
clutter the todo list. It's only inconvenient when I switch an item to TODO
state accidentally and I have to switch to DONE first and then nothing to
undo it. Which reminds me: I could use undo to undo it. Hmmm. :D

 
 Why not just switch back and forth between TODO and nothing by S-Right
 and S-Left?
 

I use PC selection mode so these keys are already taken and the replacement
keys org provides are not as convenient.

But I can live with it, it's a minor inconvenience. And one day I may even
discover the point of keeping DONE items in the tree and then it will be
a non-issue. :)



___
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] Eliminate DONE state?

2009-09-18 Thread Carsten Dominik


On Sep 18, 2009, at 1:31 PM, PT wrote:

Is is possible to eliminate the DONE state completely? I'd like a  
single

state TODO and want to switch between TODO and nothing states, but

(setq org-todo-keywords '((sequence TODO)))

doesn't seem to work, because it always considers the last state as a
DONE state.

Is it possible to have only a single actionable task state and nothing
else, so when I switch then the sequence is nothing-TODO-nothing- 
TODO-...?



Hi PT,

the following seems to work, but  am not sure if it will break
something.

(setq org-todo-keywords '((sequence TODO |)))

HTH

- Carsten


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


[Orgmode] org-invoice question

2009-09-18 Thread Dave Täht

My eyes glazed over too much to comment directly on the documentation
wishlist thread, and I also saw someone having trouble with org-invoice.
More on the first issue in my next mail. 

This was very cool, as I hadn't heard of org-invoice before then.

So I cribbed and modified the org-invoice from the code example and
tried to make it work.  I guess it needs the CLOCKSUM properties
generated, which I don't quite know how to do, or something else I am
missing to generate the summaries.

Presentation-wise I have other issues with it, but I'll settle for
making it work first:

--cut--
* Invoices
:PROPERTIES:
RATE: 40.00
** Client Foo 
*** DONE Built New Server for Production
CLOSED: [2009-09-18 Fri 08:30]
:LOGBOOK:
- State DONE   from STARTED[2009-09-18 Fri 08:30]
- State STARTEDfrom STARTED[2009-09-18 Fri 07:00]
  CLOCK: [2009-09-18 Fri 07:00]--[2009-09-18 Fri 08:19] =  1:19
:END:
:PROPERTIES:
:Effort:   10
:END:
*** [2009-09-17 Thu] Meeting with Team to Design New System
:PROPERTIES:
WORK: 3:00
:END:
 Invoice
#+BEGIN: invoice
| Task / Date| Time | Price |
|+--+---|
| DONE Built New Server for Production   | 0:00 |  0.00 |
|+--+---|
| Meeting with Team to Design New System | 0:00 |  0.00 |
| Invoice| 0:00 |  0.00 |
|+--+---|
| Total: | 0:00 |  0.00 |
#+END:
* Client Bar 
:PROPERTIES: 
RATE: 95.00
:END:
*** DONE [2008-01-01 Tue] Searched for Widgets on Google
:PROPERTIES:
RATE: 25.00
WORK: 20:00
:END:
*** [2008-01-02 Wed] Billed You for Taking a Nap
*** Invoice
#+BEGIN: invoice
| Task / Date  | Time | Price |
|--+--+---|
| Tuesday, January 01, 2008| 0:00 |  0.00 |
| DONE  Searched for Widgets on Google | 0:00 |  0.00 |
|--+--+---|
| Wednesday, January 02, 2008  | 0:00 |  0.00 |
| Billed You for Taking a Nap  | 0:00 |  0.00 |
|--+--+---|
| Total:   | 0:00 |  0.00 |

#+END:
--cut--

-- 
Dave Taht
http://the-edge.blogspot.com


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


Re: [Orgmode] problem with org-remember invoked from agenda view

2009-09-18 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 18, 2009, at 2:17 PM, Eric S Fraga wrote:


Hi,

Using the latest (as of this morning in any case) org-mode, I get the
following error if I invoke org-remember (C-c r) from the agenda view:

--8---cut here---start-8---
 signal(error (Don't know what location to link to))
 error(Don't know what location to link to)
 org-store-link(nil)
 org-remember-annotation()
 run-hook-with-args-until-success(org-remember-annotation)
 remember(nil)
 org-do-remember()
 org-remember(nil)
 call-interactively(org-remember nil nil)
--8---cut here---end---8---

This happens when the cursor in the agenda view is not on an actual
item, such as if you bring up the agenda initially and the cursor is
on the date line.

I can re-run with org-mode not compiled if necessary.

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




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


Re: [Orgmode] problem with org-remember invoked from agenda view

2009-09-18 Thread Eric S Fraga
At Fri, 18 Sep 2009 16:05:30 +0100, Carsten Dominik wrote:
 
 Fixed, thanks.

Thank *you*!  As always, incredible response.


___
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: Eliminate DONE state?

2009-09-18 Thread Matt Lundin
Carsten Dominik carsten.domi...@gmail.com writes:

 On Sep 18, 2009, at 1:31 PM, PT wrote:

 Is is possible to eliminate the DONE state completely? I'd like a
 single
 state TODO and want to switch between TODO and nothing states, but

 (setq org-todo-keywords '((sequence TODO)))

 doesn't seem to work, because it always considers the last state as a
 DONE state.

 Is it possible to have only a single actionable task state and nothing
 else, so when I switch then the sequence is nothing-TODO-nothing-
 TODO-...?


 Hi PT,

 the following seems to work, but  am not sure if it will break
 something.

 (setq org-todo-keywords '((sequence TODO |)))

That was my first thought, too. But on my machine, it causes TODO items
to be assigned a CLOSED timestamp.

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] org-examples.git?

2009-09-18 Thread Dave Täht

My eyes glazed over at the documentation thread. Maybe this suggestion
already went by. I can't keep up, sorry.

There are a lot of wonderful tutorials out there, and some great
documentation, but often it requires a fairly high level of
understanding of emacs to solve what's missing or what goes wrong and a
bit of cutting and pasting.

I'm kind of more interested in actual, working examples, that require as
little setup and thought as possible, all collected in one place (like,
org-examples.git or as part of the org-mode git tree), that anyone could
try, use, or edit as a base...

They would range in complexity from the basics to whole-user setups of
org. 

It would have some sort of directory structure like this, maybe:

org-examples/invoices-weekly/lisp org-examples/invoices-weekly/org
org-examples/users/dtaht/lisp/org-config.el ;; etc

Now, that would be a good start. What would help more (and I worry if
this is even feasible) would be something like

(org-example foo) 
;; which would load the given example and the requisite lisp code for it
;; without messing up the rest of your org configuration.


-- 
Dave Taht
http://the-edge.blogspot.com


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


[Orgmode] Re: Eliminate DONE state?

2009-09-18 Thread Carsten Dominik


On Sep 18, 2009, at 4:17 PM, Matt Lundin wrote:


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


On Sep 18, 2009, at 1:31 PM, PT wrote:


Is is possible to eliminate the DONE state completely? I'd like a
single
state TODO and want to switch between TODO and nothing states, but

   (setq org-todo-keywords '((sequence TODO)))

doesn't seem to work, because it always considers the last state  
as a

DONE state.

Is it possible to have only a single actionable task state and  
nothing

else, so when I switch then the sequence is nothing-TODO-nothing-
TODO-...?



Hi PT,

the following seems to work, but  am not sure if it will break
something.

(setq org-todo-keywords '((sequence TODO |)))


That was my first thought, too. But on my machine, it causes TODO  
items

to be assigned a CLOSED timestamp.



:-)  Indeed.

Conclusion: this is not supported.

- Carsten


Best,
Matt




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


Re: [Orgmode] The requested URL /worg/images/screenshots/org-zenburn.jpg was not found on this server.

2009-09-18 Thread Bastien
Rainer Stengele rainer.steng...@diplan.de writes:

 a minor bug ...

 The requested URL /worg/images/screenshots/org-zenburn.jpg was not
 found on this server.

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


[Orgmode] Re: org-examples.git?

2009-09-18 Thread Matt Lundin
d...@teklibre.org (Dave Täht) writes:

 My eyes glazed over at the documentation thread.  

I'm afraid my posts may have had something to do with that. :)

 There are a lot of wonderful tutorials out there, and some great
 documentation, but often it requires a fairly high level of
 understanding of emacs to solve what's missing or what goes wrong and a
 bit of cutting and pasting.

 I'm kind of more interested in actual, working examples, that require as
 little setup and thought as possible, all collected in one place (like,
 org-examples.git or as part of the org-mode git tree), that anyone could
 try, use, or edit as a base...

Here are a couple of nice places to start:

http://orgmode.org/worg/org-configs/org-customization-guide.php

http://orgmode.org/worg/org-configs/org-customization-survey.php

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: problem with org-remember invoked from agenda view

2009-09-18 Thread Bernt Hansen
Eric S Fraga ucec...@ucl.ac.uk writes:

 At Fri, 18 Sep 2009 16:05:30 +0100, Carsten Dominik wrote:
 
 Fixed, thanks.

 Thank *you*!  As always, incredible response.

Okay... :)  Thanks Carsten!

* Bernt deletes his org-mode task: Remove error for remember at bottom
  of agenda

I guess I need to report bugs faster... I ran into this on Sep
15th... but haven't had time to look into it yet ... and now it's fixed.

So on that note I'll ship the others bug reports shortly once I verify
they still exist.

-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: Image attached Re: [Orgmode] column view bug

2009-09-18 Thread Carsten Dominik

Yes, I see it now, thanks for the clarification.

Hmm, I consider this a minor bug that is hard to fix.  The non-indented
lines are actually not in column view.

So is this really annoying that we need to fix this, or is this
actually no problem at all.

- Carsten

On Sep 18, 2009, at 9:28 AM, Giovanni Ridolfi wrote:


sorry,
now  image attached

Giovanni


col-view-bug.PNG




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


Re: [Orgmode] Unnumbered sections in LaTeX export

2009-09-18 Thread Carsten Dominik

Hi Thomas,

I have not really looks at this problem, but would it help to use
a clever combination of org-export-latex-low-levels and org- 
export=headline-levels?


- Carsten

On Sep 15, 2009, at 11:04 PM, Thomas S. Dye wrote:



On Sep 15, 2009, at 7:42 AM, Sebastian Rose wrote:


Thomas S. Dye t...@tsdye.com writes:

Thanks Sebastian.  I appreciate the expert assistance.  I have a  
simple export
to Beamer working and was trying to implement automatic  export of  
columns, too.
The starred sections were going to be  placeholders for the  
columns heading
level when it wasn't used.  I've  found that skipping a headline  
level in the
source causes the latex  exporter to skip over subsequent inferior  
levels, so it
isn't possible  to assign a heading level to columns and then use  
them or not as

the  case requires.


You could try to add a class to `org-export-latex-classes'. For  
such a

class, you can define a mapping for each headline level:


(my-beamer-class \\documentclass...\\usepackage{beamer}
 (\\chapter{%s} . \\my-chapter*{%s})
 (\\section{%s} . \\my-section*{%s})
 (\\subsection{%s} . \\my-subsection*{%s})
 (\\subsubsection{%s} . \\my-subsubsection*{%s})))

I don't know if this is an easy thing to do, since I only did this  
once

a long time ago.
But it seems it's worth a try.


See:
http://orgmode.org/manual/Sectioning-structure.html#Sectioning-structure
http://127.0.0.1/devel/org-notes/org-search.php?speedbar=1main=/devel/org-notes/org-search.php




Sebastian


Yes, that is what I'm playing around with.  I have a useful, but  
simple export to beamer working.  I've been trying without success  
to implement beamer's \begin{columns} ... \end{columns}  
environment.  This is a fairly common construct in beamer that  
occurs inside some frames but not in others.  It seems natural to  
put it like this:


(\\section{%s} . \\section{%s})
(\\subsection{%s} . \\subsection{%s})
(\\begin{frame}\\frametitle{%s} \\end{frame} \\begin{frame}\ 
\frametitle{%s} \\end{frame})
(\\begin{columns}\\label{%s} \\end{columns} \\begin{columns}\ 
\label{%s} \\end{columns})


where the \label{%s} puts the mandatory use of %s somewhere it won't  
affect the LaTeX compilation.


The problem with this is that for frames where columns aren't  
wanted, simply leaving out the fourth level in org means that  
everything below it won't be exported.


This example results in an empty frame (Item 1 and Item 2 are  
dropped from the export):


* Section head
** Subsection head
*** Frame title
* Item 1
* Item 2

It seems that a placeholder of some kind is needed if the columns  
environment isn't wanted.


Initially, I explored using the definition for the unnumbered  
sections, like this:


(\\begin{columns}\\label{%s} \\end{columns} %%\\begin{columns}\ 
\label{%s} %%\\end{columns})


which would use a LaTeX comment as a placeholder.  This won't work  
because the switch for numbered/unnumbered sections is set at the  
file level and not for individual instances.


Then, I thought to define a do-nothing environment in LaTeX

\newenvironment{nocolumns}{}{}

set it up in .emacs like this:

(\\begin{%s} \\end{%s} \\begin{%s} \\end{%s})

and then put this in my .org file:

* Section head
** Subsection head
*** Frame title
 nocolumns
* Item 1
* Item 2

But this doesn't work because %s doesn't expand in \\end{%s}.  I get  
\begin{nocolumns} ... \end{%s}, which LaTeX doesn't like.


So, I'm stumped for now, but still pleased to have a simple export  
from org to beamer working, albeit one that produces frames without  
columns.


All the best,
Tom





___
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] Percent completion colour disappeared

2009-09-18 Thread Carsten Dominik

Hi Melton,

I don't seem to be able to reproduce this problem.

- Carsten

On Sep 13, 2009, at 5:37 PM, Melton Low wrote:


Hi,

I may have found a problem with colouring of percent completion. The
percent completion is coloured green for completed headline and red
for uncompleted headline. This worked fine if the org file was opened
in the original frame emacs was started with. If you kill the org
buffer and reload the org file in a new frame it reverted to black.
The same occurred if you simply load the buffer into a new frame.





I can reproduce it with Emacs 23.1.1 and latest build from source. I
am also using the latest git pull of org-mode. Attached is my test
file.

Mac OS X 10.5.8 Intel
Emacs 23.1.1 and Emacs 23.1.50 (latest cvs build)
Org-mode (latest build from git repo)

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




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


Re: [Orgmode] Re: urgency importance (was: (no subject)

2009-09-18 Thread Peter Westlake
On Fri, 18 Sep 2009 10:40 -0400, Matt Lundin m...@imapmail.org wrote:


 Could you please explain what you mean by urgency and importance? I'm
 not familiar with that distinction.

Urgency refers to how soon things need to be done, and importance is how
much they matter regardless of time. For instance, developing new skills
is important, but doesn't need to be done this minute; drinking your
coffee before it goes cold is urgent, but not very important.

It's common to see tasks drawn on a matrix with urgency and importance
as axes. Time management often tries to emphasize the
important-but-not-urgent quadrant, which is easy to neglect in favour of
urgent-but-not-important.

Peter.


___
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: Image attached Re: [Orgmode] column view bug

2009-09-18 Thread George Pearson
On 18 Sep 2009 at 18:25, Carsten Dominik wrote:

 Yes, I see it now, thanks for the clarification.
 
 Hmm, I consider this a minor bug that is hard to fix.  The non-indented
 lines are actually not in column view.
 
 So is this really annoying that we need to fix this, or is this
 actually no problem at all.

Yes, minor.  And since hard to fix, never mind.

However, is it easier to fix the shading alone?  See Giovanni's image.
It would look less confusing if all the dates had the same shading,
and all the tasks shared the same, different, shading.




___
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] Html Export and Containers

2009-09-18 Thread Sebastian Rose
Carsten Dominik carsten.domi...@gmail.com writes:

 On Sep 18, 2009, at 2:52 PM, Ian Barton wrote:

 As part of my Using org on Mobile Devices worglet, I want to try and 
 explain
 how to use style sheets to present different formatting  depending on a 
 mobile
 device.

 However, I can't find any documentation about org's default export format, in
 terms of how the html is contained in divs, etc. There  was a disussion a
 while back at http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11661.html
 , but I can find anything in the org manual.

 If the documentation doesn't exist and someone can point me at the relevant
 bit of lisp code where it's defined, I promise to submit a  patch documenting
 it:)

 Hi Ian,

 the lisp code is in org-html.el, but it may be hard to find the relevant 
 pieces.

 Maybe the easiest is to make a file with all elements you care
 about, export it and look at the resulting html.


Yes, it's quite self-explanatory.


After removing all text content, you'll stay with the bare XHTML and
everything should be obvious.


This is the skeleton of a basic file without the information not needed
like styles, JavaScript. I indented the text for readability. But note,
that the contents of such a file vary a lot, depending on the export
options and the files contents:

Title: example-org-export



 
 
  
   example-org-export

   
Table of Contents

 
  1 One
  2 Two 
   
2.1 Example 
   
  
  3 A task 
  4 A done task 
 

   

   
1 One vogonian


 ;; A code comment here.
  
 



   

   
2 Two 



 
  Content of `Two.
 




 2.1 Example 
 

  

   This was done using beginquote.
   
  

 


   

   
3  TODO A task 


 
  Content of `A task'.
 


   

   
4  DONE A done task 


 CLOSED:  2009-09-18 Fr 19:29
 
 
  Content of a done task.

   
   
 Author: Arthur Dent
 arthur_d...@hartofgold.cos

 Date: 2009-09-18 19:33:45 CEST
HTML generated by org-mode 6.30trans in emacs 23
   
  
 






What is `stable' between several exports, is the nesting and the names
of the main containers (replace X with depth of the nesting and ID with
the section number):

  * body
  * content
  * title
  * div id=outline-container-ID class=outline-X
  * h1, h2 ...
  * div class=outline-text-ID id=text-X

Some containers might or might not exist. E.g. the
 
  * div id=postamble
  * div id=table-of-contents (could be placed virtually anywhere)
  * etc.




  Sebastian

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


[Orgmode] Org-mode version 6.30trans (release_6.30d.856.ga70c); Remember templates fail to file to tasks with a todo keyword

2009-09-18 Thread Bernt Hansen

For new projects where I collect lots of tasks over time I've tried
creating a remember template to file to the project directly - to
save one refile step.

For the following example

,
| * Some Heading
| ** TODO New Project
| *** TODO Step 1
| *** ...
| *** TODO Step n
`

I create a remember template that files directly to 
'TODO New Project'.

This works great but... if the status of the project task changes (say
to WAITING) then any new tasks I file with remember create another
(new) task '* TODO New Project' and it files under that instead of the
'** WAITING New Project' task.  All of a sudden I'm collecting tasks
in the wrong place and I have to refile them all to the correct
target.

This feels wrong to me.  I don't think it makes sense to include the
TODO keyword in the remember template target since the target changes
based on TODO keyword status.



Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.30trans (release_6.30d.856.ga70c)



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


[Orgmode] Org-mode version 6.30trans (release_6.30d.856.ga70c); Search in agenda buffer for todo keyword gives org-agenda-error: Command not allowed in this line

2009-09-18 Thread Bernt Hansen
Everybody has a todo keyword of 'TODO' right?  :)

If you generate a list of tasks with C-c a t and then search for
'TODO' with c-s TODO and then repeat C-s until you're on a task with a
keyword of TODO and hit RET then navigation to display the task is
broken.

SPC and RET both return 'org-agenda-error: Command not allowed in this
line'

Searching for other keywords seems to break those but fix the tasks
for the previous match.

WORKAROUND: Hit 'g' in the agenda to redisplay and everything is
magically fixed.

-Bernt

Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.30trans (release_6.30d.856.ga70c)

current state: (lots of stuff removed)
==
(setq
 org-todo-keyword-faces '((TODO :foreground red :weight bold)
  (STARTED :foreground blue :weight bold)
  (DONE :foreground forest green :weight bold)
  (WAITING :foreground orange :weight bold)
  (SOMEDAY :foreground magenta :weight bold)
  (CANCELLED :foreground forest green :weight bold)
  (QUOTE :foreground red :weight bold)
  (QUOTED :foreground magenta :weight bold)
  (APPROVED :foreground forest green :weight bold)
  (EXPIRED :foreground forest green :weight bold)
  (REJECTED :foreground forest green :weight bold)
  (OPEN :foreground blue :weight bold))
 org-agenda-custom-commands '((s Started Tasks todo STARTED
   ((org-agenda-todo-ignore-with-date nil)))
  (w Tasks waiting on something tags WAITING/!
   ((org-use-tag-inheritance nil)))
  (r Refile New Notes and Tasks tags 
LEVEL=1+REFILE
   ((org-agenda-todo-ignore-with-date nil)))
  (N Notes tags NOTE nil)
  (n Next tags NEXT-WAITING-CANCELLED/! nil)
  (p Projects tags-todo 
LEVEL=2/!-DONE-CANCELLED-WAITING nil))
 org-todo-state-tags-triggers '((CANCELLED (CANCELLED . t)) (WAITING 
(WAITING . t) (NEXT))
(SOMEDAY (WAITING . t)) (done (NEXT) 
(WAITING))
(TODO (WAITING) (CANCELLED))
(STARTED (WAITING) (NEXT . t)))
 org-todo-keywords '((sequence TODO(t!) STARTED(s!) | DONE(d!/!))
 (sequence WAITING(w@/!) SOMEDAY(S!) OPEN(O@) | 
CANCELLED(c@/!))
 (sequence QUOTE(q!) QUOTED(Q!) | APPROVED(A@) 
EXPIRED(E@)
  REJECTED(R@))
 )
 )


___
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 version 6.30trans (release_6.30d.856.ga70c); Remember templates fail to file to tasks with a todo keyword

2009-09-18 Thread Samuel Wales
Confirmed.  I actually reported this a while ago.

In my case it was a blank that stopped working as a target when it got
a todo kw.

In addition to making remember templates ignore todo kw, IMO it would
be useful to allow an org ID as a target.  This would allow accurate
target selection.

-- 
Myalgic encephalomyelitis causes death (Jason et al. 2006)
and severe suffering.  Conflicts of interest are destroying
research.  What people know is wrong.  Silence = death.
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] Html Export and Containers

2009-09-18 Thread Sebastian Rose
Sebastian Rose sebastian_r...@gmx.de writes:

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

 On Sep 18, 2009, at 2:52 PM, Ian Barton wrote:

 As part of my Using org on Mobile Devices worglet, I want to try and 
 explain
 how to use style sheets to present different formatting  depending on a 
 mobile
 device.

 However, I can't find any documentation about org's default export format, 
 in
 terms of how the html is contained in divs, etc. There  was a disussion a
 while back at 
 http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11661.html
 , but I can find anything in the org manual.

 If the documentation doesn't exist and someone can point me at the relevant
 bit of lisp code where it's defined, I promise to submit a  patch 
 documenting
 it:)

 Hi Ian,

 the lisp code is in org-html.el, but it may be hard to find the relevant 
 pieces.

 Maybe the easiest is to make a file with all elements you care
 about, export it and look at the resulting html.


 Yes, it's quite self-explanatory.


 After removing all text content, you'll stay with the bare XHTML and
 everything should be obvious.


 This is the skeleton of a basic file without the information not needed
 like styles, JavaScript. I indented the text for readability. But note,
 that the contents of such a file vary a lot, depending on the export
 options and the files contents:


Hrrrmmhrm, second try, now as attachment...


  Sebastian


Title: example-org-export



 
 
  
   example-org-export

   
Table of Contents

 
  1 One
  2 Two 
   
2.1 Example 
   
  
  3 A task 
  4 A done task 
 

   

   
1 One vogonian


 ;; A code comment here.
  
 



   

   
2 Two 



 
  Content of `Two.
 




 2.1 Example 
 

  

   This was done using beginquote.
   
  

 


   

   
3  TODO A task 


 
  Content of `A task'.
 


   

   
4  DONE A done task 


 CLOSED:  2009-09-18 Fr 19:29
 
 
  Content of a done task.

   
   
 Author: Arthur Dent
 arthur_d...@hartofgold.cos

 Date: 2009-09-18 19:33:45 CEST
HTML generated by org-mode 6.30trans in 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: Org-mode version 6.30trans (release_6.30d.856.ga70c); Remember templates fail to file to tasks with a todo keyword

2009-09-18 Thread Rainer Stengele

Samuel Wales schrieb:

Confirmed.  I actually reported this a while ago.

In my case it was a blank that stopped working as a target when it got
a todo kw.

In addition to making remember templates ignore todo kw, IMO it would
be useful to allow an org ID as a target.  This would allow accurate
target selection.



maybe for max flexibility one could define a variable for a regex for 
text to be excluded when searching the target line when saving the 
template. The regex could include keywords and whatever else is 
considered non essential.


Rainer


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


Re: [Orgmode] Org-mode version 6.30trans (release_6.30d.856.ga70c); Search in agenda buffer for todo keyword gives org-agenda-error: Command not allowed in this line

2009-09-18 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 18, 2009, at 7:19 PM, Bernt Hansen wrote:


Everybody has a todo keyword of 'TODO' right?  :)

If you generate a list of tasks with C-c a t and then search for
'TODO' with c-s TODO and then repeat C-s until you're on a task with a
keyword of TODO and hit RET then navigation to display the task is
broken.

SPC and RET both return 'org-agenda-error: Command not allowed in this
line'

Searching for other keywords seems to break those but fix the tasks
for the previous match.

WORKAROUND: Hit 'g' in the agenda to redisplay and everything is
   magically fixed.

-Bernt

Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.30trans (release_6.30d.856.ga70c)

current state: (lots of stuff removed)
==
(setq
org-todo-keyword-faces '((TODO :foreground red :weight bold)
  (STARTED :foreground blue :weight bold)
  (DONE :foreground forest green :weight bold)
  (WAITING :foreground orange :weight bold)
  (SOMEDAY :foreground magenta :weight bold)
  (CANCELLED :foreground forest green :weight bold)
  (QUOTE :foreground red :weight bold)
  (QUOTED :foreground magenta :weight bold)
  (APPROVED :foreground forest green :weight bold)
  (EXPIRED :foreground forest green :weight bold)
  (REJECTED :foreground forest green :weight bold)
  (OPEN :foreground blue :weight bold))
org-agenda-custom-commands '((s Started Tasks todo STARTED
   ((org-agenda-todo-ignore-with-date nil)))
  (w Tasks waiting on something tags WAITING/!
   ((org-use-tag-inheritance nil)))
  (r Refile New Notes and Tasks tags 
LEVEL=1+REFILE
   ((org-agenda-todo-ignore-with-date nil)))
  (N Notes tags NOTE nil)
  (n Next tags NEXT-WAITING-CANCELLED/! nil)
			  (p Projects tags-todo LEVEL=2/!-DONE-CANCELLED- 
WAITING nil))
org-todo-state-tags-triggers '((CANCELLED (CANCELLED . t))  
(WAITING (WAITING . t) (NEXT))

(SOMEDAY (WAITING . t)) (done (NEXT) 
(WAITING))
(TODO (WAITING) (CANCELLED))
(STARTED (WAITING) (NEXT . t)))
org-todo-keywords '((sequence TODO(t!) STARTED(s!) |  
DONE(d!/!))
		 (sequence WAITING(w@/!) SOMEDAY(S!) OPEN(O@) |  
CANCELLED(c@/!))
		 (sequence QUOTE(q!) QUOTED(Q!) | APPROVED(A@)  
EXPIRED(E@)

  REJECTED(R@))
 )
)


___
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: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-18 Thread Jeff Kowalczyk
With Emacs 23.1, org git master, and yasnippet svn trunk, I have the problem
that the TAB key does not expand snippets, but C-i does. I'm using the Org
Manual's recommended configuration to address the conflict, see init.el lines
matching org|yas below:


(load-file ~/.emacs.d/vendor/yasnippet/yasnippet.el)
(yas/initialize)
(yas/load-directory ~/.emacs.d/vendor/yasnippet/snippets)
(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
(setq org-log-done 'time)
(setq org-special-ctrl-k t)
(org-remember-insinuate)
(setq org-directory ~/org/)
(setq org-default-notes-file (concat org-directory /notes.org))
(define-key global-map \C-cr 'org-remember)
(setq org-clock-into-drawer t)
(setq org-clock-clocktable-default-properties '(:maxlevel 2 :scope subtree))
(add-hook 'org-mode-hook
  (lambda ()
  (org-set-local 'yas/trigger-key [tab])
  (define-key yas/keymap [tab] 'yas/next-field-group)))


I normally have ido enabled, but I disabled it with no change in the behavior.
Thanks for any suggestions.

Jeff



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