emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "George Pearson" <george@canals.com>
To: emacs-orgmode@gnu.org
Subject: Re: bug? - can't set effort from agenda
Date: Sun, 24 Oct 2010 15:45:14 -0400	[thread overview]
Message-ID: <4CC4548A.30608.6842FB9@george.canals.com> (raw)
In-Reply-To: <AANLkTi=3=KDKU4uzL=je-P-aA8EQMA_YmWGhw1Exq=fo@mail.gmail.com>

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

  reply	other threads:[~2010-10-24 19:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-24 16:26 bug? - can't set effort from agenda George Pearson
2010-10-24 18:21 ` Noorul Islam
2010-10-24 19:45   ` George Pearson [this message]
2010-10-24 21:27     ` George Pearson
2010-10-25  6:12       ` Carsten Dominik
2010-10-25 14:29         ` George Pearson
2010-10-25 15:45           ` Carsten Dominik
2010-10-26  0:24             ` George Pearson
2010-11-08 18:04               ` George Pearson
2010-11-15  6:59                 ` Carsten Dominik
2010-11-17 15:25                   ` George Pearson
2010-10-25 14:36         ` George Pearson
2010-10-25 15:49         ` George Pearson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC4548A.30608.6842FB9@george.canals.com \
    --to=george@canals.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).