Re: [Orgmode] bug? - can't set effort from agenda

2010-11-17 Thread George Pearson
On 15 Nov 2010 at 7:59, Carsten Dominik wrote:

 Dear George,
 
 unfortunately I am not able to reproduce this issue.
 
 Sorry about this.

Thanks for trying!  Maybe I (or someone) will find a less-fiddly way to 
reproduce these problems in the future.  Meanwhile, I've been setting 
priorities and efforts in column mode to avoid the intermittent 
problems.  

Many thanks for all your efforts with org-mode.  It is a great
accomplishment, and a tremendously valuable tool.

 On Nov 8, 2010, at 7:04 PM, George Pearson wrote:
 
  Have these problems setting effort and priority in the agenda been
  forgotten?  There's been no reply in two weeks, and these problems
  are not listed under Open Issues ... in Worg.
 
  On 25 Oct 2010 at 20:24, George Pearson wrote:
 
  On 25 Oct 2010 at 17:45, Carsten Dominik wrote:
 
 
 
  However, what we still need is this:
 
  Make your file as small as possible so that it still repeats the  
  bug.
 
  snip
 
  Then: how do you construct the agenda view?  Is it the daily agenda,
  or a TODO list.  What does it look like?  In which line is the  
  cursor
  when you press e?  Is that line linking to the first task in your
  org file, or the last?
 
  OK, here is master.org and recurring.org.:
 
    master.org ---
  #+STARTUP: odd
  #+STARTUP: hidestars
  #+STARTUP: logdone
  #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
  #+TAGS: Rock(r) Frog(f) Schedule(s) Important(i) Urgent(u) Week(w)  
  Soon(o)
 
  * Org mode for emacs
   :PROPERTIES:
   :CATEGORY: Org mode
   :Effort:   1:30
   :END:
  *** TODO [#E] reproduce org mode effort bug
 SCHEDULED: 2010-10-25 Mon
 :PROPERTIES:
 :Effort:   0:10
 :END:
 [2010-10-25 Mon]
  *** TODO how to get list of all tags?
 SCHEDULED: 2010-10-25 Mon
 :PROPERTIES:
 :Effort:   0:10
 :END:
  *** TODO mark a task done-yesterday
 SCHEDULED: 2010-10-25 Mon
 :PROPERTIES:
 :Effort:   0:10
 :END:
  --   recurring.org   
  --
  #+STARTUP: odd
  #+STARTUP: hidestars
  #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
  #+TAGS: Rock(r) Frog(f)
 
  * TODO Recurring
   :PROPERTIES:
   :CATEGORY: Recurring
   :END:
  *** TODO krebs security blog
 SCHEDULED: 2010-10-25 Mon +1d
 :PROPERTIES:
 :Effort:   0:10
 :END:
  *** TODO read local paper
 SCHEDULED: 2010-10-25 Mon ++1d
 :PROPERTIES:
 :Effort:   0:10
 :END:
  *** TODO booktv check
 SCHEDULED: 2010-10-25 Mon +1w
 :PROPERTIES:
 :Effort:   1:30
 :END:
  ---
 
  Construct the agenda view by typing C-c a a while in buffer  
  master.org.
  Then in the agenda, type d for daily.
 
  In the agenda, use the up/down arrow keys to move the highlight to  
  the
  task of interest, and press e, then use a digit to select the effort.
 
  This example has made one thing clear to me - when I thought that
  setting the effort was not working, it was actually CHANGING THE  
  EFFORT
  FOR A DIFFERENT TASK.  The problem is usually observable when setting
  the effort in the last three tasks in the agenda, the ones from
  the recurring.org file, though sometimes (I think) those have worked
  correctly.  The effort change for these last three tasks, when wrong,
  will always be to one of the other tasks in recurring.org.
 
  I hope this is sufficient.
 
  An oddity in this example is that typing e also opens a second window
  in the frame (like when spacebar is typed).  Don't recall having seen
  this happen before.
 
  The priority setting problem is also observable, but one time only!  
  On
  my first priority setting attempt with these files, I typed the comma
  while the first item in recurring was highlighted and got the:
 
  org-agenda-priority: Wrong type argument: integer-or-marker-p, nil
 
  All further attempts worked properly.  Strange.
 
  ___
  Emacs-orgmode mailing list
  Please 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
  Please 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
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] bug? - can't set effort from agenda

2010-11-15 Thread Carsten Dominik

Dear George,

unfortunately I am not able to reproduce this issue.

Sorry about this.

- Carsten

On Nov 8, 2010, at 7:04 PM, George Pearson wrote:


Have these problems setting effort and priority in the agenda been
forgotten?  There's been no reply in two weeks, and these problems
are not listed under Open Issues ... in Worg.

On 25 Oct 2010 at 20:24, George Pearson wrote:


On 25 Oct 2010 at 17:45, Carsten Dominik wrote:




However, what we still need is this:

Make your file as small as possible so that it still repeats the  
bug.


snip

Then: how do you construct the agenda view?  Is it the daily agenda,
or a TODO list.  What does it look like?  In which line is the  
cursor

when you press e?  Is that line linking to the first task in your
org file, or the last?


OK, here is master.org and recurring.org.:

  master.org ---
#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS: Rock(r) Frog(f) Schedule(s) Important(i) Urgent(u) Week(w)  
Soon(o)


* Org mode for emacs
 :PROPERTIES:
 :CATEGORY: Org mode
 :Effort:   1:30
 :END:
*** TODO [#E] reproduce org mode effort bug
   SCHEDULED: 2010-10-25 Mon
   :PROPERTIES:
   :Effort:   0:10
   :END:
   [2010-10-25 Mon]
*** TODO how to get list of all tags?
   SCHEDULED: 2010-10-25 Mon
   :PROPERTIES:
   :Effort:   0:10
   :END:
*** TODO mark a task done-yesterday
   SCHEDULED: 2010-10-25 Mon
   :PROPERTIES:
   :Effort:   0:10
   :END:
--   recurring.org   
--

#+STARTUP: odd
#+STARTUP: hidestars
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS: Rock(r) Frog(f)

* TODO Recurring
 :PROPERTIES:
 :CATEGORY: Recurring
 :END:
*** TODO krebs security blog
   SCHEDULED: 2010-10-25 Mon +1d
   :PROPERTIES:
   :Effort:   0:10
   :END:
*** TODO read local paper
   SCHEDULED: 2010-10-25 Mon ++1d
   :PROPERTIES:
   :Effort:   0:10
   :END:
*** TODO booktv check
   SCHEDULED: 2010-10-25 Mon +1w
   :PROPERTIES:
   :Effort:   1:30
   :END:
---

Construct the agenda view by typing C-c a a while in buffer  
master.org.

Then in the agenda, type d for daily.

In the agenda, use the up/down arrow keys to move the highlight to  
the

task of interest, and press e, then use a digit to select the effort.

This example has made one thing clear to me - when I thought that
setting the effort was not working, it was actually CHANGING THE  
EFFORT

FOR A DIFFERENT TASK.  The problem is usually observable when setting
the effort in the last three tasks in the agenda, the ones from
the recurring.org file, though sometimes (I think) those have worked
correctly.  The effort change for these last three tasks, when wrong,
will always be to one of the other tasks in recurring.org.

I hope this is sufficient.

An oddity in this example is that typing e also opens a second window
in the frame (like when spacebar is typed).  Don't recall having seen
this happen before.

The priority setting problem is also observable, but one time only!  
On

my first priority setting attempt with these files, I typed the comma
while the first item in recurring was highlighted and got the:

org-agenda-priority: Wrong type argument: integer-or-marker-p, nil

All further attempts worked properly.  Strange.

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


Re: [Orgmode] bug? - can't set effort from agenda

2010-11-08 Thread George Pearson
Have these problems setting effort and priority in the agenda been
forgotten?  There's been no reply in two weeks, and these problems
are not listed under Open Issues ... in Worg.

On 25 Oct 2010 at 20:24, George Pearson wrote:

 On 25 Oct 2010 at 17:45, Carsten Dominik wrote:
 
  
  
  However, what we still need is this:
  
  Make your file as small as possible so that it still repeats the bug.
  
 snip
  
  Then: how do you construct the agenda view?  Is it the daily agenda,  
  or a TODO list.  What does it look like?  In which line is the cursor  
  when you press e?  Is that line linking to the first task in your  
  org file, or the last?
 
 OK, here is master.org and recurring.org.:
 
   master.org ---
 #+STARTUP: odd
 #+STARTUP: hidestars
 #+STARTUP: logdone
 #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
 #+TAGS: Rock(r) Frog(f) Schedule(s) Important(i) Urgent(u) Week(w) Soon(o)
 
 * Org mode for emacs
   :PROPERTIES:
   :CATEGORY: Org mode
   :Effort:   1:30
   :END:
 *** TODO [#E] reproduce org mode effort bug
 SCHEDULED: 2010-10-25 Mon
 :PROPERTIES:
 :Effort:   0:10
 :END:
 [2010-10-25 Mon]
 *** TODO how to get list of all tags?
 SCHEDULED: 2010-10-25 Mon
 :PROPERTIES:
 :Effort:   0:10
 :END:
 *** TODO mark a task done-yesterday
 SCHEDULED: 2010-10-25 Mon
 :PROPERTIES:
 :Effort:   0:10
 :END:
 --   recurring.org  --
 #+STARTUP: odd
 #+STARTUP: hidestars
 #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
 #+TAGS: Rock(r) Frog(f)
 
 * TODO Recurring
   :PROPERTIES:
   :CATEGORY: Recurring
   :END:
 *** TODO krebs security blog
 SCHEDULED: 2010-10-25 Mon +1d
 :PROPERTIES:
 :Effort:   0:10
 :END:
 *** TODO read local paper
 SCHEDULED: 2010-10-25 Mon ++1d
 :PROPERTIES:
 :Effort:   0:10
 :END:
 *** TODO booktv check
 SCHEDULED: 2010-10-25 Mon +1w
 :PROPERTIES:
 :Effort:   1:30
 :END:
 ---   
 
 Construct the agenda view by typing C-c a a while in buffer master.org.
 Then in the agenda, type d for daily.
 
 In the agenda, use the up/down arrow keys to move the highlight to the
 task of interest, and press e, then use a digit to select the effort.
 
 This example has made one thing clear to me - when I thought that 
 setting the effort was not working, it was actually CHANGING THE EFFORT
 FOR A DIFFERENT TASK.  The problem is usually observable when setting
 the effort in the last three tasks in the agenda, the ones from
 the recurring.org file, though sometimes (I think) those have worked
 correctly.  The effort change for these last three tasks, when wrong,
 will always be to one of the other tasks in recurring.org.
 
 I hope this is sufficient.
 
 An oddity in this example is that typing e also opens a second window 
 in the frame (like when spacebar is typed).  Don't recall having seen
 this happen before.
 
 The priority setting problem is also observable, but one time only! On 
 my first priority setting attempt with these files, I typed the comma 
 while the first item in recurring was highlighted and got the:  
 
 org-agenda-priority: Wrong type argument: integer-or-marker-p, nil
 
 All further attempts worked properly.  Strange.
 
 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] bug? - can't set effort from agenda

2010-10-25 Thread Carsten Dominik

Hi George,

why do you keep us guessing about your setup and file.  Post
your setup and an example file (as minimal as possible).
You really do not give us *anything* to hook on to.

- Carsten

On Oct 24, 2010, at 11:27 PM, George Pearson wrote:


On 24 Oct 2010 at 15:45, George Pearson wrote:


The problem has now changed though, since I added this line to my two
org files:

#+PRIORITIES: A Z Z

Now when I type e on a task in the agenda, and hit a number key to
set the effort, I get the following:

byte-code: Before first headline at position 223 in buffer  
master.org.


Position 223 is the 1st character of the line following the  
priorities

line.  I have also seen position 203, which is the first character of
the priorities line itself.  Unfortunately, it would be a bit time-
consuming for me to remove the priorities line, as I now have a
number of tasks outside of the usual A-C range that would need to be
adjusted first.  Can do it if necessary though.


I have removed the #+PRIORITIES line and replaced it with customized
settings (i.e. in .emacs).  Same problem setting effort in the agenda
though:

byte-code: Before first headline at position 203 in buffer master.org

Position 203 is now the beginning of the blank line after my other #+
lines and before the first headline.  Here are the lines preceding
position 203:

#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS:   [redacted]


Ideas?

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


Re: [Orgmode] bug? - can't set effort from agenda

2010-10-25 Thread George Pearson
On 25 Oct 2010 at 8:12, Carsten Dominik wrote:

 Hi George,
 
 why do you keep us guessing about your setup and file.  Post
 your setup and an example file (as minimal as possible).
 You really do not give us *anything* to hook on to.

What else is needed?  My second post contained the output of 
org-submit-bug-report and, in the section you quoted below, are
the first lines of master.org (the file referred to in the error)
up until the first headline.

 On Oct 24, 2010, at 11:27 PM, George Pearson wrote:
 
  On 24 Oct 2010 at 15:45, George Pearson wrote:
 
  The problem has now changed though, since I added this line to my two
  org files:
 
  #+PRIORITIES: A Z Z
 
  Now when I type e on a task in the agenda, and hit a number key to
  set the effort, I get the following:
 
  byte-code: Before first headline at position 223 in buffer  
  master.org.
 
  Position 223 is the 1st character of the line following the  
  priorities
  line.  I have also seen position 203, which is the first character of
  the priorities line itself.  Unfortunately, it would be a bit time-
  consuming for me to remove the priorities line, as I now have a
  number of tasks outside of the usual A-C range that would need to be
  adjusted first.  Can do it if necessary though.
 
  I have removed the #+PRIORITIES line and replaced it with customized
  settings (i.e. in .emacs).  Same problem setting effort in the agenda
  though:
 
  byte-code: Before first headline at position 203 in buffer master.org
 
  Position 203 is now the beginning of the blank line after my other #+
  lines and before the first headline.  Here are the lines preceding
  position 203:
 
  #+STARTUP: odd
  #+STARTUP: hidestars
  #+STARTUP: logdone
  #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
  #+TAGS:   [redacted]
 
 
  Ideas?
 
  ___
  Emacs-orgmode mailing list
  Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] bug? - can't set effort from agenda

2010-10-25 Thread George Pearson
Here's a new copy from org-submit-bug-report.  It is slightly different
from before, as I changed to customizied low and default priority 
settings since the earlier post.


Emacs  : GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)
 of 2010-05-08 on G41R2F1
Package: Org-mode version 7.01h

current state:
==
(setq
 org-empty-line-terminates-plain-lists t
 org-remember-interactive-interface 'outline
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-
vars)
 org-default-priority 90
 org-agenda-custom-commands '((i Do promptly tags-todo
   Week|Schedule|Important
   ((org-agenda-skip-function
 (quote
  (org-agenda-skip-entry-if (quote scheduled)
   (quote deadline))
  )
 )
)
   )
  (c Weekly schedule
   ((agenda  ((org-agenda-ndays 1)))
(agenda 
 ((org-agenda-ndays 7)
  (org-agenda-repeating-timestamp-show-all t)
  (org-agenda-skip-function
   (quote
(org-agenda-skip-entry-if (quote deadline)
 (quote scheduled))
)
   )
  )
 )
)
   ((org-agenda-compact-blocks t)))
  )
 org-agenda-files '(~/orgfiles/master.org ~/orgfiles/recurring.org)
 org-agenda-window-setup 'other-frame
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-capture-templates '((t Todo entry
  (file+headline /home/george/orgfiles/master.org )
  * TODO %?\n  %u\n :prepend t)
 )
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-todo-ignore-scheduled t
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-
default
 org-agenda-skip-scheduled-if-done t
 org-log-redeadline 'time
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe
  org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-use-tag-inheritance nil
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file /home/george/orgfiles/master.org
 org-directory /home/george/orgfiles/
 org-log-reschedule 'time
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-
drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-
link-modifiers)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 #[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook
org-babel-show-result-all append local]
   5]
 org-babel-result-hide-spec org-babel-hide-all-hashes
 turn-on-font-lock)
 org-agenda-ndays 1
 org-global-properties '((Effort_ALL .
  0 0:05 0:10 0:15 0:20 0:30 0:45 1:00 1:30 2:00)
 )
 org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-
point
  org-babel-execute-src-block-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-mode-hook '((lambda nil (hl-line-mode 1)))
 org-agenda-start-on-weekday nil
 org-export-interblocks '((lob org-babel-exp-lob-one-liners)
  (src org-babel-exp-inline-src-blocks))
 org-reverse-note-order t
 org-occur-hook '(org-first-headline-recenter)
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-
select-beamer-code)
 org-agenda-todo-ignore-deadlines t
 org-columns-default-format %CATEGORY %35ITEM %Effort{:} %PRIORITY 
%ALLTAGS
 org-remember-templates '((Todo 116 * TODO %?\n  %u\n nil nil nil))
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-
toc
   org-beamer-auto-fragile-frames
   org-beamer-place-default-actions-for-lists)
 org-lowest-priority 90
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-blocks nil)
   

Re: [Orgmode] bug? - can't set effort from agenda

2010-10-25 Thread George Pearson
Another wrinkle on this, related to the priority change (A-Z).  If
I try to set the priority in the agenda by typing a comma, and then
entering the (capital) priority letter at the prompt

Priority A-Z, SPC to remove: 

then I get:

org-agenda-priority: Wrong type argument: integer-or-marker-p, nil

HOWEVER, repeating the comma entry and priority entry again is 
successful.

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


Re: [Orgmode] bug? - can't set effort from agenda

2010-10-25 Thread Carsten Dominik


On Oct 25, 2010, at 4:29 PM, George Pearson wrote:


On 25 Oct 2010 at 8:12, Carsten Dominik wrote:


Hi George,

why do you keep us guessing about your setup and file.  Post
your setup and an example file (as minimal as possible).
You really do not give us *anything* to hook on to.


I was really too harsh here, my apologies.

However, what we still need is this:

Make your file as small as possible so that it still repeats the bug.

So like


#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS:   [redacted]

* TODO some task
* something with a date
 2010-10-10 Thu


etc etc.

Then: how do you construct the agenda view?  Is it the daily agenda,  
or a TODO list.  What does it look like?  In which line is the cursor  
when you press e?  Is that line linking to the first task in your  
org file, or the last?


If I can reproduce a bug, I can fix it (well almost always...).

- Carsten





What else is needed?  My second post contained the output of
org-submit-bug-report and, in the section you quoted below, are
the first lines of master.org (the file referred to in the error)
up until the first headline.


On Oct 24, 2010, at 11:27 PM, George Pearson wrote:


On 24 Oct 2010 at 15:45, George Pearson wrote:

The problem has now changed though, since I added this line to my  
two

org files:

#+PRIORITIES: A Z Z

Now when I type e on a task in the agenda, and hit a number key  
to

set the effort, I get the following:

byte-code: Before first headline at position 223 in buffer
master.org.

Position 223 is the 1st character of the line following the
priorities
line.  I have also seen position 203, which is the first  
character of
the priorities line itself.  Unfortunately, it would be a bit  
time-

consuming for me to remove the priorities line, as I now have a
number of tasks outside of the usual A-C range that would need to  
be

adjusted first.  Can do it if necessary though.


I have removed the #+PRIORITIES line and replaced it with  
customized
settings (i.e. in .emacs).  Same problem setting effort in the  
agenda

though:

byte-code: Before first headline at position 203 in buffer  
master.org


Position 203 is now the beginning of the blank line after my other  
#+

lines and before the first headline.  Here are the lines preceding
position 203:

#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS:   [redacted]


Ideas?

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


Re: [Orgmode] bug? - can't set effort from agenda

2010-10-25 Thread George Pearson
On 25 Oct 2010 at 17:45, Carsten Dominik wrote:

 
 
 However, what we still need is this:
 
 Make your file as small as possible so that it still repeats the bug.
 
snip
 
 Then: how do you construct the agenda view?  Is it the daily agenda,  
 or a TODO list.  What does it look like?  In which line is the cursor  
 when you press e?  Is that line linking to the first task in your  
 org file, or the last?

OK, here is master.org and recurring.org.:

  master.org ---
#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS: Rock(r) Frog(f) Schedule(s) Important(i) Urgent(u) Week(w) Soon(o)

* Org mode for emacs
  :PROPERTIES:
  :CATEGORY: Org mode
  :Effort:   1:30
  :END:
*** TODO [#E] reproduce org mode effort bug
SCHEDULED: 2010-10-25 Mon
:PROPERTIES:
:Effort:   0:10
:END:
[2010-10-25 Mon]
*** TODO how to get list of all tags?
SCHEDULED: 2010-10-25 Mon
:PROPERTIES:
:Effort:   0:10
:END:
*** TODO mark a task done-yesterday
SCHEDULED: 2010-10-25 Mon
:PROPERTIES:
:Effort:   0:10
:END:
--   recurring.org  --
#+STARTUP: odd
#+STARTUP: hidestars
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS: Rock(r) Frog(f)

* TODO Recurring
  :PROPERTIES:
  :CATEGORY: Recurring
  :END:
*** TODO krebs security blog
SCHEDULED: 2010-10-25 Mon +1d
:PROPERTIES:
:Effort:   0:10
:END:
*** TODO read local paper
SCHEDULED: 2010-10-25 Mon ++1d
:PROPERTIES:
:Effort:   0:10
:END:
*** TODO booktv check
SCHEDULED: 2010-10-25 Mon +1w
:PROPERTIES:
:Effort:   1:30
:END:
---   

Construct the agenda view by typing C-c a a while in buffer master.org.
Then in the agenda, type d for daily.

In the agenda, use the up/down arrow keys to move the highlight to the
task of interest, and press e, then use a digit to select the effort.

This example has made one thing clear to me - when I thought that 
setting the effort was not working, it was actually CHANGING THE EFFORT
FOR A DIFFERENT TASK.  The problem is usually observable when setting
the effort in the last three tasks in the agenda, the ones from
the recurring.org file, though sometimes (I think) those have worked
correctly.  The effort change for these last three tasks, when wrong,
will always be to one of the other tasks in recurring.org.

I hope this is sufficient.

An oddity in this example is that typing e also opens a second window 
in the frame (like when spacebar is typed).  Don't recall having seen
this happen before.

The priority setting problem is also observable, but one time only! On 
my first priority setting attempt with these files, I typed the comma 
while the first item in recurring was highlighted and got the:  

org-agenda-priority: Wrong type argument: integer-or-marker-p, nil

All further attempts worked properly.  Strange.

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


[Orgmode] bug? - can't set effort from agenda

2010-10-24 Thread George Pearson
Running org 7.01h and emacs 23.2.1 on windows XP.

Typing e on a task in the daily agenda goes through the steps of
setting the effort, but the change is NOT made in the original org
buffer.  This fails whether or not an effort had already been set
for the task.

Using C-c C-x e in the original org buffer DOES work.

Not sure when this started, as I haven't played with efforts for
some months now.


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


Re: [Orgmode] bug? - can't set effort from agenda

2010-10-24 Thread Noorul Islam
On Sun, Oct 24, 2010 at 9:56 PM, George Pearson geo...@canals.com wrote:
 Running org 7.01h and emacs 23.2.1 on windows XP.

 Typing e on a task in the daily agenda goes through the steps of
 setting the effort, but the change is NOT made in the original org
 buffer.  This fails whether or not an effort had already been set
 for the task.

 Using C-c C-x e in the original org buffer DOES work.

 Not sure when this started, as I haven't played with efforts for
 some months now.


For me this works. In Agenda Buffer I typed 'e' and then entered
select 2:00 hours and the original task entry got the following lines
added.

  :PROPERTIES:
  :Effort:   2:00
  :END:

I have

Org-mode version 7.01trans (release_7.01h.841.gd5360)
GNU Emacs 23.2.2 (i686-pc-linux-gnu)
 of 2010-06-08 on sajida

Thanks and Regards
Noorul

Thanks and Regards
Noorul



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


Re: [Orgmode] bug? - can't set effort from agenda

2010-10-24 Thread George Pearson
Since Noorul can set the effort in the agenda, must be something to do
with me.  (Far) below is the output of org-submit-bug-report.

The problem has now changed though, since I added this line to my two
org files:

#+PRIORITIES: A Z Z

Now when I type e on a task in the agenda, and hit a number key to
set the effort, I get the following:

byte-code: Before first headline at position 223 in buffer master.org.

Position 223 is the 1st character of the line following the priorities
line.  I have also seen position 203, which is the first character of
the priorities line itself.  Unfortunately, it would be a bit time-
consuming for me to remove the priorities line, as I now have a
number of tasks outside of the usual A-C range that would need to be
adjusted first.  Can do it if necessary though.


Emacs  : GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)
 of 2010-05-08 on G41R2F1
Package: Org-mode version 7.01h

current state:
==
(setq
 org-empty-line-terminates-plain-lists t
 org-remember-interactive-interface 'outline
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-agenda-custom-commands '((i Do promptly tags-todo
   Week|Schedule|Important
   ((org-agenda-skip-function
 (quote
  (org-agenda-skip-entry-if (quote scheduled)
   (quote deadline))
  )
 )
)
   )
  (c Weekly schedule
   ((agenda  ((org-agenda-ndays 1)))
(agenda 
 ((org-agenda-ndays 7)
  (org-agenda-repeating-timestamp-show-all t)
  (org-agenda-skip-function
   (quote
(org-agenda-skip-entry-if (quote deadline)
 (quote scheduled))
)
   )
  )
 )
)
   ((org-agenda-compact-blocks t)))
  )
 org-agenda-files '(~/orgfiles/master.org ~/orgfiles/recurring.org)
 org-agenda-window-setup 'other-frame
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-todo-ignore-scheduled t
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-agenda-skip-scheduled-if-done t
 org-log-redeadline 'time
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe
  org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-use-tag-inheritance nil
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file /home/george/orgfiles/master.org
 org-directory /home/george/orgfiles/
 org-log-reschedule 'time
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook 
'(org-remove-file-link-modifiers)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 #[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook
org-babel-show-result-all append local]
   5]
 org-babel-result-hide-spec org-babel-hide-all-hashes
 turn-on-font-lock)
 org-agenda-ndays 1
 org-global-properties '((Effort_ALL .
  0 0:05 0:10 0:15 0:20 0:30 0:45 1:00 1:30 2:00)
 )
 org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-point
  org-babel-execute-src-block-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-mode-hook '((lambda nil (hl-line-mode 1)))
 org-agenda-start-on-weekday nil
 org-export-interblocks '((lob org-babel-exp-lob-one-liners)
  (src org-babel-exp-inline-src-blocks))
 org-reverse-note-order t
 org-occur-hook '(org-first-headline-recenter)
 org-export-preprocess-before-selecting-backend-code-hook 
'(org-beamer-select-beamer-code)
 org-agenda-todo-ignore-deadlines t
 org-columns-default-format %CATEGORY %35ITEM %Effort{:} %PRIORITY %ALLTAGS
 org-remember-templates 

Re: [Orgmode] bug? - can't set effort from agenda

2010-10-24 Thread George Pearson
On 24 Oct 2010 at 15:45, George Pearson wrote:

 The problem has now changed though, since I added this line to my two 
 org files:  
 
 #+PRIORITIES: A Z Z
 
 Now when I type e on a task in the agenda, and hit a number key to
 set the effort, I get the following:
 
 byte-code: Before first headline at position 223 in buffer master.org.
 
 Position 223 is the 1st character of the line following the priorities
 line.  I have also seen position 203, which is the first character of
 the priorities line itself.  Unfortunately, it would be a bit time-
 consuming for me to remove the priorities line, as I now have a
 number of tasks outside of the usual A-C range that would need to be
 adjusted first.  Can do it if necessary though.

I have removed the #+PRIORITIES line and replaced it with customized
settings (i.e. in .emacs).  Same problem setting effort in the agenda
though:

byte-code: Before first headline at position 203 in buffer master.org

Position 203 is now the beginning of the blank line after my other #+ 
lines and before the first headline.  Here are the lines preceding
position 203:

#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+TAGS:   [redacted]


Ideas?

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