[O] Bug: recurring mesages - Invalid face reference: nil [nnn times] [8.2.7b (8.2.7b-1-ga5beff-elpa @ c:/home/george/.emacs.d/elpa
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Emacs : GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200) of 2013-03-17 on MARVIN Package: Org-mode version 8.2.7b (8.2.7b-1-ga5beff-elpa @ c:/home/george/.emacs.d/elpa/org-20140630/) current state: == (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-agenda-ndays 1 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-directory /home/george/orgfiles/ org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-files '(~/orgfiles/master.org ~/orgfiles/recurring.org) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-confirm-shell-link-function 'yes-or-no-p ) The message: Invalid face reference: nil [nnn times] where, nnn is replaced by a number, appears frequently in the *Messages* buffer. How I reproduce it: 1. start emacs 2. open any file 3. open a 2nd window or frame for the *Messages* buffer 4. type ctrl-g in the open file's buffer - notice only Quit messages in the *Messages* buffer i.e. the normal effect 5. open master.org 6. create an agenda with ctrl-a a 7. type G into the agenda window (This is just one of several ways to produce the problem.) 8. now type ctrl-g in ANY of the open file's buffers or the agenda window itself and observe the QuitInvalid face reference ... message. What I've tried: - debug-on-error t - nothing happened - debug-on-entry to message function - nothing happened - attached advice to message function, as described at http://www.emacswiki.org/emacs/DebugMessages. That also did nothing - perhaps because the message occurs in a repaint? Observations: - it's interesting that once the effect is triggered in org, then it occurs everywhere - this problem does NOT happen if I switch back to org 7.9.3f. - if I don't use org from ELPA and instead use org 8.2.6 in a site-lisp directory, the problem still happens Any ideas? - George
Re: [Orgmode] bug? - can't set effort from agenda
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
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
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
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
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
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
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
'((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 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 ___ 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] proposal for enhanced org-get-priority function
At Wed, 20 Oct 2010 13:14:39 -0400, I.S. wrote: Priorities of the form [#letter]-number or [#letter]+number are supported with +/-number being optional and modifying the letter priority. The letter priority is multiplied by 10 and then the number priority is added on. Thus a priority string of [#B]+5 is higher than [#B] which is higher than [#B]-2 and all are lower than [#A]. The number sub-priorities allow finer control of sorting in org agendas. This *could* help with what I would like to see. Every day I would like to arrange my agenda tasks for the day in the order that I would like to do them. (Setting fake times-of-day for each is somewhat time consuming; I am now experimenting with an A-Z priority range. The real-world priority of my tasks is basically all the same, so I thought I could commandeer the priority setting to get sequencing.) If easy to set, the sub-priority could be helpful in my sequencing goal. ___ 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] Proposal: delete on DONE
On 24 Oct 2010 at 22:29, Carsten Dominik wrote: You can just press C-k in the agenda to kill a task instead of marking it done. This seems to be more direct than wasting the time to mark them first Doh! (Slaps forhead.) Excellent. Somehow I had never noticed that command. ___ 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
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
Re: [Orgmode] Org-mode version 6.30e; Error in post-command-hook
Thanks! Copied in org-install from 6.30e and that did the trick. So I can now confirm that this post-command-hook error bug is fixed. Maybe the situation with org-install should be in the FAQ somewhere where the use of the development version is discussed. Just a thought. On 28 Sep 2009 at 22:10, Carsten Dominik wrote: On Sep 22, 2009, at 4:49 PM, George Pearson wrote: On 20 Sep 2009, Carsten wrote: I believe this is fixed now. Thank you for your report. I tried to test the fix, but maybe I don't know what I'm doing - tried the zip file corresponding to the fix, and also tried the org-latest.zip file. However both fail when starting emacs because org-install is missing. Advice? Make org-install by running make autoloads or copy it from the latest full release. - Carsten On 20 Sep 2009 at 11:34, George Pearson wrote: org-submit-bug-report output below. I have been getting the following message in the minibuffer area when marking tasks done in the daily agenda: Error in post-command-hook: (error Cannot switch buffers in a dedicated window) The item in the underlying org file IS marked DONE, and items with repeaters appear to be rescheduled properly. HOWEVER, the log lines, like - State DONE from TODO [2009-09-07 Mon 10:36] do NOT appear. Note I have been using: org-agenda-window-setup 'other-frame for some time now, but I notice there has been a recent change related to this variable. Could this be the source of the problem? I believe the error message appears on other operations in the daily agenda as well, but have not yet studied this in detail. -- bug report output --- Emacs : GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Package: Org-mode version 6.30e current state: == (setq org-empty-line-terminates-plain-lists t org-remember-interactive-interface 'outline org-agenda-files '(~/orgfiles/master.org ~/orgfiles/ recurring.org) org-agenda-window-setup 'other-frame org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-todo-ignore-scheduled t org-agenda-skip-scheduled-if-done t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p 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-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] 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-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-reverse-note-order t org-occur-hook '(org-first-headline-recenter) 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-agenda-use-time-grid nil ) ___ 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 ___ 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.30e; Error in post-command-hook
On 20 Sep 2009, Carsten wrote: I believe this is fixed now. Thank you for your report. I tried to test the fix, but maybe I don't know what I'm doing - tried the zip file corresponding to the fix, and also tried the org-latest.zip file. However both fail when starting emacs because org-install is missing. Advice? On 20 Sep 2009 at 11:34, George Pearson wrote: org-submit-bug-report output below. I have been getting the following message in the minibuffer area when marking tasks done in the daily agenda: Error in post-command-hook: (error Cannot switch buffers in a dedicated window) The item in the underlying org file IS marked DONE, and items with repeaters appear to be rescheduled properly. HOWEVER, the log lines, like - State DONE from TODO [2009-09-07 Mon 10:36] do NOT appear. Note I have been using: org-agenda-window-setup 'other-frame for some time now, but I notice there has been a recent change related to this variable. Could this be the source of the problem? I believe the error message appears on other operations in the daily agenda as well, but have not yet studied this in detail. -- bug report output --- Emacs : GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Package: Org-mode version 6.30e current state: == (setq org-empty-line-terminates-plain-lists t org-remember-interactive-interface 'outline org-agenda-files '(~/orgfiles/master.org ~/orgfiles/recurring.org) org-agenda-window-setup 'other-frame org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-todo-ignore-scheduled t org-agenda-skip-scheduled-if-done t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p 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-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] 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-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-reverse-note-order t org-occur-hook '(org-first-headline-recenter) 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-agenda-use-time-grid nil ) ___ 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] Org-mode version 6.30e; Error in post-command-hook
org-submit-bug-report output below. I have been getting the following message in the minibuffer area when marking tasks done in the daily agenda: Error in post-command-hook: (error Cannot switch buffers in a dedicated window) The item in the underlying org file IS marked DONE, and items with repeaters appear to be rescheduled properly. HOWEVER, the log lines, like - State DONE from TODO [2009-09-07 Mon 10:36] do NOT appear. Note I have been using: org-agenda-window-setup 'other-frame for some time now, but I notice there has been a recent change related to this variable. Could this be the source of the problem? I believe the error message appears on other operations in the daily agenda as well, but have not yet studied this in detail. -- bug report output --- Emacs : GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Package: Org-mode version 6.30e current state: == (setq org-empty-line-terminates-plain-lists t org-remember-interactive-interface 'outline org-agenda-files '(~/orgfiles/master.org ~/orgfiles/recurring.org) org-agenda-window-setup 'other-frame org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-todo-ignore-scheduled t org-agenda-skip-scheduled-if-done t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p 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-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] 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-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-reverse-note-order t org-occur-hook '(org-first-headline-recenter) 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-agenda-use-time-grid nil ) ___ 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
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] column view bug
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
[Orgmode] column view bug
Running org 6.30e and emacs 22.3.1. Running under fully updated Windows XP. Summary: in column view of a weekly agenda, the rows showing the days in the week are positioned differently depending on whether or not there is any item for the day. For a test file (see below), this is what I see in column view for the weekly agenda. (You'll need a fixed-width font to view it properly). CATE | ITEM| E | P | A | Week-agenda (W37-W38): Sunday 13 September 2009 Monday 14 September 2009 W38 | Tuesday15 September 2009| . | | | Test | TODO task 1 | | | | Wednesday 16 September 2009 | Thursday 17 September 2009| . | | | Test | TODO task 2 | | | | Friday 18 September 2009 Saturday 19 September 2009 Note the alignment difference between Tuesday and Thursday and the other dates. Note also I am including the CATEGORY in the display, via: (org-columns-default-format %CATEGORY %35ITEM %Effort{:} %PRIORITY %ALLTAGS) The problem is *NOT* VISIBLE if the %CATEGORY is removed, so one MUST include it to view the problem. This is probably not a issue with a normal agenda, in which there are tasks to do every day. I actually discovered this problem using a custom view, intended to show only appointments for the week. But the test file shows that the problem can be seen even without a custom agenda. By the way, I couldn't show it in this posting, but the Tuesday and Thursday lines, along with their TODO items, have a light grey background, whereas everything else has a white background. This shading problem is odd in appearance, and it happens WHETHER OR NOT %CATEGORY is use, and so would be a separate, but related, fix. Here's the test .org file I used: #+STARTUP: odd #+STARTUP: hidestars #+STARTUP: logdone #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@) #+CATEGORY: Test * Test *** TODO task 1 SCHEDULED: 2009-09-15 Tue *** TODO task 2 SCHEDULED: 2009-09-17 Thu === To display the result shown at the top of this message, I open the test.org file in emacs, then type: C-a a Then in the resulting agenda window, switch to weekly if not already, and get column mode with C-c C-x C-c ___ 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] date rows in weekly agenda column mode
Thanks, Carsten - works great! Now it's MUCH easier to see what I'm doing when moving tasks around in weekly agenga column view. On 17 Nov 2008 at 17:50, Carsten Dominik wrote: Hi George, you can now customize the face `org-agenda-column-dateline' to your liking. HTH. - Carsten On Nov 14, 2008, at 4:55 AM, George Pearson wrote: Tried to get the white background on these rows by changing the code myself. Managed to get the white background, BUT the effort total has vanished from the row, and so I could use some advice. Here's what I did: in the function org-agenda-colview-summarize, found in org-colview.el, I replaced these two lines: (put-text-property 0 (length lsum) 'face 'bold lsum) with these two: (add-text-properties 0 (length lsum) 'face '(:background white) lsum) Where did I go wrong? On 17 Oct 2008 at 15:47, Carsten Dominik wrote: Hi George, in my Emacs, these lines have a white background and are therefore easily distinguished. These lines use org-agenda-date and org- agenda- date-weekend as their faces, respectively. Ah, I guess you mean when you are computing summaries in the agenda column view? No, I don't think there is a way to change that. Maybe there should be, I am putting it on my list. - Carsten On Oct 16, 2008, at 11:59 PM, George Pearson wrote: In column view for the weekly agenda, the rows containing the dates for the upcoming week (e.g. Friday 17 October 2008) have the same light grey background as the rows containing the TODO items. Is there a way to set a different background (like, say, white) for these date rows? This would make the date separations more obvious in this display. I have been poking around in org-faces.el but could not figure out if anything controlled this background in particular. ___ 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 ___ 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] date rows in weekly agenda column mode
Tried to get the white background on these rows by changing the code myself. Managed to get the white background, BUT the effort total has vanished from the row, and so I could use some advice. Here's what I did: in the function org-agenda-colview-summarize, found in org-colview.el, I replaced these two lines: (put-text-property 0 (length lsum) 'face 'bold lsum) with these two: (add-text-properties 0 (length lsum) 'face '(:background white) lsum) Where did I go wrong? On 17 Oct 2008 at 15:47, Carsten Dominik wrote: Hi George, in my Emacs, these lines have a white background and are therefore easily distinguished. These lines use org-agenda-date and org-agenda- date-weekend as their faces, respectively. Ah, I guess you mean when you are computing summaries in the agenda column view? No, I don't think there is a way to change that. Maybe there should be, I am putting it on my list. - Carsten On Oct 16, 2008, at 11:59 PM, George Pearson wrote: In column view for the weekly agenda, the rows containing the dates for the upcoming week (e.g. Friday 17 October 2008) have the same light grey background as the rows containing the TODO items. Is there a way to set a different background (like, say, white) for these date rows? This would make the date separations more obvious in this display. I have been poking around in org-faces.el but could not figure out if anything controlled this background in particular. ___ 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] date rows in weekly agenda column mode
In column view for the weekly agenda, the rows containing the dates for the upcoming week (e.g. Friday 17 October 2008) have the same light grey background as the rows containing the TODO items. Is there a way to set a different background (like, say, white) for these date rows? This would make the date separations more obvious in this display. I have been poking around in org-faces.el but could not figure out if anything controlled this background in particular. ___ 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] filtering the weekly agenda
On 15 Oct 2008 at 9:52, Manish wrote: Since you already have efforts defined for your tasks, you could consider adding a block to your agenda for tasks that have Effortx where x is the effort threshold. That could be another filtering option, like those I listed, but some of my project tasks are short so those would be problematic. My impression of the block agenda is that it creates its own display, rather than allowing one to create a filtered weekly agenda. Have I got this wrong? By the way, in the org mode manual, under Custom agenda views, we have a section entitled 10.3.3 Matching tags and properties. However that section only describes matching tags, NOT properties. ___ 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] filtering the weekly agenda
OK, I now have a way to do this. I searched this list again with different search terms and found a posting that I had not seen before. This gave me the idea of using a second org file, into which I would put my recurring tasks. I've now done this, and after customizing org-global-properties (for effort) and org-columns-default-format (to show effort), all seems to be working as I wanted. (I had previously used in-file definitions of these, but that did not work across two org files.) ___ 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] filtering the weekly agenda
I have been using org mode to great effect for a couple of months now but there is one thing I have not been able to figure out how to do - filtering what is shown in the weekly agenda. Naturally, when I'm DOING the tasks, I need to see everything scheduled for the day. My problem is when I am SCHEDULING tasks for the week. The weekly agenda shows me way more than I need to see when scheduling. My specific problem arises because every day I have a whole bunch of recurring tasks, each typically 10-20 minutes of effort. After these, I generally have four hours per day available for tasks related to my big projects. Unfortunately, the recurring tasks all appear in the weekly agenda, making it a nuisance to find the days which are still available for scheduling the big project tasks. But I have not been able to figure out how to suppress the recurring task clutter in the weekly agenda view. I can see several possible approaches to filtering out the recurring tasks (if such filtering is even possible in the weekly agenda): 1. somehow use the fact that the task has a repeater 2. use the category - right now the tasks are all in a Recurring category 3. mark each with a recurring tag and use that 4. put the recurring in a different org file (I currently use just one org file) By the way - when scheduling, I use a view of my org file in one emacs frame and the weekly agenda (in column view, so I can see the efforts) in a second frame. Any advice appreciated! ___ 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