emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: George Pearson
Subject: Re: [Orgmode] bug? - can't set effort from agenda
Date: Sun, 24 Oct 2010 15:45:14 -0400

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 '(("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-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-blocks nil)
                     (comment org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil)
                     (dot org-export-blocks-format-dot nil))
 )
On 24 Oct 2010 at 23:51, Noorul Islam wrote:

> On Sun, Oct 24, 2010 at 9:56 PM, George Pearson <address@hidden> 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.
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]