Re: [O] Begginer using orgmode
Either install emacs DMG from http://emacsformacosx.com/ or Aquaemacs from http://aquamacs.org/ Both will read your .emacs customizations. HTH -- Urs Rau
[O] org-mac-protocol usage under Snow Leopard ?
Gents, Sorry to come back on this topic for the third time. But I have kept bashing at it and even gone to IRC on freenode to try to get help, but I think I need to re-state where I get stuck and then I will likely get hundreds of answers form the people that are used to applescript or services usage under Snow Leopard? I am setting up org-mac-protocol as per instructions from https://github.com/claviclaws/org-mac-protocol/blob/master/org-mac-protocol.org I get stuck trying to use it. Under Usage it says: Usage There are four scripts that can be invoked; org-link, org-link-tabs, org-note, and org-remember. These scripts can be called by various methods, for example, the Script menuhttps://Applications/AppleScript/AppleScript%20Utility.app/ in the menu bar, Quicksilverhttp://code.google.com/p/blacktree-alchemy/, FastScriptshttp://www.red-sweater.com/fastscripts/ etc. Well, I don't have a Script menu, or am looking in the wrong place, and I also don't have Quicksilver (extinct?) or Fastscripts installed. The one odd bit following the instructions was that there was no Scripts dir under my ~/Library dir, but I thought this might be because this is the first time I am trying to setup and use a applescript under my Snow Leopard. How do I tell the Snow Leopard OS that it needs to trigger the scripts I copied into the correct (?) places under: ~/Library/Scripts/org-link.scpt org-link-tabs.scpt org-remember.scpt org-note.scpt orgQSLib/escape.rb getEmacsClient.scpt getItemMetadata.scpt What are the keypresses or triggers to activate the scripts when I am in Safari or another supported App? I feel like I have done all the work and all should be setup, but I don't know how to trigger it or switch it on? Thanks. -- Urs Rau
[Orgmode] Can I archive into datetree based on CLOSED date property
Hi I would quite like to have a function that would work on a region , or on a whole org file of todos and archive completed todos or a selected region into a datetree in the archive file in such a way that all completed todo items would be filed under the date on which their property says they were completed or closed. Maybe it can already do it and I just need to learn how? Thanks for pointers or counter suggestions. Regards -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Symbol's function definition is void: org-datetree-find-year-create / autoload org-datetree library?
On latest git version release_7.4-419-g68114f, [Org-mode version 7.4 (release_7.4.419.g68114f)] , I am trying to archive to a date-tree and get the error: Symbol's function definition is void: org-datetree-find-year-create I found that if I '(load org-datetree.el)' in the scratch buffer, it then succeeds. Does org-datetree not get auto-loaded? Also I have searched the *.el files to find the definition of org-datetree-find-year-create and found inconsistent use of the keep-restriction check, sometimes it is all lower case, sometimes it is all uppercase, I guess lisp is not case sensitive? $ find ./ -type f -exec grep -i keep-restriction {} /dev/null \; ./lisp/org-agenda.el: (date optional keep-restriction)) ./lisp/org-capture.el:(DATE optional KEEP-RESTRICTION)) ./lisp/org-datetree.el:(defun org-datetree-find-date-create (date optional keep-restriction) ./lisp/org-datetree.el:If KEEP-RESTRICTION is non-nil, do not widen the buffer. ./lisp/org-datetree.el:(or keep-restriction (widen)) Regards, -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: org-advertized-archive-subtree: Symbol's function definition is void: org-datetree-find-year-create [7.4 (release_7.4.419.g68114f)]
I am trying to archive completed tasks to a datetree. I am using Move Subtree to Archive file (C-c C-x -C-s) And I get the following error: release_7.4-419-g68114f Org-mode version 7.4 (release_7.4.419.g68114f) afile=/Users/ursr/org/tasksnotes.org_archive org-advertized-archive-subtree: Symbol's function definition is void: org-datetree-find-year-create And I had done a C-c C-x ! to reload all org files, jsut in case. ;-) I have added the following settings taken from the worg site page: http://orgmode.org/worg/org-hacks.html Topic: Archive in a date tree Posted to Org-mode mailing list by Osamu Okano (setq org-archive-location %s_archive::date-tree) (defadvice org-archive-subtree (around org-archive-subtree-to-data-tree activate) org-archive-subtree to date-tree (if (string= date-tree (org-extract-archive-heading (org-get-local-archive-location))) (let* ((dct (decode-time (org-current-time))) (y (nth 5 dct)) (m (nth 4 dct)) (d (nth 3 dct)) (this-buffer (current-buffer)) (location (org-get-local-archive-location)) (afile (org-extract-archive-file location)) (org-archive-location (format %s::*** %04d-%02d-%02d %s afile y m d (format-time-string %A (encode-time 0 0 0 d m y) (message afile=%s afile) (unless afile (error Invalid `org-archive-location')) (save-excursion (switch-to-buffer (find-file-noselect afile)) (org-datetree-find-year-create y) (org-datetree-find-month-create y m) (org-datetree-find-day-create y m d) (widen) (switch-to-buffer this-buffer)) ad-do-it) ad-do-it)) ;; How do I fix this and make sure I can file into a datetree in my archive file? Also are these dates going to be based on USA date field orders or will it work right with European dates? Thanks. Here is my config: Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-09 on black.local ErgoEmacs distribution 1.8.1 Package: Org-mode version 7.4 (release_7.4.419.g68114f) current state: == (setq org-empty-line-terminates-plain-lists t org-log-done 'time org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-files '(~/org/tasksnotes.org ~/org/projects.org) org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-archive-save-context-info '(time file category todo priority itags olpth ltags) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-clock-out-if-current org-checklist) org-agenda-todo-ignore-scheduled t org-archive-location %s_archive::date-tree org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-protocol-protocol-alist '((org-mac-safari-tabs :protocol safari-tabs :function org-mac-safari-tabs :kill-client t) (org-mac-remember :protocol mac-remember :function org-mac-protocol-remember :kill-client t) ) org-agenda-skip-scheduled-if-done t org-tags-exclude-from-inheritance '(crypt) org-tab-first-hook '(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-confirm-shell-link-function 'yes-or-no-p org-reveal-start-hook '(org-decrypt-entry) org-export-first-hook '(org-beamer-initialize-open-trackers) org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) CANCELLED(c) DEFERRED(f))) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file ~/org/notes.org 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-mode-hook '((lambda nil (setq org-mouse-context-menu-function (quote org-mouse-context-menu)) (when (memq (quote context-menu) org-mouse-features) (org-defkey org-mouse-map [mouse-3] nil) (org-defkey org-mode-map [mouse-3] (quote org-mouse-show-context-menu))) (org-defkey org-mode-map [down-mouse-1] (quote org-mouse-down-mouse)) (when (memq (quote context-menu) org-mouse-features) (org-defkey org-mouse-map [C-drag-mouse-1] (quote org-mouse-move-tree)) (org-defkey
Re: [Orgmode] org-mac-protocol usage example
Guys, I am still struggling with this. the main problem is making sense of the following part of instructions on the org-mac-protocol.org installation page, basically how to call on the emacs-server from one of the many org-mac-protocol supported apps. quoted from: https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org : (AppleScript remember ?y * %:shortdesc\n %:initial\n Source: %u, %c\n\n %? (concat org-directory inbox.org) Remember) : (AppleScript note ?z * %?\n\n Date: %u\n (concat org-directory inbox.org) Notes) quoted from: https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org Create =*Remember*= templates #+BEGIN_SRC emacs-lisp (setq org-remember-templates '((template 1) (template 2) ... (template n))) #+END_SRC Two separate =*Remember*= templates are required, one for =org-remember= and one for =org-note=. Two examples: How do the templates relate to using 'n' and 't' for notes and todos, in most other examples? What are the parts of the remember template that relates to that choice? What is the reference later oin the page meaning? quoted from: https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org If you choose to alter the template selection characters, you *must* alter =theProtocol= variable in =org-remember.scpt= and =org-note.scpt= to reflect your changes. What are the 'defaults' or 'built-in' ones? Should this actually use remember or should this now be capture instead? What would need to change to use capture? And as a last but maybe the most central question, of mine, what do I do with the last two AppleScript lines in the above section where I am coming unstuck? How or where do I enter this on a Mac OS X Leopard 10.6.5? quoted from: https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org #+BEGIN_EXAMPLE ~/Library/Scripts/org-link.scpt org-link-tabs.scpt org-remember.scpt org-note.scpt orgQSLib/escape.rb getEmacsClient.scpt getItemMetadata.scpt #+END_EXAMPLE Are the above installation instructions of copying the scripts to the users Library/Scripts directory still correct with Snow Leopard and it's usage of services? Thanks for any help with taking this to a working setup. I promise that I will document my findings on worg. Regards, On 21 Dec 2010, at 22:02, Urs Rau (UK) wrote: Sorry, if this is soo obvious to all you regular emacs and org-mode users. But I am a newbie when it comes to emacs and especially org-mode, I just don't see the tree for the forrest. I have installed the org-mac-protocol as per it's webpage at https://github.com/claviclaws/org-mac-protocol/blob/master/org-mac-protocol.org I am running on Snow Leopard 10.6.5 under GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-09 on black.local and in the Install instructions o that page, I made it all the way down to and add org-mac-protocol to External packages Start emacsserver (server-start) Create *Remember* templates And here is where I get stuck, the sample;e templates don't make sense to me, and besides I already have working ones in my .emacs anyway, one for todos and one for notes. How do these templates relate to either org-capture or org-remember? And what are the default selectors? Is it t for todo and n for notes? I have the following org-capture templates already working for me (setq org-capture-templates '((t Agenda Todo entry (file+datetree ~/org/tasksnotes.org ) \n\n** TODO %?\n%T\n\n%i\n%a\n\n\n :empty-lines 1) (n Agenda Notes entry (file+datetree ~/org/tasksnotes.org ) \n\n** %?\n%T\n%i\n%a\n\n\n :empty-lines 1))) How or where do I now save or put the applescript? and how or where from do I call it up? What are the steps I have to do, leading up to a new todo or note being saved to the named buffers. I have the *.scpt files in the ~/Library/Scripts/ folder (which I had to create btw) A very simple one or two sample in a step by step format would help e greatly. maybe one for iCal for creating a todo from an iCal event and one for a note for an apple mail item? step 1 open ical step 2 highlight or mark event step 3 step 4 ??? step 5 switch to emacs and find new todo in . Thanks for any help or pointers, Regards, -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-mac-protocol usage example
Sorry, if this is soo obvious to all you regular emacs and org-mode users. But I am a newbie when it comes to emacs and especially org-mode, I just don't see the tree for the forrest. I have installed the org-mac-protocol as per it's webpage at https://github.com/claviclaws/org-mac-protocol/blob/master/org-mac-protocol.org I am running on Snow Leopard 10.6.5 under GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-09 on black.local and in the Install instructions o that page, I made it all the way down to and add org-mac-protocol to External packages Start emacsserver (server-start) Create *Remember* templates And here is where I get stuck, the sample;e templates don't make sense to me, and besides I already have working ones in my .emacs anyway, one for todos and one for notes. How do these templates relate to either org-capture or org-remember? And what are the default selectors? Is it t for todo and n for notes? I have the following org-capture templates already working for me (setq org-capture-templates '((t Agenda Todo entry (file+datetree ~/org/tasksnotes.org ) \n\n** TODO %?\n%T\n\n%i\n%a\n\n\n :empty-lines 1) (n Agenda Notes entry (file+datetree ~/org/tasksnotes.org ) \n\n** %?\n%T\n%i\n%a\n\n\n :empty-lines 1))) How or where do I now save or put the applescript? and how or where from do I call it up? What are the steps I have to do, leading up to a new todo or note being saved to the named buffers. I have the *.scpt files in the ~/Library/Scripts/ folder (which I had to create btw) A very simple one or two sample in a step by step format would help e greatly. maybe one for iCal for creating a todo from an iCal event and one for a note for an apple mail item? step 1 open ical step 2 highlight or mark event step 3 step 4 ??? step 5 switch to emacs and find new todo in . Thanks for any help or pointers, Regards, -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] MobileOrg - is line #+LAST_MOBILE_CHANGE: 2010-10-25 19:29:03 important?
I notice that one org file, and only one single one of them. Has a second line that says #+LAST_MOBILE_CHANGE: 2010-10-25 19:29:03. Is this line required? I am trying to clean up my files and don't know how this line came to be? Regards, -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] MobileOrg - why does mobileorg not show all nodes?
Richard, I played some more with my files (which you should have a copy of) and found that because I have an initial config node starting with ** in all of my org files, followed by the main node(s) all with a higher * level, the iPhone GUI only showed me the first config node and nothing else. No Notes , and no subject 1 or subject 2 lower parts. Is this a bug or a feature of MobileOrg on the iPhone? Having the config node in a lower heading level first, I can have that one, not important, node showing collapsed at beginning of file but have the rest of the org file showing in OVERVIEW. notes.org: ** my org file config * Notes ** subject 1 ** subject 2 Do I have to move the file specific config section to the same level as the rest of the main nodes? Thanks. Regards -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] sample file for mobileorg that displays well on iPhone?
I might have made a mess of my org-mode setup by having too many properties set in the # codes of my org file copying too many tricks of the various GTD masters out there. Anyway when I sync with latest released iPhone mobileorg using the latest devel git org-mode, it all works and the files sync back and forth. But the files on mobileorg make no sense, what I mean by that is I get loads of properties displayed but can't see how one is easily supposed to be able to use mobileorg on iPhone and work with todos. I suspect I might be working on the wrong heading level, or might just not have grasped the iPhone UI on how to do things. So what I am hoping is, that somebody might have a sample org file or two, that would be simplistic but would easily make sense on the iPhone UI when synced to it? Thanks, in advance. The more I play with org-mode the more I see it's potential, but at the moment I don't seem to be able to easily integrate it to the mobile platform that is with me all day. Thanks to you guys for creating such an excellent and flexible tool. Regards, -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] An Org-mode clone for Vim
Herbert, Wow! Thanks. great work. I really like the org-mode functionality, but I just can't get my head to grasp the whole emacs philosophy and series of key chords. I am a long time user of vi and have tried many a time over the years to pick up using emacs, but it always took a lot of effort and always eventually fizzled out, as I was faster and more productive with vi. But I never had a 'every day' need like using org-mode that might have kept me on track. But your effort is very timely for me, as I was already slipping away from using org-mode in emacs, as the whole emacs overhead was undoing the productivity gains org-mode was buying me. Keep up the good work, and please let use know , with a link posted here, when the code is up on github and we can start using and cleaning it. Thanks -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Is encryption supposed to work in v 1.4?
I have the latest git version in emacs and am trying to use encryption. The Mobileorg files look to me as if they got properly encrypted, but on the iPhone the v 1.4 app can't determine the encoding, and is never prompting for a password? What's up, what gives? Thanks for what looks like a promising app. -- Urs Rau -- -- Urs Rau ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode