[O] Checklist navigation
I have a checklist in an org item that I fill out every day. It would be wonderful to have a simple keybinding (maybe even TAB) to jump to the next checkbox. Does such a function already exist somewhere? -- Dave Abrahams BoostPro Computing Software DevelopmentTraining http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
[O] Bug: stored link description craziness [7.9.2 (release_7.9.2-609-g853125 @ /Users/dave/.emacs.d/el-get/org-mode/lisp/)]
macs-lisp" . "el")) org-confirm-elisp-link-function nil org-edit-src-content-indentation 0 org-metadown-hook '(org-babel-pop-to-session-maybe) org-log-into-drawer t org-list-automatic-rules '((bullet . t) (checkbox . t) (indent . t)) org-insert-heading-respect-content t org-agenda-skip-unavailable-files t org-checklist-export-function 'org-export-as-ascii org-default-priority 67 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-skip-deadline-if-done t org-structure-template-alist '(("s" "#+BEGIN_SRC ?\n\n#+END_SRC" "\n\n") ("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE" "\n?\n") ("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE" "\n?\n") ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE" "\n?\n") ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER" "\n?\n") ("l" "#+BEGIN_LaTeX\n?\n#+END_LaTeX" "\n?\n") ("L" "#+LaTeX: " "?") ("h" "#+BEGIN_HTML\n?\n#+END_HTML" "\n?\n") ("H" "#+HTML: " "?") ("a" "#+BEGIN_ASCII\n?\n#+END_ASCII") ("A" "#+ASCII: ") ("i" "#+INDEX: ?" "#+INDEX: ?") ("I" "#+INCLUDE %file ?" "")) org-completion-use-ido t org-babel-load-languages '((emacs-lisp . t) (sh . t)) org-cycle-global-at-bob t org-agenda-start-with-follow-mode t org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-files '("~/Documents/Tasks/todo.txt") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-archive-save-context-info '(time category itags) org-src-fontify-natively t org-clock-out-remove-zero-time-clocks t org-refile-target-verify-function 'dwa/org-verify-refile-target org-agenda-skip-scheduled-if-deadline-is-shown t org-after-todo-statistics-hook '(dwa/org-summary-todo) ) -- Dave Abrahams BoostPro Computing Software DevelopmentTraining http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
Re: [O] [PATCH] Show human-readable link descriptions first when inserting links
on Mon Apr 23 2012, Bastien wrote: > Hi Dave, > > Dave Abrahams writes: > >> This patch makes it easy to select links from among a forest of >> similar-looking machine-readable forms. Without it, the human-readable >> descriptions tend to fall off the right side of the window. > > I applied a slightly modified version of this patch. Thank you! -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: "SCHEDULED: " positioning is fragile [7.8.06 (release_7.8.06.181.ga481)]
on Mon Apr 09 2012, Bastien wrote: > Hi Dave, > > Dave Abrahams writes: > >> I want the rule to be that you can have as much body text as you want >> between the headline and the SCHEDULED: line. > > This won't happen. Because...? >> Or failing that, I'd like >> org's default keybindings to make it really hard to insert text between >> the headline and SCHEDULED:. Any typing in that area should, by >> default, force the point to jump after SCHEDULED: > > Yes, this is a possibility. The other possibility is to store SCHEDULED > and DEADLINE information in a drawer. That would be an "easy" solution. > In both cases, this requires a careful discussion. > > As I cannot spend this time right now, the helper function to fix > misformatted subtrees is better than nothing. Yes. > And unless there is a Global Internet Strike (©) requesting this issue > to be fixed, I think we should live with it -- or make a collective > effort. I understand. >> Thanks, I think... but I can't tell if everybody is missing my point. >> I've been trying to argue for something that doesn't allow mistakes >> to happen in the first place. > > I understand. > > But again: the mistake happens for people who move this line manually > and for poeple who don't read the manual. And again: this is a developer-centric response. As a matter of usability it doesn't matter very much that "you told me so" (in a manual 100s of pages long --- and it's buried in a footnote, for chrissake!) when the mistake is trivially easy to make... and it is. I only have only ever "moved that line" without knowing I was doing it. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: "SCHEDULED: " positioning is fragile [7.8.06 (release_7.8.06.181.ga481)]
on Mon Apr 09 2012, Bastien wrote: > Hi Dave, > > Dave Abrahams writes: > >> Sorry, but I don't want to spend the time on that. I'm trying to get >> the rules changed so that it isn't so easy to corrupt an org file. > > The current rule is "Leave SCHEDULED: and DEADLINE: information where > Org's `org-schedule' and `org-deadline' put it." > > Maybe I don't understand how do you want to change this rule. I want the rule to be that you can have as much body text as you want between the headline and the SCHEDULED: line. Or failing that, I'd like org's default keybindings to make it really hard to insert text between the headline and SCHEDULED:. Any typing in that area should, by default, force the point to jump after SCHEDULED: >> I sincerely hope that when you become clearer about such cases you pick >> a liberal set of rules that isn't so error-prone. The ideas that I >> can't just hit return after a headline and start typing a body, and that >> I'll be nagged about misplaced SCHEDULED: lines, are both very >> unappealing. > > I have just added this hack: > > "Check for misplaced SCHEDULED and DEADLINE cookies" > http://orgmode.org/worg/org-hacks.html#sec-1-2-8 > > Here is the function: > > (defun org-check-misformatted-subtree () > "Check misformatted entries in the current buffer." > (interactive) > (show-all) > (org-map-entries >(lambda () > (move-beginning-of-line 2) > (if (or (and (org-get-scheduled-time (point)) > (not (looking-at (concat "^.*" org-scheduled-regexp > (and (org-get-deadline-time (point)) > (not (looking-at (concat "^.*" org-deadline-regexp) > (when (y-or-n-p "Fix this subtree? ") >(message "Call the function again when you're done fixing this > subtree.") >(recursive-edit)) >(message "All subtrees checked.") Thanks, I think... but I can't tell if everybody is missing my point. I've been trying to argue for something that doesn't allow mistakes to happen in the first place. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: "SCHEDULED: " positioning is fragile [7.8.06 (release_7.8.06.181.ga481)]
on Mon Apr 09 2012, Bastien wrote: > Hi Dave, > > Dave Abrahams writes: > >> 1. I strongly disagree that that would be more useful. It would leave >>the newbie trap and usability bug in place. > > Well, we disagree then :) I think it is useful to have a function that > let everyone (not just newbies) know that some subtrees don't respect > Org's writing conventions. It would be very useful. Just not /more/ useful. The most useful functionality is the one that just works without any intervention from the user. >> 2. John Wiegley has been working on some code that allows such things to >>be trivially implemented and I'd rather not duplicate / overlap with >>him. John, would you care to push your org-x stuff upstream soon? > > You might also look at org-element.el. Sorry, but I don't want to spend the time on that. I'm trying to get the rules changed so that it isn't so easy to corrupt an org file. I'm not much interested in building a tool to undo corruption. > FYI: Nicolas and I have been discussing about the issue you raised, and > the integration of org-element.el will force us to be clearer about such > cases, which is good. I sincerely hope that when you become clearer about such cases you pick a liberal set of rules that isn't so error-prone. The ideas that I can't just hit return after a headline and start typing a body, and that I'll be nagged about misplaced SCHEDULED: lines, are both very unappealing. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: "SCHEDULED: " positioning is fragile [7.8.06 (release_7.8.06.181.ga481)]
on Mon Apr 09 2012, Bastien wrote: >> This is a serious usability bug and a newbie trap. >> >> As I mentioned in my report, if some of the commands can handle it, >> there's no reason all of them shouldn't handle it. > >> The only other valid interpretation is that those commands that are >> handling it as I expect are broken and they're changing things that >> should really be treated as body text and just happen to look like a >> SCHEDULED line. > > Patch welcome. > > Or even more useful: write a small function that goes an Org buffer > and spot misformatted subtrees, offering to fix them interactively. > Can you write this? Actually: 1. I strongly disagree that that would be more useful. It would leave the newbie trap and usability bug in place. 2. John Wiegley has been working on some code that allows such things to be trivially implemented and I'd rather not duplicate / overlap with him. John, would you care to push your org-x stuff upstream soon? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: "SCHEDULED: " positioning is fragile [7.8.06 (release_7.8.06.181.ga481)]
on Fri Apr 06 2012, Bastien wrote: > Hi Dave, > > Dave Abrahams writes: > >> Given the following: >> >> * TODO Some headline >> SCHEDULED: <2012-04-05 Thu> >> >> If I add body text between the headline and the SCHEDULED: line, some >> things work, but others don't. > > See this footnote in the section "8.3.1 Inserting deadlines or > schedules" of the manual: > >(1) The `SCHEDULED' and `DEADLINE' dates are inserted on the line > right below the headline. Don't put any text between this line and the > headline. That doesn't make it right. This is a serious usability bug and a newbie trap. As I mentioned in my report, if some of the commands can handle it, there's no reason all of them shouldn't handle it. The only other valid interpretation is that those commands that are handling it as I expect are broken and they're changing things that should really be treated as body text and just happen to look like a SCHEDULED line. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: "SCHEDULED: " positioning is fragile [7.8.06 (release_7.8.06.181.ga481)]
(org-agenda-sorting-strategy (quote (category-up))) (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote scheduled) (quote deadline) (quote timestamp) (quote regexp) "\\* \\(DEFERRED\\|SOMEDAY\\)") ) ) ) ) ("W" "Work-related tasks" tags "AREA=\"Work\"&TODO<>\"\"&TODO<>{DONE\\|CANCELED\\|NOTE\\|PROJECT}" ((org-agenda-overriding-header "Work-related tasks") (org-agenda-files (quote ("~/Documents/Tasks/todo.txt"))) (org-agenda-sorting-strategy (quote (category-up priority-down todo-state-up alpha-up))) (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "\\* \\(DEFERRED\\|SOMEDAY\\)"))) ) ) ) org-return-follows-link t org-default-notes-file "~/Documents/Tasks/todo.txt" org-clock-in-resume t org-capture-templates '(("t" "Task" entry (file+headline "~/Documents/Tasks/todo.txt" "Inbox") "* TODO %?\n SCHEDULED: %t\n :PROPERTIES:\n :ID: %(shell-command-to-string \"uuidgen\") :CREATED: %U\n :END:" :prepend t) ) org-agenda-include-diary t org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-after-todo-state-change-hook '(org-clock-out-if-current org-checklist) org-todo-repeat-to-state "TODO" org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-tags-column -97 org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '((lambda nil (set (make-local-variable (quote yas/trigger-key)) [tab]) (add-to-list (quote org-tab-first-hook) (quote yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-agenda-follow-indirect t org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-attach-method 'mv org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-use-speed-commands t org-agenda-sorting-strategy '((agenda habit-down time-up todo-state-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)) org-clock-persist 'history org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-agenda-persistent-filter t org-clock-in-switch-to-state "STARTED" org-directory "~/Documents/Tasks/" org-enforce-todo-dependencies t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-habit-show-habits-only-for-today nil org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-archive-location "TODO-archive::" org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-text-search-extra-files '(agenda-archives) org-habit-today-glyph 9483 org-x-redmine-title-prefix-match-function 'org-x-redmine-title-prefix-match org-agenda-default-appointment-duration 60 org-export-interblocks '((src org-babel-exp-non-block-elements)) org-use-property-inheritance '("AREA") org-modules '(org-id org-info org-habit) org-agenda-ndays 1 org-checkbox-statistics-hook '(dwa/checkbox-list-complete) org-fast-tag-selection-single-key 'expert org-agenda-window-setup 'current-window org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")) org-confirm-elisp-link-function nil org-edit-src-content-indentation 0 org-metadown-hook '(org-babel-pop-to-session-maybe) org-log-into-drawer t org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat")) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org"))) ) org-insert-heading-respect-content t org-agenda-skip-unavailable-files t org-checklist-export-function 'org-export-as-ascii org-default-priority 67 org-clock-modeline-total 'current org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-skip-deadline-if-done t org-completion-use-ido t org-babel-load-languages '((emacs-lisp . t) (sh . t)) org-cycle-global-at-bob t org-agenda-start-with-follow-mode t org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-files '("~/Documents/Tasks/todo.txt") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-archive-save-context-info '(time category itags) org-src-fontify-natively t org-clock-out-remove-zero-time-clocks t org-refile-target-verify-function 'dwa/org-verify-refile-target org-agenda-skip-scheduled-if-deadline-is-shown t org-after-todo-statistics-hook '(dwa/org-summary-todo) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Why functions like org-show-subtree are undocumented?
on Tue Jan 24 2012, Carsten Dominik wrote: > On 23.1.2012, at 16:27, Alexander Corvinus wrote: > >> Hi all, >> >> I just reviewed code in org.el and noticed that function >> org-show-subtree, which is called by org-cycle, unconditionally >> shows whole subtree (exactly what I wanted to have in my >> shortcuts!). >> >> So the question is - why such useful functions like >> org-show-subtree, hide-subtree, show-children aren't documented in >> manual? Because of that, previously I thought that what I wanted was >> impossible (without source change). > > Emacs outline-mode has a plethora of such specific commands, and > exposes all of them as user interface. Org prides itself > to have compressed that entire functionality into the TAB and S-TAB > commands. You specific example, org-show-subtree is basically > TAB TAB on a closed tree. SO yes, there are lots such commands, > but I am no sure it would be good to expose them in the manual. That's the difference between a user manual (documents TAB TAB) and an API reference manual. But both are needed, especially since all Emacs users eventually become programmers at some level. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: [patch] Fixes behavior of org-agenda-tree-to-indirect-buffer [7.8.02 (release_7.7.796.gc512)]
on Sat Feb 25 2012, Dave Abrahams wrote: > on Sat Feb 25 2012, David Maus wrote: > >> Hi Dave, >> >> At Fri, 17 Feb 2012 22:48:13 -1000, >> Dave Abrahams wrote: >>> >>> [1 ] >>> >>> >>> 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. >>> >>> >>> This function was misbehaving in a number of ways. The enclosed patch >>> represents the changes necessary to make it work properly, accumulated >>> over several weeks of testing. Sorry if the description is a bit vague. >> >> Thanks for the patch. I implemented the first to modifications (handle >> org-last-indirect-buffer being nil and window-live-p >> indirect-window). > > Sorry, I can't parse that last sentence, and as a result I'm having > trouble understanding the rest of the message. > >> These were indeed bugs or glitches. >> >> The third modification (set visibility according to property) is a new >> feature. Currently org-tree-to-indirect buffer does not use the >> VISIBILITY property but it makes sense to me to do so. Well, new feature or not, org-tree-to-indirect-buffer stopped behaving correctly for me when it was added, and I had to make adjustments. >> I'll check this out and see to implement this. Thanks. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: [patch] Fixes behavior of org-agenda-tree-to-indirect-buffer [7.8.02 (release_7.7.796.gc512)]
on Sat Feb 25 2012, David Maus wrote: > Hi Dave, > > At Fri, 17 Feb 2012 22:48:13 -1000, > Dave Abrahams wrote: >> >> [1 ] >> >> >> 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. >> >> >> This function was misbehaving in a number of ways. The enclosed patch >> represents the changes necessary to make it work properly, accumulated >> over several weeks of testing. Sorry if the description is a bit vague. > > Thanks for the patch. I implemented the first to modifications (handle > org-last-indirect-buffer being nil and window-live-p > indirect-window). Sorry, I can't parse that last sentence, and as a result I'm having trouble understanding the rest of the message. > These were indeed bugs or glitches. > > The third modification (set visibility according to property) is a new > feature. Currently org-tree-to-indirect buffer does not use the > VISIBILITY property but it makes sense to me to do so. > > I'll check this out and see to implement this. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: [patch] Fixes behavior of org-agenda-tree-to-indirect-buffer [7.8.02 (release_7.7.796.gc512)]
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. This function was misbehaving in a number of ways. The enclosed patch represents the changes necessary to make it work properly, accumulated over several weeks of testing. Sorry if the description is a bit vague. >From c5128d1666e5fbe29a2fdfd6ee51622f05c42e9b Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 17 Feb 2012 22:44:13 -1000 Subject: [PATCH] Fix behavior of org-agenda-tree-to-indirect-buffer --- lisp/org-agenda.el | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 780794e..0c32b48 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7202,16 +7202,19 @@ use the dedicated frame)." (if (and current-prefix-arg (listp current-prefix-arg)) (org-agenda-do-tree-to-indirect-buffer) (let ((agenda-window (selected-window)) - (indirect-window (get-buffer-window org-last-indirect-buffer))) + (indirect-window + (and org-last-indirect-buffer + (get-buffer-window org-last-indirect-buffer (save-window-excursion (org-agenda-do-tree-to-indirect-buffer)) (unwind-protect - (progn -(unless indirect-window + (progn +(unless (and indirect-window (window-live-p indirect-window)) (setq indirect-window (split-window agenda-window))) (select-window indirect-window) (switch-to-buffer org-last-indirect-buffer :norecord) + (org-set-visibility-according-to-property) (fit-window-to-buffer indirect-window)) -(select-window agenda-window) + (select-window agenda-window) (defun org-agenda-do-tree-to-indirect-buffer () "Same as `org-agenda-tree-to-indirect-buffer' without saving window." -- 1.7.5.4 Emacs : GNU Emacs 24.0.92.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2011-12-22 on bob.porkrind.org Package: Org-mode version 7.8.02 (release_7.7.796.gc512) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] bugfix for org-agenda-follow-indirect
Please try/apply enclosed patch: --8<---cut here---start->8--- diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 780794e..3ae5e0c 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7202,16 +7202,17 @@ use the dedicated frame)." (if (and current-prefix-arg (listp current-prefix-arg)) (org-agenda-do-tree-to-indirect-buffer) (let ((agenda-window (selected-window)) - (indirect-window (get-buffer-window org-last-indirect-buffer))) + (indirect-window + (get-buffer-window org-last-indirect-buffer))) (save-window-excursion (org-agenda-do-tree-to-indirect-buffer)) (unwind-protect - (progn -(unless indirect-window + (progn +(unless (window-live-p indirect-window) (setq indirect-window (split-window agenda-window))) (select-window indirect-window) (switch-to-buffer org-last-indirect-buffer :norecord) (fit-window-to-buffer indirect-window)) -(select-window agenda-window) + (select-window (get-buffer-window org-agenda-buffer-name)) (defun org-agenda-do-tree-to-indirect-buffer () "Same as `org-agenda-tree-to-indirect-buffer' without saving window." --8<---cut here---end--->8--- -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] [PATCH] Show human-readable link descriptions first when inserting links
This patch makes it easy to select links from among a forest of similar-looking machine-readable forms. Without it, the human-readable descriptions tend to fall off the right side of the window. >From fa9522e8dd1ef602574d0fb58f8f610ef82b15d7 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 22 Sep 2011 15:11:27 -0400 Subject: [PATCH] Show human-readable link descriptions first when inserting links --- lisp/org.el | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 3953890..34ae6c4 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9016,6 +9016,12 @@ Note: this function also decodes single byte encodings like (setq s (replace-match "%40" t t s))) s) +(defun org-pretty-link (link) + "Return a human-digestible representation of a given LINK, +whose car must be a raw link and whose cadr must be either a link +description or nil." + (concat (or (cadr link) "") "\t[[" (car link) "]]")) + ;;;###autoload (defun org-insert-link-global () "Insert a link like Org-mode does. @@ -9098,9 +9104,7 @@ be used as the default description." Use TAB to complete link prefixes, then RET for type-specific completion support\n") (when org-stored-links (princ "\nStored links are available with / or M-p/n (most recent with RET):\n\n") - (princ (mapconcat - (lambda (x) - (if (nth 1 x) (concat (car x) " (" (nth 1 x) ")") (car x))) + (princ (mapconcat 'org-pretty-link (reverse org-stored-links) "\n" (let ((cw (selected-window))) (select-window (get-buffer-window "*Org Links*" 'visible)) @@ -9109,7 +9113,7 @@ Use TAB to complete link prefixes, then RET for type-specific completion support (org-fit-window-to-buffer)) (and (window-live-p cw) (select-window cw))) ;; Fake a link history, containing the stored links. - (setq tmphist (append (mapcar 'car org-stored-links) + (setq tmphist (append (mapcar 'org-pretty-link org-stored-links) org-insert-link-history)) (setq all-prefixes (append (mapcar 'car org-link-abbrev-alist-local) (mapcar 'car org-link-abbrev-alist) -- 1.7.5.4 -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: org-insert-heading-respect-content is insufficient [7.7 (release_7.7.548.g9a442.dirty)]
#x27;((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-archive-location "TODO-archive::" org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-text-search-extra-files '(agenda-archives) org-habit-today-glyph 9483 org-x-redmine-title-prefix-match-function 'org-x-redmine-title-prefix-match org-agenda-default-appointment-duration 60 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-use-property-inheritance '("AREA") org-blank-before-new-entry nil org-modules '(org-id org-info org-habit) org-agenda-ndays 1 org-checkbox-statistics-hook '(dwa/checkbox-list-complete) org-fast-tag-selection-single-key 'expert org-agenda-window-setup 'current-window org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")) org-confirm-elisp-link-function nil org-edit-src-content-indentation 0 org-metadown-hook '(org-babel-pop-to-session-maybe) org-log-into-drawer t org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-insert-heading-respect-content t org-agenda-skip-unavailable-files t org-checklist-export-function 'org-export-as-ascii org-default-priority 67 org-clock-modeline-total 'current org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-skip-deadline-if-done t org-completion-use-ido t org-cycle-global-at-bob t org-agenda-start-with-follow-mode t org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-files '("~/Documents/Tasks/todo.txt") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-archive-save-context-info '(time category itags) org-src-fontify-natively t org-clock-out-remove-zero-time-clocks t org-refile-target-verify-function 'dwa/org-verify-refile-target org-agenda-skip-scheduled-if-deadline-is-shown t org-after-todo-statistics-hook '(dwa/org-summary-todo) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: org-todo-yesterday doesn't work from agenda buffer [7.7 (release_7.7.548.g9a442.dirty)]
on Wed Nov 23 2011, Bernt Hansen wrote: > Dave Abrahams writes: > >> >> Debugger entered--Lisp error: (error "Before first headline at position 1142 >> in buffer *Org Agenda*") >> signal(error ("Before first headline at position 1142 in buffer *Org >> Agenda*")) >> error("Before first headline at position %d in buffer %s" 1142 #> *Org Agenda*>) > > There's another function to use from the agenda: > org-agenda-todo-yesterday Thanks for pointing that out, silly as it is. > PS. I posted a patch for your clocking error 3 days ago but forgot to CC > you on it so I guess you missed it. Yes, I did. And then I submitted my own patch. :-P -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] How to say "I did that yesterday?"
on Tue Nov 22 2011, Erik Hetzner wrote: > At Tue, 22 Nov 2011 11:40:35 -0800, > Dave Abrahams wrote: >> > >> >> I often discover that I completed something a few days ago and I would >> like to mark it done with the appropriate date as though I had marked it >> done in the past. That means, e.g., for a repeating event it might >> repeat sooner than if it had been done today. Is there a way? > > M-x org-todo-yesterday ? Heh, that doesn't seem to work from the agenda, though :( --8<---cut here---start->8--- Debugger entered--Lisp error: (error "Before first headline at position 1142 in buffer *Org Agenda*") signal(error ("Before first headline at position 1142 in buffer *Org Agenda*")) error("Before first headline at position %d in buffer %s" 1142 #) (condition-case nil (outline-back-to-heading invisible-ok) (error (error "Before first headline at position %d in buffer %s" ... ...))) org-back-to-heading(t) (catch (quote exit) (org-back-to-heading t) (if (looking-at org-outline-regexp) (goto-char ...)) (or (looking-at ...) (looking-at "\\(?: *\\|[]*$\\)")) (let* (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... dolog now-done-p) (when org-blocker-hook ... ...) (store-match-data match-data) (replace-match next t t) (unless ... ...) (unless head ...) (when ... ...) (setq org-last-todo-state-is-todo ...) (setq now-done-p ...) (and logging ...) (when ... ... ... ... ... ...) (org-todo-trigger-tag-changes state) (and org-auto-align-tags ... ...) (when org-provide-todo-statistics ...) (run-hooks ...) (if ... ...) (put-text-property ... ... ... head) (when now-done-p ... ...) (if ... ...) (when org-trigger-hook ...))) (save-excursion (catch (quote exit) (org-back-to-heading t) (if ... ...) (or ... ...) (let* ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...))) (let ((org-blocker-hook org-blocker-hook) (case-fold-search nil)) (when (equal arg ...) (setq arg nil org-blocker-hook nil)) (when (and org-blocker-hook ...) (setq org-blocker-hook nil)) (save-excursion (catch ... ... ... ... ...))) org-todo((4)) (let* ((hour ...) (org-extend-today-until ...)) (org-todo arg)) org-todo-yesterday((4)) call-interactively(org-todo-yesterday t nil) execute-extended-command((4)) call-interactively(execute-extended-command nil nil) --8<---cut here---end--->8--- -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: org-todo-yesterday doesn't work from agenda buffer [7.7 (release_7.7.548.g9a442.dirty)]
e-edit-buffer org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(org-agenda-add-overlays) org-cycle-global-at-bob t org-confirm-shell-link-function nil org-export-first-hook '(org-beamer-initialize-open-trackers) org-clock-persist 'history org-agenda-before-write-hook '(org-agenda-add-entry-text) org-agenda-start-with-follow-mode t org-default-notes-file "~/Documents/Tasks/todo.txt" org-use-property-inheritance '("AREA") org-directory "~/Documents/Tasks/" org-agenda-persistent-filter t org-blank-before-new-entry nil org-babel-pre-tangle-hook '(save-buffer) 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-refile-target-verify-function 'dwa/org-verify-refile-target org-use-speed-commands t org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) (lambda nil (set (make-local-variable (quote yas/trigger-key)) [tab]) (add-to-list (quote org-tab-first-hook) (quote yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 22 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-pretty-entities t org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(dwa/checkbox-list-complete) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] [PATCH] Bug: org-clock-out-if-current => "marker does not point anywhere" [7.7 (release_7.7.397.g5adafd)]
The following patch fixes the bug. --8<---cut here---start->8--- diff --git a/lisp/org-clock.el b/lisp/org-clock.el index e026d93..b47ac66 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1697,6 +1697,7 @@ from the `before-change-functions' in the current buffer." This is used to stop the clock after a TODO entry is marked DONE, and is only done if the variable `org-clock-out-when-done' is not nil." (when (and org-clock-out-when-done +(marker-buffer org-clock-marker) (or (and (eq t org-clock-out-when-done) (member state org-done-keywords)) (and (listp org-clock-out-when-done) --8<---cut here---end--->8--- on Fri Nov 18 2011, Dave 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. > > > > The bug is caused by the following lines: > >(< (point) org-clock-marker) >(> (save-excursion (outline-next-heading) (point)) > > where org-clock-marker is `#' > org-clock-out-if-current() > run-hooks(org-after-todo-state-change-hook) > byte-code("\306\307!\210\310!\203..\311\225Sb\210\310\312 > \313Q!\204..\310\314!\210\302 .\315 .\302 > .\316\216\317\320\321\307\211$*..@.@.A.A.B.B\322\323!.C\311\224.D\324.C!.E\325.E.F\"\211.GA@.H\326.G8.I\327.G8.J.C\206i.\330.K\307.L.C.M\235\211.NA.O.P\203\242..Q\331\232\203\214..R\332=\204\235..Q\204\242..R\203\242..R\332=\204\242.\333 > > \202\367..Q\334\232\203\300..R\203\263..P\204\300.\335\336\337\340.M\"\320\307$\202\367..Q\341=\203\335..C\203\327..O\205\367..O@\202\367..M@\202\367..Q\342=\203...N.M\232?\205\367..C\203..\343.MG.OG\344#.M8\202\367..M.S\345.S!@)\202\367..R\307=\203#..Q\346\232\203#.\320\211.Q\206\367..Q\203\247..Q\330\232\2033.\320\202\367..Q\347=\203>.\320\202\367..Q\350=\203P..I\206\367..T@\202\367..Q\351=\203g..E.U\235A@\206\367..U@\202\367..Q\352=\203\205.\353.U!.U.E.U\235A@\206\201..U@)\202\367..Q.M\235@\206\367..Q;\203\234.\354\355.Q\"\202\367.\356.Q!S.M8\202\367..N\204\267..E\206\367..M@\202\367..C.J\232\203\303.\320\202\367..O\204\314.\320\202\367..H\357>\203\364..V.W=\203\341..O@\202\367..OG\311V\205\367..I\206\367..T@\202\367..O@.X\360\361.X.K#\206...X\211.X\203..\362.X\362Q\202..\362.Y\363\364\365.C\366.X\367\257.Z\320\211.[.\\.:\203j..C.T\235?.]\212\302 > > .\370\216\212\214~\210\371\372.Z\"-\204j.\373\374!\203[.\354\375.C.X#\210\202j.\376\375.C.X#\210\377\201g.\320\"\210\201h.\n!\210\201i..Y\307\211#\210\201j..D!\204\216.\376\201k.\201l..Y!\"\210.E\204\262.\324.X!.E\325.E.F\"\211.GA@.H\326.G8.I\327.G8.J.Q\201m.>\203\344.\376\201n.\343.^G\201o.\325.X.^\".^>G#.^G\201p.\201q.\325.X.^\"\362#$\210.X.T\235?.].X.T\235\205\372..C.T\235?.\\.\203..\201r. > !\210.B\204...@\203\271.._\307=\204\271..Q\201s.>\204\271.\325.X.B\"A@\2063.\344\325.C.B\"8\211.[\201t.=\203K.._\201t.=\203K.\201u..[.X\203j..X.`\235\203j..C.`\235\204j.\201v.\320\211\201w.#\210.\\\203\236..@\203\236.\201v.\201w.\201x. > > \"\210.[\204\236..@\201t.=\203\236.\201y.\350.X.C\201z.\201t.%\210.X\203\271..[\203\271.\201y.\201X..X.C\201z..[%\210\201{..X!\210.a\203\321..b\204\321.\201|.\320\307\"\210.c\203\333.\201}. > \210\201~.\201.!\210.Q\203\366..X.T\235\204\366.\324.X!.E\201\200.\315 > \201\201. \201\202..E$\210.\\\203*.\201\203.\201d.!\203#.\302 > .\201\204.\216\201\205. .d*\201\206..X!\210\201\207. > \203f.n\204f.\212\201\210.\323!\210\310.e!)\203f.`\344\211\225\206M.\323\225\\W\203f.\344\225\206Y.\323\225b\210\310\362!\203f.\201\211. > \210.f\205v.\212\201\212.\201f..Z\")..\207" [org-outline-regexp > org-todo-regexp match-data startpos save-match-data-internal logging > org-back-to-heading t looking-at 0 " +" "\\( +\\|$\\)" " *" point-at-bol > ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data > evaporate] 3)) org-entry-get nil "LOGGING" match-string 1 > org-get-todo-sequence-head assoc 3 4 "" (4) prefix org-fast-todo-selection > (4) org-icompleting-read "State: " mapcar #[(x) "C\207" [x] 1] right left - > 2 last (4) none done nextset previousset reverse error "State `%s' not valid > in this file" prefix-numeric-value (type priority) > run-hook-with-args-until-success org-todo-get-default-hook ...] 10) > org-todo(done) > (if (or (match-string 2) (and ... ...)) (org-todo (quote done)) (org-to
Re: [O] How to say "I did that yesterday?"
on Tue Nov 22 2011, Erik Hetzner wrote: > At Tue, 22 Nov 2011 11:40:35 -0800, > Dave Abrahams wrote: >> > >> >> I often discover that I completed something a few days ago and I would >> like to mark it done with the appropriate date as though I had marked it >> done in the past. That means, e.g., for a repeating event it might >> repeat sooner than if it had been done today. Is there a way? > > M-x org-todo-yesterday ? > > If there is a way to do this for days further in the past, I would > welcome it! I also find myself wanting to do this often. Right now I > just mark it done, then manually adjust the log entries. > > best, Erik > Sent from my free software system <http://fsf.org/>. org-todo-yesterday clearly shows how it could be done. Heh, we could have org-todo respond to negative prefix args by shifting the date back that many days and then prompting for state as though `C-u' had been pressed. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] How to say "I did that yesterday?"
on Tue Nov 22 2011, Michael Brand wrote: > Hi Dave > > On Tue, Nov 22, 2011 at 20:40, Dave Abrahams wrote: >> [...] for a repeating event it might >> repeat sooner than if it had been done today. [...] > > Are you looking for habits? > http://orgmode.org/manual/Tracking-your-habits.html#Tracking-your-habits No, I'm alreay using habits! But if I have a habit to shave every three days and sometime in the past two days I forgot to mark that I shaved, I need a way to record that fact without habits letting me slide for a day and a half past the time I should shave next. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] How to say "I did that yesterday?"
I often discover that I completed something a few days ago and I would like to mark it done with the appropriate date as though I had marked it done in the past. That means, e.g., for a repeating event it might repeat sooner than if it had been done today. Is there a way? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: org-clock-out-if-current => "marker does not point anywhere" [7.7 (release_7.7.397.g5adafd)]
-maybe) org-capture-templates '(("t" "Task" entry (file+headline "~/Documents/Tasks/todo.txt" "Inbox") "* TODO %?\n SCHEDULED: %t\n :PROPERTIES:\n :ID: %(shell-command-to-string \"uuidgen\") :CREATED: %U\n :END:" :prepend t) ) org-footnote-section nil org-agenda-scheduled-leaders '("" "S%d: ") org-archive-save-context-info '(time category itags) org-after-todo-state-change-hook '(org-clock-out-if-current org-checklist) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")) org-agenda-text-search-extra-files '(agenda-archives) org-x-priority-B-silent nil org-agenda-follow-indirect t org-archive-location "TODO-archive::" org-agenda-skip-unavailable-files t org-agenda-default-appointment-duration 60 org-speed-commands-user '(("+" . org-priority-up) ("-" . org-priority-down)) org-habit-today-glyph 9483 org-time-clocksum-use-fractional t org-edit-src-content-indentation 0 org-agenda-sorting-strategy '((agenda habit-down time-up todo-state-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-agenda-prefix-format '((agenda . " %-11:c%?-12t% s") (timeline . " % s") (todo . " %-11:c") (tags . " %-11:c")) org-after-todo-statistics-hook '(dwa/org-summary-todo) org-agenda-restore-windows-after-quit t org-habit-preceding-days 42 org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-skip-scheduled-if-done t org-x-redmine-title-prefix-function 'org-x-redmine-title-prefix org-clock-in-resume t org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(org-agenda-add-overlays) org-cycle-global-at-bob t org-confirm-shell-link-function nil org-export-first-hook '(org-beamer-initialize-open-trackers) org-clock-persist 'history org-agenda-before-write-hook '(org-agenda-add-entry-text) org-agenda-start-with-follow-mode t org-default-notes-file "~/Documents/Tasks/todo.txt" org-use-property-inheritance '("AREA") org-directory "~/Documents/Tasks/" org-agenda-persistent-filter t org-blank-before-new-entry nil org-babel-pre-tangle-hook '(save-buffer) 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-enable-table-editor t org-refile-target-verify-function 'dwa/org-verify-refile-target org-use-speed-commands t org-mode-hook '((lambda nil (set (make-local-variable (quote yas/trigger-key)) [tab]) (add-to-list (quote org-tab-first-hook) (quote yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-pretty-entities t org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-log-repeat nil org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(dwa/checkbox-list-complete) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: Following links moves me in the agenda [7.7 (release_7.7.397.g5adafd)]
ine-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(dwa/checkbox-list-complete) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] [BUG] Unable to use TODO(t@!) to track TODO state changes
on Wed Nov 09 2011, Jason Dunsmore wrote: > Giovanni Ridolfi writes: > >> Jason Dunsmore writes: >> >> Hi, _Jason, >> >>> After reading http://orgmode.org/org.html#Tracking-TODO-state-changes, >>> I expected the "@!" TODO syntax, eg. TODO(t@!), to do the following: >>> >>> - Log timestamp when entering state >>> - Add note when entering state >> >> Well the TODO(t@!) syntax seems not to be allowed. >> >> It is your expectation, I'd say a feature request ;-) > > I thought it was a bug because each of the special characters is > described in the manual as being an individual feature and it isn't > documented that only certain combinations of features work together. There's definitely a bug; either in the manual or code (or both ;->). -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: [testing] missing dependency [7.7 (release_7.7.340.ga342)]
on Wed Oct 26 2011, Bastien wrote: > Hi Dave, > > Dave Abrahams writes: > >> testing/README.org mentions the dependency on jump.el, but not on the >> ESS package, which appears to be required for `(org-test-load)' to >> work > > `org-test-load' works fine here without requiring the ESS package. > > Can you check again? I probably don't have time, sorry. Did you try this with a fresh emacs -Q? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Orgmode performance problem and "solution"
on Wed Oct 26 2011, suvayu ali wrote: > On Wed, Oct 26, 2011 at 10:07, Rainer Stengele > wrote: >> Lacking knowledge of git I deleted everything, cloned from the new repo and >> compiled the files. >> Result was a significantly faster Org experience. >> > > For future reference, a sinple `git pull` would have sufficed. Not if there were compiled files. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Feature idea: show last log entry
on Sun Oct 23 2011, Bernt Hansen wrote: > Dave Abrahams writes: > >> on Wed Oct 12 2011, Bernt Hansen wrote: >> >>> SPC on a task in the agenda opens the task including the drawer >> >> Actually I think Carsten fixed that >> thing-I-thought-was-a-bug-but-you-thought-was-a-feature. At least it >> doesn't do that for me anymore. >> >>> so I can see the details for any given task. > > This still works for me in Org-mode version 7.7 > (release_7.7.447.g77eeb). Yeah, but I'm way ahead of that commit. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Feature idea: show last log entry
on Wed Oct 12 2011, Bernt Hansen wrote: > Dave Abrahams writes: > >> Generally I'm interested in keeping log entries for my Org items for >> historical purposes only (so I like to stash them away in a :LOGBOOK: >> drawer), but on a day-to-day basis I'm interested in the very latest log >> entry; it tells me about the status of the item. For example, if I've >> made a task DELEGATED, the latest log entry usually has the person I've >> delegated it to and often a link to the mail message in which I did the >> delegation. So I'd like a feature that would leave the latest log entry >> outside the drawer, and always file the previous log entry into the >> drawer when I make a new one. >> >> Thoughts? > > I log stuff in :LOGBOOK: with the items reversed so the newest is always > on top. Mine are ordered that way too. > SPC on a task in the agenda opens the task including the drawer Actually I think Carsten fixed that thing-I-thought-was-a-bug-but-you-thought-was-a-feature. At least it doesn't do that for me anymore. > so I can see the details for any given task. I'm using the new org-agenda-follow-indirect feature with this patch (http://patchwork.newartisans.com/patch/1004/)... and the idea is to get a somewhat minimal view of the item. I don't want to open the whole thing. But I can understand why nobody else would be calling for this feature since probably I'm the only one using org-agenda-follow-indirect ATM. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Feature idea: show last log entry
on Wed Oct 12 2011, Achim Gratz wrote: > Dave Abrahams writes: >> Generally I'm interested in keeping log entries for my Org items for > >> historical purposes only (so I like to stash them away in a :LOGBOOK: >> drawer), but on a day-to-day basis I'm interested in the very latest log >> entry; it tells me about the status of the item. For example, if I've >> made a task DELEGATED, the latest log entry usually has the person I've >> delegated it to and often a link to the mail message in which I did the >> delegation. So I'd like a feature that would leave the latest log entry >> outside the drawer, and always file the previous log entry into the >> drawer when I make a new one. > > I'm currently using something similar with two drawers back-to-back: > > :LOGBOOK: > shiny > :END: > :CLOSED: > old cruft > :END: > > That means I have to move old stuff by hand from LOGBOOK to CLOSED (what > I really do is move the :END:/:CLOSED: markers normally), but the way > I'm using this it hasn't been too much trouble. Yeah... that's really not what I want: a) because it would be "too much trouble" for me :-) b) because it would take up screen real-estate to show :LOGBOOK: and :END: about which I don't care at all. > That said, I've been thinking of extending drawers to have "stops", that > is each visibility cycle on a drawer would just pull it out to the next > stop. Specifically for timestamps there should be some function to > auto-move the stop (current+last week for instance). Presumably if that > was made into a more general function one could also just keep a certain > number of lines before the stop. That too sounds cool, but really not what I'm after because of the extra verbosity. With every item there's information that's "current" and then there's the change history, and I want to keep the current information outside the drawer. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Patch: maintain window configuration when org-agenda-follow-indirect is set
>From 5adafd491f520908c8ee180c1b0d63d877fa8547 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 23 Oct 2011 14:41:44 -0400 Subject: [PATCH] Maintain stable window configuration when org-agenda-follow-indirect is set Without this change, org-agenda-follow-indirect tends to cause the window configration to bounce around chaotically as you move from item to item. --- lisp/org-agenda.el | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index e4b1ba5..639ee23 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7168,6 +7168,23 @@ With numerical prefix arg ARG, go up to this level and then take that tree. With a \\[universal-argument] prefix, make a separate frame for this tree (i.e. don't use the dedicated frame)." (interactive) + (if (and current-prefix-arg (listp current-prefix-arg)) + (org-agenda-do-tree-to-indirect-buffer) +(let ((agenda-window (selected-window)) + (indirect-window (get-buffer-window org-last-indirect-buffer))) + (save-window-excursion (org-agenda-do-tree-to-indirect-buffer)) + (unwind-protect + (progn +(unless indirect-window + (setq indirect-window (split-window agenda-window))) +(select-window indirect-window) +(switch-to-buffer org-last-indirect-buffer :norecord) +(fit-window-to-buffer indirect-window)) +(select-window agenda-window) + +(defun org-agenda-do-tree-to-indirect-buffer () + "Implements org-agenda-tree-to-indirect-buffer, but +doesn't attempt to manage stability of the window configuration." (org-agenda-check-no-diary) (let* ((marker (or (org-get-at-bol 'org-marker) (org-agenda-error))) -- 1.7.6.1 -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Org, Diffs, and Version Control
As I've been working on a fairly large Org outline over the past few days, I've discovered that the format is very ill-suited to management and review by (known) version control tools, like Git. Indentation is always changing and volatile information like tags and priorities tends to mix with headlines, which makes diffs very hard to track. This is to say nothing of the fact that diff itself is a poor format for understanding changes that simply reorganize parts of documents. I was wondering what other people do. I want to make sure I understand the changes I'm making to my document and that I haven't unintentionally wiped out a great deal of important material (all the more likely to happen without me noticing because of Org's folding). Hints most appreciated, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: Markup not rendered in document title [7.7 (release_7.7.396.g25c21)]
hide-all-hashes) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-pretty-entities t org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(dwa/checkbox-list-complete) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function org-agenda-include-deadlines 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] `f' in agenda view
on Thu Oct 13 2011, Rainer Stengele wrote: > Am 13.10.2011 10:47, schrieb Rainer Stengele: > >> Me too I sometimes run into this situation where I just want to >> shift past-dated items to today. >> I never had a use case where I wanted to shift an item from "past" to >> "past+n-days> Rainer >> > Well, as indicated somewhere else a "C-c C-s +1" for shifting to tomorrow or > "C-c C-s ." > for shifting to today does exactly what I wanted. > "The power is in the house" already. Yeah, it's just a question of having to think absolutely when you want to think incrementally. That's a lot of keystrokes when what I want is to hit `f' (or something) 3 times to move the items to three days from now. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Feature idea: show last log entry
Generally I'm interested in keeping log entries for my Org items for historical purposes only (so I like to stash them away in a :LOGBOOK: drawer), but on a day-to-day basis I'm interested in the very latest log entry; it tells me about the status of the item. For example, if I've made a task DELEGATED, the latest log entry usually has the person I've delegated it to and often a link to the mail message in which I did the delegation. So I'd like a feature that would leave the latest log entry outside the drawer, and always file the previous log entry into the drawer when I make a new one. Thoughts? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] do it today, or well, tomorrow
on Wed Oct 12 2011, Andrea Crotti wrote: > There is a nice little app for android called "do it tomorrow", where > you can plan easily for one day, and move them to the next day easily. > > I was trying to do the same in org-mode, so my idea is that: > - in the morning I fill some tasks which I should do during the day > - at night I move to the next days the ones which were not finished > > (maybe the "DONE" flag should be set automatically in case they're > trivial or the explanation might go somewhere else). > > The problem is that from the agenda view I can't easily move a task to > the next day, is anyone doing anything like this? Binding `org-agenda-date-later' to a key like `f' ought to work out for you. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Checkbox difficulties
on Thu Oct 06 2011, Dave Abrahams wrote: > Here's a version that deals with at least one of your caveats: > > (defun ndk/checkbox-list-complete () > (save-excursion > (org-back-to-heading t) > (when looking-at (concat > "^\\*+[ \t]+" > org-todo-regexp ;; first match group here > "[ \t].*\\[" "\\(100%\\)\\|[0-9]+%" > "\\|" "\\([0-9]+\\)" "/" "\\([0-9]+\\)" "\\]") > (if (or (match-string 2) > (and (match-string 3) >(equal (match-string 3) (match-string 4 > (org-todo 'done) > (org-todo 'todo) Whoops! Looks like I made some edits to that after my last test. Please try this one instead: --8<---cut here---start->8--- (defun dwa/checkbox-list-complete () (save-excursion (org-back-to-heading t) (when (looking-at (concat "^\\*+[ \t]+" org-todo-regexp ;; first match group here "[ \t].*\\[" "\\(?:" "\\(?2:100%\\)\\|[0-9]+%" "\\|" "\\(?3:[0-9]+\\)" "/" "\\(?4:[0-9]+\\)" "\\)" "\\]")) (if (or (match-string 2) (and (match-string 3) (equal (match-string 3) (match-string 4 (org-todo 'done) (org-todo 'todo) --8<---cut here---end--->8--- -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Using org-babel in other modes?
on Sun Oct 09 2011, Bernt Hansen wrote: > Is it just a matter of defining the mode to use for some new source? Sorry, I don't think I understand the question. > For plantuml I have the following: > (org-babel-do-load-languages > (quote org-babel-load-languages) > (quote ((emacs-lisp . t) >(dot . t) >(ditaa . t) >(R . t) >(python . t) >(ruby . t) >(gnuplot . t) >(clojure . t) >(sh . t) >(ledger . t) >(org . t) >(plantuml . t) >(latex . t > > (add-to-list 'org-src-lang-modes (quote ("plantuml" . fundamental))) > This enables fundamental-mode when I C-c ' on a plantuml block > #+begin_src plantuml :file foo.png > > #+end_src > Does that help? I'm not sure... *looks up org-src-lang-modes* Oh, no I think you misunderstood me. I am not trying to add an additional language recognizer to org-babel. Markdown is a plaintext document format roughly similar to Org. What I want is to modify markdown-mode so that /its/ code blocks, which are currently recognized by markdown-mode but rendered in one solid face and without any language-specific editing smarts, behave like org's. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Using org-babel in other modes?
Org-babel does a magic thing where you get to edit and view your source code blocks in their native modes. Wow! I also happen to use markdown-mode to write blog articles. How hard, on a scale from "read the source and figure it out" to "org-babel already has the hooks; you can do it in 5 minutes," would it be to integrate the org-babel stuff with markdown? Seems like this trick would be extremely useful for quite a few modes (RestructuredText, anyone?) Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Checkbox difficulties
on Mon Oct 03 2011, Nick Dokos wrote: > Dave Abrahams wrote: > >> >> on Mon Oct 03 2011, Nick Dokos wrote: >> >> > Dave Abrahams wrote: >> > >> >> Wow, that's awesome... we're *so* close... but how do I get it to >> >> automatically mark the item DONE when the last box is checked? >> >> >> > >> > Take a look at >> > >> > http://thread.gmane.org/gmane.emacs.orgmode/42715/focus=42721 >> >> Works! Oh-so-awesome! Shouldn't these capabilities be built-in and >> shipped as first class Org features? >> > > Well, if the function can be made to work completely generally, maybe: > as it stands, it is more a proof-of-concept than a complete solution. > > I added an entry in the FAQ on Worg about this - I figured this is the > second time the question has been asked on the list: ergo it's a FAQ ;-) > >http://orgmode.org/worg/org-faq.html#sec-9-7 > > You might want to read the entry: it includes a slightly revised function > but it also includes a couple of caveats that explain why I think it's > not a complete solution: Thanks! Here's a version that deals with at least one of your caveats: (defun ndk/checkbox-list-complete () (save-excursion (org-back-to-heading t) (when looking-at (concat "^\\*+[ \t]+" org-todo-regexp ;; first match group here "[ \t].*\\[" "\\(100%\\)\\|[0-9]+%" "\\|" "\\([0-9]+\\)" "/" "\\([0-9]+\\)" "\\]") (if (or (match-string 2) (and (match-string 3) (equal (match-string 3) (match-string 4 (org-todo 'done) (org-todo 'todo) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: org-clock-marker dangling [7.7 (release_7.7.396.g25c21)]
yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-pretty-entities t org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(ndk/checkbox-list-complete) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: void-function org-list-struct-fix-item-end [7.7 (release_7.7.396.g25c21)]
on Wed Oct 05 2011, Nicolas Goaziou wrote: > Hello, > > Dave Abrahams writes: > >> I got the following backtrace doing `C-c C-c' on the "R" in PRIORITIZE >> from the item below >> >> >> ** TODO [#A] * Org Routine [0/4] ** >>SCHEDULED: <2011-10-05 Wed .+1d> >>- [ ] PRIORITIZE >> - [#A]: must do (not completing on scheduled day has consequences) >> - [#B]: should do >> - [#C]: could do (completely optional but you want to consider it) >>- [ ] REFILE Inbox >>- [ ] TAG with required resource >> - Most of all people so you can filter and make sure all issues with >> that >>person are dealt with >>- [ ] RESCHEDULE/UNSCHEDULE until today is manageable >> - < 15 bite-sized tasks >>:LOGBOOK: >>CLOCK: [2011-10-04 Tue 13:56]--[2011-10-04 Tue 14:02] => 0:06 >>CLOCK: [2011-10-04 Tue 12:06]--[2011-10-04 Tue 13:44] => 1:38 >>- State "DONE" from "TODO" [2011-10-03 Mon 11:52] \\ >> yay! >>- State "DONE" from "TODO" [2011-10-01 Sat 13:33] >>- State "DONE" from "TODO" [2011-10-01 Sat 13:29] \\ >> Yay! >>- State "DONE" from "TODO" [2010-12-20 Mon 16:45] >>- State "DONE" from "TODO" [2010-12-19 Sun 14:50] >>- State "DONE" from "TODO" [2010-11-04 Thu 17:20] >>- State "DONE" from "TODO" [2010-10-21 Thu 12:00] >>- State "DONE" from "TODO" [2010-10-19 Tue 12:19] >>- State "DONE" from "TODO" [2010-10-13 Wed 11:54] >>- State "DONE" from "TODO" [2010-10-10 Sun 11:04] >>- State "DONE" from "STARTED"[2010-10-04 Mon 12:06] >>- State "DONE" from "TODO" [2010-10-03 Sun 11:23] >>- State "DONE" from "TODO" [2010-10-02 Sat 16:30] >>- State "DONE" from "TODO" [2010-10-02 Sat 16:29] >>- State "DONE" from "TODO" [2010-10-02 Sat 16:29] >>- State "DONE" from "TODO" [2010-10-01 Fri 13:22] >>- State "DONE" from "TODO" [2010-09-27 Mon 10:21] >>- State "DONE" from "TODO" [2010-09-24 Fri 13:06] >>- State "DONE" from "STARTED"[2010-09-14 Tue 13:42] >>- State "DONE" from "STARTED"[2010-09-10 Fri 23:51] >>- State "DONE" from "STARTED"[2010-09-07 Tue 14:31] >>- State "DONE" from "STARTED"[2010-09-05 Sun 23:26] >>- State "DONE" from "TODO" [2010-09-04 Sat 15:37] >>- State "DONE" from "TODO" [2010-09-03 Fri 18:23] >>- State "DONE" from "STARTED"[2010-08-31 Tue 10:36] >>- State "DONE" from "STARTED"[2010-08-31 Tue 10:35] >>CLOCK: [2010-10-04 Mon 11:41]--[2010-10-04 Mon 12:06] => 0:25 >>CLOCK: [2010-09-14 Tue 13:18]--[2010-09-14 Tue 13:30] => 0:12 >>CLOCK: [2010-09-07 Tue 13:59]--[2010-09-07 Tue 14:31] => 0:32 >>CLOCK: [2010-09-06 Mon 16:20]--[2010-09-06 Mon 16:47] => 0:27 >>CLOCK: [2010-09-06 Mon 16:19]--[2010-09-06 Mon 16:20] => 0:01 >>CLOCK: [2010-09-05 Sun 21:29]--[2010-09-05 Sun 22:03] => 0:34 >>CLOCK: [2010-08-31 Tue 10:35]--[2010-08-31 Tue 10:36] => 0:01 >>CLOCK: [2010-08-31 Tue 01:04]--[2010-08-31 Tue 01:05] => 0:01 >>CLOCK: [2010-08-30 Mon 20:16]--[2010-08-30 Mon 20:17] => 0:01 >>CLOCK: [2010-08-30 Mon 14:56]--[2010-08-30 Mon 15:01] => 0:05 >>CLOCK: [2010-08-30 Mon 14:43]--[2010-08-30 Mon 14:56] => 0:13 >>CLOCK: [2010-08-29 Sun 16:26]--[2010-08-29 Sun 16:39] => 0:13 >>:END: >>:PROPERTIES: >>:ID: 46607C9F-3F99-4C64-A68C-621AACABE045 >>:LAST_REPEAT: [2011-10-04 Tue 15:51] >>:RESET_CHECK_BOXES: t >>:LOGGING: logdone >>:END: > > I can't reproduce it. Me neither. But it happened, and I figured I'd better report it. >> Package: Org-mode version 7.7 (release_7.7.396.g25c21) > > This release doesn't exist yet. Latest is about > (release_7.7.349.g3d835). > > Could you make sure your Org is clean first, and then try to reproduce > the problem? Wouldn't make any difference, since I can't reproduce it at all. > Note: the function your Org can't find has been introduced quite > recently. It went away when I did `M-x load-library org-list' so I'm guessing there's some code path that fails to (require org-list) when needed. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: void-function org-list-struct-fix-item-end [7.7 (release_7.7.396.g25c21)]
awers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-enable-table-editor t org-refile-target-verify-function 'dwa/org-verify-refile-target org-use-speed-commands t org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) (lambda nil (set (make-local-variable (quote yas/trigger-key)) [tab]) (add-to-list (quote org-tab-first-hook) (quote yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-pretty-entities t org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(ndk/checkbox-list-complete) org-export-babel-evaluate nil org-agenda-skip-additional-timestamps-same-entry t org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("HIDDEN" "PROPERTIES" "LOGBOOK" "OUTPUT" "SCRIPT" "SOURCE" "DATA") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function org-agenda-include-deadlines 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: void-function org-list-struct-fix-item-end [7.7 (release_7.7.396.g25c21)]
awers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-enable-table-editor t org-refile-target-verify-function 'dwa/org-verify-refile-target org-use-speed-commands t org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) (lambda nil (set (make-local-variable (quote yas/trigger-key)) [tab]) (add-to-list (quote org-tab-first-hook) (quote yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-pretty-entities t org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(ndk/checkbox-list-complete) org-export-babel-evaluate nil org-agenda-skip-additional-timestamps-same-entry t org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("HIDDEN" "PROPERTIES" "LOGBOOK" "OUTPUT" "SCRIPT" "SOURCE" "DATA") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function org-agenda-include-deadlines 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] headline navigation and refiling.
on Wed Oct 05 2011, Le Wang wrote: > But doesn't the fact that a user didn't know he could navigate with > org-refile speak laudly for refactoring it into its own key-stroke? So... is anyone going to clue me in? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] headline navigation and refiling.
on Wed Oct 05 2011, Le Wang wrote: > Hi all, > > I like using the org-refile interface to navigate. Without actually refiling? How do you do that? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] `org-agenda-date-later' (was: `f') in agenda view
on Tue Oct 04 2011, John Wiegley wrote: >>>>>> Dave Abrahams writes: > > >> It always strikes me as odd that `f' in agenda view moves the item forward >> by a day even if that leaves it still in the past. Typically if I have an >> overdue item, I just want to schedule it for today or a certain number of >> days in the future, and as it stands it's even a bit non-obvious when I've >> finally bumped it up to today if it's a few days old. Shouldn't the first >> `f' on an overdue item schedule it for today? > > Just to clarify, by 'f' dave means `org-agenda-date-later'. I believe he's > using my keybinding for this command... Yeah, I am. Sorry for the confusion. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] `f' in agenda view
It always strikes me as odd that `f' in agenda view moves the item forward by a day even if that leaves it still in the past. Typically if I have an overdue item, I just want to schedule it for today or a certain number of days in the future, and as it stands it's even a bit non-obvious when I've finally bumped it up to today if it's a few days old. Shouldn't the first `f' on an overdue item schedule it for today? I'm happy to hack something locally if the group doesn't agree, but moving things around in the past seems like such a corner case that I thought maybe this would be a better default behavior. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Suppressing DONE notes per-item?
on Tue Oct 04 2011, John Rakestraw wrote: > Hi, Dave -- > > On Tue, 04 Oct 2011, Dave Abrahams wrote: >> I have a number of repeating items (habits especially) where it's very >> very rare that I have anything to say upon completion. I'd like to >> suppress Org's prompt for a DONE note on those items. Is that possible >> somehow? > > From the doc string for org-log-done: > You can have local logging settings for a subtree by setting the LOGGING > property to one or more of these keywords. NICE! Thank you! -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Suppressing DONE notes per-item?
I have a number of repeating items (habits especially) where it's very very rare that I have anything to say upon completion. I'd like to suppress Org's prompt for a DONE note on those items. Is that possible somehow? TIA, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Hide drawers in indirect buffers?
on Tue Oct 04 2011, Carsten Dominik wrote: > On Oct 2, 2011, at 9:36 PM, Dave Abrahams wrote: > >> >> on Sat Oct 01 2011, Dave Abrahams wrote: >> >>> When I initially request an indirect buffer for an item (especially from >>> the agenda) it shows up with all its drawers open. I'd prefer it if >>> they were closed by default. Is there a way to do that? >> >> To follow up my own post... >> >> This is actually very surprising, because the entry shows up in a state >> that can't be reached by tabbing on its headline, with all the drawers >> open. If you run (org-show-entry) in the indirect buffer it goes into a >> less-noisy configuration. > > This is indeed a bug, fixed now. Thanks. So, just for my education, can you explain why running `org-cycle-hook 'all' is superior to just `org-show-entry' (which was my workaround)? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] [OT] How to save and restore window and frame layout and position of windows on monitor - session management
on Mon Oct 03 2011, brian powell wrote: > * Discovered this a few days ago: Will it solve your "proble"--which > seems to be "saving state"; well, maybe, if you play with the code a > little: > > ;;; perspective.el --- switch between named "perspectives" of the editor > > ;; Copyright (C) 2008-2010 Nathan Weizenbaum > ;; > ;; Licensed under the same terms as Emacs. > > ;; Author: Nathan Weizenbaum > ;; URL: http://github.com/nex3/perspective-el > ;; Version: 1.6 > ;; Created: 2008-03-05 > ;; By: Nathan Weizenbaum > ;; Keywords: workspace, convenience, frames > > ;;; Commentary: > > ;; This package provides tagged workspaces in Emacs, similar to > ;; workspaces in windows managers such as Awesome and XMonad (and > ;; somewhat similar to multiple desktops in Gnome or Spaces in OS X). Aaagh, not another one! Now I have another package to evaluate. Can't the community settle on one solution to this problem? http://www.emacswiki.org/emacs/WorkgroupsForWindows -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: Invalid refile target [7.7 (release_7.7.370.g8e44ba)]
t;.,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-checkbox-statistics-hook '(ndk/checkbox-list-complete) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function org-agenda-include-deadlines 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Checkbox difficulties
on Mon Oct 03 2011, Nick Dokos wrote: > Dave Abrahams wrote: > >> Wow, that's awesome... we're *so* close... but how do I get it to >> automatically mark the item DONE when the last box is checked? >> > > Take a look at > > http://thread.gmane.org/gmane.emacs.orgmode/42715/focus=42721 Works! Oh-so-awesome! Shouldn't these capabilities be built-in and shipped as first class Org features? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Checkbox difficulties
on Mon Oct 03 2011, Nick Dokos wrote: > Dave Abrahams wrote: > >> Wow, that's awesome... we're *so* close... but how do I get it to >> automatically mark the item DONE when the last box is checked? >> > > Take a look at > > http://thread.gmane.org/gmane.emacs.orgmode/42715/focus=42721 Thanks! Trying it now... -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: Feature-request: `org-after-checkbox-statistics-hook' [7.7 (release_7.7.370.g8e44ba)]
on Sun Oct 02 2011, Nicolas Goaziou wrote: > Dave Abrahams writes: > >> I was using checkboxes for a group of subtasks, and was surprised when >> the following (which I lifted from the manual) wasn't causing the parent >> item to be marked DONE upon checking the last box. >> >> (defun dwa/org-summary-todo (n-done n-not-done) >> "Switch entry to DONE when all subentries are done, to TODO otherwise." >> (let (org-log-done org-log-states) ; turn off logging >> (org-todo (if (= n-not-done 0) "DONE" "TODO" >> (add-hook 'org-after-todo-statistics-hook 'dwa/org-summary-todo) >> >> So I set some debugger breakpoints and realized that code wasn't even >> getting called. There's a completely separate wad of code in org-list >> that handles checkbox statistics. So naturally, there's a hook, which I >> added my TODO->DONE function to: >> >> (add-hook 'org-checkbox-statistics-hook 'dwa/org-summary-todo) >> >> But `org-checkbox-statistics-hook' is a list of nullary functions, so of >> course this broke since my function expects N-DONE and N-NOT-DONE. I >> looked around for an easy way to determine N-DONE and N-NOT-DONE but it >> doesn't seem to exist; it's buried in the logic of >> org-update-checkbox-count... I think. What I need is a hook that acts >> like org-after-todo-statistics-hook, but for checkboxes. > > You just have to search for "[ ]" or "[-]" in the current section. If > there is none, and there is at least one "[X]", you can mark your task > as done. Silly me; I was looking for a programmatic interface that would handle things at a level of abstraction above pattern matching in text. But given the number of similar-looking regexps I see scattered through the Org code I'm guessing that's just not the way things are done. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: Undocumented behavior [7.7 (release_7.7.83.g258aa)]
on Sun Oct 02 2011, Nicolas Goaziou wrote: > Dave Abrahams writes: > >> `C-u C-c C-c' on a checkbox seems to make it disappear. If that's >> intentional it should be documented. Otherwise, it should be fixed. > > It is already documented. According to the manual, in "5.6 Checkboxes", > at the "C-c C-c" line: "Toggle checkbox status or (with prefix arg) > checkbox presence at point." Okay, sorry, it's left out of the docstring, which is extensive enough to fool the casual reader (me) into thinking it's complete. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Checkbox difficulties
on Sun Oct 02 2011, Dave Abrahams wrote: > on Sun Oct 02 2011, Nicolas Goaziou wrote: > >> Hello, >> >> Dave Abrahams writes: >> >>> I'm having two problems with checkboxes: >>> >>> 1. They're hard to navigate to. I have a task with 4 checkboxed >>>sub-items, and it's very fiddly getting my cursor in position to >>>check them off. Is there a trick for this? >> >> No. I use C-s to navigate to the check-boxes, like any other text. >> Also, you can use S-up and S-down once you have reached an item. I don't >> use these, though. > > Thanks. Since I realized it will work anywhere in the list item (and > not just in between the `[ ]'s, I don't have too much to complain > about. Actually I just realized `C-M-n' and `C-M-p' effectively do just what I want, jumping quickly among checkboxes. >> You may have a look to org-checklist.el in contrib directory. It >> exactly does that. > > Wow, that's awesome... we're *so* close... but how do I get it to > automatically mark the item DONE when the last box is checked? ^^ Still want that one. Cheers, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Checkbox difficulties
on Sun Oct 02 2011, Nicolas Goaziou wrote: > Hello, > > Dave Abrahams writes: > >> I'm having two problems with checkboxes: >> >> 1. They're hard to navigate to. I have a task with 4 checkboxed >>sub-items, and it's very fiddly getting my cursor in position to >>check them off. Is there a trick for this? > > No. I use C-s to navigate to the check-boxes, like any other text. > Also, you can use S-up and S-down once you have reached an item. I don't > use these, though. Thanks. Since I realized it will work anywhere in the list item (and not just in between the `[ ]'s, I don't have too much to complain about. >> 2. When I have a repeating TODO item with checkbox dependencies, the >>boxes remain checked even when the TODO->DONE auto-rescheduling event >>happens. Is there a way to get tehm unchecked? > > You may have a look to org-checklist.el in contrib directory. It > exactly does that. Wow, that's awesome... we're *so* close... but how do I get it to automatically mark the item DONE when the last box is checked? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: Feature-request: `org-after-checkbox-statistics-hook' [7.7 (release_7.7.370.g8e44ba)]
le-target-verify-function 'dwa/org-verify-refile-target org-use-speed-commands t org-mode-hook '((lambda nil (set (make-local-variable (quote yas/trigger-key)) [tab]) (add-to-list (quote org-tab-first-hook) (quote yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Hide drawers in indirect buffers?
on Sat Oct 01 2011, Dave Abrahams wrote: > When I initially request an indirect buffer for an item (especially from > the agenda) it shows up with all its drawers open. I'd prefer it if > they were closed by default. Is there a way to do that? To follow up my own post... This is actually very surprising, because the entry shows up in a state that can't be reached by tabbing on its headline, with all the drawers open. If you run (org-show-entry) in the indirect buffer it goes into a less-noisy configuration. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Checkbox difficulties
Hi! I'm having two problems with checkboxes: 1. They're hard to navigate to. I have a task with 4 checkboxed sub-items, and it's very fiddly getting my cursor in position to check them off. Is there a trick for this? 2. When I have a repeating TODO item with checkbox dependencies, the boxes remain checked even when the TODO->DONE auto-rescheduling event happens. Is there a way to get tehm unchecked? Many thanks in advance, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: Undocumented behavior [7.7 (release_7.7.83.g258aa)]
org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "LOGBOOK" "OUTPUT" "SCRIPT" "SOURCE" "DATA") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: Can't check collapsed checkbox from end of line [7.7 (release_7.7.351.gb8b5)]
on Sat Oct 01 2011, Nicolas Goaziou wrote: > Dave Abrahams writes: > >> Not for me. When I visit the org file above, press `TAB' to reveal the >> detail of the TODO, move down two lines with `C-n C-n' and press `TAB' >> again to collapse the "PRIORITIZE" bullet, hit `C-e' to go to the end of >> line, then hit `C-c C-c', no checkmark appears. > > That's because you have `org-special-ctrl-a/e' set to nil. You should > set it to t first. Thanks, you're right; that's definitely a setting I want. Regards, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: Can't check collapsed checkbox from end of line [7.7 (release_7.7.351.gb8b5)]
on Sat Oct 01 2011, Nicolas Goaziou wrote: > Hello, > > Dave Abrahams writes: > >> I have the following item in my todo list >> >> >> ** TODO [#A] * Org Routine [1/4] ** >>SCHEDULED: <2011-10-01 Sat .+1d> >>- [ ] PRIORITIZE >> - A: not completing on scheduled day has consequences >> - C: completely optional but you want to consider it >>- [ ] REFILE Inbox >>- [ ] TAG with required resource >> - Most of all people so you can filter and make sure all issues with >> that >>person are dealt with >>- [ ] RESCHEDULE/UNSCHEDULE until today is manageable >> - < 15 bite-sized tasks >> >> >> When the line labelled "PRIORITIZE" is collapsed (the A and C are not >> visible), if I go to the end of that line, `C-c C-c' has no effect > > I've pushed a fix on master. Could you confirm that it is working now? Not for me. When I visit the org file above, press `TAB' to reveal the detail of the TODO, move down two lines with `C-n C-n' and press `TAB' again to collapse the "PRIORITIZE" bullet, hit `C-e' to go to the end of line, then hit `C-c C-c', no checkmark appears. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Hide drawers in indirect buffers?
When I initially request an indirect buffer for an item (especially from the agenda) it shows up with all its drawers open. I'd prefer it if they were closed by default. Is there a way to do that? Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: Can't check collapsed checkbox from end of line [7.7 (release_7.7.351.gb8b5)]
"\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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-refile-targets '((nil :todo . "PROJECT") (nil :maxlevel . 2)) org-extend-today-until 6 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-log-into-drawer t org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org") ) ) ) org-drawers '("PROPERTIES" "LOGBOOK" "OUTPUT" "SCRIPT" "SOURCE" "DATA") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: org-refile-targets doesn't say whether it's AND or OR [7.7 (release_7.7.351.gb8b5)]
Beautiful on Wed Sep 28 2011, Nick Dokos wrote: > Dave Abrahams wrote: > >> I would change the doc for org-refile-targets to say that the resulting >> list of targets is the union of all the targets matched by each cons >> cell. I think you could take that pretty much verbatim. >> > > How's this? > > Nick > > --- > From f853b04fb474493b3b7b8857794c9f120c5f7822 Mon Sep 17 00:00:00 2001 > From: Nick Dokos > Date: Wed, 28 Sep 2011 23:49:13 -0400 > Subject: [PATCH] Amplify the doc for org-refile-targets > > * lisp/org.el: (org-refile-targets) Elaborated the documentation of >the variable as suggested by Dave Abrahams. > > TINYCHANGE > --- > lisp/org.el |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/lisp/org.el b/lisp/org.el > index 945d759..68c6912 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -1864,7 +1864,7 @@ (defcustom org-log-refile nil > > (defcustom org-refile-targets nil >"Targets for refiling entries with \\[org-refile]. > -This is list of cons cells. Each cell contains: > +This is a list of cons cells. Each cell contains: > - a specification of the files to be considered, either a list of files, >or a symbol whose function or variable value will be used to retrieve >a file name or a list of file names. If you use `org-agenda-files' for > @@ -1886,6 +1886,10 @@ (defcustom org-refile-targets nil > Note that, when `org-odd-levels-only' is set, level corresponds to > order in hierarchy, not to the number of stars. > > +Each element of this list generates a set of possible targets. > +The union of these sets is presented (with completion) to > +the user by `org-refile'. > + > You can set the variable `org-refile-target-verify-function' to a function > to verify each headline found by the simple criteria above. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: org-refile-targets doesn't say whether it's AND or OR [7.7 (release_7.7.351.gb8b5)]
on Wed Sep 28 2011, Nick Dokos wrote: > Dave 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. >> >> >> The documentation doesn't specify whether the cons cells are ANDed or >> ORed together when selecting refile targets. >> > > I'm not really sure what you mean, so let me tell you how I understand > this variable and then come back to the question of what you would like > to see. > > AFAIK, the variable is used to construct a set of possible targets: you > select the items to refile and then you select *one* item from this > set. There is completion: as you type, the set is cut down to whatever > subset matches your current input - org does not let you finish until > the refiling target has been specified uniquely. > > Each element of the org-refile-targets list generates a set of posssible > targets. The whole set is the union of these partial sets. Since ORs map > to unions and ANDs to intersections, I guess one could say that they are > ORed together, but personally I find it confusing to think of it in > these terms. Then think of it / describe it in terms of set unions. ORing predicates creates a set union. > Assuming that this is correct, does it help? Yes. > And if it is correct and it does help, what would you change in the > docs to incorporate this information? And how? I would change the doc for org-refile-targets to say that the resulting list of targets is the union of all the targets matched by each cons cell. I think you could take that pretty much verbatim. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: org-refile-targets doesn't say whether it's AND or OR [7.7 (release_7.7.351.gb8b5)]
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. The documentation doesn't specify whether the cons cells are ANDed or ORed together when selecting refile targets. Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-12 on pluto.luannocracy.com Package: Org-mode version 7.7 (release_7.7.351.gb8b5) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] [patch] (was: [feature request] org-indirect-buffer-follow [7.7 (release_7.7.350.g9a179e)])
>From 81ab272ab709c45e898831e5e019e02cfc6617fe Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 24 Sep 2011 15:21:53 -0400 Subject: [PATCH] Add indirect agenda follow mode By setting `org-agenda-follow-indirect' to a non-nil value, `org-agenda-follow-mode' will use an indirect buffer to display only the current item, rather than the whole agenda file in which it lives --- lisp/org-agenda.el | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index b1fa5f5..1b67153 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -872,6 +872,12 @@ Needs to be set before org.el is loaded." :group 'org-agenda-startup :type 'boolean) +(defcustom org-agenda-follow-indirect nil + "Non-nil means `org-agenda-follow-mode' displays only the +current item's tree, in an indirect buffer." + :group 'org-agenda + :type 'boolean) + (defcustom org-agenda-show-outline-path t "Non-nil means show outline path in echo area after line motion." :group 'org-agenda-startup @@ -6608,8 +6614,7 @@ so that the date SD will be in that range." (interactive) (setq org-agenda-follow-mode (not org-agenda-follow-mode)) (org-agenda-set-mode-name) - (if (and org-agenda-follow-mode (org-get-at-bol 'org-marker)) - (org-agenda-show)) + (org-agenda-do-context-action) (message "Follow mode is %s" (if org-agenda-follow-mode "on" "off"))) @@ -6771,7 +6776,9 @@ When called with a prefix argument, include all archive files as well." "Show outline path and, maybe, follow mode window." (let ((m (org-get-at-bol 'org-marker))) (if (and org-agenda-follow-mode m) - (org-agenda-show)) + (if org-agenda-follow-indirect + (org-agenda-tree-to-indirect-buffer) + (org-agenda-show))) (if (and m org-agenda-show-outline-path) (org-with-point-at m (org-display-outline-path t) -- 1.7.3.4 -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: [feature request] org-indirect-buffer-follow [7.7 (release_7.7.350.g9a179e)]
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. In org-agenda-follow-mode, it scrolls me around a big, messy Org file that has way more information than I'm actually interested in. What I really want is the effect of hitting `SPC' automatically whenever I visit an agenda item. Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-12 on pluto.luannocracy.com Package: Org-mode version 7.7 (release_7.7.350.g9a179e) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] [feature request] More flexible repeats
on Sat Sep 24 2011, Eric Abrahamsen wrote: > On Sat, Sep 24 2011, Dave Abrahams wrote: > > [...] > >> >> I think the basic parts of such a language might be: >> >> - predicates, e.g. Mon,Wed,Fri; the first week of each month; the first >> tuesday of the month >> - periods, e.g. 1 month >> - repetitions, e.g. 5 times > > Looks like you're coming up on the crontab syntax :) Good point. I don't need a fancy syntax if I can express it with elisp, of course. Maybe enabling that would be a good first step. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] [feature request] More flexible repeats
on Sat Sep 24 2011, John Wiegley wrote: >>>>>> Dave Abrahams writes: > >> I have habits that I need to perform, e.g., every weekday, or four times a >> week. I don't see a way to express that. If I could schedule a task for >> +1.4d or +1.75d (respectively), I'd be happy. > > Habits aren't really for scheduling, they're for monitoring a simple kind of > consistency. Understood. > So, if you *actually* need to do something four times a week, habits > aren't the best way to express that need. Exactly. They don't have the expressiveness I want, as currently designed. > If I had something that I wanted to do around four times a week, I'd use this: > > .+1d/2d > > Which means, I could do it 7 times a week, or I should do it 3 times a week, > but I'm likely going to fall somewhere in between. I think I see. That means, literally, "at most every day, but at least every two days?" So, a couple of questions: - what would it change if I just wrote .+2d? - how would I express something that I want to do 5 times a week? > Habits were never meant as a precise way to keep you on a schedule. I'm not thinking of them that way. I admit that "every weekday" is pretty precise, but that's merely at the extreme end of a spectrum of consistency. It's still a goal with respect to which I'd reasonably like to be able to monitor my success rate. > The closest way I can think of to do that within Org's current > framework is to schedule four different instances of your task, each > with its own 1 week repeating interval. That way, you'd see the item > appearing in your agenda four times. However, if you start slipping, > things get very messy, very fast. Yes. Regular repeating events and habits both have this problem of no easy way to express interesting repetitions. Even my phone lets me schedule something that happens on weekdays or on two particular days each week. I think the basic parts of such a language might be: - predicates, e.g. Mon,Wed,Fri; the first week of each month; the first tuesday of the month - periods, e.g. 1 month - repetitions, e.g. 5 times General predicates are all you need to express repeating events. I think you need periods and repetitions for habits. > Lastly, even if you did have a 1.4d repeating interval for a habit, Habits > would only show you if you'd been consistent at doing the task every 1.4 days. > It would never be able to tell you if you'd been consistent at doing it 4 > times within any given week. Then 1.4d is clearly *not* the expressive tool I need :-) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: [testing] Need note to (setq org-confirm-babel-evaluate nil) [7.7 (release_7.7.340.ga342)]
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. The interactive testing described in testing/README.org is pretty tiresome otherwise. Or you could use a (let ((org-confirm-babel-evaluate nil)) ... ) in the testing recipe. Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-12 on pluto.luannocracy.com Package: Org-mode version 7.7 (release_7.7.340.ga342) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: [testing] missing dependency [7.7 (release_7.7.340.ga342)]
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. testing/README.org mentions the dependency on jump.el, but not on the ESS package, which appears to be required for `(org-test-load)' to work Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-12 on pluto.luannocracy.com Package: Org-mode version 7.7 (release_7.7.340.ga342) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: `org-test-for-executable' should use `executable-find'... [7.7 (release_7.7.320.gc8c8.dirty)]
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. ...shouldn't it? Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-12 on pluto.luannocracy.com Package: Org-mode version 7.7 (release_7.7.320.gc8c8.dirty) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] [feature request] More flexible repeats
I have habits that I need to perform, e.g., every weekday, or four times a week. I don't see a way to express that. If I could schedule a task for +1.4d or +1.75d (respectively), I'd be happy. Even better would be a more human-readable way to express repetition, because in addition to being frustrated by its limitations, I forget the meaning of Org's fiddly repeat syntax. For example, words like "weekdays" or codes like "4x:w" (meaning four times per week) would be really nice to work with. I'd rather use "/" for "per" but that is already taken. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Feature Requests: `org-refile-targets'
on Wed Sep 14 2011, Dave Abrahams wrote: > Hi all, > > I have two related feature requests: > > 1. The ability to refile based on properties. I have a bunch of items >with a :CATEGORY: entry in their property drawer. I would like such >items always to be refile targets. So I'd like, perhaps, a regexp >for property matching, e.g. "\\`:CATEGORY:.*" > > 2. In-buffer settings for `org-refile-targets'. What makes an >appropriate target in one file may not be a good target in another, >and I want to be able to distribute the file with it refiling options >built-in. > > I can live without #2, since I can always use Emacs' file-local > variables to set `org-refile-targets', but #1 feels more urgent. Actually, I can't live without #2. Setting a file-local variable works fine until I am in the agenda, because the setting doesn't get translated to the agenda buffer(!) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]
on Thu Sep 22 2011, David Maus wrote: >> > The link escaping was changed in November 2010, maybe the link in >> > question is an old one? >> >> Yep. > > Good. This explains it. I think it's unfortunate that link escaping should have been changed in a backward-incompatible way. Seems like the "right" thing to do would have been to add a fallback to the old interpretation if the new one failed. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]
on Tue Sep 20 2011, David Maus wrote: > The original link is alread "wrong", i.e. unescaped. > > The key question are > > 1. How did you create the original link? I used this code: https://github.com/dabrahams/elisp/blob/master/elisp/autoload.d/wl-setup.el#L801 Is there some encoding step I should have applied? > 2. When did you create the original link? It might have been as long as a year ago > I tried taking a link with `org-store-link' and insert it with > `org-insert-link' and the link was properly escaped. > > The link escaping was changed in November 2010, maybe the link in > question is an old one? Yep. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: Problem with link display [7.7 (release_7.7.292.g0d4e8.dirty)]
on Sat Sep 17 2011, Bernt Hansen wrote: > Dave Abrahams writes: > >> on Sat Sep 17 2011, Bernt Hansen wrote: >> >>> Dave Abrahams writes: >>> >>>> 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 have the following in my properties drawer: >>>> >>>>:Message: [[message://4e6b5b46.50...@josuttis.de][Review of "The C++ >>>> Standard Library, 2nd Edition"]] >>>> >>>> The rendering looks like the attached screenshot, though: >>>> >>>> >>>> >>>> >>>> Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 >>>> AppKit 1038.36) >>>> of 2011-09-12 on pluto.luannocracy.com >>>> Package: Org-mode version 7.7 (release_7.7.292.g0d4e8.dirty) >>> >>> This works fine for me on Linux in a minimal emacs setup. >>> Org-mode version 7.7 (release_7.7.297.g64784.dirty) >>> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 >>> on raven, modified by Debian >>> >>> I have strikethrough disabled in my normal setup >>> (http://doc.norang.ca/org-mode.html#sec-16-4) but my minimal emacs test >>> doesn't include this setting. >>> >>> Can you check if it is something in your local configuration that is >>> causing this problem? >> >> Heh, it even happens with emacs -Q if you have a "+" character in the >> previous line (which is required with my .emacs as well to reproduce the >> problem): >> >> ** TODO whatever >>:PROPERTIES: >>:Date: Sat, 10 Sep 2011 14:42:46 +0200 >>:Message: [[message://4e6b5b46.50...@josuttis.de][Review of "The >> C++ Standard Library, 2nd Edition"]], >> [[message://4e748b89.8080...@josuttis.de][{libbok2} Updated files: io, >> i18n, container adapters]] >>:END: > > Ah, I didn't have the + on the previous line earlier. I can reproduce > this with the above example. Personally I would just turn off the > strike-through emphasis to 'fix' this problem but maybe the regexp that > matches emphasis on a line shouldn't allow newlines to match. > I'm not sure what other side effects this change might have. I think that's too simplistic. We don't want to forbid multiline strikethrough, but IMO markup detection should never propagate across distinct items in a property drawer, across paragraph boundaries, etc. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: Problem with link display [7.7 (release_7.7.292.g0d4e8.dirty)]
on Sat Sep 17 2011, Bernt Hansen wrote: > Dave Abrahams writes: > >> 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 have the following in my properties drawer: >> >>:Message: [[message://4e6b5b46.50...@josuttis.de][Review of "The C++ >> Standard Library, 2nd Edition"]] >> >> The rendering looks like the attached screenshot, though: >> >> >> >> >> Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 >> AppKit 1038.36) >> of 2011-09-12 on pluto.luannocracy.com >> Package: Org-mode version 7.7 (release_7.7.292.g0d4e8.dirty) > > This works fine for me on Linux in a minimal emacs setup. > Org-mode version 7.7 (release_7.7.297.g64784.dirty) > GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 > on raven, modified by Debian > > I have strikethrough disabled in my normal setup > (http://doc.norang.ca/org-mode.html#sec-16-4) but my minimal emacs test > doesn't include this setting. > > Can you check if it is something in your local configuration that is > causing this problem? Heh, it even happens with emacs -Q if you have a "+" character in the previous line (which is required with my .emacs as well to reproduce the problem): ** TODO whatever :PROPERTIES: :Date: Sat, 10 Sep 2011 14:42:46 +0200 :Message: [[message://4e6b5b46.50...@josuttis.de][Review of "The C++ Standard Library, 2nd Edition"]], [[message://4e748b89.8080...@josuttis.de][{libbok2} Updated files: io, i18n, container adapters]] :END: -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: Problem with link display [7.7 (release_7.7.292.g0d4e8.dirty)]
an/TODO") org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-src-fontify-natively t org-agenda-tags-column -100 org-hide-leading-stars t org-clock-into-drawer "LOGBOOK" org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-capture-templates '(("t" "Task" entry (file+headline "~/Documents/Tasks/todo.txt" "Inbox") "* TODO %?\n SCHEDULED: %t\n :PROPERTIES:\n :ID: %(shell-command-to-string \"uuidgen\") :CREATED: %U\n :END:" :prepend t) ) org-footnote-section nil org-agenda-scheduled-leaders '("" "S%d: ") org-archive-save-context-info '(time category itags) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")) org-agenda-text-search-extra-files '(agenda-archives) org-archive-location "TODO-archive::" org-agenda-skip-unavailable-files t org-agenda-default-appointment-duration 60 org-speed-commands-user '(("4" org-priority 68) ("5" org-priority 69) ("-" . org-priority-down) ("+" . org-priority-up)) org-time-clocksum-use-fractional t org-edit-src-content-indentation 0 org-agenda-sorting-strategy '((agenda habit-down time-up todo-state-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-agenda-prefix-format '((agenda . " %-11:c%?-12t% s") (timeline . " % s") (todo . " %-11:c") (tags . " %-11:c")) org-habit-preceding-days 42 org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-skip-scheduled-if-done t org-x-redmine-title-prefix-function 'org-x-redmine-title-prefix org-clock-in-resume t org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(org-agenda-add-overlays) org-cycle-global-at-bob t org-confirm-shell-link-function nil org-export-first-hook '(org-beamer-initialize-open-trackers) org-clock-persist 'history org-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file "~/Documents/Tasks/todo.txt" org-use-property-inheritance '("AREA") org-directory "~/Documents/Tasks/" org-agenda-persistent-filter t org-blank-before-new-entry nil org-babel-pre-tangle-hook '(save-buffer) 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-use-speed-commands t org-mode-hook '((lambda nil (set (make-local-variable (quote yas/trigger-key)) [tab]) (add-to-list (quote org-tab-first-hook) (quote yas/org-very-safe-expand)) (define-key yas/keymap [tab] (quote yas/next-field))) (lambda nil (local-unset-key (kbd ".,"))) #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '((lambda nil (setq fill-column (- fill-column 5 org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-clock-modeline-total 'current org-agenda-mode-hook '((lambda nil (local-unset-key (kbd ".," org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-export-babel-evaluate nil org-mobile-post-push-hook '((lambda nil (shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org") (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/checksums.dat") ) (shell-command (concat "perl -i -ne 'print unless /agendas\\.org/;'" "~/Dropbox/MobileOrg/index.org")) ) ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Feature Request: fully reveal links when isearch stops there
When I isearch for `foo' and find it in `[[foo][bar]]', I would like org buffers to show me the whole link, verbatim, rather than merely showing "bar". It's not very useful to see only the description in these cases. TIA, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]
on Fri Sep 16 2011, David Maus wrote: > How did you enter the link into the Org file? > > The original link > > [[message://m2k4n46n5p.wl%d...@boostpro.com]] > > Is unescaped, but Org treats links as always percent-escaped. What > happens is that "%da" is treated as a percent escaped character and > unescaped after read from buffer. > > The link should read: > > message://m2k4n46n5p.wl%25d...@boostpro.com Yeah, I finally figured that out. > This is a troublesome situation > > https://lists.gnu.org/archive/html/emacs-orgmode/2011-09/msg00257.html > > But up to know I didn't find a solution for it. Hmm, well, ... the link started out as a a wanderlust link of a form more like this: [[wl:/message-id:""/%%5BGmail%5D/All%20Mail#103387bf-79b8-4389-ad51-955087347...@gmail.com]] _That_ link used to work. I transformed links like that by search/replace into: [[message://m2k4n46n5p.wl%d...@boostpro.com]] So maybe it's my fault? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]
;* TODO %?\n SCHEDULED: %t\n :PROPERTIES:\n :ID: %(shell-command-to-string \"uuidgen\") :CREATED: %U\n :END:" :prepend t) ) org-footnote-section nil org-agenda-scheduled-leaders '("" "S%d: ") org-archive-save-context-info '(time category itags) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")) org-agenda-text-search-extra-files '(agenda-archives) org-archive-location "TODO-archive::" org-agenda-skip-unavailable-files t org-agenda-default-appointment-duration 60 org-speed-commands-user '(("4" org-priority 68) ("5" org-priority 69) ("-" . org-priority-down) ("+" . org-priority-up)) org-time-clocksum-use-fractional t org-edit-src-content-indentation 0 org-agenda-sorting-strategy '((agenda habit-down time-up todo-state-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-agenda-prefix-format '((agenda . " %-11:c%?-12t% s") (timeline . " % s") (todo . " %-11:c") (tags . " %-11:c")) org-habit-preceding-days 42 org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-skip-scheduled-if-done t org-x-redmine-title-prefix-function 'org-x-redmine-title-prefix org-clock-in-resume t org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(org-agenda-add-overlays) org-cycle-global-at-bob t org-confirm-shell-link-function nil org-export-first-hook '(org-beamer-initialize-open-trackers) org-clock-persist 'history org-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file "~/Documents/Tasks/todo.txt" org-use-property-inheritance '("AREA") org-directory "~/Documents/Tasks/" org-agenda-persistent-filter t org-blank-before-new-entry nil org-babel-pre-tangle-hook '(save-buffer) 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-use-speed-commands t org-mode-hook '(#[nil "\302\300!\210\303.\304\305\306\"\210\307 \310\311#\207" [yas/trigger-key yas/keymap make-local-variable [tab] add-to-list org-tab-first-hook yas/org-very-safe-expand define-key [tab] yas/next-field] 4] #[nil "\300\301!\207" [local-unset-key ".,"] 2] #[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) org-clock-out-remove-zero-time-clocks t org-agenda-ndays 1 org-mobile-pre-pull-hook '(my-org-convert-incoming-items) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-log-buffer-setup-hook '(#[nil "\301Z\211.\207" [fill-column 5] 2]) org-return-follows-link t org-confirm-elisp-link-function nil org-fast-tag-selection-single-key 'expert org-todo-repeat-to-state "TODO" org-clock-modeline-total 'current org-agenda-mode-hook '(#[nil "\300\301!\207" [local-unset-key ".,"] 2]) org-agenda-start-on-weekday nil org-agenda-fontify-priorities t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-export-babel-evaluate nil org-mobile-post-push-hook '(#[nil "\300\301!\210\300\302!\210\300\303!\207" [shell-command "/bin/rm -f ~/Dropbox/MobileOrg/agendas.org" "perl -i -ne 'print unless /agendas\\.org/;'~/Dropbox/MobileOrg/checksums.dat" "perl -i -ne 'print unless /agendas\\.org/;'~/Dropbox/MobileOrg/index.org"] 2] ) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tags-column -97 org-modules '(org-id org-info org-habit) org-agenda-auto-exclude-function 'org-my-auto-exclude-function 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-clock-idle-time 10 org-attach-method 'mv org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Feature request: Select links by description [7.4]
on Thu Sep 15 2011, Dave Abrahams wrote: > on Tue Feb 15 2011, Dave Abrahams wrote: > >> On Mon, Feb 14, 2011 at 11:14 PM, Bastien >> wrote: >>> Dave Abrahams writes: >> >>> >>>> How about just always showing the link as it will be presented to the >>>> user first, followed by the raw link? Then everything will be >>>> consistent. >>> >>> I don't see how it would prevent the problem I've been mentionning: we >>> will still have a mix of descriptions and raw links... or maybe I miss >>> something? >> >> If it's really paramount to avoid a mixture, you must hide all >> descriptions, which would be a step in the wrong direction for me. >> >>> I'm willing to improve the display of links, keep brainstorming! >> >> I'm out of ideas. Leading off with the displayed form of the link is >> the best I can do. > > > > The best is the enemy of the good and all that... is there any reason > this can't be made to work? I actually have some fairly detailed new ideas for design changes in this area if anyone is interested. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: [bug/patch] actually truncate lines in `*Org Link*' buffers [7.7 (release_7.7.292.g0d4e8.dirty)]
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. commit 0d4e8b073144681e3049c3dd1d64f99f38a5f9f1 (HEAD, refs/heads/org-x) Author: Dave Abrahams Date: Thu Sep 15 18:54:10 2011 -0400 BUGFIX: _actually_ truncate lines in the `*Org Link*' buffer Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 36d82cb..b59829c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9004,7 +9004,7 @@ Use TAB to complete link prefixes, then RET for type-specific completion support (reverse org-stored-links) "\n" (let ((cw (selected-window))) (select-window (get-buffer-window "*Org Links*" 'visible)) - (with-current-buffer "*Org Links*" (setq truncate-lines) t) + (with-current-buffer "*Org Links*" (setq truncate-lines t)) (unless (pos-visible-in-window-p (point-max)) (org-fit-window-to-buffer)) (and (window-live-p cw) (select-window cw))) [back] Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-12 on pluto.luannocracy.com Package: Org-mode version 7.7 (release_7.7.292.g0d4e8.dirty) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Feature request: Select links by description [7.4]
on Tue Feb 15 2011, Dave Abrahams wrote: > On Mon, Feb 14, 2011 at 11:14 PM, Bastien wrote: >> Dave Abrahams writes: > >> >>> How about just always showing the link as it will be presented to the >>> user first, followed by the raw link? Then everything will be >>> consistent. >> >> I don't see how it would prevent the problem I've been mentionning: we >> will still have a mix of descriptions and raw links... or maybe I miss >> something? > > If it's really paramount to avoid a mixture, you must hide all > descriptions, which would be a step in the wrong direction for me. > >> I'm willing to improve the display of links, keep brainstorming! > > I'm out of ideas. Leading off with the displayed form of the link is > the best I can do. The best is the enemy of the good and all that... is there any reason this can't be made to work? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Feature Requests: `org-refile-targets'
Hi all, I have two related feature requests: 1. The ability to refile based on properties. I have a bunch of items with a :CATEGORY: entry in their property drawer. I would like such items always to be refile targets. So I'd like, perhaps, a regexp for property matching, e.g. "\\`:CATEGORY:.*" 2. In-buffer settings for `org-refile-targets'. What makes an appropriate target in one file may not be a good target in another, and I want to be able to distribute the file with it refiling options built-in. I can live without #2, since I can always use Emacs' file-local variables to set `org-refile-targets', but #1 feels more urgent. TIA, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] How to update "Info Documentation"?
on Fri Jul 29 2011, suvayu ali wrote: > On Fri, Jul 29, 2011 at 6:54 PM, Dave Abrahams wrote: >> ...or you could use <http://github.com/dimitri/el-get>, which takes care >> of everything, including info, autoloads, and byte-compilation, and >> doesn't require superuser privileges >> > > Is el-get like package.el? Sort of. > In that case how does one track the git version of org-mode? > I think the OP is using the git HEAD. That's the default. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] How to update "Info Documentation"?
on Fri Jul 29 2011, suvayu ali wrote: > On Fri, Jul 29, 2011 at 11:34 AM, Johan Ekh wrote: >> Hi all, >> I keep up to date with org-mode using: >> >> git pull && make clean && make && make doc && make install >> >> It works very well except that my "Info Documentation" is not updated. >> It is still some old version. >> >> What do I have to do to get it updated? >> > > 3 options: ...or you could use <http://github.com/dimitri/el-get>, which takes care of everything, including info, autoloads, and byte-compilation, and doesn't require superuser privileges `M-x el-get-install RET org-mode RET' `M-x el-get-update RET org-mode RET' Cheers, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] What happened to org-complete?
on Sat Jul 02 2011, Ryan Reynolds wrote: > On Jul 2, 2011, at 21:06, Dave Abrahams wrote: >>>> >>> >>> >> Doesn't every OS GUI bind >> `M-TAB' to a window switcher by default? > > The default Meta key in Mac OS is Option, and window switcher is > Command-Tab. Yes, but of course, like I'm sure many other people, I bind Command to Meta so my fingers don't get totally confused when switching platforms ;-) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] What happened to org-complete?
on Sat Jul 02 2011, Nick Dokos wrote: > Dave Abrahams wrote: > >> I used to have >> >> (define-key org-mode-map "\M-/" 'org-complete) >> >> in my .emacs. Now that there is no org-complete function, what should I >> bind to `M /' in org buffers? >> > > I think pcomplete, normally bound to M-TAB: > > , > | pcomplete is an interactive compiled Lisp function in `pcomplete.el'. > | > | (pcomplete &optional INTERACTIVELY) > | > | Support extensible programmable completion. > | To use this function, just bind the TAB key to it, or add it to your > | completion functions list (it should occur fairly early in the list). > ` Thanks for the info, Nick Oops, that doesn't do what I want. Is there a way to get pcomplete to fall back to use dabbrev-expand when it can't complete something another way? I'd RTFM but pcomplete seems to be completely undocumented! [No wonder I didn't stumble across pcomplete: Doesn't every OS GUI bind `M-TAB' to a window switcher by default?] -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] What happened to org-complete?
Hi all, I used to have (define-key org-mode-map "\M-/" 'org-complete) in my .emacs. Now that there is no org-complete function, what should I bind to `M /' in org buffers? Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Documentation suggestion re: buffers containing crypted entries
> I was hit by this last week when I was investigating why my emacs > initialization was taking so long. Later I found out that org-crypt was the > culprit, since it added a "sit for 5s" in order for the user to actually > see this warning. > > The problem is that org-crypt tests the value of the auto-save-default > variable during loading time. This reflects the default behavior and not > the actual auto-save status of the current buffer. > > Maybe a variable to disable this warning could be introduced so that the > user could disable it after understanding the problem. Oh, yes please! I'm finding the delays introduced by this problem almost intolerable. Call me picky but I've gone to great lengths to make emacs very responsive and this sit-for really interferes! -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[O] Bug: build problems [7.5 (release_7.5.343.ge05a)]
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. /Applications/Emacs.app/Contents/MacOS/Emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name \"./lisp/\") (cons \"/usr/local/share/emacs/site-lisp\" load-path)))" -f batch-byte-compile lisp/org.el is ending with these errors: (cd doc && makeinfo --no-split org.texi -o org) org.texi:10224: Misplaced {. org.texi:10224: Misplaced }. org.texi:10226: Misplaced {. org.texi:10226: Misplaced }. Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) of 2011-03-09 on black.porkrind.org Package: Org-mode version 7.5 (release_7.5.343.ge05a) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
Re: [O] Bug: Backtrace [7.5 (release_7.5.135.g7021f.dirty)]
At Thu, 14 Apr 2011 00:17:46 +0200, Carsten Dominik wrote: > > Please try the latest git version. Thanks, I will! -- Dave Abrahams BoostPro Computing http://www.boostpro.com