[Orgmode] Re: Bug: org-install must precede customization [7.02trans]
At Sat, 13 Nov 2010 11:25:25 +0530, Anupam Sengupta wrote: > > >>>>> David Abrahams writes: > > > Is it merely the autoload of org-capture-templates, or is this a > > general rule for everything in org-install? I think I'm perfectly > > happy to work with the dependency in place as long as it's > > documented. For most people it wouldn't be an issue since > > custom-* puts its custom-set-variables call at the end of the > > file. I think you need to be using something like initsplit to > > see the problem. > > The problem also comes up when a separate file is used for storing > the `custom-set-variables', i.e., something like: > > (setq custom-file "~/emacs-custom.el") > (load custom-file) > > Because of the autoload, these statements now need to be at the very > end of the init.el file. Not a big problem, but still something > that needs to be known (and was not required prior to 7.02). Yes, that --- in part --- is how I noticed this problem. -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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: org-install must precede customization [7.02trans]
At Fri, 12 Nov 2010 23:50:35 -0600, Carsten Dominik wrote: > > Hi David, > > On Nov 12, 2010, at 11:01 PM, David Abrahams wrote: > > > > > Hi Carsten, > > > > I'm sorry to belabor this, but I'm a little confused about what you're > > saying. > > that is because I just talked garbage. I don't think you are giving yourself enough credit. > Let me try a cleaner version. > > If I put an autoload cookie in front of a defun, a stub for this > function will be created in the autoloads file (for Org this is org- > install.el). When this file gets loaded and the corresponding form > evaluated, Emacs knows about this function and it will load the > corresponding file to get the full function whenever the function is > first called. > > We had a discussion here some point ago where someone complained that > org-capture-templates was not available for customization before org- > capture.el actually has been loaded. I thought that putting an > autoload cookie in front of a defcustom form would have the desired > effect. I had hoped that org-install.el then would make Emacs aware > of org-capture-templates and load org-capture.el whenever org-capture- > templates first was needed. > > However, it does not work like this. In org-install.el, the defcustom > is turned into a defvar, which defines the variable and sets it to > nil. That's unfortunate. It sounds rather like a bug in emacs. > When later the customize forms are evaluated, they see the variable > already defined and assume that the user has set this value on > purpose. So customize does not think it is entitled to overrule the > users action and so does *not* install its saved value. So this > creates a dependence on the load sequence of org-install.el and > custom.el. This is bad and unpredictable. Therefore I clearly prefer > that org-capture-templates is only available when org-capture indeed > has been loaded, and that an error is produced when I try to access > the variable before it is defined. Hmm, could that not be solved by doing a (require 'custom) in org-install.el? > Moreover, if you use `C-c r C' to customize the variable, I don't seem to have that binding. > it will work because the function org-capture is correctly > autoloaded. > > That is why I have decided to remove the autoload cookie. > > Better? Makes sense, mostly, thanks. I guess I should update my Org sources, then! -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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: org-install must precede customization [7.02trans]
Hi Carsten, I'm sorry to belabor this, but I'm a little confused about what you're saying. At Fri, 12 Nov 2010 22:40:10 -0600, Carsten Dominik wrote: > > > On Nov 12, 2010, at 9:28 PM, David Abrahams wrote: > > > > > Hi Carsten, > > > > Is it merely the autoload of org-capture-templates, or is this a > > general rule for everything in org-install? I think I'm perfectly > > happy to work with the dependency in place as long as it's documented. > > I think that this should work, but it clearly does not. So the only > clean thing is it to remove it. The proper sequence should be > to first load org-install and the do any other configuration. Are you saying "it clearly does not" based solely on the information I gave you, or is there something else? I ask because what you say is the "proper sequence" is supported by my experience. When I did things in that order, everything worked. When I didn't, I ran into this problem. It still seems to me that fundamental problem was simply that the ordering requirement wasn't documented... unless there's some information I'm missing? Thanks > > - Carsten > > > For most people it wouldn't be an issue since custom-* puts its > > custom-set-variables call at the end of the file. I think you need to > > be using something like initsplit to see the problem. > > > > At Fri, 12 Nov 2010 16:29:15 -0600, > > Carsten Dominik wrote: > >> > >> Hi David, > >> > >> thanks for investigating this. > >> > >> It seems to me that the autoload has caused more problems than it > >> solved - so I have removed the autoload again. > >> > >> - Carsten > >> > >> On Nov 12, 2010, at 12:45 PM, David Abrahams wrote: > >> > >>> > >>> 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. > >>> > >>> > >>> There's an undocumented dependency between org-install and > >>> customizations. In particular, if custom-set-variables is called to > >>> set > >>> org-capture-templates, and then org-install is loaded, > >>> org-capture-templates will be reset to nil. I tested this with > >>> > >>> emacs -Q > >>> > >>> Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple- > >>> appkit-1038.29) > >>> of 2010-05-08 on black.local > >>> Package: Org-mode version 7.02trans > >>> > >>> current state: > >>> == > >>> (setq > >>> org-agenda-deadline-leaders '("D: " "D%d: ") > >>> org-clock-in-switch-to-state "STARTED" > >>> org-agenda-skip-scheduled-if-deadline-is-shown t > >>> org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- > >>> vars) > >>> org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight > >>> bold) > >>> ("APPT" :foreground "medium blue" :weight > >>> bold) > >>> ("NOTE" :foreground "brown" :weight bold) > >>> ("STARTED" :foreground "dark orange" > >>> :weight bold) > >>> ("WAITING" :foreground "red" :weight bold) > >>> ("DELEGATED" :foreground "dark violet" > >>> :weight bold) > >>> ("DEFERRED" :foreground "dark blue" :weight > >>> bold) > >>> ("SOMEDAY" :foreground "dark blue" :weight > >>> bold) > >>> ("PROJECT" :height 1.5 :weight bold > >>> :foreground "black")) > >>> org-speed-command-hook '(org-speed-command-default-hook org-babel- > >>> speed-command-hook) > >>> org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags > >>> &qu
Re: [Orgmode] Bug: org-install must precede customization [7.02trans]
Hi Carsten, Is it merely the autoload of org-capture-templates, or is this a general rule for everything in org-install? I think I'm perfectly happy to work with the dependency in place as long as it's documented. For most people it wouldn't be an issue since custom-* puts its custom-set-variables call at the end of the file. I think you need to be using something like initsplit to see the problem. At Fri, 12 Nov 2010 16:29:15 -0600, Carsten Dominik wrote: > > Hi David, > > thanks for investigating this. > > It seems to me that the autoload has caused more problems than it > solved - so I have removed the autoload again. > > - Carsten > > On Nov 12, 2010, at 12:45 PM, David Abrahams wrote: > > > > > 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. > > > > > > There's an undocumented dependency between org-install and > > customizations. In particular, if custom-set-variables is called to > > set > > org-capture-templates, and then org-install is loaded, > > org-capture-templates will be reset to nil. I tested this with > > > > emacs -Q > > > > Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple- > > appkit-1038.29) > > of 2010-05-08 on black.local > > Package: Org-mode version 7.02trans > > > > current state: > > == > > (setq > > org-agenda-deadline-leaders '("D: " "D%d: ") > > org-clock-in-switch-to-state "STARTED" > > org-agenda-skip-scheduled-if-deadline-is-shown t > > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- > > vars) > > org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight > > bold) > > ("APPT" :foreground "medium blue" :weight > > bold) > > ("NOTE" :foreground "brown" :weight bold) > > ("STARTED" :foreground "dark orange" > > :weight bold) > > ("WAITING" :foreground "red" :weight bold) > > ("DELEGATED" :foreground "dark violet" > > :weight bold) > > ("DEFERRED" :foreground "dark blue" :weight > > bold) > > ("SOMEDAY" :foreground "dark blue" :weight > > bold) > > ("PROJECT" :height 1.5 :weight bold > > :foreground "black")) > > org-speed-command-hook '(org-speed-command-default-hook org-babel- > > speed-command-hook) > > org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags > > "Errand&TODO<>\"DONE\"&TODO<> > > \"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" > > ((org-agenda-overriding-header > > "Errands (next 3 days)") > > > > ) > > ) > > ("A" "Priority #A tasks" agenda "" > > ((org-agenda-ndays 1) > >(org-agenda-overriding-header > > "Today's priority #A tasks: ") > >(org-agenda-skip-function > > (quote (org-agenda-skip-entry-if > > (quote notregexp) "\\=.*\\[#A\\]")) > > ) > >) > > ) > > ("B" "Priority #A and #B tasks" agenda "" > > ((org-agenda-ndays 1) > >(org-agenda-overriding-header > > "Today's priority #A and #B tasks: ") > >(org-agenda-skip-function > >
[Orgmode] Bug: org-install must precede customization [7.02trans]
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. There's an undocumented dependency between org-install and customizations. In particular, if custom-set-variables is called to set org-capture-templates, and then org-install is loaded, org-capture-templates will be reset to nil. I tested this with emacs -Q Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.02trans current state: == (setq org-agenda-deadline-leaders '("D: " "D%d: ") org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold) ("APPT" :foreground "medium blue" :weight bold) ("NOTE" :foreground "brown" :weight bold) ("STARTED" :foreground "dark orange" :weight bold) ("WAITING" :foreground "red" :weight bold) ("DELEGATED" :foreground "dark violet" :weight bold) ("DEFERRED" :foreground "dark blue" :weight bold) ("SOMEDAY" :foreground "dark blue" :weight bold) ("PROJECT" :height 1.5 :weight bold :foreground "black")) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" ((org-agenda-overriding-header "Errands (next 3 days)") ) ) ("A" "Priority #A tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")) ) ) ) ("B" "Priority #A and #B tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A and #B tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]"))) ) ) ("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\"" ((org-agenda-overriding-header "Waiting/delegated tasks:") (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up))) ) ) ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" ((org-agenda-overriding-header "Unscheduled tasks: ") (org-agenda-skip-function (quote
[Orgmode] Bug: Resilience to leaving Emacs w/o clocking out [7.02trans]
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. I wrote this to John W: > Somehow I ended up with this in todo.txt: > > *** DONE [#A] Check in elisp state >SCHEDULED: <2010-10-31 Sun> >:LOGBOOK: >CLOCK: [2010-10-31 Sun 13:31] >CLOCK: [2010-10-21 Thu 12:01]--[2010-10-21 Thu 16:43] => 4:42 >:END: >:PROPERTIES: >:Link: [[file:~/elisp/package.d/wl-gravatar.el::]] >:ID: A661E17F-4526-4BBB-B8E7-43651123C472 >:END: >[2010-10-12 Tue 10:05] > > As a result, when I fired up emacs, it would always tell me there was a > dangling clock, but I couldn't clock out, even by `j M-x org-clock-out'. > Eventually I figured out to use "J" and it got cleaned up, but I'm still > a bit baffled about how I ended up in this condition. and he replied: > This happens for me if I exit Emacs without clocking out first. Seems like a bug. Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.02trans current state: == (setq org-agenda-deadline-leaders '("D: " "D%d: ") org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold) ("APPT" :foreground "medium blue" :weight bold) ("NOTE" :foreground "brown" :weight bold) ("STARTED" :foreground "dark orange" :weight bold) ("WAITING" :foreground "red" :weight bold) ("DELEGATED" :foreground "dark violet" :weight bold) ("DEFERRED" :foreground "dark blue" :weight bold) ("SOMEDAY" :foreground "dark blue" :weight bold) ("PROJECT" :height 1.5 :weight bold :foreground "black")) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" ((org-agenda-overriding-header "Errands (next 3 days)"))) ("A" "Priority #A tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]"))) ) ) ("B" "Priority #A and #B tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A and #B tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]"))) ) ) ("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\"" ((org-agenda-overriding-header "Waiting/delegated tasks:") (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up ) ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" ((org-agenda-overriding-header "Unscheduled tasks: ") (org-agenda-skip-function (quote
Re: [Orgmode] Bug: wl: links only work with wl running [7.01trans]
At Sun, 31 Oct 2010 17:46:45 +0100, David Maus wrote: > > At Wed, 27 Oct 2010 18:41:35 -0400, > David Abrahams wrote: > > > > At Wed, 27 Oct 2010 21:36:35 +0200, > > David Maus wrote: > > > > > > > > > > > Today I tried to follow an org link and got this: > > > > org-id-open: Cannot find entry with ID > > > > ""<201010060532.amj65...@mr17.lnh.mail.rcn.net>"|references:"<201010060532.amj65...@mr17.lnh.mail.rcn.net>"/%[Gmail]/All > > > > mail#201010060532.amj65...@mr17.lnh.mail.rcn.net" > > > > It turned out that it wouldn't work until after I invoked `M-x wl' > > > > explicitly. I usually have it running so normally wouldn't notice, > > > > but this seems like a bug anyway. > > > > > > Could I ask you to provide the link that triggered this misbehaviour? > > > I was not able to reproduce it. > > > > > > Sure: > > [[wl:/message-id:""|references:""/%%5BGmail%5D/all%20mail#87hbg75sxo.wl%dm...@ictsoc.de]] > > Still no luck: Which Org mode version are you using `M-x org-version' reports 7.01trans > and can you > provide a backtrace? It seems not to be a problem of org-wl; for some > reason Org's link parser interprets the link as a id: link > (i.e. ignores the wl: type prefix). Aha... it's most likely picking up the "id:" that it finds shortly after the "wl:/". Not sure if this trace can be of much use to you since happens long after the mis-interpretation... but here it is: Debugger entered--Lisp error: (error #("Cannot find entry with ID \"\"\"|references:\"\"/%[Gmail]/All mail#aanlktiktdmbxngopn06orwkwuaaek61pzvayhrqsi...@mail.gmail.com\"" 27 246 (org-attr nil))) signal(error (#("Cannot find entry with ID \"\"\"|references:\"\"/%[Gmail]/All mail#aanlktiktdmbxngopn06orwkwuaaek61pzvayhrqsi...@mail.gmail.com\"" 27 246 (org-attr nil error("Cannot find entry with ID \"%s\"" #("\"\"|references:\"\"/%[Gmail]/All mail#aanlktiktdmbxngopn06orwkwuaaek61pzvayhrqsi...@mail.gmail.com" 0 219 (org-attr nil))) org-id-open(#("\"\"|references:\"\"/%[Gmail]/All mail#aanlktiktdmbxngopn06orwkwuaaek61pzvayhrqsi...@mail.gmail.com" 0 219 (org-attr nil))) org-open-at-point(nil #) org-open-link-from-string(#("[[wl:/message-id:\"\"|references:\"\"/%%5BGmail%5D/all%20mail#aanlktiktdmbxngopn06orwkwuaaek61pzvayhrqsi%3...@mail.gmail.com][email from Andrzej Krzemienski: request for more information a]]" 0 314 (fontified nil org-category #("Work" 0 4 ...))) nil #) org-offer-links-in-entry(nil #(" Work: " 0 2 (todo-state #("TODO" 0 4 ...) org-habit-p nil priority 1099 date (10 31 2010) type "scheduled" org-hd-marker # org-marker # face org-scheduled-today undone-face org-scheduled-today help-echo "mouse-2 or RET jump to org file ~/Dropbox/todo.txt" mouse-face highlight done-face org-agenda-done org-complex-heading-regexp "^\\(\\*+\\)[ ]+\\(?:\\(STARTED\\|TODO\\|APPT\\|WAITING\\|DELEGATED\\|DEFERRED\\|SOMEDAY\\|DONE\\|CANCELLED\\|TESTED\\|CLOSED\\|NOTE\\)\\>\\)?\\(?:[ ]*\\(\\[#.\\]\\)\\)?[ ]*\\(.*?\\)\\(?:[ ]+\\(:[[:alnum:]_@:]+:\\)\\)?[ ]*$" org-todo-regexp "\\<\\(STARTED\\|TODO\\|APPT\\|WAITING\\|DELEGATED\\|DEFERRED\\|SOMEDAY\\|DONE\\|CANCELLED\\|TESTED\\|CLOSED\\|NOTE\\)\\>" org-not-done-regexp "\\<\\(STARTED\\|TODO\\|APPT\\|WAITING\\|DELEGATED\\|DEFERRED\\|SOMEDAY\\)\\>" dotime time extra "" time "" txt "TODO Respond to Andrzej about concepts" effort-minutes nil effort nil duration nil time-of-day nil prefix-length 13 org-lowest-priority 67 ...) 2 6 (todo-state #("TODO" 0 4 ...) org-habit-p nil priority 1099 date (10 31 2010) type "scheduled" org-hd-marker # org-marker # face org-scheduled-today undone-face org-scheduled-today help-echo "mouse-2 or RET jump to org file ~/Dropbox/todo.txt" mouse-face highlight done-face org-agenda-done org-complex-heading-regexp "^\\(\\*+\\)[ ]+\\(?:\\(STARTED\\|TODO\\|APPT\\|WAITING\\|DELEGATED\\|DEFERRED\\|SOMEDAY\\|DONE\\|CANCELLED\\|TESTED\\|CLOSED\\|NOTE\\)\\>\\)?\\(?:[ ]*\\(\\[#.\\]\\)\\)?[ ]*\\(.*?\\)\\(?:[ ]+\\(:[[:alnum:]_@:]+:\\)\\)?[ ]*$" org-todo-regexp "\\<\\(STARTED\\|TODO\\|APPT\\|WAITING\\|DELEGATED\\|DEFERRED\\|SOMEDAY\\|DONE\\|CANCELLED\\|TESTED\\|CLOSED\\|NOTE\\)\\>" org-not-done-regexp "\\<\\(STARTED\\|TODO\\|APPT\\|WAITING\\|DELEGATED\\|DEFERRED\\|SOMEDAY\\)\\>" dotime time extra "
Re: [Orgmode] Bug: wl: links only work with wl running [7.01trans]
At Wed, 27 Oct 2010 21:36:35 +0200, David Maus wrote: > > > > > Today I tried to follow an org link and got this: > > org-id-open: Cannot find entry with ID > > ""<201010060532.amj65...@mr17.lnh.mail.rcn.net>"|references:"<201010060532.amj65...@mr17.lnh.mail.rcn.net>"/%[Gmail]/All > > mail#201010060532.amj65...@mr17.lnh.mail.rcn.net" > > It turned out that it wouldn't work until after I invoked `M-x wl' > > explicitly. I usually have it running so normally wouldn't notice, > > but this seems like a bug anyway. > > Could I ask you to provide the link that triggered this misbehaviour? > I was not able to reproduce it. Sure: [[wl:/message-id:""|references:""/%%5BGmail%5D/all%20mail#87hbg75sxo.wl%dm...@ictsoc.de]] -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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] Auto clock-out? [7.01trans]
When I mark an item DONE, Org clocks me out, fantastic! When I switch an item from TODO to WAITING, it doesn't. Is there a way to get it to clock me out of an item when is switched to WAITING? Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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] Feature request
At Mon, 11 Oct 2010 09:21:05 +0200, Carsten Dominik wrote: > > After giving this some thought, I don't this this can be done in a > clear and non-confusing way. Thanks for spending so much time/energy considering it, despite the fact that it would be incoherent with the rest of your interface! > I do think it is necessary to somehow change the date relative to > what the previously set date is. The only way to make this half way > transparently is to show that date in the prompt as the default > date. Okay. > There was lots of good advice to so what you want in different ways, > including not rescheduling, or using bulk actions in the agenda. You know, I have `f' and `b' bound to org-agenda-date-later/-earlier, and that would be perfectly adequate for me, *if* I got appropriate visual feedback. The problem is the red "S2" or "S3" I'm looking at doesn't change on the fly when I reschedule. And it's hard to train myself not to hit `f' twice when I see S2 :-) > Finally, if you still want a fast command doing this: > > (defun org-agenda-reschedule-to-today () >(interactive) >(flet ((org-read-date (&rest rest) (current-time))) > (call-interactively 'org-agenda-schedule))) That's a good idea. I don't think I need etags in my agenda buffer, so `M-.' works. -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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] Re: Feature request
At Sun, 10 Oct 2010 11:43:07 -0400, Bernt Hansen wrote: > > David Abrahams writes: > > > Hi All, > > > > I have to reschedule quite a few items daily. Often they're > > yesterday's items that I need to reschedule for today. > > > > `C-c C-s . RET' > > > > is a bit much typing for that, so I re-bound `S' to > > org-agenda-schedule. But > > > > `S . RET' > > > > is still a bit much. I'd like it if the default when rescheduling was > > always for today, instead of the date the item is already scheduled > > for, so I could > > > > `S RET' > > > > in the usual case. What about a customizable option to set the > > default schedule-for date? > > Hi David, > > Why are you rescheduling items everyday? Because there's always something I didn't get done yesterday, and I often have pushed too many tasks forward onto a given day, and don't want to see more than about 15 TODOs in my agenda on any given day. > That seems like a lot of overhead to me. What's wrong with leaving > the item on the first scheduled date and just allow the agenda to > show how many days it has already been scheduled for -- until you > mark it DONE? Because then they show up in the consciousness like a failure instead of as just what I have to do today, and they tend to pile up and lead to a state of despair, where the agenda is too daunting to face. They need to be processed. I need to re-negotiate the contract I made with myself about when they were getting done. > Alternatively if it's a repeating task, you can use a single day > repeater and just mark the item DONE to move it to the next day. It's not. > One thing I've been trying to do is minimize the amount of time I > spend on overhead stuff for my tasks and trading that for time I > actually do work on completing the tasks instead. Thanks, but I need to do this to keep on track. Regards, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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] Feature request
Hi All, I have to reschedule quite a few items daily. Often they're yesterday's items that I need to reschedule for today. `C-c C-s . RET' is a bit much typing for that, so I re-bound `S' to org-agenda-schedule. But `S . RET' is still a bit much. I'd like it if the default when rescheduling was always for today, instead of the date the item is already scheduled for, so I could `S RET' in the usual case. What about a customizable option to set the default schedule-for date? -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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: No match - create this as a new heading? [7.01trans]
At Sun, 10 Oct 2010 06:16:07 +0530, Noorul Islam wrote: > > On Sun, Oct 10, 2010 at 4:19 AM, David Abrahams wrote: > > > > > > 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. > > > > > > When I did an org-capture from an Org file, I got > > > > [[file:~/Dropbox/Projects/iRobot/irobot.org::*Fixes%20to%20make%20post%20hoc][Fixes > > to make post-hoc]] > > > > But when I tried to follow that link, I got the title error message. > > > > Incidentally, it seems to work out if I add an ID property: > > > > [[id:000BE8BE-5673-4F73-8D02-1E5411D59465][Fixes to make post-hoc]] > > > > How does it know which file to open in that case? Is it somehow encoded in > > the ID? > > > > Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) > > of 2010-05-08 on black.local > > Package: Org-mode version 7.01trans > > > > I tested with the following templates. > > 1. With ID property > > (("t" "Task" entry (file+headline "~/notebook/refile.org" "Inbox") "* TODO %? > SCHEDULED: %t > :PROPERTIES: > :Link: %a > :ID: %(shell-command-to-string \"uuidgen\") :END: > %U" :prepend t)) > > 2. Without ID property. > > (("t" "Task" entry (file+headline "~/notebook/refile.org" "Inbox") "* TODO %? > SCHEDULED: %t > :PROPERTIES: > :Link: %a > :END: > %U" :prepend t)) > > And I did not face any issues when I tried to follow the link. In my case, the item to be found had *no* properties before I added the ID property, and wasn't in one of my "regular org files." It looked like this: * Fixes to make post-hoc ** TODO Pause in animation of string toy ** TODO Stop with the swap hack in copy ctor of sparse The problem is that it means we end up with a broken invariant in the dtor Oh, weird. Now when I store a link the item automatically gets an ID. I guess I need to go back and RTFM because I obviously don't understand how this stuff works. I wonder why the first time I stored a link I got something like the first link. baffled-ly y'rs, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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: No match - create this as a new heading? [7.01trans]
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. When I did an org-capture from an Org file, I got [[file:~/Dropbox/Projects/iRobot/irobot.org::*Fixes%20to%20make%20post%20hoc][Fixes to make post-hoc]] But when I tried to follow that link, I got the title error message. Incidentally, it seems to work out if I add an ID property: [[id:000BE8BE-5673-4F73-8D02-1E5411D59465][Fixes to make post-hoc]] How does it know which file to open in that case? Is it somehow encoded in the ID? Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.01trans current state: == (setq org-agenda-deadline-leaders '("D: " "D%d: ") org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold) ("APPT" :foreground "medium blue" :weight bold) ("NOTE" :foreground "brown" :weight bold) ("STARTED" :foreground "dark orange" :weight bold) ("WAITING" :foreground "red" :weight bold) ("DELEGATED" :foreground "dark violet" :weight bold) ("DEFERRED" :foreground "dark blue" :weight bold) ("SOMEDAY" :foreground "dark blue" :weight bold) ("PROJECT" :height 1.5 :weight bold :foreground "black")) org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" ((org-agenda-overriding-header "Errands (next 3 days)") ) ) ("A" "Priority #A tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")) ) ) ) ("B" "Priority #A and #B tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A and #B tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]"))) ) ) ("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\"" ((org-agenda-overriding-header "Waiting/delegated tasks:") (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up))) ) ) ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" ((org-agenda-overriding-header "Unscheduled tasks: ") (org-agenda-skip-function (quote
[Orgmode] Bug: wl: links only work with wl running [7.01trans]
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. Today I tried to follow an org link and got this: org-id-open: Cannot find entry with ID ""<201010060532.amj65...@mr17.lnh.mail.rcn.net>"|references:"<201010060532.amj65...@mr17.lnh.mail.rcn.net>"/%[Gmail]/All mail#201010060532.amj65...@mr17.lnh.mail.rcn.net" It turned out that it wouldn't work until after I invoked `M-x wl' explicitly. I usually have it running so normally wouldn't notice, but this seems like a bug anyway. Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.01trans current state: == (setq org-agenda-deadline-leaders '("D: " "D%d: ") org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold) ("APPT" :foreground "medium blue" :weight bold) ("NOTE" :foreground "brown" :weight bold) ("STARTED" :foreground "dark orange" :weight bold) ("WAITING" :foreground "red" :weight bold) ("DELEGATED" :foreground "dark violet" :weight bold) ("DEFERRED" :foreground "dark blue" :weight bold) ("SOMEDAY" :foreground "dark blue" :weight bold) ("PROJECT" :height 1.5 :weight bold :foreground "black")) org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" ((org-agenda-overriding-header "Errands (next 3 days)") ) ) ("A" "Priority #A tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")) ) ) ) ("B" "Priority #A and #B tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A and #B tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]"))) ) ) ("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\"" ((org-agenda-overriding-header "Waiting/delegated tasks:") (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up))) ) ) ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" ((org-agenda-overriding-header "Unscheduled tasks: ") (org-agenda-skip-function (quote
Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]
At Mon, 4 Oct 2010 10:54:39 +0200, Carsten Dominik wrote: > > Hi David, > > well, it can happen that an item shows up multiple ways - if it has > been selected by different methods. For example, if your org-refile- > targets variable is like this: > > ((org-agenda-files :level . 1) > (org-agenda-files :tag . "refile") > (nil :maxlevel . 2)) > > then you could get three instances: > > 1. it is a level 1 item in any of the agenda items > 2. it has the tag "refile" and is in an agenda file > 3. The item you are trying to refile is in the same file > as the refile target - in that case, the entry > is shown as a headline with level <= 2 > > Looking at your setting for org-refile-targets, > this is definitely somehing that could happen to you. > > I am not sure how cheap it would be to eliminate > duplicate entries, this might be an N^2 operation. It is if you use a linear list ;-) A hash table should allow an O(N) solution. > In the end, it is not a huge problem, I guess? Probably not. In my case it was purely a configuration mistake. -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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: org lets me mess things up too easily [7.01trans]
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. I've been repeatedly finding org items in my agenda that don't behave correctly. I discovered a partial explanation for the issue today when I inspected this item, which I couldn't seem to reschedule: *** TODO create network user for itunes and iphoto SCHEDULED: <2010-10-03 Sun> Why didn't I think of this earlier!? SCHEDULED: <2010-10-01 Fri> :PROPERTIES: :ID: 909C7F52-FC6C-4EAC-8287-39A289A1ADAD :END: [2010-10-01 Fri 13:09] This always showed up in the agenda as being scheduled for 10-01, but rescheduling it would put the new scheduled date in just below the TODO line, rather than changing the line from 10-01. I guess that means I added the "Why didn't I think of this earlier!?" text right below the TODO line, but I wasn't supposed to? So what *are* the rules for where body text can appear in an item? And why doesn't org make it harder for me to break those rules? [As a general theme, I've had similar problems with habits, where I've misspelled the format for the repeating date and Org didn't warn me. Can this stuff be made more idiot-proof?] Thanks! Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.01trans current state: == (setq org-agenda-deadline-leaders '("D: " "D%d: ") org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold) ("APPT" :foreground "medium blue" :weight bold) ("NOTE" :foreground "brown" :weight bold) ("STARTED" :foreground "dark orange" :weight bold) ("WAITING" :foreground "red" :weight bold) ("DELEGATED" :foreground "dark violet" :weight bold) ("DEFERRED" :foreground "dark blue" :weight bold) ("SOMEDAY" :foreground "dark blue" :weight bold) ("PROJECT" :height 1.5 :weight bold :foreground "black")) org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" ((org-agenda-overriding-header "Errands (next 3 days)") ) ) ("A" "Priority #A tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")) ) ) ) ("B" "Priority #A and #B tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A and #B tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]"))) ) ) ("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\"" ((org-agenda-overriding-header "Waiting/delegated tasks:") (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up))) ) ) ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" ((org-agenda-overriding-header "Unscheduled tasks: ") (org-agenda-skip-function
[Orgmode] Bug: org-capture from blank line in Wanderlust summary [7.01trans]
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. At the end of my Wanderlust `Summary' buffer, there is a blank line. If I `M-x org-capture RET' there, I get the following traceback: org-remove-angle-brackets(nil) org-wl-store-link-message() org-wl-store-link() run-hook-with-args-until-success(org-wl-store-link) org-store-link(nil) org-capture(nil) call-interactively(org-capture nil nil) Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.01trans current state: == (setq org-agenda-deadline-leaders '("D: " "D%d: ") org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold) ("APPT" :foreground "medium blue" :weight bold) ("NOTE" :foreground "brown" :weight bold) ("STARTED" :foreground "dark orange" :weight bold) ("WAITING" :foreground "red" :weight bold) ("DELEGATED" :foreground "dark violet" :weight bold) ("DEFERRED" :foreground "dark blue" :weight bold) ("SOMEDAY" :foreground "dark blue" :weight bold) ("PROJECT" :height 1.5 :weight bold :foreground "black")) org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" ((org-agenda-overriding-header "Errands (next 3 days)") ) ) ("A" "Priority #A tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")) ) ) ) ("B" "Priority #A and #B tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A and #B tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]"))) ) ) ("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\"" ((org-agenda-overriding-header "Waiting/delegated tasks:") (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up))) ) ) ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" ((org-agenda-overriding-header "Unscheduled tasks: ") (org-agenda-skip-function (quote
[Orgmode] Habit timing
Hi, I'm not sure whether Org gives me a way to express some of my habits' timing. Suppose I want to exercise at least 4 times a week and no more than 6 times a week? How would I write that item? Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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: Odd Ido interaction [7.01trans]
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. When I go to refile an agenda item, say, under another item called "Happiness," I type `r h a p' and see: Refile to: hap{Happiness (todo.txt) | Happiness (todo.txt) | Happiness (todo.txt)} where the 2nd and 3rd instances of "Happiness" show up in blue. Is it expected to see multiple identical choices, and if so, why? Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.01trans current state: == (setq org-agenda-deadline-leaders '("D: " "D%d: ") org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold) ("APPT" :foreground "medium blue" :weight bold) ("NOTE" :foreground "brown" :weight bold) ("STARTED" :foreground "dark orange" :weight bold) ("WAITING" :foreground "red" :weight bold) ("DELEGATED" :foreground "dark violet" :weight bold) ("DEFERRED" :foreground "dark blue" :weight bold) ("SOMEDAY" :foreground "dark blue" :weight bold) ("PROJECT" :height 1.5 :weight bold :foreground "black")) org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\"" ((org-agenda-overriding-header "Errands (next 3 days)") ) ) ("A" "Priority #A tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")) ) ) ) ("B" "Priority #A and #B tasks" agenda "" ((org-agenda-ndays 1) (org-agenda-overriding-header "Today's priority #A and #B tasks: ") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]"))) ) ) ("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\"" ((org-agenda-overriding-header "Waiting/delegated tasks:") (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up))) ) ) ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" ((org-agenda-overriding-header "Unscheduled tasks: ") (org-agenda-skip-function (quote
[Orgmode] Backspacing into folded items
Hi All, I've gotten myself in trouble several times today by backspacing after an org-link that ends a headline. That's a typical pattern for editing an org-link, right? Well it turns out that if the item is folded, then the backspace writes over the end of the un-folded item but **appears to have no effect**, and you can easily hit backspace several times to test your sanity before you realize that something is wrong, badly corrupting your file. Seems to me that attempts to edit a folded item should either: a) restrict changes to the item's headline, or b) unfold the item and do nothing Is there a way to set that up? Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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] Suppressing the ellipsis
I'd like org not to show an ellipsis if there is no actual information hidden, i.e. if all the lines betweem a collapsed heading and the next heading consist of whitespace. Is that possible? TIA, -- David Abrahams BoostPro Computing http://boostpro.com ___ 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] Re: face for clock display in modeline
on Sat Jun 06 2009, Eric S Fraga wrote: > Carsten Dominik writes: >> Thanks Eric! >> >> Samuel, after you next pull, customize the face org-mode-line-clock. > > You're welcome and I like what you have done. I played around with > the code in org-faces.el yesterday but your solution is much nicer > than I what I had come up with (I'm still very much a noob when it > comes to elisp). Thanks to both of you; this is going to make a real difference in my life! -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] I must be missing something...
Hi, I've been using and studying org mode for a few months now, and though it seems to have great potential, some things still escape me. For example, do my DONE items simply accumulate forever in todo.org? I know there's an archiving feature... do I move those done items manually to an archive when I no longer need to see them? Also, how do I manage my projects? Org mode seems to "want" to put everything in one big file. I know I *can* separate trees by file, but it doesn't seem to be very convenient to do so. For example, if I'm visiting a project file, is there a way to get an agenda view on just /that/ file without having to modify org-agenda-files? I know I'm being a bit vague, but so far the basic operations of org-mode, which were very fast to use at first, haven't "scaled up" very easily to handle my whole life, and I'm not sure how to get there. Many thanks in advance for any advice you can give, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Patch for growl notifications without uncommenting hacks
On Apr 6, 2009, at 6:27 PM, Christopher Suckling wrote: On 6 Apr 2009, at 01:49, David Abrahams wrote: This patch to org-mac-message.el should make it show growl notifications when searching for flagged messages and growl is running, and work silently otherwise. Thanks, works nicely. Below patch adapts for general case, cleans up commentary and fixes one tiny formatting bug I noticed. Best, Christopher Nice tweak to the code, but I'm not sure it was a good idea to strip out lisp comments from around the AppleScript. There are some oddball idioms in there whose rationale will have to be guessed by the next person who comes along and wants to improve things. Also, I think the indentation I applied to the applescript strings do a great deal to enhance comprehensibility at little or no cost. -- David Abrahams BoostPro Computing http://boostpro.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Patch for growl notifications without uncommenting hacks
This patch to org-mac-message.el should make it show growl notifications when searching for flagged messages and growl is running, and work silently otherwise. It's a little more complicated than it needs to be, since as noted in a comment about the "double-tell" idiom, using the creator code to find the application is probably not going to work unless the application's name is exactly "GrowlHelperApp" anyway, but I am not motivated to simpilify this more now that I have it working. Someone else is welcome to improve on it. Anyone is welcome to use this patch for any purpose. I hereby place it in the public domain. diff --git a/lisp/org-mac-message.el b/lisp/org-mac-message.el index d91a575..6f5d634 100644 --- a/lisp/org-mac-message.el +++ b/lisp/org-mac-message.el @@ -101,26 +101,49 @@ This will use the command `open' with the message URL." "AppleScript to create links to flagged messages in Mail.app" (do-applescript (concat - "tell application \"Mail\"\n" - "set theMailboxes to every mailbox of account \"" org-mac-mail-account "\"\n" - "set theLinkList to {}\n" - "repeat with aMailbox in theMailboxes\n" - "set theSelection to (every message in aMailbox whose flagged status = true)\n" - "repeat with theMessage in theSelection\n" - "set theID to message id of theMessage\n" - "set theSubject to subject of theMessage\n" - "set theLink to \"message://\" & theID & \"::split::\" & theSubject & \"\n\"\n" - "copy theLink to end of theLinkList\n" - ;; "tell application \"GrowlHelperApp\"\n" - ;; "set the allNotificationsList to {\"FlaggedMail\"}\n" - ;; "set the enabledNotificationsList to allNotificationsList\n" - ;; "register as application \"FlaggedMail\" all notifications allNotificationsList default notifications enabledNotificationsList icon of application \"Mail\"\n" - ;; "notify with name \"FlaggedMail\" title \"Importing flagged message\" description theSubject application name \"FlaggedMail\"\n" - ;; "end tell\n" - "end repeat\n" - "end repeat\n" - "return theLinkList as string\n" - "end tell"))) +;; Locate the GrowlHelperApp application, even if its name has a version number appended +"tell application \"System Events\"\n" +"set growlHelpers to the name of every process whose creator type contains \"GRRR\"\n" +"if (count of growlHelpers) > 0 then\n" +"set growlHelperApp to item 1 of growlHelpers\n" +"else\n" +"set growlHelperApp to \"\"\n" +"end if\n" +"end tell\n" + +"tell application \"Mail\"\n" +"set theMailboxes to every mailbox of account \"BoostPro\"\n" +"set theLinkList to {}\n" +"repeat with aMailbox in theMailboxes\n" +"set theSelection to (every message in aMailbox whose flagged status = true)\n" +"repeat with theMessage in theSelection\n" +"set theID to message id of theMessage\n" +"set theSubject to subject of theMessage\n" +"set theLink to \"message://\" & theID & \"::split::\" & theSubject & \"\n" +"\"\n" +"copy theLink to end of theLinkList\n" +"if growlHelperApp is not \"\" then\n" +;; This "double tell" idiom is described in detail at +;; http://macscripter.net/viewtopic.php?id=24570 The +;; script compiler needs static knowledge of the +;; growlHelperApp. Hmm, since we're compiling +;; on-the-fly here, this is likely to be way less +;; portable than I'd hoped. It'll work when the name +;; is still "GrowlHelperApp", though. +"tell application \"GrowlHelperApp\"\n" +"tell application growlHelperApp\n" +"set the allNotificationsList to {\"FlaggedMail\"}\n" +"set the enabledNotificationsList to allNotificationsList\n" +"register as application \"FlaggedMail\" all notifications allNotificationsList default notifications enabledNotificationsList icon of application \"Mail\"\n" +"notify with name \"FlaggedMail\" title \"Importing flagged message\" description theSubject application name \"FlaggedMail\"\n" +"end tell\n" +"end tell\n" +"end if\n" +"end repeat\n" +"end repeat\n" +"return theLinkList as string\n" +"end tell\n" +))) (defun org-mac-message-get-links (select-or-flag) "Create links to the messages currently selected or flagged in -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: 1-way syncing with google calendar
on Thu May 29 2008, David Smith wrote: > "Tim O'Callaghan" writes: > >> Cool - just caught up with this. >> >> If you check the archives i had a very basic google->org solution using w3. >> >> I stopped using it when i moved back to Emacs, guess its time to dig it out >> :) > > I'm currently building something similar using g-client which is much > easier to integrate with the emacs calendar. It should also be able to > do two-way sync without an external daemon. I just haven't found a good > way to integrate it with the agenda. Anyone have experience with it? David, did you ever get anywhere with this? I'm very interested in such a solution and might pick up where you left off if it's not already finished. Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode