Re: [Orgmode] Agenda clock report does not follow links via keypress
On Mon, Nov 2, 2009 at 02:47, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Chris, On Oct 30, 2009, at 10:47 PM, Chris Leyon wrote: When I generate a clock report in the agenda, the Headline column contains things that *look like* Org links. I can mouse-1 or mouse-2 on them and the corresponding items pop up correctly. But if I move point onto one of these and press Return, I am told Command not allowed in this line, even though org-return-follows-link is t. If I press `C-c C-o', I get Wrong type argument: number-or-marker-p, nil. I am using org-version 6.32 on GNU Emacs 23.1. this should now work. For RET the cursor must be on the link, but `C-c C-o' will get you there if the cursor is anywhere in the line. - Carsten Thanks Carsten, I tested this and it seems to work as you say in release_6.32b-65-gd51a. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Agenda clock report does not follow links via keypress
When I generate a clock report in the agenda, the Headline column contains things that *look like* Org links. I can mouse-1 or mouse-2 on them and the corresponding items pop up correctly. But if I move point onto one of these and press Return, I am told Command not allowed in this line, even though org-return-follows-link is t. If I press `C-c C-o', I get Wrong type argument: number-or-marker-p, nil. I am using org-version 6.32 on GNU Emacs 23.1. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: How to Strip TODO headword and refile as a note
On Sat, Oct 24, 2009 at 08:49, Matt Lundin m...@imapmail.org wrote: it out of my agenda and todo file, I also want to file a note about the issues, and what I learned about them. I'm quite not sure I understand what you're asking, but wouldn't it be simplest to mark the item as DONE? Inactive todos do not appear in the agenda. Then you could either add a note to the item with C-c C-z or simply jump to the location of the complete item and add a new sibling with notes and/or a new TODO. But perhaps you're trying to accomplish something different... Best, Matt One way to do this is to have DONE items automatically prompt for a note. You enter your text into a buffer and press C-c C-c to finish the process. It is very much like `remember'. If you don't want a note at all, press C-c C-k instead. Do this by setting your `org-todo-keywords' so that the DONE state is defined as DONE(d@). See section 5.3.2 of the manual Tracking TODO state changes. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-toggle-link-style
I wanted this operation on a key (rather than a menu option), so I am sharing my function in case anyone else finds it useful: (defun org-toggle-link-style () Toggle between descriptive and literal link styles. (interactive) (if (member '(org-link) buffer-invisibility-spec) ;; descriptive - literal (progn (org-remove-from-invisibility-spec '(org-link)) (message Showing literal links)) ;; literal - descriptive (org-add-to-invisibility-spec '(org-link)) (message Showing descriptive links)) (org-restart-font-lock)) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: POLL: Change of keys to move agenda through time
Another solution would be to use f and b to move forward and backward in time. Some other Agenda bindings would have to change to accommodate this. Old f (org-agenda-follow-mode) could become F which is unused. But b and B are both used and would need to be remapped. Obviously this is not the easiest possible solution. However, these bindings would be very consistent with the conventions of most other Emacs packages. The agenda mode bindings are getting very crowded with many functions and free keys are running out. It may be time to start creating prefix-keys/dispatchers a la Dired and Gnus. On Tue, Aug 25, 2009 at 07:48, Carsten Dominikcarsten.domi...@gmail.com wrote: I tend to agree with the arguments that n and p should move vertically in the agenda buffer, because many Emacs modes do it like this. So it seem to me that this discussion should focus on which keys should move the agenda forward and backward in time. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: POLL: Change of keys to move agenda through time
On Tue, Aug 25, 2009 at 11:31, Manishmailtomanish.sha...@gmail.com wrote: On Tue, Aug 25, 2009 at 8:38 PM, Christian Egli wrote: No. Why would you want to do cursor motion in the agenda? One could make part of a heading a link to, say, an email, and may want to visit that. Clockreport also shows links which can be followed with C-c C-o when point is on them. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Format of headings spanning days in agenda day/week view
On Sun, Aug 23, 2009 at 10:17, Nick Bellm...@nickbell.org wrote: At present they look like this: (1/2): John's Event 2009-09-03 Thu--2009-09-04 Fri I would rather the 2009-09-03 Thu--2009-09-04 Fri was missed off entirely as it's obvious from the agenda when the dates are. Nick In my experience, putting the timestamp range on a separate line, though still part of the entry, will do what you want. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Small patch for org-ido-switchb
For some semi-short time, org-ido-switchb has been broken, complaining about wrong type arguments. The attached one-line patch corrects this. --- org.el.orig 2009-03-26 11:38:36.0 -0400 +++ org.el 2009-03-26 11:39:09.0 -0400 @@ -12624,7 +12624,7 @@ (t (org-buffer-list) (switch-to-buffer (org-ido-completing-read Org buffer: - (mapcar 'buffer-name blist) + (mapcar 'list (mapcar 'buffer-name blist)) nil t (defun org-buffer-list (optional predicate exclude-tmp) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] POLL: the 40 variables project
On Thu, Jan 29, 2009 at 3:49 AM, Carsten Dominik domi...@science.uva.nl wrote: list all the Org-related variables that you have customized, along with the values you used? Here are my settings: (setq org-directory (file-name-as-directory (cond ((at-work-p) ~/work/orgfiles) ((at-home-p) ~/u/orgfiles) (t .))) org-agenda-files (if (or (at-work-p) (at-home-p)) (list org-directory)) org-agenda-include-diary t org-agenda-sorting-strategy'((agenda time-up category-keep priority-down) (todo priority-down category-keep) (tags category-keep priority-down) (search category-keep)) org-agenda-start-on-weekday(if (at-work-p) 1 nil) ; begin week agenda on Monday if at work org-agenda-todo-ignore-scheduled t org-annotate-file-storage-file (concat user-emacs-directory file-annotations.org) org-attach-method 'ln org-attach-auto-tagnil ; default is ATTACH org-completion-use-ido t org-confirm-elisp-link-function'y-or-n-p org-default-notes-files(concat org-directory NOTES.org) org-hide-emphasis-markers t org-id-method 'uuidgen org-link-mailto-program'(shell-command rxvt +sb -e mutt %a -s '%s') org-log-done 'note ; Record a note along with the timestamp org-mairix-display-hook'org-mairix-mutt-display-results org-mairix-mutt-display-commandmy_rxvt -title 'mairix %search%' -e mutt -f ~/Mail/mfolder -e \push display-message\ org-remember-templates `((Todo?t * TODO %^{Task}\n - State \TODO\ %U \n%?\n %i\n%a ,(concat org-directory TODO.org)Tasks) (Journal ?j * %U %?\n %i\n %a ,(concat org-directory JOURNAL.org)) (Idea?i * %^{Title}\n %i\n %a ,(concat org-directory JOURNAL.org) New Ideas)) org-return-follows-linkt ;org-reverse-note-order t ; Non-nil = Store new notes at the beginning org-special-ctrl-a/e 'reversed org-special-ctrl-k t org-time-stamp-rounding-minutes'(0 15) org-todo-keywords '((sequence TODO(t@) STARTED(s!) WAITING(w@/!) | DONE(d@/!)) (sequence | DEFERRED(D@/!) ABANDONED(A@/!))) org-todo-keyword-faces '((ABANDONED . shadow) (DEFERRED . shadow) (STARTED . (:foreground Blue1 :weight bold)) ; org-agenda-date-weekend (WAITING . (:foreground DarkGoldenrod :underline t))) ; org-ellipsis org-use-fast-todo-selectiont ) (when (at-work-p) (setq org-publish-project-alist'((org :base-directory ~/work/orgfiles/ :publishing-directory ~/public_html)) org-link-abbrev-alist'((bugzilla . https://bugzilla.example.com/show_bug.cgi?id=;) (customer . file:~/work/orgfiles/CUSTOMER.org::*%s) (google . http://www.google.com/search?q=;) ;(mbox . shell:rxvt +sb -e mutt -f ) ; still asks for confirmation... (mbox . elisp:(mbox \%s\)) ; still asks for confirmation... (rt . https://ticket.example.com/Ticket/Display.html?id=;) ))) And I wrote some comments - org-directory :: Different directories for work personal. - org-agenda-include-diary :: I like to use %%diary-anniversary MM DD ). - org-agenda-sorting-strategy :: Change `todo' sort. It drove me crazy that #A items could appear at the middle or bottom of list. - org-agenda-start-on-weekday :: Different at work or home. - org-agenda-todo-ignore-scheduled :: Keep global todo list less cluttered. - org-annotate-file-storage-file :: I find org-annotate-file very useful. - org-attach-method :: My first Unix didn't have symlinks :-/ - org-attach-auto-tag :: I don't like the default tag, but I think it's useful to see until you get used to how attachments work. - org-completion-use-ido :: Ido has
[Orgmode] org-ido-switchb
I recently switched from iswitchb to ido, but I missed org-iswitchb. So I wrote an ido version. org-ido-switchb.el Description: Binary data ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-ido-switchb
On Thu, Dec 18, 2008 at 5:09 PM, Carsten Dominik domi...@science.uva.nl wrote: Hi Chris, can I add this to Org-mode? - Carsten Of course. It's just your org-iswitchb function with the unwind-protect iswitchb-mode stuff taken out. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Computed negative CLOCK time 1 hour off
There is a precedent in the Emacs manual -- Appendix E, Antinews: For those users who live backwards in time [...] :-) I admit there may not be great practical utility in a negative time range. But the interval is well-defined so it ought to be computed correctly. I would say that a wrong answer is worse than no answer since it may be believed correct at first glance, when it is not. Anyway, I'm including a patch for 6.09 which seems to fix the problem On Thu, Oct 16, 2008 at 12:39 PM, Carsten Dominik [EMAIL PROTECTED] wrote: Hi Chris, what could possibly be the purpose of a negative time range? Are you working for a secret government agency? :-) - Carsten --- /home/cleyon/u/share/emacs/site-lisp/org-6.09/lisp/org.el 2008-10-09 10:25:12.0 -0400 +++ org.el 2008-10-16 21:57:45.0 -0400 @@ -2511,11 +2511,12 @@ (apply 'encode-time (org-parse-time-string te))) (time-to-seconds (apply 'encode-time (org-parse-time-string ts - h (floor (/ s 3600)) + sign (if ( s 0) - ) + h (truncate (/ s 3600)) s (- s (* 3600 h)) - m (floor (/ s 60)) + m (truncate (/ s 60)) s (- s (* 60 s))) - (insert = (format %2d:%02d h m)) + (insert = (format %s%d:%02d sign (abs h) (abs m))) t)) (defun org-check-running-clock () ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Using Alt as Meta
On Mon, Apr 7, 2008 at 4:16 PM, Dan Davison [EMAIL PROTECTED] wrote: Why is is that I have to use Esc-Right for org-metaright, and Alt-Right brings up the message: 'A-right is undefined'? What's an appropriate way to tell org-mode to use Alt as Meta in this situation? Thanks! Dan Try putting `(setq x-alt-keysym 'meta)' in your .emacs ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] help with modifying a bit of code in .emacs
On Dec 13, 2007 2:11 PM, Graham Smith [EMAIL PROTECTED] wrote: I have been trying to rewrite the code to avoid the custom-set-variables in .emacs but have finally come unstuck with this bit: [...] Invalid read syntax: Invalid string property list error when launching Emacs and narrowed it down to this bit of code. Can anyone point out where this is wrong. The rest of it loads OK, its just this bit which is failing. The #(...) is attempting to set a text property on the string DELEGATED. Apparently nil is not valid in this location. See section 2.3.8.4 in the Elisp info document. Since nil probably means no property, you can just eliminate the #() syntax. Also, your parentheses don't match up; you need extra closing parens after some entries to make a well-formed list. You probably want to end up with something like this (not tested but at least it evaluates without error): (setq org-agenda-custom-commands '((d todo (DELEGATED)) (c todo (DONE|DEFERRED|CANCELLED)) (w todo (WAITING)) (W agenda ((org-agenda-ndays 21))) (A agenda ((org-agenda-skip-function (lambda nil (org-agenda-skip-entry-if (quote notregexp) \\=.*\\[#A\\]))) (org-agenda-ndays 1) (org-agenda-overriding-header Today's Priority #A tasks: ))) (u alltodo ((org-agenda-skip-function (lambda nil (org-agenda-skip-entry-if (quote scheduled) (quote deadline) (quote regexp) [^\n]+))) (org-agenda-overriding-header Unscheduled TODO entries: ) Many thanks, Graham Chris ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Ringing the alarm bell in orgmode
On 11/6/07, William Henney [EMAIL PROTECTED] wrote: The big problem I have with info is in setting it up so that it finds the right files. For instance, I have totally failed to work out how I can tell it where my org info files are, with the result that it always shows me the old version that comes with my emacs (currently 4.67). I have tried setting Info-default-directory-list and Info-directory-list, but all to no avail. Has anyone else had this problem? Cheers Will I too have experienced frustration attempting to use the Info-*-directory-list variables. However, I can live without this particular feature, so I haven't spent much time trying to make it work. But I can tell you how to go to a specific info file which corresponds to your new Org version: from any info page, press the `g' key. When it prompts Go to node:, enter an opening parenthesis `(', then a path to your desired info filename. (Filename completion via the Tab key works here which is very helpful.) When you reach your filename, close with a final `)' character, although Tab will insert this for you too. Press Enter, and your desired Info file should open. Chris ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Dynamically compute org-agenda-files
I currently use Planner for organizing my work activities notes and am contemplating converting to Org-mode, but there is a capability that Planner has which Org doesn't (AFAIK) that is holding me back. (No flamewar please.) I have hundreds of Planner files, one for each of my customers, with WikiNames. When I add a new customer, I just create a new file from a template and put it in my `muse-project-alist' directory and Planner automatically sees the file, its tasks, it is automatically searchable, etc. But in org-mode, it is not feasible to maintain hundreds of separate files. I prefer having separate files for each customer so I'd like to keep that paradigm. What I would like is something along the lines of an org-agenda-files-directory variable, which would be a directory (or a list of dirs) that would be automatically searched for *.org files. I'm no lisp hacker, but it appears that Org uses the value of the variable `org-agenda-files'. What if this could be changed to a function along the lines of: (defun org-agenda-files () (directory-files org-agenda-files-directory t *\\.org)) or something similar? ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode