Re: [O] advice please: best way to export to DOC(X) with maths
Thanks! I will experiment with this work-flow, but i have one other issue, any advice on working with existing (word) document templates? I have to work within templates, so it would be great if i could manage to conform. On 19 December 2017 at 06:09,wrote: > On 2017-12-15 12:28, Eric S Fraga wrote: > >> On Friday, 15 Dec 2017 at 03:20, ed...@openmail.cc wrote: >> >> [...] >> >> I only know how to do a rough approximation by means of pandoc: >>> >>> #+BEGIN_SRC bash >>>pandoc -f org+smart my-original.org -t docx+smart -o my-output.docx >>> #+END_SRC >>> >> >> What version of pandoc are you using? My Debian (testing) has pandoc >> 1.19.2.4 and it does not seem to recognise the +smart bits... >> >> But, in any case, pandoc (without the smart bits) does seem to do a >> reasonable job and creates proper maths entities. This is good enough >> for me! My once a year pain is relieved. :-) >> >> Thanks, >> eric >> > > I'm sorry for the very late response (deadlines). I will check for the > pandoc version and let you know. One of the distros that I use is a rolling > linux. The other one is the same as yours. I would also like to note that I > got the pandoc snippet from Dr. Kitchin's website: > http://kitchingroup.cheme.cmu.edu/blog/2015/01/29/Export-org > -mode-to-docx-with-citations-via-pandoc/ > > I checked, and I am very satisfied with ~C-c C-e o o~. I set #+OPTIONS: > dvipng. You can't edit the formulas, but I don't care about that. All my > equations look fine and the pictures too. I also have to copy my references > by hand, but that is the least of my issues, and I only do it when the > final version is ready. I also get my source blocks right. > > I think that the only thing which is really missing from Org as related to > exporting is handling pictures inside tables (a way to create subfigures). > There is a partial solution with ox-latex-subfigure [[ > https://github.com/linktohack/ox-latex-subfigure]], but is limited in the > :width parameter. One of these days I will learn LISP and implement it > myself (unless another brave soul goes for it first). Even Beamer columns > can be used to this end, but this would only work for presentations. I > don't know any other way. > > > - > > ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of > the NSA's hands! > $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No > bandwidth quotas! > Commercial and Bulk Mail Options! >
Re: [O] advice please: best way to export to DOC(X) with maths
Does anyone know of a good round trip/review workflow for word documents? I'm interested in generating documents and processing feedback/comments, especially with word document tracking. On 15 December 2017 at 14:30, Eric S Fragawrote: > On Friday, 15 Dec 2017 at 13:58, Fabrice Popineau wrote: > > The best way is probably to generate a PDF with LaTeX > > and to open it with MS-Word. Yes, it can do that, and the math import > > is quite good (for what I have seen, at least as good as any other > > alternative option). > > Interesting. I don't use MS Word (I'm on Linux on all of my systems) > but may ask somebody to check this out for me. LibreOffice almost works > importing the PDF generated via LaTeX but not quite. OneDrive (web > interface) doesn't quite work either. > > But pandoc is handling most of what I need. > > thanks, > eric > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.1.4-214-ge8b71b >
[O] RFC better Unicode support - Unicode Characters causing problems with TAGs etc.
Hi, I have been experimenting with some Unicode symbols as part of my TODO and TAG definitions, to mixed results. I would like to propose that they are given first class support, especially in tags and priorities. Also, are other people using Unicode, and if so, how? especially with visually consistent tables, does anyone have a a good mono-spaced to recommend? Here is some stuff to play with: #+PRIORITIES: ❢ ☯ ⧖ #+TAGS: emacs⚙ ⌚yakshaving #+SEQ_TODO: ☐TODO ❢☐ ☯☐ ⌚☐ ⚙☐ ✍☐ ⧖ | ✔☺ ✔ ✘ ☑ ☒ ☓ ☑DONE ☒CANCELLED ☓ TODO fastkeys and similar seem to work Tables: | symbols| Interpretation | | | | | ❢☐ || | | | | ❢TODO || | | | | ⌚☐WAITING || | | | | ⧖WAITING || | | | | ✔☺ || | | | | ✔DONE || | | | | ✘ || | | | | ☑ || | | | | ☒ || | | | | ☓ || | | | * [#⧖] ❢☐ add ispell write mode hook to saving journals :emacs⚙: --- Tim.
Re: [O] Problems with opening a link
Hi, I've had a similar issue, but with redmine links. if i have #+LINK: rm http://redmine/issues/%s * link [[rm:3287]] does not work properly any more (with firefox under KDE) best regards, Tim. On 31 March 2017 at 14:52, Carsten Dominikwrote: > Hi Scott, > > which system are you on? > > I am using a Mac, and the "open" command in the mac as > browse-url-generic-program > > Carsten > > On Fri, Mar 31, 2017 at 2:22 PM, Scott Randby wrote: >> >> On 03/31/2017 05:39 AM, Carsten Dominik wrote: >> > Hi everyone, >> > >> > I have problems opening a link in org. >> > >> > The link looks like this: >> > >> > >> > https://ui.adsabs.harvard.edu/#search/q=author%3A%22Dominik%2CC%22/metrics >> > >> > I have copied it like this from the address bar in a browser. >> > >> > If I click on it in Org-mode, the link is modified to >> > >> > https://ui.adsabs.harvard.edu/%23search/q=author:%22Dominik,C%22/metrics >> > >> > before being sent to the browser, and the browser cannot resolve it. >> > The problem seems to be that # has been turned into %23 >> >> The link worked fine when I tried opening it from an Org file. I'm using >> Org 9.0.3 in Emacs 24.5.1 and my browser is Firefox. >> >> Scott Randby >> >> > >> > Where does this happen, and how can I fix this? >> > >> > Thank you. >> > >> > Carsten > >
[O] Question: state of the art using org for a Knowledge manager with publishing
I'm in my semi-regular rebuild of my org-mode process, and during my re-boot post-mortem i came to the conclusion that i need to use it more like a knowledge manager/wiki that i can publish parts of. I realise others on the list are out there doing this, or something like it. Do people have examples they can share on best practices? Cheers, Tim.
Re: [O] My sync setup for Org-mode files and more: unison, git (was: Require feedback on an idea: move to a central server all my org file and edit from there?)
Hi, My setup uses Dropbox and encfs. It is the best cross platform solution for managing this problem i have come across. I used to use git repos, unison, ssh tunneling, etc, but Dropbox beats them all hands down, and i can use it with a free account. - Windows - Dropbox + boxcryptor classic - Andoid - Dropbox + android Boxcryptor classic or cryptonite - Linux/Macos - Dropbox + encfs I created a script to automount and manage encfs and possible conflicts on the encrypted filesystem from my bash command line. You can find the script here: https://github.com/timoc/encfsbox I've been using this setup for a few years now and it auto-syncs all of my org files, research material etc (and git repositories) securely between multiple hosts. I also use it to securely share org-files and working support material with others, The only caveat is to add this line (or add a org-mode hook) to the top of your org file, so that if an org file is open elsewhere when you edit your dropbox it will get auto-reloaded by emacs: # -*- mode: org; mode:auto-revert; -*- Dropbox manages conflict detection between the various hosts. I have very rarely had any conflicts between hosts. If you use my enfsbox script it will automatically tell you if it encounters conflicts in the encrypted files, and you can call it with the C parameter to move the conflicted file into the encfs filesystem so you can perform a merge. Hope this helps. Tim. P.S. if you like this idea, and want to create a Dropbox account, please use this link: https://db.tt/d1zHZ92 It donates extra dropbox storage to me, for which i will tidy-up and publish my multi-dropbox account version and accept feature requests via github :) On 25 January 2016 at 16:42, Karl Voitwrote: > Hi! > > * Xebar Saram wrote: >> >> I keep syncing (via git,unison etc) all my org files all the time between 4 >> machines and i just had enough :) im not (and probably never will be) >> disciplined enough to properly save and close all my 100's of buffer before >> i leave each machine each time and im always faced with conflict/merging >> hell.. > > I do have privacy concerns since my most precious data is all > managed via Org-mode. > > My system with four machines (1x Win7, 3x Linux) is: > > - home desktop: > - gitwatch + auto-commit: committing all changes when I save a > file (or a file gets synced) > - unison over ssh: sync with my own root-server via 10min cron-job > > - root server: > - just providing data and sync services > - no Emacs processing > > - home notebook: > - unison over ssh to root server (10min cron-job) > > - work (Win7): > - manual unison sync in the morning & evening > > Since I close Emacs when I'm done working on a machine, I avoid > merge hell so far. > > I never forget to sync because Org is very important to me and the > sync jobs don't just sync Org-mode files but my whole core data-set > of several hundreds megabytes. I tend to use this functionality also > for "high-frequency" backup of my most important data. > > -- > mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: >> get Memacs from https://github.com/novoid/Memacs < > > https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github > >
Re: [O] backend for todo.txt format (todotxt.com)
Coming late to this discussion - Its great to find out about org-todotxt.el, I shall start playing with it straight away. For what its worth, my setup uses the todo.txt command line app as a capture tool, with the todo.txt kept in a Dropbox folder. On my phone i use the outstanding Clockwork Tomato (a pomodoro timer), which can read and write local todo.txt format files, and automatically synchronise the changes with a todo.txt on Dropbox. https://play.google.com/store/apps/details?id=net.phlam.android.clockworktomato It was a feature request of mine a while back noted under ' Task lists, editable from any text editor through Dropbox'. As it has multiple profiles, it can sync with multiple todo.txt files, which is handy for shared task lists etc. I use CWT on my android phone to examine/modify my outstanding todo.txt tasks, and to track time associated with them, mark them as done etc. I also use it for habit tracking. It can export the task logfiles too, but i have yet to use them for anything. On 19 January 2016 at 07:20, Kyle Meyerwrote: > Stefan Huchler writes: > >> Kyle Meyer writes: >> >>> if-let has been define in Emacs's subr-x.el since c08f8be (New if-let, >>> when-let, thread-first and thread-last macros., 2014-06-30). > > Sorry, I know nothing about org-todotxt.el and haven't been following > this discussion. I just knew where if-let was. > > -- > Kyle >
[O] Exporting Org Agenda - todo.txt and todo.txt - Org Files + Suggestion/Feature request.
Hi I have a request and a suggestion. Request: Does anyone else out there generate todo.txt files[1] from org/org-agenda? If you do, how do you do it. Or if not, do you have a good idea about how if it can be approximated in an agenda configuration? Suggestion/Feature request: An org-import mode/file format. The use case is about changing heading states, properties, contexts, contents in a corpus of org documents like the corpus represented by org-agenda-files, by importing file(s) external to the document corpus. The basic idea is a well defined reverse of an export/agenda. At the moment i know of no explicitly defined mechanism for org data importing, making sync/round-tripping between other systems a tedious task. If there was an 'official' mechanism for importing from an external source, then people can focus on what to integrate with rather than how to integrate. The easiest way to think about this is a kind of patch file format that uses headline instead of line numbers to anchor the changes. The emacs workflow i imagine, should be something like patch, with ediff for the broken patches. Rationale: I've moved to a todotxt file a form of 'shared agenda' for myself and others i work with. Rather than needing emacs and my org-file corpus everywhere, I can sync and share a single todo.txt. The todo.txt contains our next actions/todos, decoupling the requirement that everyone else has to use emacs too. The use their own system and we maintain the the tasks together in the shared todotxt file. I also use the original todo.txt bash script to give me an agenda in my shell, and now it is also in my favourite pomodoro app clockwork tomato[2]. Tim. [1] (http://todotxt.com) [2] (https://play.google.com/store/apps/details?id=net.phlam.android.clockworktomatohl=en)
[O] Fwd: Cooperating with oneself using the cloud?
Christoph: I'm more pragmatic. Obfuscated code or not, it works better than any other Linux cloud storage system i've used. So far my solution has allowed me to maintain a reasonably good pan system (and OS) emacs and org configuration. Dropbox also 'versions' the encrypted files, so i can restore them if i need them, which has proven handy. The killer feature for me is that once i set it up, i do not have to fiddle with it. No git pulls, pushes, merges or whatever, dropbox does that for me. If someone has an open *reliable* equivalent solution then I might switch? Will, I have no instructions per-se. I did consider git, using git-annexe or similar tool, but the pre-internet encryption i require does not easily happen out of the box. If you are only syncing between your own git servers though and do not care so much file level encryption git-annexe a remarkable tool. I still cannot get my head around how it works (symlinks galore!) but it seems ideal for personal sync (but not to github). This is the nearest thing i've seen to dropbox. https://git-annex.branchable.com/ Worth mentioning too is flashbake. This will auto commit your changes with notes in the commit messages like what mp3 you were listening to and pages you were browsing at the time of the commit. IIRC you would have to do the pushing and pulling, but if like me, you are always too busy or forgetting to commit and push your org files before you switch systems, this might help. https://github.com/commandline/flashbake/wiki Tim. On 24 September 2014 17:42, Christoph Groth christ...@grothesque.org wrote: Tim O'Callaghan wrote: I collaborate with myself via dropbox and encfs. encfs does the encryption, (via an encrypted fuse filesystem) and dropbox syncs the encrypted files. That might be a perfect solution if the dropbox client wasn’t the obfuscated piece of closed code it is. I actually wonder why they don’t make the client free software. If their service is well-designed, security shouldn’t depend on this. Is there so much valuable code in there? Github is tremendously successful with a free client (and, regrettably, closed server-side software). Christoph
Re: [O] Cooperating with oneself using the cloud?
Hi, I collaborate with myself via dropbox and encfs. encfs does the encryption, (via an encrypted fuse filesystem) and dropbox syncs the encrypted files. I use it for linux, but it should also work for mac and windows. If i need to, i can access the files on android using the encfs plugin (who's name i cannot remember). I have written a script that i run in my bashrc that auto-mounts the encrypted dropbox folder for me. It also auto-detects dropbox conflicts and helps resolve those with encfs. https://github.com/timoc/encfsbox I have been using this solution for a few years without it giving too much trouble :) Tim. On 22 September 2014 10:05, Christoph Groth christ...@grothesque.org wrote: If at least one of your computers can be reached from all the others via ssh, or you can reach all the other computers from one (i.e. there’s a star topology), you could use unison to synchronize all kinds of files. This works very reliably and handles modifications in both directions. I use git for my programming projects, but I find that version control is not really ideal for simple file synchronization. This is why I think that DVCs (and specifically git) are not a good solution for sync (In case that someone is interested in a discussion of these things): Keeping everything in a single repo is not handy, and solutions (like “myrepos”) are kludges. Another serious problem with using git for synchronization is that it’s not able to synchronize git repositories, as AFAIK it’s not possible/reasonable to keep git repositories under git themselves. Just imagine the case where you are in the middle of some work with a git repo (an interactive rebase, for example), and you’d like to sync and continue on another machine. With unison this works like a charm, you there’s no automatic resolution of conflicts. This is not a problem if you run unison at the beginning and at the end of each session.
Re: [O] [RFC] Proposal for rebindings in Org 8.3
Rasmus ras...@gmx.us writes: For me the following keys need shift or Alt-Gr: ^, , `, !, ?, and ~. Oh, do you really need the Alt-Gr key for `?' and `!' ? Does that mean you don't use `C-c !' or that you rarely use it? Of course, this may have nothing to do with the keybinding itself, but I'm curious. If i can throw in my 2-cents, I have been using Alt-O or(Meta-O if you prefer) for a Ctrl-C, Ctrl-C substitute in org-mode for years. Now i use a combination of an activation key (Alt-O or f4) and a kind of fast-key mnemonic map. I need mnemonics because there is just too much in org-mode, and i prefer to just type an extra key rather than have to bend to hit a semi-random modifier + cryptic keymap entry. so: Alt+o,a = agenda, Alt+o,0 = capture - inbox Alt+o,1 = agenda file 1 Alt+o, A,h = agenda - home tag Alt+o,T,c = org table convert region Alt+o,T,C,b = org table convert buffer. Basically, two keys to most used personal functions. To save the pinkies, alt and shift are the only modifiers. alt for the activator, and shift to dig into a personalised sub-menu. I tried binding to FNkeys, but i could not memorise them. the ah = at home comes naturally to me. I for one will follow this idea with interest. Tim.
Re: [O] [Orgmode] Feature Request: Keeping me honest
Hi Adam. I still lurk on the org-mode list. I'm not using org as much as a TODO system any more, mostly for publishing and notes, so I am not sure if it works with the lates version of org. Attached is the code, released for those that might find it of value. It has not substantially changed in all that time. Its essentially an extra highlighter aimed at org-mode nodes that have tags like todo and project. regards, Tim. On 15 December 2013 17:08, Adam Spiers orgm...@adamspiers.org wrote: Hey Tim, I realise this is from over 4 years ago, but I was wondering if you'd made any progress with org-action-verbs since then? It's a great idea and IMHO worthy of being made into a package. Cheers, Adam On 1 October 2009 03:29, Tim O'Callaghan tim.ocallag...@gmail.com wrote: Small update. Fixes the problem of the highlighting not disappearing when headline is fixed. - Still has some issues with removing highlighting when TODO becomes something else. - Added new default verbs: TODO, NEXT - Call, Email, Fix, Find, Fill out, Give, Print, Re-Do, Take PROJECT - Configure, Draft, Purge, Gather Enjoy, Tim. ;;; org-action-verbs.el --- Highlight potentially un-doable headlines. ;; Copyright (C) 2008 Tim O'Callaghan ;; Author: Tim O'Callaghan t...@dspsrv.com ;; Version: 0.1 ;; This file is not currently part of GNU Emacs. ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation; either version 2, or (at ;; your option) any later version. ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program ; see the file COPYING. If not, write to ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. ;;; Commentary: ;; This is an implementation of an idea I had to keep me honest. In ;; GTD each 'next action' is supposed to be an actual do-able thing to ;; further the project it is associated with. ;; When creating next actions or project headlines there is sometimes ;; a tendancy to use a heading that is a bit vauge/un-doable. This is ;; usually a sign that the task the headline represents needs more ;; thinking about and will probably need more than one next action or ;; spawn another project. ;; org-action-verbs was created to use a list of GTD 'action verbs' to ;; diagnose a functional Next Action and project headline. It ;; searches for headlines of a specific TODO type and checks to see if ;; the next word is specified as an action verb. If not, then it ;; highlights the non actionable word. Kind of like flyspell mode. ;; To use you might put the following in your .emacs: ;; ;; (require 'org-action-verbs) ;; ;; To change the default TODO/Action verb table you can set ;; 'org-action-todo-verbs'. Below is an example ;; 'org-action-todo-verbs' The first checks for the right spaceship ;; name associated with the SPACESHIP todo type, and the right colour ;; for the COLOR/COLOUR todo type. ;;(setq org-action-todo-verbs ;; '( ;;((SPACESHIP) . (Challenger Voyager Enterprise Nostromo Apollo )) ;;((COLOUR COLOR) . (Red Yellow Green Aquamarine Blue Black)) ;;) ;; ;; (require 'org) (defface org-action-incorrect-face 'class color) (background light)) (:foreground purple :bold t :underline t)) (((class color) (background dark)) (:foreground purple :bold t :underline t)) (t (:bold t :underline t))) Used by org-action-verbs to help mark bad 'un-doable' headlines.) ;; backward-compatibility alias (put 'org-action-incorrect-face 'face-alias 'org-action-incorrect) (defvar org-action-todo-verbs '( ((TODO NEXT) . (Address Ask Avoid Buy Change Clarify Collect Commend Confront Consider Create Decide Defer Develop Discard Do Again Download Enter File Follow Up Hire Improve Increase Inform Inquire Maintain Measure Monitor Order Paint Phone Prioritize Purchase Question Reduce Remember Repair Reply Report Research Resolve Review Schedule Sell Send Service Specify Start Stop Suggest Tidy Train Update Upgrade Write)) ((PROJECT) . (Finalize Resolve Handle Look-Into Submit Maximize Organize Design Complete Ensure Research Roll-Out Update Install Implement Set-Up)) ) org-action todo keywords to apply to incorrect action verb overlay to.) (defun org-font-lock-add-action-faces (limit) Add the special action word faces. (let (rtn a) ;; check variable is set, and buffer left to search (when (and (not rtn) org-action-todo-verbs) ;; for each todo/action verb set (dolist (todo org-action-todo-verbs) ;; build regexps (let ((todo
Re: [O] [Orgmode] Feature Request: Keeping me honest
Fine by me. regards, Tim. On 16 December 2013 16:52, Adam Spiers orgm...@adamspiers.org wrote: Thanks Tim. Perhaps this could go in the contrib/lisp/ directory? On 16 December 2013 14:02, Tim O'Callaghan tim.ocallag...@gmail.com wrote: Hi Adam. I still lurk on the org-mode list. I'm not using org as much as a TODO system any more, mostly for publishing and notes, so I am not sure if it works with the lates version of org. Attached is the code, released for those that might find it of value. It has not substantially changed in all that time. Its essentially an extra highlighter aimed at org-mode nodes that have tags like todo and project. regards, Tim. On 15 December 2013 17:08, Adam Spiers orgm...@adamspiers.org wrote: Hey Tim, I realise this is from over 4 years ago, but I was wondering if you'd made any progress with org-action-verbs since then? It's a great idea and IMHO worthy of being made into a package. Cheers, Adam On 1 October 2009 03:29, Tim O'Callaghan tim.ocallag...@gmail.com wrote: Small update. Fixes the problem of the highlighting not disappearing when headline is fixed. - Still has some issues with removing highlighting when TODO becomes something else. - Added new default verbs: TODO, NEXT - Call, Email, Fix, Find, Fill out, Give, Print, Re-Do, Take PROJECT - Configure, Draft, Purge, Gather Enjoy, Tim.
Re: [Orgmode] This is probably a misconfiguration rather than a bug, but...
search ...) (setq link ...) (setq cpltxt ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type image :file buffer-file-name)) ((eq major-mode ...) (let ... ... ...)) ((and ... ...) (setq custom-id ...) (cond ... ... ...)) ((buffer-file-name ...) (setq cpltxt ...) (when ... ... ...) (setq link ...)) ((interactive-p) (error Cannot link to a buffer which is not visiting a file)) (t (setq link nil))) (let ((outline-regexp ...) link cpltxt desc description search txt custom-id agenda-link) (cond (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ... ...) (... ... ...) (... ... ...) (... ...) (... ... ...) (... ... ... ...) (... ...) (t ...)) (if (consp link) (setq cpltxt ... link ...)) (setq link (or link cpltxt) desc (or desc cpltxt)) (if (equal desc NONE) (setq desc nil)) (if (and ... link) (progn ... ... ...) (or agenda-link ...))) org-store-link(nil) (if (and (boundp ...) org-capture-link-is-already-stored) (plist-get org-store-link-plist :annotation) (org-store-link nil)) (let* ((orig-buf ...) (annotation ...) (initial ...) (entry ...)) (when (stringp initial) (remove-text-properties 0 ... ... initial)) (when (stringp annotation) (remove-text-properties 0 ... ... annotation)) (cond (... ...) (... ...) (t ... ... ... ... ... ... ...))) (cond ((equal goto ...) (org-capture-goto-target)) ((equal goto ...) (org-capture-goto-last-stored)) (t (let* ... ... ... ...))) org-capture(nil) call-interactively(org-capture nil nil) On 3 September 2010 02:05, Sebastian Rose sebastian_r...@gmx.de wrote: Tim O'Callaghan tim.ocallag...@gmail.com writes: When i try and use org-capture in a buffer, it fails to display the template menu, and it generates the backtrace below. It works for org files, but not for some other files. Tim. If you pull the current Org version, the template menu should be there. Just make sure, your variable `org-protocol-default-template-key' is nil (which is the default since a few hours). We always had the w template as the default of that variable for historical reasons. I changed that, since this broke lately and I wanted to avoid dependencies between the different source files (org-capture.el and org-protocol.el in this case). As an aside, the interactive template selection is now on by default (just as long as the above variable is nil). Sebastian Debugger entered--Lisp error: (wrong-type-argument stringp nil) directory-file-name(nil) (file-name-directory (directory-file-name dirpath)) (let ((dirname ...) (basename ...)) (list dirname basename)) org-git-split-dirpath(nil) (let ((dirlist ...)) (when (string= ... ) (throw ... nil)) (setq dir (first dirlist) relpath (concat ... relpath))) (while (not (file-exists-p ...)) (let (...) (when ... ...) (setq dir ... relpath ...))) (catch (quote toplevel) (while (not ...) (let ... ... ...)) (list (expand-file-name .git dir) relpath)) (let ((dir ...) (relpath ...)) (catch (quote toplevel) (while ... ...) (list ... relpath))) org-git-gitrepos-p(~/.dotfiles/zemacsen/site-lisp/policy-switch.el) (if (org-git-gitrepos-p file) (progn (org-store-link-props :type git :link ...))) (when (org-git-gitrepos-p file) (org-store-link-props :type git :link (org-git-create-git-link file))) (let ((file ...)) (when (org-git-gitrepos-p file) (org-store-link-props :type git :link ...))) (progn (let (...) (when ... ...))) (if (buffer-file-name) (progn (let ... ...))) (when (buffer-file-name) (let (...) (when ... ...))) org-git-store-link() run-hook-with-args-until-success(org-git-store-link) (cond ((run-hook-with-args-until-success ...) (setq link ... desc ...)) ((equal ... *Org Edit Src Example*) (let ... ... ... ... ... ... ... ...)) ((equal ... ...) (let ... ...)) ((eq major-mode ...) (let ... ... ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type w3 :url ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type w3m :url ...)) ((setq search ...) (setq link ...) (setq cpltxt ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type image :file buffer-file-name)) ((eq major-mode ...) (let ... ... ...)) ((and ... ...) (setq custom-id ...) (cond ... ... ...)) ((buffer-file-name ...) (setq cpltxt ...) (when ... ... ...) (setq link ...)) ((interactive-p) (error Cannot link to a buffer which is not visiting a file)) (t (setq link nil))) (let ((outline-regexp ...) link cpltxt desc description search txt custom-id agenda-link) (cond (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ... ...) (... ... ...) (... ... ...) (... ...) (... ... ...) (... ... ... ...) (... ...) (t ...)) (if (consp link) (setq cpltxt ... link ...)) (setq link (or link cpltxt) desc (or desc cpltxt)) (if (equal desc NONE) (setq desc nil)) (if (and ... link) (progn ... ... ...) (or agenda-link ...))) org-store-link(nil) (if (and (boundp ...) org-capture
[Orgmode] This is probably a misconfiguration rather than a bug, but...
When i try and use org-capture in a buffer, it fails to display the template menu, and it generates the backtrace below. It works for org files, but not for some other files. Tim. Debugger entered--Lisp error: (wrong-type-argument stringp nil) directory-file-name(nil) (file-name-directory (directory-file-name dirpath)) (let ((dirname ...) (basename ...)) (list dirname basename)) org-git-split-dirpath(nil) (let ((dirlist ...)) (when (string= ... ) (throw ... nil)) (setq dir (first dirlist) relpath (concat ... relpath))) (while (not (file-exists-p ...)) (let (...) (when ... ...) (setq dir ... relpath ...))) (catch (quote toplevel) (while (not ...) (let ... ... ...)) (list (expand-file-name .git dir) relpath)) (let ((dir ...) (relpath ...)) (catch (quote toplevel) (while ... ...) (list ... relpath))) org-git-gitrepos-p(~/.dotfiles/zemacsen/site-lisp/policy-switch.el) (if (org-git-gitrepos-p file) (progn (org-store-link-props :type git :link ...))) (when (org-git-gitrepos-p file) (org-store-link-props :type git :link (org-git-create-git-link file))) (let ((file ...)) (when (org-git-gitrepos-p file) (org-store-link-props :type git :link ...))) (progn (let (...) (when ... ...))) (if (buffer-file-name) (progn (let ... ...))) (when (buffer-file-name) (let (...) (when ... ...))) org-git-store-link() run-hook-with-args-until-success(org-git-store-link) (cond ((run-hook-with-args-until-success ...) (setq link ... desc ...)) ((equal ... *Org Edit Src Example*) (let ... ... ... ... ... ... ... ...)) ((equal ... ...) (let ... ...)) ((eq major-mode ...) (let ... ... ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type w3 :url ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type w3m :url ...)) ((setq search ...) (setq link ...) (setq cpltxt ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type image :file buffer-file-name)) ((eq major-mode ...) (let ... ... ...)) ((and ... ...) (setq custom-id ...) (cond ... ... ...)) ((buffer-file-name ...) (setq cpltxt ...) (when ... ... ...) (setq link ...)) ((interactive-p) (error Cannot link to a buffer which is not visiting a file)) (t (setq link nil))) (let ((outline-regexp ...) link cpltxt desc description search txt custom-id agenda-link) (cond (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ... ...) (... ... ...) (... ... ...) (... ...) (... ... ...) (... ... ... ...) (... ...) (t ...)) (if (consp link) (setq cpltxt ... link ...)) (setq link (or link cpltxt) desc (or desc cpltxt)) (if (equal desc NONE) (setq desc nil)) (if (and ... link) (progn ... ... ...) (or agenda-link ...))) org-store-link(nil) (if (and (boundp ...) org-capture-link-is-already-stored) (plist-get org-store-link-plist :annotation) (org-store-link nil)) (let* ((orig-buf ...) (annotation ...) (initial ...) (entry ...)) (when initial (remove-text-properties 0 ... ... initial)) (when annotation (remove-text-properties 0 ... ... annotation)) (cond (... ...) (... ...) (t ... ... ... ... ... ... ...))) (cond ((equal goto ...) (org-capture-goto-target)) ((equal goto ...) (org-capture-goto-last-stored)) (t (let* ... ... ... ...))) org-capture(nil) call-interactively(org-capture nil nil) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature-request documentation request for org-datetree
Hi, I've been poking about trying to understand org-date tree, as It is essentially an undocumented feature at the moment. am i right in my understanding that it is only meant as a refile-target structure? The feature request is to allow the use of ISO week numbers to structure the year rather than Months. so a structure something like: * 2010 *** 2010-W35 * 2010-08-30 Monday * 2010-08-31 Tuesday * 2010-09-01 Wednesday * 2010-09-02 Thursday * 2010-08-03 Friday * 2010-08-04 Saturday * 2010-08-05 Sunday The week heading is based on the ISO representation, (http://www.iso.org/iso/date_and_time_format) though i guess some variant on the ISO week heading might look be better. what other use can it be used for? how are other people using it? regards, Tim. ___ 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] file+olp problem in org-capture.
Hi, first, am i right i assuming that the file+olp is designed so that i can specify the top of a tree, and the headings in the tree i want to be able to capture to? That is what i am trying to do with the 1 option. It does not evaluate the concat operation and so fails. ;; constant used in lots of other things. (defconst toc:ze-org-dir ~/org/) ;; example org template (setq org-capture-templates '( ;; works ;; (file+headline path/to/file node headline) (0 0+inbox entry (file+headline (concat toc:ze-org-dir 0+inbox.org) +INBOX) * %? \n) ;; does not work ;; (file+olp path/to/file Level 1 heading Level 2 ...) (1 1+projects entry (file+olp (concat toc:ze-org-dir 1+projects.org) +TASKS +PROJECTS) * ))) Tim. ___ 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] For Org-mode on the go?
Just though I'd point out the NanoNote a $99 Linux Palmtop, that should run Emacs. The 本 version of NanoNote is an ultra small form factor computing device. The device sports a 336 MHz processor, 2GB of flash memory, microSD slot, head phone jack, USB device and 850mAh Li-ion battery. It boots Linux out of the box and also boots over USB. It’s targeted squarely at developers who see the promise of open hardware and want to roll their own end user experience. It’s the perfect companion for open content; we envision developers turning the device into a music or video player for Ogg or an offline Wikipedia or MIT OpenCourseWare appliance. Or you can simply amaze your friends by creating an ultra small handheld notebook computer. You choose the distribution. The 本 Nanonote is the first in a line of products that will see the addition of other hardware capabilities. Get your NanoNote and start a Nanoproject today. Or join one of the existing projects in our developer community. http://sharism.cc/gallery/?bwbps_page_1=1 Planning on getting one to see... Tim. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [FEATURE REQUEST] Comment Speedkeys or - A solution to the Remember mode three finger salute
Hi, My general org keyboard policy has been to avoid the use of any Ctrl related keys, and remap them to Alt, or FN keys where possible. For example I've mapped M-R to org-remember and M-O to org-ctrlc-ctrlc etc. Today I've been looking to try and set up my alt 'speed keys' for the prefix arg style 'three fingered salute' you need to use to refile remember mode notes, and it seems i cannot. At least not without using keyboard macros. I wanted to re-map M-R to refile and M-T re-template ... which leads me to my feature request. Is it possible to extend the speed key functionality to org comment lines? If so, could you assign speed keys to the comment lines in the remember buffer? Hitting PgUp or M- is natural, and then pressing a single key to do my filing operation, would be great. I should then also be able to assign speed keys for different re-file locations. This could possibly change the wording of the template at the top, and presumably need some kind of functional re-factoring of the remember code so that each operation has its own function.. Comment speed keys could then be used for #+SRC code blocks, setting #+STARTUP features or whatever. Tim. ___ 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] Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?)
My .02Euro-cents worth. I used to have an uber.org file setup, but i found it de-focused my thinking. I'd get sidetracked because a topic caught my attention or looked out of place. I've moved to something a bit more dynamic now, its still under construction though. I wanted to be able to minimize the amount of keystrokes i need to access a particular file, and have something that translated well to a mobile keypad. So my new philosophy is that I've decided to use numbers. They're easy to memorize and can be used in a kind of personal Dewey decimal scheme. Breaking it down, I have a bunch of directories in ~/ | org | the main org directory, under git | | 0_INBOX | a clearing house for file based stuff - firefox downloads to here | | 1_PROJECT | root tree for current project folders | | 2_SOMEDAY | root tree for someday project folders and tickler reminder files| | 5_TOREAD| electronic media i want to read - pdfs text files etc. | | 6_TOLISTEN | podcasts, audiobooks etc, | | 7_TOWATCH | downloaded videos etc. | | 8_REFERENCE | general reference material. | Using git, I sync my ~/org directory across the various machines i use org-mode on, but i leave the [0-9]_ named directories local to the machine. That provides context. I'm still experimenting with keeping the numbered directories under git. Its proving problematic when my sourcecode is also under git too. The 1_PROJECT folder contains a folder per project. Each project folder has a 1+project name.org file in it, which automatically gets picked up and used in the Agenda (see .emacs stuff below for details). That way the agenda is only populated with work i can actually do on that machine. I'm still looking into how to use git and the attachment system to manage project directories as separate git projects... In the sycned ~/org folder i have these files which are included in the agenda. All of these files can be found with two keystrokes, a number then a '+'. | 0+inbox.org| where all my remember stuff is dumped.| | 1+projects.org | personal/portable misc small project container| | 2+someday.org | Someday/Tickler/To-Buy| | 4+calendar.org | Appointments, birthdays (yet to sync with google) | | 8+contacts.org | Contact information | | 9+journal.org | Musings, Writings, rants etc. | And finally i'm using the numbers again, and traffic light style colors for task and project state tracking. | key | color | tag | description | |-++--+-| | 0 | green | DONE | Task done | | 1 | grey | TODO | Heading is a next action that was outlined and might need doing | | 2 | yellow | NEXT | Heading is a next action that needs doing. | | 3 | orange | WAIT | Heading is something i am waiting for | | 4 | yellow | APPT | Heading is an appointment of some kind | Tim. the .emacs code (setq org-default-notes-file (expand-file-name ~/org/0+inbox.org) org-todo-keywords (quote (;; normal workflow need action | no action required (sequence TODO(1!) NEXT(2!/!) WAIT(3@/!) APPT(4@/!) | DONE(0!/@!) DEFERRED(d...@!/!) CANCELED(c...@!/!)) ;; project state indicators (type PROJECT(P!/@!) SOMEDAY(S!/@!) | PROJDONE PROJCANC) )) org-todo-keyword-faces (quote (;; traffic light style task colours (TODO :foreground grey :weight bold) (NEXT :foreground gold :weight bold) (DONE :foreground forest green :weight bold) (WAIT :foreground orange :weight bold) (APPT :foreground gold :weight bold) (CANCELED :foreground indianred :weight bold) ;; project level todo indicators (SOMEDAY :foreground orchid :weight bold) (PROJECT :foreground grey :weight bold) (PROJDONE :foreground forest green :weight bold) (PROJCANC :foreground indianred :weight bold) ))) (setq org-agenda-files ()) ;; use ~/org and search the top level directories in the 1_PROJECT folder (defun toc:add-org-agenda-directories (dir filter) add files matched by filter in directory dir to org-agenda-files list (interactive) (dolist (d2 (file-expand-wildcards (expand-file-name dir))) (if (file-directory-p d2) (dolist (f (directory-files d2 t filter t)) (push f org-agenda-files) ; only include numbered files from org directory (toc:add-org-agenda-directories ~/org [1-9]+.*.org$) ; auto include - 1+project-name files (toc:add-org-agenda-directories ~/1_PROJECT/* 1\+.*.org$) ;; (setq org-refile-targets '((org-agenda-files :maxlevel . 3))) ___ Emacs-orgmode mailing list Please use
[Orgmode] Possible bug in TODO ALL agenda fast tag filter generation?
Any idea why this is happening? I'm seeing it with the agenda t (global todo all) --- Global list of TODO items of type: ALL Available with `N r': (0)ALL (1)TODO (2)NEXT (3)WAITING (4)APPT (5)DONE (6)DEFERRED (7)CANCELLED (8)PROJECT (9)SOMEDAY (10)PROJDONE (11)PROJCANC (12)TODO (13)NEXT (14)WAITING (15)APPT (16)DONE (17)DEFERRED (18)CANCELLED (19)PROJECT (20)SOMEDAY (21)PROJDONE (22)PROJCANC (23)TODO (24)NEXT (25)WAITING (26)APPT (27)DONE (28)DEFERRED (29)CANCELLED (30)PROJECT (31)SOMEDAY (32)PROJDONE (33)PROJCANC (34)TODO (35)NEXT (36)WAITING (37)APPT (38)DONE (39)DEFERRED (40)CANCELLED (41)PROJECT (42)SOMEDAY (43)PROJDONE (44)PROJCANC (45)TODO (46)NEXT (47)WAITING (48)APPT (49)DONE (50)DEFERRED (51)CANCELLED (52)PROJECT (53)SOMEDAY (54)PROJDONE (55)PROJCANC (56)TODO (57)NEXT (58)WAITING (59)APPT (60)DONE (61)DEFERRED (62)CANCELLED (63)PROJECT (64)SOMEDAY (65)PROJDONE (66)PROJCANC (67)TODO (68)NEXT (69)WAITING (70)APPT (71)DONE (72)DEFERRED (73)CANCELLED (74)PROJECT (75)SOMEDAY (76)PROJDONE (77)PROJCANC (78)TODO (79)NEXT (80)WAITING (81)APPT (82)DONE (83)DEFERRED (84)CANCELLED (85)PROJECT (86)SOMEDAY (87)PROJDONE (88)PROJCANC (89)TODO (90)NEXT (91)WAITING (92)APPT (93)DONE (94)DEFERRED (95)CANCELLED (96)PROJECT (97)SOMEDAY (98)PROJDONE (99)PROJCANC --- My todo-keywords config is this: (setq org-todo-keywords (quote ((sequence TODO(1!) NEXT(2!/!) WAITING(3@/!) APPT(4@/!) | DONE(0!/@!) DEFERRED(d...@!/!) CANCELLED(c...@!/!)) (type PROJECT(P!/@!) SOMEDAY(S!/@!) | PROJDONE PROJCANC) )) org-todo-keyword-faces (quote ( (TODO :foreground orangered :weight bold) (NEXT :foreground gold :weight bold) (DONE :foreground forest green :weight bold) (WAITING :foreground orange :weight bold) (CANCELLED :foreground indianred :weight bold) ;; project level todo indicators (SOMEDAY :foreground orchid :weight bold) (PROJECT :foreground grey :weight bold) (PROJDONE :foreground forest green :weight bold) (PROJCANC :foreground indianred :weight bold) ))) Using git emacs 23 org git source (both as of this morning) Tim. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Possible bug in TODO ALL agenda fast tag filter generation?
The problem is that org-todo-keywords-1 is set for each agenda file parsed, and that list is appended onto the org-todo-keywords-for-agenda without any de-duplication. The patch below fixes the problem, but possibly not in the best way. regards, Tim. diff --git a/lisp/org.el b/lisp/org.el index d80bb91..6a663b3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -14960,6 +14960,8 @@ When a buffer is unmodified, it is just killed. When modified, it is saved (add-text-properties (match-beginning 0) (org-end-of-subtree t) pc))) (set-buffer-modified-p bmp) +(setq org-todo-keywords-for-agenda + (org-uniquify org-todo-keywords-for-agenda)) (setq org-todo-keyword-alist-for-agenda (org-uniquify org-todo-keyword-alist-for-agenda) org-tag-alist-for-agenda (org-uniquify org-tag-alist-for-agenda On 7 April 2010 11:47, Tim O'Callaghan tim.ocallag...@gmail.com wrote: Any idea why this is happening? I'm seeing it with the agenda t (global todo all) --- Global list of TODO items of type: ALL Available with `N r': (0)ALL (1)TODO (2)NEXT (3)WAITING (4)APPT (5)DONE (6)DEFERRED (7)CANCELLED (8)PROJECT (9)SOMEDAY (10)PROJDONE (11)PROJCANC (12)TODO (13)NEXT (14)WAITING (15)APPT (16)DONE (17)DEFERRED (18)CANCELLED (19)PROJECT (20)SOMEDAY (21)PROJDONE (22)PROJCANC (23)TODO (24)NEXT (25)WAITING (26)APPT (27)DONE (28)DEFERRED (29)CANCELLED (30)PROJECT (31)SOMEDAY (32)PROJDONE (33)PROJCANC (34)TODO (35)NEXT (36)WAITING (37)APPT (38)DONE (39)DEFERRED (40)CANCELLED (41)PROJECT (42)SOMEDAY (43)PROJDONE (44)PROJCANC (45)TODO (46)NEXT (47)WAITING (48)APPT (49)DONE (50)DEFERRED (51)CANCELLED (52)PROJECT (53)SOMEDAY (54)PROJDONE (55)PROJCANC (56)TODO (57)NEXT (58)WAITING (59)APPT (60)DONE (61)DEFERRED (62)CANCELLED (63)PROJECT (64)SOMEDAY (65)PROJDONE (66)PROJCANC (67)TODO (68)NEXT (69)WAITING (70)APPT (71)DONE (72)DEFERRED (73)CANCELLED (74)PROJECT (75)SOMEDAY (76)PROJDONE (77)PROJCANC (78)TODO (79)NEXT (80)WAITING (81)APPT (82)DONE (83)DEFERRED (84)CANCELLED (85)PROJECT (86)SOMEDAY (87)PROJDONE (88)PROJCANC (89)TODO (90)NEXT (91)WAITING (92)APPT (93)DONE (94)DEFERRED (95)CANCELLED (96)PROJECT (97)SOMEDAY (98)PROJDONE (99)PROJCANC --- My todo-keywords config is this: (setq org-todo-keywords (quote ((sequence TODO(1!) NEXT(2!/!) WAITING(3@/!) APPT(4@/!) | DONE(0!/@!) DEFERRED(d...@!/!) CANCELLED(c...@!/!)) (type PROJECT(P!/@!) SOMEDAY(S!/@!) | PROJDONE PROJCANC) )) org-todo-keyword-faces (quote ( (TODO :foreground orangered :weight bold) (NEXT :foreground gold :weight bold) (DONE :foreground forest green :weight bold) (WAITING :foreground orange :weight bold) (CANCELLED :foreground indianred :weight bold) ;; project level todo indicators (SOMEDAY :foreground orchid :weight bold) (PROJECT :foreground grey :weight bold) (PROJDONE :foreground forest green :weight bold) (PROJCANC :foreground indianred :weight bold) ))) Using git emacs 23 org git source (both as of this morning) Tim. ___ 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 mode and Collaboration with others.
Hi org (ab)users This is a kind of follow up to an earlier thread, because i think there is some value in kicking off a discussion. I have suspicions that org-mode is essentially a solitary habit. I've done a quick search in the manual or FAQ about how you might share your org habit with others, but nothing seems to exist. So i thought I'd ask the users how they spread their org around. I'm looking for ideas that are not the fire and forget publishing of your org todo's method. I mean a method that you can meaningfully involve others, even if the involvement is synced through an external collaboration tool. Anyone? Tim. ___ 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] Re: Fast traversing directories
This version will accept wildcards and recurse one directory level level down (setq org-agenda-directories '(~/org ~/1_PROJECT/*)) (setq org-agenda-files '()) (dolist (d1 org-agenda-directories) (dolist (d2 (file-expand-wildcards (expand-file-name d1))) (if (file-directory-p d2) (dolist (f (directory-files d2 t .org$ t)) (push f org-agenda-files) Hope it helps. Tim. 2009/10/31 Thierry Volpiatto thierry.volpia...@gmail.com: Hi, if you have traverselisp.el, you can use: , | (dolist (d org-directories) | (traverse-walk-directory d :file-fn #'(lambda (x) | (when (string= (file-name-extension x) org) | (push x org-agenda-files) ` you can get traverselisp.el here: http://www.emacswiki.org/cgi-bin/emacs/traverselisp.el or here: (hg clone) http://mercurial.intuxication.org/hg/traverselisp Nick Dokos nicholas.do...@hp.com writes: andrea Crotti andrea.crott...@gmail.com wrote: I tried this because I have more base directories. (setq org-directories '(~/org ~/uni)) (setq org-agenda-files ()) (dolist ((d org-directories)) (setq org-agenda-files (append org-agenda-files (find-lisp-find-files d \.org$ But it sets org-agenda-files to nil... Too many parens: try (dolist (d org-directories) (setq org-agenda-files (append org-agenda-files (find-lisp-find-files d \.org$ Nick ___ 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 -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [hack/extension] org-mode/emacs regexp
Hi Marcelo. Thanks for the thumbs up, its nice when that happens. So, to your questions - The answers are a bit long, and I'm cc'ing to the list so that others wanting org-action-verb like stuff can understand what it does, and hack it for their needs. * Debugging. I've been coding elisp on and off for years, but I'm no elisp expert. I put org-action-verb together after allot of RTFM, and looking at other code. I debugged it using these methods: + (message). To get an idea about what is going on without having to use the debugger, the message function is handy. It will print whatever to the *messages* buffer. Primitive, but worked for me at the time. + (regexp-builder). For regular expression work there is the built in regular expression builder (M-x regexp-builder) or John Wiegley's excellent (M-x regex-tool), which i only just remembered I have. + (eval-region). I have it mapped to a key, but (M-x eval-region) is great for changing small parts of the compiled elisp, variables or whatever. + (info-lookup-symbol). When poking about in the innards of (X)Emacs, it is always a good idea to have info-lookup-symbol mapped to a key somewhere. I have it mapped to f1. (define-key global-map [f1] 'info-lookup-symbol) It will bring up a buffer showing what the symbol under the cursor does and what file it is defined in (if the symbol is documented). * RTFM - Read the Fine Manual. Other things to read up on to understand org-action-verb: + What brackets do in a regular expression http://www.gnu.org/software/emacs/manual/html_node/elisp/Regexp-Backslash.html#Regexp-Backslash It is also kind of confusing to see \\ in the code and \ in the documentation. Some more RTFM may be required :) + What this line of elisp does: (make-overlay (match-beginning 1) (match-end 1) nil t nil) http://www.gnu.org/software/emacs/manual/html_node/elisp/Managing-Overlays.html#Managing-Overlays http://www.gnu.org/software/emacs/manual/html_node/elisp/Simple-Match-Data.html#index-match_002dbeginning-3021 * org-action-verb - what it does. Essentially, all org-action-verb does, is build a bunch of regular expressions to find headlines between 'point' and 'limit' with the correct TODO type. Once it has found a headline that matches, it uses other regular expressions to add or remove the overlay *to the first sub-element* of those regular expressions. The meat of the code from the original org-action-verb with some better comments, will probably provide a better explanation --- starting at line 189 ;; ;; match the whole headline and remove any previous overlay without ;; moving point. Where point should be at the start of a headline. ;; (if (looking-at \\(.*\\)$) (remove-overlays (match-beginning 1) (match-end 1) 'org-action-overlay t)) ;; ;; check for the presence of a valid action-verb ;; (if (looking-at todo-action-verbs-regexp) ;; ;; do nothing if the action verb matches ;; nil ;; ;; It is not an action verb, apply the overlay to the first word ;; in the line. ;; ;; The regular expression matches the first word after a space or ;; tab on a matching headline, and applies the org-action-incorrect ;; overlay to it. ;; So: ;; [ ]+\\(w+) ;; ;; in english becomes: ;; ;; - [ ]+ - Match one or more space or tab (should use :space:). ;; - \\( - Open sub expression 1 ;; - \\ - Match the empty string, but only at the beginning of a word ;; - \\w - Match one or more word-constituent characters ;; - \\ - Match the empty string, but only at the end of a word ;; - \\) - Close sub expression 1 ;; (if (looking-at [ ]+\\(w+)) ;; apply new overlay to 1st matching sub-expression (let ((overlay (make-overlay (match-beginning 1) (match-end 1) nil t nil))) (overlay-put overlay 'org-action-overlay t) (overlay-put overlay 'face 'org-action-incorrect) (overlay-put overlay 'evaporate t) overlay --- ending at line 202 * What you need to do to fix your problem? I suspect all you need to do is change the matching expression to something like: (let ((tag-keywords-regexp (concat ^\\*+[:space:]+[\\w:space:]+[:space:]+:\\( tag \\):$) )) Also you probably want to first match the whole line to remove the overlay, before applying a new one. Hope that helps, Tim. 2009/11/16 Marcelo de Moraes Serpa celose...@gmail.com: Ok, I'm sorry, I actually had to research a little bit more before posting :) Well, what I need to know now is how to make the overlay work. The code to match is working, but I'm receiving the following error: Error during redisplay: (wrong-number-of-arguments match-beginning 0) Here's the full code: http://pastie.org/701448 (Thanks to Tim O'Calaghan for the original contribution) Marcelo. Also, how can I debug it? I tried debug-on-entry but it is not working :S On Mon, Nov 16, 2009 at 12:10 PM,
Re: [Orgmode] suggestion: automatically recording entry creation date
2009/11/3 Adam Spiers orgm...@adamspiers.org: Ilya Shlyakhter (ilya_...@alum.mit.edu) wrote: A frequently-needed task is to find recently created entries. Right now I do this by manually pasting a date into each entry, and using the timeline agenda. Maybe, there are better ways? E.g. have the option to automatically record a property, Creation-date, when an entry is created. There would be much clutter if every entry had a :PROPERTIES: line. But maybe there could be an option to hide the :PROPERTIES: lines completely, unless it contained some user-defined properties. Or, creation date could be stored as a text property, to avoid clutter, for long-running emacs sessions. But it would be lost when the file is closed. Maybe at file-closing time it could be converted to a normal property in the :PROPERTIES: drawer. Or maybe there are other options? This would be useful to me too. It would be valuable not just for finding recently created ones, but for sorting any generated list of entries by creation date. This would for example make it easier to ensure that entries don't get stale with age. Bernt's approach is nice, but I agree that a completely clutter-free solution (i.e. :PROPERTIES: drawers completely hidden by default) would be extremely nice. I have a :CREATED: LOGBOOK property set up in all of my remember templates: (Task ?t * TODO %?\n:LOGBOOK:\n:CREATED:%U:\n:END:\n ~/org/0_inbox.org TASKS) Tim. ___ 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] key bindings for quickly setting effort estimates
Would it be possible to add something like this to the org-fast-tag-selection-include-todo interface? possibly with a list of properties to select from: org-fast-tag-selection-include-properties '((EFFORT_All ?e) (FOCUS_All ?f)) So to select effort of 0:20 i'd type e 2 or similar? Tim. 2009/11/3 Carsten Dominik carsten.domi...@gmail.com: We do have `org-set-effort', bound to `C-c C-x e'. You can use a prefix arg to get to a value directly. But your approach is faster, if you have to do this a lot. - Carsten On Nov 2, 2009, at 2:52 PM, Adam Spiers wrote: I found myself needing a quick way of setting effort estimates outside column view, and came up with the following: ;; Zero effort is last (10th) element of global Effort_ALL property ;; so that we get zero effort when pressing '0' in the Effort column ;; in Column view, since this invokes `org-set-effort' with arg 0, ;; which stands for the 10th allowed value. (let ((effort-values (org-property-get-allowed-values nil org-effort-property))) (dotimes (effort-index 10) (let* ((effort (nth effort-index effort-values)) (key-suffix (number-to-string (if (= effort-index 9) 0 (1+ effort-index (fn-name (concat org-set-effort- (number-to-string effort-index))) (fn (intern fn-name))) ;; (message Binding M-o %s to %s which sets effort to %s ;; key-suffix fn-name effort) (fset fn `(lambda () ,(format Sets effort to %s. effort) (interactive) (org-set-effort ,(1+ effort-index (global-set-key (concat \eo key-suffix) fn This assumes that Effort_ALL has 9 non-zero effort values, which in my case is conveniently true: (0:10 0:20 0:30 1:00 2:00 3:00 4:00 8:00 16:00 0) Hope this is of interest. Adam ___ 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 - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature Request? #+CONFIG keyword - to abstract more configuration into org files,
Simply, Expand the #+KEYWORD in-org file configuration possibilities with a #+CONFIG or similar keyword. The idea being to abstract more configuration into actual org files, and let extensions have an easy way to use #+KEYWORD configuration. I expect it could also be used to auto-load suitably registered extensions/contributions. So for example, my org-action-verb extension might use a line like: #+CONFIG org-action-verb TODO|NEXT Address Ask Buy Change Clarify Where there is handler function CONFIG:org-action-verb, that is defined as auto-loadable and called with the rest of the line to configure the extension. I guess this mechanism could also be extended to abstract more core-org configuration - such as agenda keys, stuck projects, or whatever. what do people think? Tim. ___ 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: Feature Request? #+CONFIG keyword - to abstract more configuration into org files,
2009/10/22 Carsten Dominik carsten.domi...@gmail.com: On Oct 22, 2009, at 10:23 PM, Matt Lundin wrote: Bernt Hansen be...@norang.ca writes: Tim O'Callaghan tim.ocallag...@gmail.com writes: Expand the #+KEYWORD in-org file configuration possibilities with a #+CONFIG or similar keyword. The idea being to abstract more configuration into actual org files, and let extensions have an easy way to use #+KEYWORD configuration. I expect it could also be used to auto-load suitably registered extensions/contributions. So for example, my org-action-verb extension might use a line like: #+CONFIG org-action-verb TODO|NEXT Address Ask Buy Change Clarify Where there is handler function CONFIG:org-action-verb, that is defined as auto-loadable and called with the rest of the line to configure the extension. I guess this mechanism could also be extended to abstract more core-org configuration - such as agenda keys, stuck projects, or whatever. what do people think? Can you use the #+BIND: keyword to set arbitrary variables and achieve the same result? If I understand it correctly, #+BIND only works for export related variables. Nope, it works for any variables. It is special that is *also* works for export variables, which is complicated because the *output buffer* is current when export happens, so local variables would be out of scope. - Carsten The docs do not explain this. I'll look into it. For local options that are not part of the default in-buffer syntax, I use Local Variables. E.g., , | * COMMENT Local Variables | # Local Variables: | # org-footnote-section: References | # End: ` I'm using something similar at the moment, but i was thinking of a mechanism that could also be used to load and initialise core and contributed code without having to have a (require 'module) or an (eval find org site-lisp) in the org file(s). I'm currently working on getting someone else to track my org files, and i don't want to have them track my .emacs as well. The auto-loading would be more useful than a unified abstraction of a configuration mechanism for this. Tim. ___ 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] Searching inside of attachments (pdf, odt)?
FWIW I think this might be handled easier if all that happened would be a grep on the attachments, or directories. The usual grep interface can be used and then it becomes a fast general purpose data mining extension. I can see it being used to search a codebase or website for a text string. I guess it could be further refined with some kind of dispatcher - like the file dispatcher that invokes a specific tool to view an attachment, except it uses an attachment specific search or defaults to grep if its not an emacs editable file. Possibly an extension fo the current file:text-file::in buffer search , but uses this grep or whatever if it comes up against something un-emacs-editable. An added bonus of a search dispatcher type approach: it would give users the chance to extend the search into whatever tool(s)/file format(s) they are using without having to become core to org. Just my 2eurocents worth: Tim. 2009/10/13 Karl Maihofer ignora...@gmx.de: Hi Samuel, Samuel Wales samolog...@gmail.com schrieb: My idea is to use ordinary agenda search like this: 1) agenda search displays the headline that has the attachment. 2) org uses an alist to determine the correct textifier according to extension. e.g. '((.pdf . pdf2text)). 3) agenda searches normally (as if the contents of the attachment were body text). correct me if i'm wrong, but your approach is to search inside (an) already identified attachment(s)? I'd like to find attachments by searching inside the whole set of attachments. I do have many articles (pdf-files) to deal with. When i write a report on a special topic i have to find articles that are relevant to the topic i'm working on at the moment. If we use the standard textifiers the procedure will probably get very slow if there are many attachments. I think using an index would be a good idea. To describe what i'm looking for: My first step is to create an entry for each article, define tags (describing the content) and add some notes. * Title of the article :tag:tag:tag: :PROPERTIES: :Attachments: article.pdf :ID: 387HJGJD78-758GZFHF87-JKHKJ57dfd9 :END: - Very good explanation of X. - New view on Y. But it would be much more powerful to be able not only to find an entry by searching for tags but to search inside the attachments. I'm not a programmer, so sorry if my ideas are stupid. ;-) But i thing the following questions have to be answered: 1) Is there a tool like Lucene that can index pdf-files as they are stored by orgmode (directory structure)? 2) Is it possible to send a query to this tool from within emacs? 3) Is it possible to import the answer of the tool into emacs and combine it with orgmode so that the result looks somehow like this: Search string 'XX' found in file 'article.pdf' attached to task 'Title of the article'. A click on the name of the attachment should open the pdf-file in the pdf-reader; a click on the task name should show the task in the org-buffer. Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Do we still have XEmacs users?
I've transitioned to Emacs 23, but I try and keep my .emacs viable for Xemacs. Tim. 2009/10/9 Carsten Dominik carsten.domi...@gmail.com: Do we still have XEmacs users around here? - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Change style of text/item based on tag
I recently posted to the list org-action-verb.el, that used overlays to highlight the first word of a headline if it was not an action word. The same code can be adapted to do this. Tim. 2009/10/7 Marcelo de Moraes Serpa celose...@gmail.com: Hello, Is there a way to, based on tagging, to set the style of an item? For ex: * Projects ** My Project :PROJECT: *** SubProject :PROJECT: Action *** Action I would like My Project and SubProject to be in bold. Any hints/directions would be highly appreciated! Thanks, Marcelo. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: A simpler remember architecture (was: Re: [Orgmode] Re: is there a hook to save a remember buffer?)
+1, can we keep/have: - the templates, - possibility to 'pick file/topic first then remember' - 'throw it into the bucket for later'. - org - remember keymap - local fontification? - remove need to have remember package installed? Tim. 2009/9/30 Carsten Dominik carsten.domi...@gmail.com: I don't know what the others think ... but I think this is a brilliant idea. - Carsten On Sep 29, 2009, at 10:48 PM, Samuel Wales wrote: Hi Carsten, Here is an idea for a much simpler remember architecture that simultaneously solves Alan's problem. 1) To me also, a more complicated way to deal with remember buffers feels wrong. 2) If there is more than one thing you are working on, the power of the org hierarchy feels like the best way to keep track. 3) The current remember probably does not do what Alan wants, even with a better workflow. - What if you want to remember from remember? - It feels complicated to finalize the old idea and go there, then remember the new one, then finish the old one, then go back to where you were. Maybe we can simplify. - When you've finished the old one, you want to restore context to before the old idea. This is probably impossible. The stack is blown. 4) Other issues: - If you forget to finalize, you lose data. - It is easy to reflexively call remember from remember, making you surprised that the old idea disappeared. - You might forget that you had the old idea. Especially if you are having short-term memory issues or are distracted. 5) Here is my idea: discard the concept of remember buffers entirely. - Create the entry at the target location when you call org-remember. - Employ a virtual buffer to narrow to the created entry. 6) Some benefits: 1) Alan can remember, then remember again, then remember a third time without having to save remember buffers or name them (which he would need). 2) Your idea is where it should be. If you want context, you simply remove the narrowing. 3) org has access to the target buffer's buffer-local variables, org variables, encoding and multilingual settings of the target, etc. 4) Auto-save saves to a place where Emacs will pick it up again if Emacs crashes. 5) A backup directory is no longer necessary to restore data from a killed (remember) buffer. 6) Finalizing is no longer a matter of losing your data if you forget. It merely pops windows. 7) If you still want the concept of I am not done remembering this remember, add a tag (:REMEMBERING:) at creation time and have org-remember-finalize remove that tag. To see in-progress remembers, call the agenda on that tag. 8) This eases yak shaving. - http://www.catb.org/~esr/jargon/html/Y/yak-shaving.html - This is a simple way to keep track of what you were doing when you remember from remember. - I recommend making org-remember-finalize use a /stack/, so that successive invocations recreate the previous window/buffer context until they get to the original context. - I think that we intuitively work in stacks. This lets us avoid overloading our own memory. - If Emacs crashes, the worst thing that will happen is that you end up with a bunch of :REMEMBERING: tasks around your org files. Not lost data. To summarize, the current remember naturally leads to the need for increasing workarounds, and therefore requests for features, which leads to more complexity. By leveraging the power of the org hierarchy, we can simplify, and get yak shaving support as a nice surprise benefit. Let me know what you think. On Tue, Sep 29, 2009 at 02:37, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Allen, saving remember buffers is hackish and complex as it is, so I am not going to add this option. I think the workflow has to be this: Create a remember buffer and more-or-less immediately file it. If you need to work on the content for a longer time, work on it at the target location: Simply exit remember with C-u C-c C-c. The buffer will be filed and the target location will be visited immediately. So now you can work there as long as you want, and start another remember process when you need one. HTH - Carsten On Sep 9, 2009, at 10:17 PM, Alan E. Davis wrote: I've looked briefly into the org-remember.el. A hook exists: remember-mode-hook. Im not sure it can be successfully applied to the case I envision. THere are tradeoffs to immediately saving a remember buffer to a file, and editing a note in the remember buffer, then saving with remember-finalize. I don't remember what they are, as they led me away from immediately saving quite a while ago. I was strongly encouraged by the establishment of a procedure to automatically save to a directory, any remember
Re: A simpler remember architecture (was: Re: [Orgmode] Re: is there a hook to save a remember buffer?)
- 'throw it into the bucket for later'. what does that mean? Kind of works as remember now. Currently you have a 'default save to point' for a particular template. I would guess that most people just throw it all into the one 'bucket' and sort it out later. - org - remember keymap Why do you need this? I don't use the C-0-, C-1, whatever. I have my own keys mapped for the remember buffer. I use C-X c-s for org-remember-finalize for example, which may cause conflicts. - local fontification? Why do you need this? I plan on expanding on the 'keeping me honest' idea, Which i am still working on and will turn into a contrib. I want to use fontification for malformed headings etc as warnings in unfilled remember templates. For example, to highlight an empty/malformed effort property. I suspect it would be easier, and faster to apply on a per-template/buffer basis, rather than the whole org-file. - remove need to have remember package installed? That need does not exist even now. I was having trouble recently with a lack of remember. A problem in my config, which I've just fixed. Thanks for pointing it out. Possibly make remember editing a minor mode? That would allow for any extra keymaps and fonrification and such wouldn't it? Tim. - Carsten Tim. 2009/9/30 Carsten Dominik carsten.domi...@gmail.com: I don't know what the others think ... but I think this is a brilliant idea. - Carsten On Sep 29, 2009, at 10:48 PM, Samuel Wales wrote: Hi Carsten, Here is an idea for a much simpler remember architecture that simultaneously solves Alan's problem. 1) To me also, a more complicated way to deal with remember buffers feels wrong. 2) If there is more than one thing you are working on, the power of the org hierarchy feels like the best way to keep track. 3) The current remember probably does not do what Alan wants, even with a better workflow. - What if you want to remember from remember? - It feels complicated to finalize the old idea and go there, then remember the new one, then finish the old one, then go back to where you were. Maybe we can simplify. - When you've finished the old one, you want to restore context to before the old idea. This is probably impossible. The stack is blown. 4) Other issues: - If you forget to finalize, you lose data. - It is easy to reflexively call remember from remember, making you surprised that the old idea disappeared. - You might forget that you had the old idea. Especially if you are having short-term memory issues or are distracted. 5) Here is my idea: discard the concept of remember buffers entirely. - Create the entry at the target location when you call org-remember. - Employ a virtual buffer to narrow to the created entry. 6) Some benefits: 1) Alan can remember, then remember again, then remember a third time without having to save remember buffers or name them (which he would need). 2) Your idea is where it should be. If you want context, you simply remove the narrowing. 3) org has access to the target buffer's buffer-local variables, org variables, encoding and multilingual settings of the target, etc. 4) Auto-save saves to a place where Emacs will pick it up again if Emacs crashes. 5) A backup directory is no longer necessary to restore data from a killed (remember) buffer. 6) Finalizing is no longer a matter of losing your data if you forget. It merely pops windows. 7) If you still want the concept of I am not done remembering this remember, add a tag (:REMEMBERING:) at creation time and have org-remember-finalize remove that tag. To see in-progress remembers, call the agenda on that tag. 8) This eases yak shaving. - http://www.catb.org/~esr/jargon/html/Y/yak-shaving.html - This is a simple way to keep track of what you were doing when you remember from remember. - I recommend making org-remember-finalize use a /stack/, so that successive invocations recreate the previous window/buffer context until they get to the original context. - I think that we intuitively work in stacks. This lets us avoid overloading our own memory. - If Emacs crashes, the worst thing that will happen is that you end up with a bunch of :REMEMBERING: tasks around your org files. Not lost data. To summarize, the current remember naturally leads to the need for increasing workarounds, and therefore requests for features, which leads to more complexity. By leveraging the power of the org hierarchy, we can simplify, and get yak shaving support as a nice surprise benefit. Let me know what you think. On Tue, Sep 29, 2009 at 02:37, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Allen, saving remember buffers is hackish and complex as it is, so I am not going to add this option. I think the
Re: [Orgmode] Feature Request: Keeping me honest
Attached is a working implementation of the idea. So, in GTD each 'next action' is supposed to be an actual doable thing to further the project it is associated with. When creating next actions or project headlines there is sometimes a tendency to use a heading that is a bit vague/undoable. This is usually a sign that the task the headline represents needs more thinking about and will probably need more than one next action or spawn another project. org-action-verbs was created to use a list of GTD 'action verbs' to diagnose non-functional next action and project headlines. It searches for headlines of a specific TODO type and checks to see if the first word in the headline is specified as an action verb for that TODO type. If not, then it highlights that first non actionable word. Its a bit like flyspell mode but for checking doable org headlines. To use put the following in your .emacs: (require 'org-action-verbs) To change the default TODO Type-Action Verb table you can set 'org-action-todo-verbs'. Below is an example. The first checks for the right spaceship name associated with the 'SPACESHIP' TODO type, and the right colour for the 'COLOR' and 'COLOUR' TODO types. - note the Action verbs are case sensitive. (setq org-action-todo-verbs '( ((SPACESHIP) . (Challenger Voyager Enterprise Nostromo Apollo )) ((COLOUR COLOR) . (Red Yellow Green Aquamarine Blue Black)) ) The current default mappings are based on David Allen's GTD verb list: Verbs for the TODO types TODO and NEXT - Address Ask Avoid Buy Change Clarify Collect Commend Confront Consider Create Decide Defer Develop Discard Do Again Download Enter File Follow Up Hire Improve Increase Inform Inquire Enquire Maintain Measure Monitor Order Paint Phone Prioritize Prioritise Purchase Question Reduce Remember Repair Reply Report Research Resolve Review Schedule Sell Send Service Specify Start Stop Suggest Tidy Train Update Upgrade Write Verbs for the TODO type PROJECT - Finalize Finalise Resolve Handle Look-Into Submit Maximize Maximise Organize Organise Design Complete Ensure Research Roll-Out Update Install Implement Set-Up Enjoy, Tim. org-action-verbs.el Description: application/emacs-lisp ___ 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] Feature Request: Keeping me honest
Below is my first attempt at this. It breaks normal org font-locking though, my font-lock foo is not up to much at the moment. I'm sure its something simple, but i cannot see it. Any ideas where I'm going wrong? Tim. (defface org-action 'class color) (background light)) (:foreground green :underline t)) (((class color) (background dark)) (:foreground green :underline t)) (t (:underline t))) Used by org-action-font to help distinguish good 'actionable' headlines.) (defvar org-action-todo-keywords '(TODO NEXT) org-action todo keywords to apply to action fonts to) (defvar org-action-todo-highlight-words '(Address Ask Avoid Buy Change Clarify Collect Commend Confront Consider Create Decide Defer Develop Discard Do Again Download Enter File Follow Up Hire Improve Increase Inform Inquire Maintain Measure Monitor Order Paint Phone Prioritize Purchase Question Reduce Remember Repair Reply Report Research Resolve Review Schedule Sell Send Service Specify Start Stop Suggest Tidy Train Update Upgrade Write) org-action fontification keywords ) (defun org-mode-action-hook () Initalise org-mode helper stuff. (interactive) (setq org-action-todo-keywords-regexp (concat ^\\*+[ ]+ (regexp-opt org-action-todo-keywords 'words) [ ]+ (regexp-opt org-action-todo-highlight-words 'words))) (setq org-action-font-lock-keywords `( (,org-action-todo-keywords-regexp 2 org-action-face t))) (font-lock-add-keywords nil org-action-font-lock-keywords) ) ;; Turn on 'keeping it honest' font locking. (add-hook 'org-mode-hook 'org-mode-action-hook) 2009/8/5 Jonathan Arkell jonath...@criticalmass.com: This is a great idea! I was thinking about something similar, but my ideal implementation would enforce more granular discipline: If the user is on a TODO item and hits Enter, moves up or down, or sets the TODO state of the todo item (to a not done state), then the enforcer kicks in, and does a check against a list of known good and known bad words. During this process a small buffer would pop up, showing the text of the TODO item and any errors that popped up. This secondary buffer would have keybindings similar to the tags interface, TAB to edit the todo item directly to fix the problem and enter to accept it as is, and maybe alpha-numerics to enter keywords If bad words show up in the todo item, then the enter key has a y/n confirmation behind it. (This TODO Item seems unactionable, are you sure you want to use it?) What are bad words? A project verb in a TODO keyword I would consider bad, but it should be customizable per keyword and per todo item. A few options I can think of: - Don't Process enforce if the todo item has checkboxes in it - Loose enforcement, don't bug the user at all, only use agenda functionality. - Strict enforcement, don't let the user enter out of confirmation I saw a similar list to the one you have on P218 of Making it all Work (David Allen) Right now this is all sitting in my Long term ideas for Org Mode headline... So I hope to get to it by the next decade. :p -Original Message- From: emacs-orgmode-bounces+jonathana=criticalmass@gnu.org [mailto:emacs-orgmode-bounces+jonathana=criticalmass@gnu.org] On Behalf Of Tim O'Callaghan Sent: August 3, 2009 7:47 AM To: org-mode Subject: [Orgmode] Feature Request: Keeping me honest Hi, I'm not sure how/if these are implemented or implementable. * Keeping Me honest When i outline a project, sometimes there are points that are ambigiously stated. Being neither actions or titles, they can slip through the cracks. So i've been thinking of a feature that would be similar to the stuck projects indicator. This would be a set of words that would naturally follow a TODO or similar, to indicate that the title has some honesty to it. Its to enforce a kind of GTD verb in every actionalble outline title. Implementation wise, i was thinking this could be a word list associated with a todo or tag. That list would then be used to font lock the first word of an outline header. e.g. wrong * TODO foobar compatibility needed for something vs right * TODO change feature X of something so that it works with foobar Either the first word, and/or the whole line would be highlighted a different colour. GTD words are not the only use for a feature like this. It might be used to highlight that a bug ID is needed in a FIXME heading with a regexp ID#[0-9]+ associated to the keep me honest field. Not sure where i picked this list up from but here are some example GTD words to test with: *** PROJECT todo-type outline action verbs Finalize, resolve, handle, look into, submit, maximize, organize, design, complete, ensure, research, roll out, update, install, implement, set-up *** TODO todo-type next action verbs Address, ask, avoid, buy, change
Re: [Orgmode] [PATCH] Open single link immediately
FWIW it should be back up on monday. http://article.gmane.org/gmane.comp.version-control.git/85019 Tim. 2009/8/30 Carsten Dominik carsten.domi...@gmail.com: This will be in the next push, when our repository is online again. Thanks! - Carsten On Aug 28, 2009, at 7:23 PM, Bernt Hansen wrote: C-c C-o on a headline or in the agenda displays a menu of links to choose from. If there is only a single link then go there directly skipping the menu. --- This patch is available at git://git.norang.ca/org-mode.git for-carsten lisp/org.el | 31 --- 1 files changed, 16 insertions(+), 15 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index a5181ab..f3d8976 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8073,21 +8073,22 @@ needed for the interpretation of abbreviated links. (push (match-string 0) links)) (setq links (reverse links)) (unless links (error No links)) - - (unless (and (integerp nth) (= (length links) nth)) - (save-excursion - (save-window-excursion - (delete-other-windows) - (with-output-to-temp-buffer *Select Link* - (princ Select link\n\n) - (mapc (lambda (l) (princ (format [%d] %s\n (incf cnt) l))) - links)) - (org-fit-window-to-buffer (get-buffer-window *Select Link*)) - (message Select link to open:) - (setq c (read-char-exclusive)) - (and (get-buffer *Select Link*) (kill-buffer *Select Link* - (setq nth (- c ?0))) - + (if (eq 1 (length links)) + (setq c 1) + (unless (and (integerp nth) (= (length links) nth)) + (save-excursion + (save-window-excursion + (delete-other-windows) + (with-output-to-temp-buffer *Select Link* + (princ Select link\n\n) + (mapc (lambda (l) (princ (format [%d] %s\n (incf cnt) l))) + links)) + (org-fit-window-to-buffer (get-buffer-window *Select Link*)) + (message Select link to open:) + (setq c (read-char-exclusive)) + (and (get-buffer *Select Link*) (kill-buffer *Select Link*)) + (setq nth (- c ?0)) + (unless (and (integerp nth) (= (length links) nth)) (error Invalid link selection)) (setq link (nth (1- nth) links) -- 1.6.4.1.331.gda1d56 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature Request: Keeping me honest
Hi, I'm not sure how/if these are implemented or implementable. * Keeping Me honest When i outline a project, sometimes there are points that are ambigiously stated. Being neither actions or titles, they can slip through the cracks. So i've been thinking of a feature that would be similar to the stuck projects indicator. This would be a set of words that would naturally follow a TODO or similar, to indicate that the title has some honesty to it. Its to enforce a kind of GTD verb in every actionalble outline title. Implementation wise, i was thinking this could be a word list associated with a todo or tag. That list would then be used to font lock the first word of an outline header. e.g. wrong * TODO foobar compatibility needed for something vs right * TODO change feature X of something so that it works with foobar Either the first word, and/or the whole line would be highlighted a different colour. GTD words are not the only use for a feature like this. It might be used to highlight that a bug ID is needed in a FIXME heading with a regexp ID#[0-9]+ associated to the keep me honest field. Not sure where i picked this list up from but here are some example GTD words to test with: *** PROJECT todo-type outline action verbs Finalize, resolve, handle, look into, submit, maximize, organize, design, complete, ensure, research, roll out, update, install, implement, set-up *** TODO todo-type next action verbs Address, ask, avoid, buy, change, clarify, collect, commend confront, consider, create, decide, defer, develop, discard, do again, download, enter, file, follow up, hire, improve, increase, inform, inquire, maintain, measure, monitor, order, paint, phone, prioritize, purchase, question, reduce, remember, repair, reply, report, research, resolve, review, schedule, sell, send, service, specify, start, stop, suggest, tidy, train, update, upgrade, write. Tim. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-install.el in Emacs probably should be removed
On 16/02/2009, Bernt Hansen be...@norang.ca wrote: Carsten Dominik domi...@science.uva.nl writes: On Feb 15, 2009, at 11:18 PM, Tim O'Callaghan wrote: The usage of org-install has the pre-requisite of having to compile the org.el files. This is no use to people like myself, who want to use the same .el files in XEmacs and Emacs due to incompatible .elc problems. Its also no use to people who do no have a build system or make binary installed e.g. windows users, locked down linux/unix systems etc. How about adding a skeleton org-install.el that gets overwritten by the make? org-install.el is part of the distribution tar and zip files. I cannot include it into the git repo because the git people tell me that it is a bad idea to keep a product file under git control (Bernt?). The main reason this is a bad idea in git master branch is that the file gets automatic changes on different systems and looks modified after each time you run make. This file gets in the way of other (real) changes since git thinks the working tree is dirty and prevents changing branches, rebasing, or merging with a dirty tree. The contents of the org-install.el file are uninteresting and really does not belong in the tracked files for the project since it is a product of the build procedure. If you want a skeleton org-install.el in the tar/zip files then you probably should generate that when producing the tar/zip files. -Bernt That is a fair point, its usually counter productive to put a build product under revision control. So for the sake of those looking for an example one, you'll find a generated example attached, for V6.23b I wonder if it is possible to implement a mechanism to check the 'freshness' of the org-install? say embedding the org-version number it was created with, and org checking to see if it is compatible, or needs updating? Tim. example-org-install.el Description: application/emacs-lisp ___ 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-install.el in Emacs probably should be removed
This is what I have done extensively in the manual, but this has not kept people from doing (require 'org) in .emacs. I have been fighting hard to get people to use (require 'org-install), so I did not want to punish them when they move to Emacs 23 and want to use the Emacs version. Admittedly, this is not very likely. Also, I do want to keep the option that org-install will do more than just install autoloads. So while I don't have strong feelings about removing org-install from Emacs again, I cannot really see the point either. - Carsten The usage of org-install has the pre-requisite of having to compile the org.el files. This is no use to people like myself, who want to use the same .el files in XEmacs and Emacs due to incompatible .elc problems. Its also no use to people who do no have a build system or make binary installed e.g. windows users, locked down linux/unix systems etc. How about adding a skeleton org-install.el that gets overwritten by the make? Tim. ___ 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] Installing on windows
Obviously, I do not fully understand the initialization sequence for EmacsW32. Could someone using EmacsW32 throw some more light on a better procedure/technique to install Org-mode on it? Hi, I run the same installation of org in Xemacs Emacs on Windows+Cygwin Linux/Unix. Currently i have these native versions installed: * GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-06-30 on LENNART-69DE564 (patched) * XEmacs 21.4 (patch 21) Educational Television [Lucid] (i586-pc-win32) of Sun Oct 07 2007 on VSHELTON-PC2 The basic technique is: 1) do not compile any source to EL files. 2) make sure the HOME environmental variable is set correctly. 3) use the (expand-filename) function, and relative filenames. It makes everything work cross platform. Here is an quick walk through my (X)Emacs setup. My .emacs: --8---cut here---start-8--- (defconst toc:zemacsen-dir ~/.zemacsen_d/ Path to xemacsen root directory and the init.el file) (defconst toc:zemacsen-site-lisp-dir (concat toc:zemacsen-dir site-lisp/) Path to (x)emacs lisp includes) (load (expand-file-name (concat toc:zemacsen-dir init))) --8---cut here---end---8--- Notice the ~/ unix style relative paths? expand-filename converts that into the value of your HOME environmental variable. This must be set for Cygwin, but is also useful for other unixlike tools. so if HOME=C:\home\, this code loads the file C:\home\.zemacsen\init.el which is my real (x)emacs configuration file. I then have a function that does something like: --8---cut here---start-8--- (add-to-list 'load-path (expand-file-name (concat toc:zemacsen-site-lisp-dir org-mode/lisp))) --8---cut here---end---8--- Which places c:/home/.zemacsen_d/site-lisp/org-mode at the beginning of the load-path list, trumping any other installation. You can check with alt-x describe-variable load-path to make sure it's at the start of the load-path list. Here is the function and its org usage: --8---cut here---start-8--- (defun toc:add-to-load-path (dirlist) (dolist (dir dirlist load-path) (setq dir (expand-file-name (concat toc:zemacsen-site-lisp-dir dir))) (if (file-directory-p dir) (add-to-list 'load-path dir (toc:add-to-load-path '(org-mode/lisp/ org-mode/contrib/lisp/ org-mode/xemacs/ remember/)) ;; Initialize org (cond ((featurep 'xemacs) (require 'noutline) (require 'ps-print-invisible))) (require 'org) --8---cut here---end---8--- I have a similar setup for exec-path, to make sure my preferred windows binaries are found before the windows system ones. --8---cut here---start-8--- (defun toc:add-to-exec-path (dirlist optional front) (dolist (dir dirlist exec-path) (setq edir (expand-file-name dir)) (setq qdir (shell-quote-argument (expand-file-name dir))) (message Testing PATH:= %s dir) (cond ((file-directory-p dir) (add-to-list 'exec-path dir front) (message Searching PATH:= %s -- %s (regexp-quote dir) (getenv PATH)) (unless (string-match (regexp-quote dir) (getenv PATH)) (message Adding PATH:= %s\n dir) (if front (setenv PATH (concat dir path-separator (getenv PATH))) (setenv PATH (concat (getenv PATH) path-separator dir --8---cut here---end---8--- I'm sure its not pretty (or optimised) but, what can i say but that so far it works for me (almost) everywhere. hope that helps. Tim. ___ 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]
Latley i have been getting this error, and i cannot track it down. The closes i have come is to find out it's somewhere in the org mode startup, and it only occurs during the Xemacs startup, works fine for Emacs. I get this error: -- (1) (initialization/error) An error has occurred while loading g:\home\tim\.emacs: Malformed list: :background To ensure normal operation, you should investigate the cause of the error in your initialization file and remove it. Use the `-debug-init' option to XEmacs to view a complete error backtrace. -- And from the Recent minibuffer messages (most recent first): -- Error in init file: Malformed list: :background Loading gnus-xmas...done Loading gnus-xmas... Loading g:\home\tim\.zemacsen_d\configs\org-remember_config... -- If i try and use -debug-init, i still get the error but no traceback. The best guess i have been able to make is that the problem is in one of these files: org-colview-xemacs.el org-faces.el though it could be in something included. XEmacs 21.4 (patch 21) Educational Television [Lucid] (i586-pc-win32) of Sun Oct 07 2007 on VSHELTON-PC2 latest git version of org. Any ideas/pointers as to where to look next? Tim. ___ 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: Git recommendations
Has anyone had any luck with XEmacs and these git modes? Tim. ___ 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: [ANN] Org Invoice 1.0.0
I think he means: http://www.newartisans.com/software/ledger.html Tim. 2008/12/6 Peter Jones [EMAIL PROTECTED]: [EMAIL PROTECTED] (Mark A. Hershberger) writes: Now, if I can just figure out how to integrate invoicing and ledger Is ledger an application, or some additional org functionality you want? -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org Remember hooks?
Hi, I want to change/add to the remember mode key-map but i'm having some problems reverting them. That's because the remember buffer is actually org-mode in disguise, the keys stay mapped after the remember mode buffer is closed. Is it possible to localise the org-remember mappings, or supply a post org-remember hook? The function that causes trouble: (defun toc:remap-remember-keys () (define-key (current-local-map) [(control x) (control s)] 'remember-finalize) (define-key (current-local-map) [(meta k)]'remember-destroy)) (add-hook 'remember-mode-hook 'toc:remap-remember-keys 'append) Cheers, Tim. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mode and git
Also does anyone have a working Xemacs git support? Tim 2008/10/22 Richard Riley [EMAIL PROTECTED]: Hi folks, I had used bog standard RCS behind vc before (works fine for little stand alone projects), but recently loaded up the vc-git.el and added it to the supported backends for vc but some problems trying to update my org-mode install using it. Is it mature enough for this. What, if any, git interface for emacs do you guys recommend? -- The system of nature, of which man is a part, tends to be self-balancing, self-adjusting, self-cleansing. Not so with technology. ~E.F. Schumacher, Small is Beautiful, 1973 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] About latex export
For the Latex users, I feel i should also point out this tool called Plans Unfolding. http://www.myreckonings.com/PlansUnfolding I've not had a chance to play with it properly, but it uses latex templates for all of its reports, so might be a handy resource/tool Tim. 2008/9/8 Carsten Dominik [EMAIL PROTECTED]: Hi Nick, please see http://article.gmane.org/gmane.emacs.orgmode/7684/ On Sep 8, 2008, at 8:08 PM, Nicolas Goaziou wrote: Hello, While fiddling with latex export, I wondered if there was a variable to specify some more packages that should be added the code produced — i.e. I'd like to add \usepackage[frenchb]{babel} everytime. I could somehow manage to write a function adding it after exporting the code — maybe with the help of a hook — but I can't help thinking it would be messier. On another topic, it looks like the latex export process doesn't play well with the description environment. In fact, - a :: first - b :: second is rendered as \begin{itemize} \item a :: first \item b :: second \end{itemize} Odd, isn't it ? Not odd, description lists have not yet been implemented in the LaTeX exporter. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Mail files in org
Hi, Now that Gmail uses statefull mail links, has anyone implemented linking to Gmail conversations with org? cheers, Tim. 2008/8/28 Richard G Riley [EMAIL PROTECTED]: Russell Adams [EMAIL PROTECTED] writes: On Thu, Aug 28, 2008 at 05:45:38PM +0200, Richard G Riley wrote: Gnus supports maildir too although recently I moved to an IMAP server which accesses the maildir format created with procmail on my mail server. I've recently reorganized my folders to be served up by Dovecot so I can access my maildir inside VM with Thunderbird. A great hack, and Mutt compatible! I did use Mutt for a while but being an emacs user I took the plunge and went Gnus and never looked back. All the things you are familiar with integrate nicely (flyspell, org-mode etc). And, of course, Gnus merges the concept of usenet and email which is great when you get it all sorted out and configured to your liking. But now its starting to sound like I am pimping Gnus. But as an emacs user I would recommend you take the plunge again and retry Gnus. I don't do usenet, and I use emacs as the message editor for Mutt. I do use BBDB with Mutt via LBDB. Perhaps I should review Gnus again, any good references or screenshots of it in operation? One little picture here showing email and usenet groups with group specific colouring and then content highlighting with non empty folders. http://richardriley.net/default/projects/images/gnus_scr.png and a link to my .gnus here http://richardriley.net/default/projects/emacs/ Using the built in help function on that files contents would be a big help I think. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: 1-way syncing with google calendar (was Re: .ics export violates RFC2445)
Cool - just caught up with this. If you check the archives i had a very basic google-org solution using w3. I stopped using it when i moved back to Emacs, guess its time to dig it out :) Tim. 2008/5/28 Adam Spiers [EMAIL PROTECTED]: On Wed, May 28, 2008 at 02:02:01PM -0700, Cezar Halmagean wrote: Adam Spiers [EMAIL PROTECTED] writes: On Tue, May 27, 2008 at 10:55:57PM +0100, Adam Spiers wrote: I'm going to restart gcaldaemon shortly - if it works then orgmode can boast unidirectional non-interactive syncing with google calendar! (as opposed to repeatedly importing an .ics file manually, which is very tedious). Hooray, it works! org-icalendar-force-UID + gcaldaemon gives nice unidirectional non-interactive syncing with google calendar. Here's a ^^ Always remember to read the small print ;-) snippet from the log: DEBUG | Updating event ( test thing!) in Google Calendar... DEBUG | Synchronization finished. DEBUG | Starting Google Calendar synchronizer... DEBUG | Connecting to Google... Does this work both ways ? org - google and google - org ? No, just org - google as per above. See also http://article.gmane.org/gmane.emacs.orgmode/6817 Can you provide your changes/settings ? The only setting is org-icalendar-force-UID as mentioned above. Configuration of gcaldaemon is straightforward, and it should work out of the box. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] emacs IDE and org
2008/5/9 Rockefeller, Harry [EMAIL PROTECTED]: Is anyone using org mode in a software development process? An IDE, emacs is no exception, assumes the source code is primary, having tools and methods to edit source code files but not org files. org files, however, appear to have all those other features desired in a development process: todo items, requirements specifications, reference links, tabular and spreadsheet data, etc. Export of various parts of the org file at different times of development may coincide with software process milestones. I use Emacs for development, and have used Org to group together file links and notes for various projects. Org to source code seems straight forward via QUOTE, for example. From source to org may be set up using special 'org import' markers such as //* Top item // bla bla //** Sub item // bla bla where the cpp source comment character may get snipped off to use source to generate an org file. Either the source or the org file may be primary. Or maybe the org file is primary early in this process and eventually is replaced by source toward the end? This sounds a bit like you want to use org for something like Literate Programming? Tim. ___ 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 6.01 and XEmacs
This is fixed for me, thanks. Tim. On 14/04/2008, Carsten Dominik [EMAIL PROTECTED] wrote: On Apr 14, 2008, at 7:08 PM, Tim O'Callaghan wrote: As far as i can tell the problem i see under XEmacs is to do with the use of the :help keyword in easy-menu-define. XEmacs does not support this keyword, and so breaks org mode start-up. I have just released 6.01a which should fix this problem, and some of the problems with Emacs 21, maybe not all, please keep the reports coming. - Carsten ___ 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] Where to get org v6.00-pre5?
Hi, Like the new look for the orgmode.org site, but there is a problem with the distribution links. The site proclaims the current version as 6.00-pre5, but the link to download points to 5.23a. Tim. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Where to get org v6.00-pre5?
Unfortunately the Git repo is impractical, as i can only access it from home. Tim. On 11/04/2008, Bernt Hansen [EMAIL PROTECTED] wrote: Tim O'Callaghan [EMAIL PROTECTED] writes: Like the new look for the orgmode.org site, but there is a problem with the distribution links. The site proclaims the current version as 6.00-pre5, but the link to download points to 5.23a. Org-mode version 6.00pre-5 is available in the git repository. -Bernt ___ 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: Where to get org v6.00-pre5?
Git cloning is something i will look into. But back to my original point. The distribution version on the orgmode website is not as advertised. In this case: advertised is v6.00-pre5 downloadable is v5.23a. If the v6.00-pre5 version is a development version only available from the git repo then a website change might be in order? Tim. On 11/04/2008, Bernt Hansen [EMAIL PROTECTED] wrote: Tim O'Callaghan [EMAIL PROTECTED] writes: Unfortunately the Git repo is impractical, as i can only access it from home. Tim. You could put a bare clone on a USB stick take it to work and clone from that. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode versus Taskpaper - now for real
To be honest when i first read it i thought it was a good idea. I saw it as an extension of your splitting the big org file into the smaller include files in the git repo. What people miss when they are new to Org-mode is this: Don't try to set up the final task managing system from the start. Because you have no idea yet what your system should look like. Don't set up many TODO states and logging initially, before you actually have a feeling for what you working flow is. Don't define a context tag @computer just because David Allen has one, even though you are sitting at a computer all the time anyway! Start by creating and managing a small TODO list and then develop your own system as the needs arises. I wrote Org-mode to enable this development process. I think a way to address this in Org-Mode would be to start with a chapter explaining what Org-mode is about and an example of how to use the very basic TODO functionality. A single file TODO project, probably based around cooking a recipe or something. Then in later chapters you could apply the new feature(s) described by expanding on the initial use-case. Also with that use-case as a baseline we could generate an appendix of usage/best practices or whatever, for the clock-in-out-people, the print every day people, one big ass text file people etc I for one would be interested in knowing how other people use org-mode, and always on the look out for interesting tweaks. Tim. ___ 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: problems cloning the org mode git repo
Tried it at home. seems to be an issue with the corporate firewall. Tim. On 19/03/2008, Manish [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 1:26 AM, Tim O'Callaghan wrote: Still broken for me. /tmpgit clone git://repo.or.cz/org-mode.git Initialized empty Git repository in /tmp/org-mode/.git/ repo.or.cz[0: 62.24.64.27]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) fetch-pack from 'git://repo.or.cz/org-mode.git' failed. Tim. lappy:~/elisp/org-mode $ uname -a CYGWIN_NT-5.1 326001553L 1.5.25(0.156/4/2) 2007-12-14 19:21 i686 Cygwin lappy:~/elisp/org-mode $ date Wed Mar 19 17:43:15 IST 2008 lappy:~/elisp/org-mode $ git pull remote: Counting objects: 51, done. remote: Compressing objecremote: ts: 100% (20/20), done. remote: Total 43 (delta 26), reused 40 (delta 23) Unpacking objects: 100% (43/43), done. From git://repo.or.cz/org-mode 96e02e3..07ced08 master - origin/master Updating 96e02e3..07ced08 Fast forward ChangeLog | 52 + Makefile |3 +- ORGWEBPAGE/tmp/faq.html | 663 - ORGWEBPAGE/tmp/index.html | 420 ORGWEBPAGE/tmp/qanda.html | 449 - ORGWEBPAGE/tmp/survey.html| 2169 - ORGWEBPAGE/tmp/todo.html | 965 -- ORGWEBPAGE/tmp/tutorials.html | 21 - org-bbdb.el | 94 ++ org-gnus.el | 127 +++ org-info.el | 79 ++ org-mhe.el| 211 org-rmail.el | 107 ++ org-vm.el | 129 +++ org-wl.el | 117 +++ org.el| 598 ++-- 16 files changed, 1003 insertions(+), 5201 deletions(-) delete mode 100644 ORGWEBPAGE/tmp/faq.html delete mode 100644 ORGWEBPAGE/tmp/index.html delete mode 100644 ORGWEBPAGE/tmp/qanda.html delete mode 100644 ORGWEBPAGE/tmp/survey.html delete mode 100644 ORGWEBPAGE/tmp/todo.html delete mode 100644 ORGWEBPAGE/tmp/tutorials.html create mode 100644 org-bbdb.el create mode 100644 org-gnus.el create mode 100644 org-info.el create mode 100644 org-mhe.el create mode 100644 org-rmail.el create mode 100644 org-vm.el create mode 100644 org-wl.el lappy:~/elisp/org-mode $ make emacs -batch -q -eval (progn (add-to-list (quote load-path) \.\) (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\)) -f batch-byte-compile org.el In end of data: org.el:28646:1:Warning: the following functions might not be defined at runtime: calendar-forward-day, parse-time-string, calendar-goto-date, calendar-goto-today, calendar-iso-date-string, calendar-julian-date-string, calendar-astro-date-string, calendar-hebrew-date-string, calendar-islamic-date-string, calendar-french-date-string, calendar-bahai-date-string, calendar-mayan-date-string, calendar-coptic-date-string, calendar-ethiopic-date-string, calendar-persian-date-string, calendar-chinese-date-string org.el:28646:1:Warning: the following functions are not known to be defined: add-local-hook, table--at-cell-p, dired-get-filename, mouse-set-point, org-gnus-follow-link, bibtex-generate-autokey, bibtex-beginning-of-entry, bibtex-parse-entry, bibtex-url, remember-finalize, remember, remember-buffer-desc, add-to-diary-list, cdlatex-tab, clear-image-cache, org-export-latex-cleaned-string, speedbar-line-directory Wrote /home/zms/elisp/org-mode/org.elc emacs -batch -q -eval (progn (add-to-list (quote load-path) \.\) (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\)) -f batch-byte-compile org-bbdb.el In end of data: org-bbdb.el:95:1:Warning: the following functions are not known to be defined: bbdb-record-name, bbdb-current-record, bbdb-record-getprop, bbdb-name, bbdb-company, bbdb [ snipped lots of compile lines] Generating autoloads for org-wl.el...done Generating autoloads for org-install.el... Generating autoloads for org-install.el...done Wrote /home/zms/elisp/org-mode/org-install.el emacs -batch -q -eval (progn (add-to-list (quote load-path) \.\) (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\)) -f batch-byte-compile org-install.el Wrote /home/zms/elisp/org-mode/org-install.elc Everything seems fine here. -- Manish ___ 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] problems cloning the org mode git repo
I'm getting the same problem using cygwin git. Tim. On 18/03/2008, Jose Robins [EMAIL PROTECTED] wrote: I tried to get the git repo by cloning and I got the following error. I'm just getting into git as well... So what am I doing wrong? Thanks, git clone http://repo.or.cz/w/org-mode.git org-repo Initialized empty Git repository in /mnt/users/jrobins/src/org-repo/.git/ error: Could not interpret response from server '?xml version=1.0 encoding=utf-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en-US lang /users/jrobins/apps/bin/git-clone: line 474: cd: /mnt/users/jrobins/src/org-repo/.git/refs/remotes/origin: No such file or directory Warning: Remote HEAD refers to nonexistent ref, unable to checkout. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: problems cloning the org mode git repo
Still broken for me. /tmpgit clone git://repo.or.cz/org-mode.git Initialized empty Git repository in /tmp/org-mode/.git/ repo.or.cz[0: 62.24.64.27]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) fetch-pack from 'git://repo.or.cz/org-mode.git' failed. Tim. On 18/03/2008, Bernt Hansen [EMAIL PROTECTED] wrote: Try using this URL instead: git://repo.or.cz/org-mode.git as in $ git clone git://repo.or.cz/org-mode.git -Bernt Tim O'Callaghan [EMAIL PROTECTED] writes: I'm getting the same problem using cygwin git. Tim. On 18/03/2008, Jose Robins [EMAIL PROTECTED] wrote: I tried to get the git repo by cloning and I got the following error. I'm just getting into git as well... So what am I doing wrong? Thanks, git clone http://repo.or.cz/w/org-mode.git org-repo Initialized empty Git repository in /mnt/users/jrobins/src/org-repo/.git/ error: Could not interpret response from server '?xml version=1.0 encoding=utf-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en-US lang /users/jrobins/apps/bin/git-clone: line 474: cd: /mnt/users/jrobins/src/org-repo/.git/refs/remotes/origin: No such file or directory Warning: Remote HEAD refers to nonexistent ref, unable to checkout. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode on Windows
I personally run the XEmacs windows native port. http://www.xemacs.org/Download/win32/index.html I've tried the cygwin terminal and X versions and find i prefer the native version. There is an up to the minute windows Emacs port: http://ntemacs.sourceforge.net/ Which i am evaluating, but yet to use in anger. Tim. On 14/03/2008, Manish [EMAIL PROTECTED] wrote: Hello Everyone, I would like to which terminal clients people use to run Cygwin Emacs (on Windows) to run org-mode. PuTTY with ssh, PuTTY with puttycyg patch, rxvt, mrxvt, xterm or something else. For some reason, I will have to remove Windows Emacs and Cygwin port in PuTTY does not support shift-arrow keys (it passes the combination as plain arrow keys). I am very interested to know if there's another key combination that can be used instead of shift+arrow or if someone is aware of a patched PuTTY that does work. I found that xterm and rxvt do support shift+arrow key chord but mrxvt does not (which is strange considering it's built on top of rxvt). If I have to use X then I would prefer to use mrxvt (tabbing, window resizing etc., though no real fullscreen like PuTTY's). Suggestions and advice please. Thanks -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] bug: Xemacs problem with editing headings with compressed contents
Hi. There is some problem with tags and headings. I've had instances where the tag has disappeared or merged into my heading. Repeatable with Xemacs 21.4.19 i586-pc-win32, org 5.22a using this fragment: - * REAEARCH memory problems on oxo50 :proj: *** WAIT korstian to organise a meeting. - If i try to add the S into the heading when it is folded, then it generates the error Visible portion of buffer not modifiable. Debugger gives: Debugger entered--Lisp error: (error Visible portion of buffer not modifiable) move-to-column(70 t) (progn (setq tags (match-string 2)) (goto-char (match-beginning 1)) (insert ) (delete-region (point) (1+ ...)) (backward-char 1) (move-to-column (max ... ... ...) t) (insert tags) (move-to-column (min ... col) t)) (if (and (looking-at ...) ( pos ...)) (progn (setq tags ...) (goto-char ...) (insert ) (delete-region ... ...) (backward-char 1) (move-to-column ... t) (insert tags) (move-to-column ... t)) (goto-char pos)) (let ((pos ...) (col ...) tags) (beginning-of-line 1) (if (and ... ...) (progn ... ... ... ... ... ... ... ...) (goto-char pos))) org-align-tags-here(70) (if (and (equal ... ?*) (org-on-heading-p)) (org-align-tags-here org-tags-column)) (when (and (equal ... ?*) (org-on-heading-p)) (org-align-tags-here org-tags-column)) org-fix-tags-on-the-fly() (if (and (org-table-p) (progn ... t) (eq N 1) (looking-at [^|\n]* |)) (let (org-table-may-need-update) (goto-char ...) (delete-backward-char 1) (goto-char ...) (self-insert-command N)) (setq org-table-may-need-update t) (self-insert-command N) (org-fix-tags-on-the-fly)) org-self-insert-command(1) call-interactively(org-self-insert-command) recursive-edit() debug(error (error Visible portion of buffer not modifiable)) move-to-column(70 t) (progn (setq tags (match-string 2)) (goto-char (match-beginning 1)) (insert ) (delete-region (point) (1+ ...)) (backward-char 1) (move-to-column (max ... ... ...) t) (insert tags) (move-to-column (min ... col) t)) (if (and (looking-at ...) ( pos ...)) (progn (setq tags ...) (goto-char ...) (insert ) (delete-region ... ...) (backward-char 1) (move-to-column ... t) (insert tags) (move-to-column ... t)) (goto-char pos)) (let ((pos ...) (col ...) tags) (beginning-of-line 1) (if (and ... ...) (progn ... ... ... ... ... ... ... ...) (goto-char pos))) org-align-tags-here(70) (if (and (equal ... ?*) (org-on-heading-p)) (org-align-tags-here org-tags-column)) (when (and (equal ... ?*) (org-on-heading-p)) (org-align-tags-here org-tags-column)) org-fix-tags-on-the-fly() (if (and (org-table-p) (progn ... t) (eq N 1) (looking-at [^|\n]* |)) (let (org-table-may-need-update) (goto-char ...) (delete-backward-char 1) (goto-char ...) (self-insert-command N)) (setq org-table-may-need-update t) (self-insert-command N) (org-fix-tags-on-the-fly)) org-self-insert-command(1) call-interactively(org-self-insert-command) Tim. ___ 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] emacs on the N800
Now, OS2008 can work in host-mode (I have tested it myself). This means you can attach any external keyboard. Some people have luck with the apple bluetooth keyboard. I own a bluetooth IPaq keyboard (but I haven't been able to connect it to it under OS 2008). So when I really need to use emacs, I can always connect a real keyboard. Not ideal for standing up, but way more practical than a virtual keyboard when sitting. AFAIK the Apple BT keyboard, is a standard BT HID device. I tested it myself against my cell phone. I also tested that weird laser keyboard, but it requires some setup-configuration to work properly and AFAIK the config client is windows only. I have a thinkoutside BT HID profile keyboard and it works fine with my n800. I even have a nonstandard 'freedom' BT keyboard, but i saw that it can be added with some mucking about in xmodmap i think. A 'real' USB keyboard could be added, you need to flip the usb into host mode - which can be done in debug mode. The problem is it needs to be externally powered. The n800 does not have the USB power line connected - probably because it was designed as a client device. I would be interested in playing with emacs and org on an n800 as well, but without a keyboard, i just don't see it being any use. Tim. ___ 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] Feature Request - Active and inactive links.
On 11/12/2007, Bastien [EMAIL PROTECTED] wrote: Hi Tim, thanks for the details. I think I got confused because I couldn't understand what you mean by a link being processed when compiling the agenda. Now I understand that it means some kind of inclusion. So the issue seems twofold: 1. the first issue is about *including* external Org files (or other external resources, although I'm not sure to understand what does that mean); Yes and no. by *including* external resources i was thinking remote org files, and things (local or remote) that can be converted into something usable by org Agenda (only an org file AFAIK). I use an Ical URL as an example because i use google calendar, but the Ical link could be local. Or it could be a nag, remind, an outlook export or whatever. 2. the second issue is that of *processing* links to external resources when using your Org file as a source for other purposes (agenda view, export, etc.) Yes. My idea was essentially, when i ask org to create an agenda buffer, it knows to auto-pull and process each all of these active links, so as to be able to display them in my Agenda. I think both issues are very interesting but should be carefully (and maybe separately) thought. You're speaking about a link that would include the targeted Org file into the list of agenda files. Then attaching meta-data to this link, you would control how the building of the agenda should process the link (adding category, etc.) Some example of what we could do: - a link to an Org file that should be considered part of the master file (at any time: agenda view, export, etc.) This could be a new link type like org: org:~/home/org/header.org What is a Master file in this context? - a link to a file that should be included for specific export: #+BEGIN_LaTeX org:~/home/org/latex_footer.org #+END_LaTeX or maybe, if it's not ambiguous: org:latex:~/home/org/latex_footer.org Not quite. Though i can see how some might have use for the export specific org file include. - a link to a file that should only be processed in agenda views: org:agenda:~/home/org/other-todo.org - ... and maybe only for a specific agenda view org:agenda:n~/home/org/other-todo.org (n being the name of the command key in org-agenda-custom-commands) Where you thinking of something like that? Something similar to the last one. I'm not sure on how to integrate your idea about specifying categories, and I doubt this is particularly relevant: the links already belong to entries that will be categorized. Well the category is more like a category override. If you consider an imported org: link that is not created by you, then it may have a different flavor. The adding - or probably better - superseding of category/meta information gives you the knowledge needed to search for imported todos for example. I'm not sure although about your example with iCal. Do you think it could fit with the picture above? After thinking about it, for external resources, it would be better to specify a new active link type per resource type Ical: for example. Also the meta data might be better if specified per link type to or in the processing code. Thanks for this neat idea. I'm sure we're getting somewhere... Not sure how neat it is, but i know I'll use it :) Tim. ___ 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] Feature Request - Active and inactive links.
On 10/12/2007, Bastien [EMAIL PROTECTED] wrote: Hi Tim, Tim O'Callaghan [EMAIL PROTECTED] writes: Currently Org mode supports links like: http://www.astro.uva.nl/~dominik file:/home/dominik/images/jupiter.jpg news:comp.emacs etc I would like to propose the concept of 'Active' links, based on the above. The idea being that some links are marked such that when Org is building an agenda, it includes these links as if they were in the org-agenda-files list. It's been a while since you posted this message... I think I don't really understand the core idea here. Can you elaborate a bit more? What kind of information do you want to attach to links? what for? in what context should this information be displayed? processed? Thanks for providing further details! Sorry if i was unclear, I thought my examples would it explain most of it, my bad. Here it is in more detail. :) The core idea - Active links - is a link that specifies a resource (usually remote) that will be included (and possibly preprocessed) when you compile an agenda. They should look and act like normal links, but be handled differently when an agenda is compiled. Where this idea came from. I have a hacked together function that i use (see my rusty elisp below) that creates org-files from ical URLs. I use this to include my google calendar and other published events in my agenda. With the addition of org-add-link-type (described in Appendix A-2 in the org manual), i could create a link type that would convert an ical link to an org file on opening. This is great, but i could not then auto-include that in buffed file in my agenda without saving it and adding it to org-agenda-files. What would be needed would be some kind of flag or indicator that the link should be processed when creating an agenda buffer. It would need to be assumed that the link is, or will be preprocessed into, an org file. This led me to consider the consequences of an 'Active Link' and how to make it a more general and flexible concept. * The Agenda is not passive, it modifies its source files. = This could be mitigated using meta-tagging of read only resources. Another more finicky method could be a file of negative or modification assertions that change or remove a read only link before inclusion in the Agenda. Possibly a table of specific org node search links that replace the target with the stored org node. * The Agenda only processes the org-agenda-files list. = Let org build the list recursively from active links with one org-file as the head of the tree. This would have the benefit of letting you build different agendas based on the first org file referenced. Note - might need to force read only active links to be leaf nodes (i.e not recurse into them). * The Active Link referenced is no longer an agenda item. = If you remove the org file or its link from the within agenda, you change the Active Link to an inactive link globally. That is, in all of the linked files in the current org-agenda files list. * What if you open an active link from an org-mode buffer? = Undecided possibly configurable? I would say open the link in its natural state. * What use is a an active link to a remote read-only org file? = Collaboration. I can think of many scenarios, but the one i like is where my wife can just update a text file or blog post or whatever to update my agenda. * How would you represent an active link so it is obvious? = An active link could be prefixed by a + sign, possibly with embedded meta information for the agenda. Some possible examples: - read/write remote org file for collaboration (efs/angeftp) +file:/[EMAIL PROTECTED]:/home/me/personal.org - read only remote org file for collaboration in category work +work+http://www.astro.uva.nl/~dominik/remote.org - read only remote ical file of local whats-on information. +whatson+ical:http://upcoming.yahoo.com/calendar/v2/place/upI5ACueA5szd_8- The +category+ link prefix idea is because + can be part of a URL. * Where could you go from here? = The concept could be extended to allow further integration to other tools using to-org and from-org pre and post processing. Using my ical hack for an example, it could possibly be extended to a read/write WEBDAV link. Say for Outlook or Sunbird integration. So thats the idea in more detail, hope it clarifies the idea further... Tim. -- Google Calendar hack -- (setq google-ical-org-list '( ; removed personal links, but left a working public ical link. ; each ical link consists of: ;(ical link ; ical link download target file ; org file created - must be in org-agenda-files) (http://upcoming.yahoo.com/calendar/v2/place/upI5ACueA5szd_8-; ~/gettingThingsDone/CalendarSync/UpComing.ics ~/gettingThingsDone/CalendarSync/Upcoming.org))) (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer ;; initialise calendar handling
[Orgmode] Feature Request - Active and inactive links.
This is something i have been pondering for a while, and after seeing the recent discussion on links from org files, thought i would put forward for discussion. It is an attempt to kill two birds with one stone. The first is collaboration, the second is a selective trigger mechanism for generating Agenda items. Currently Org mode supports links like: http://www.astro.uva.nl/~dominik file:/home/dominik/images/jupiter.jpg news:comp.emacs etc I would like to propose the concept of 'Active' links, based on the above. The idea being that some links are marked such that when Org is building an agenda, it includes these links as if they were in the org-agenda-files list. An active link could be prefixed by a + sign, possibly with embedded metainformation for the agenda. Some possible examples: - read/write remote org file for collaboration via efs/angeftp +file:/[EMAIL PROTECTED]:/home/me/personal.org - read only remote org file for collaboration in category work +work+http://www.astro.uva.nl/~dominik/remote.org - read only remote ical file of local whats-on information. +whatson+ical:http://upcoming.yahoo.com/calendar/v2/place/upI5ACueA5szd_8- Some thought would need to be put into how agenda handles read only links. In a collaborating read only situation, a masking or supplementing mechanism might be needed. This mechanism could conceivably be used to auto-build org-agenda-files by traversing the active links. What do people think? Tim. ___ 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] undo in org.el
On 13/11/2007, Carsten Dominik [EMAIL PROTECTED] wrote: Dammit, if I only had know about this earlier! I implemented multibuffer undo for the agenda, sort-of by hand. This looks much easier, but on this other hand it will not work on XEmacs. Sometimes I wander how many XEmacs users are out there, and if it is still worth supporting it - Carsten If that was a call to Xemacs users to identify themselves, then here is one. Even though it is in the Emacs CVS tree now should not turn it into an Emacs only tool IMHO. Tim. ___ 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] property searches for #+CATEGORY
On 07/11/2007, Adam Spiers [EMAIL PROTECTED] wrote: I have several personal .org files, and several work-related ones too. In each personal file, I have a line: #+CATEGORY: personal and in each work-related file, I have a line: #+CATEGORY: work I would like to be able to bind agenda custom commands to do tag searches which are narrowed to one of these categories, e.g. show me all personal priority #A tasks. Such a search needs to span *all* agenda files, therefore the standard per-buffer narrowing provided by the '' binding in the *Agenda Commands* buffer is insufficient. Would it make sense to include CATEGORY as a special property? After all, pretty much all other per-task meta-data (TODO, PRIORITY etc.) are already available via the property interface, and this way, I could easily achieve what I need with tag searches such as CATEGORY=personal+PRIORITY=A Thanks! It would seem to me that this is exactly what tags does. You could move everything down a level and use tag inheritance: * personal stuff :personal: * work stuff :work: Tim. ___ 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] property searches for #+CATEGORY
On 07/11/2007, Adam Spiers [EMAIL PROTECTED] wrote: On Wed, Nov 07, 2007 at 02:59:35PM +0100, Tim O'Callaghan wrote: On 07/11/2007, Adam Spiers [EMAIL PROTECTED] wrote: On Wed, Nov 07, 2007 at 02:23:12PM +0100, Tim O'Callaghan wrote: It would seem to me that this is exactly what tags does. You could move everything down a level and use tag inheritance: * personal stuff :personal: * work stuff :work: I could, but this would mean that each file would have a single top-level entry, and the entire contents would be indented an extra level, which I fear is a rather unattractive solution! It's the technique i've been using, and yes, it is unattractive. When i thought of tags, it was not explicitly for GTD context specifier, it was also for adding searchable metadata to a todo node. Same here. I used tags for a lot more than GTD contexts, e.g. also for a rough ETC and to group them by areas of responsibility. (N.B. Sometimes a task can be motivated by multiple areas of responsibility, so subheadings aren't good enough.) How about adding the context to the tag table with a prefix character, say #? I don't follow you, sorry. Perhaps I should state explicitly that my need to distinguish between 'work' and 'personal' categories has nothing to do with my use of GTD contexts. I can (and do very often) work from home, and I also occasionally(!) do personal tasks from the office. My point with the taxonomy is that Categories especially 'personal' and 'work' can be thought of as Meta Contexts (i wanted to say Meta-TAGS, but that might get confusing). So contexts that are arbitrary but are used to group many actual physical contexts (TAGS) of todo nodes. The '#' was the thought that if you treat Categories as a type of tag, then you could add them to the tag search mechanism. To avoid collision, such as work - the physical context and work, the category, prefix them with a meta-character such as # which cannot normally be in a tag name. So a categorised tag-todo search might be: #work+work+email/TODO Tim. ___ 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 Remember idea
On 06/11/2007, Carsten Dominik [EMAIL PROTECTED] wrote: On 6Nov2007, at 5:42 PM, Tim O'Callaghan wrote: I've started using Remember mode more and more, and it has given me an idea for new piece of functionality. %c - insert clipboard/kill-ring at point This is for 'auto' pasting links or snippets of text from my browser into an org file. What do you think? I think it is a good idea, but may backfire. The current-kill can be HUGE if you do not watch out. Maybe limited to a certain lengths? - Carsten I say dealers choice? a warning if its over 30 lines or so for those that are new to it? I mean i should know what is in the clipboard before i hit the remember key. Another idea that i have been thinking about is 'remember-here' or 'remember at point' where i can use a remember template to insert in the current line in the current buffer. Either using the current remember mode templates or another separate one, it could be argued either way. as for terminal vs X, that is quite tricky, but %c could be disabled in windowing environments. Tim. ___ 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 Remember idea
On 06/11/2007, Tim O'Callaghan [EMAIL PROTECTED] wrote: On 06/11/2007, Carsten Dominik [EMAIL PROTECTED] wrote: On 6Nov2007, at 5:42 PM, Tim O'Callaghan wrote: I've started using Remember mode more and more, and it has given me an idea for new piece of functionality. %c - insert clipboard/kill-ring at point This is for 'auto' pasting links or snippets of text from my browser into an org file. What do you think? I think it is a good idea, but may backfire. The current-kill can be HUGE if you do not watch out. Maybe limited to a certain lengths? - Carsten I say dealers choice? a warning if its over 30 lines or so for those that are new to it? I mean i should know what is in the clipboard before i hit the remember key. Another idea that i have been thinking about is 'remember-here' or 'remember at point' where i can use a remember template to insert in the current line in the current buffer. Either using the current remember mode templates or another separate one, it could be argued either way. as for terminal vs X, that is quite tricky, but %c could be disabled in windowing environments. Tim. ___ 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 Remember idea
sorry - i mean disabled in non-windowing environments. On 06/11/2007, Tim O'Callaghan [EMAIL PROTECTED] wrote: On 06/11/2007, Tim O'Callaghan [EMAIL PROTECTED] wrote: On 06/11/2007, Carsten Dominik [EMAIL PROTECTED] wrote: On 6Nov2007, at 5:42 PM, Tim O'Callaghan wrote: I've started using Remember mode more and more, and it has given me an idea for new piece of functionality. %c - insert clipboard/kill-ring at point This is for 'auto' pasting links or snippets of text from my browser into an org file. What do you think? I think it is a good idea, but may backfire. The current-kill can be HUGE if you do not watch out. Maybe limited to a certain lengths? - Carsten I say dealers choice? a warning if its over 30 lines or so for those that are new to it? I mean i should know what is in the clipboard before i hit the remember key. Another idea that i have been thinking about is 'remember-here' or 'remember at point' where i can use a remember template to insert in the current line in the current buffer. Either using the current remember mode templates or another separate one, it could be argued either way. as for terminal vs X, that is quite tricky, but %c could be disabled in windowing environments. Tim. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode to PDA export
On 24/09/2007, Ian Barton [EMAIL PROTECTED] wrote: Is there any trick we can use to sync em both ways ? Some ideas that come to mind are : email and chop the email or some kind of web service that can sit on the laptop (web server). I have an E61 (Symbian). I have given up any sort of automatic syncing. However, I have a cron job that publishes my org files to html on my local web server, so I can easily refer to it. For longer trips away, I take my laptop and/or email my org file to my phone. If I don't have access to a computer I find it easier to just treat the org file as a reference and not try and edit it. The third method I quite often use is to ssh into my server and edit using emacs in a terminal. I usually carry a USB stick with things like Putty, so if I can borrow someone else's computer I can still edit the file on my server. Does anyone know if it's possible to install emacs on a usb stick in a way that it's possible to just plug into almost any Windows computer and run it? Ian. You'll probably need to write a COM/CMD file that sets EMACS_HOME to the drive the USB stick is mapped to. It should also append to the PATH the native Emacs tools, and set HOME properly so that it can read your .emacs Tim. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mode PDAs
On 18/09/2007, Daniel M German [EMAIL PROTECTED] wrote: Jason Cezar [EMAIL PROTECTED] writes: I would like to know if there are any PDA or Smartphone devices to use with org-mode, and be able to sync between them with ease. Jason Not entirely serious: has anyone ported emacs to the N800 or OpenMoko Jason yet? I have a N800 and I haven't found a port yet, so I would need to try to build it myself. My goal is to get emacs-nox running on the N800, and then run it from an Xterm. Unfortunately the lack of a keyboard will make it difficult to use. On the other hand I can already use rsync or SVN to synchronize the files with n800. So for people who are willing to work with a regular text editor this is not a too-bad-approach. --dmg I have an N800 too, but to be honest, even with a BT keyboard, emacsen would be pushing it. At the moment, for me at least, PDA's, phones etc are good for reading and reviewing of tasks/actions or whatever and as an 'inbox' for text/voice remember notes. At least if you want to use org-mode as your canonical repository of tasks. To get a PDA to interact/sync properly with Org mode, you'd need native tools that understand org mode files and could update the PDA's native TODO/Calandar/Contact/whatever information via its own API's. In the book Getting Things Done, David Allen says that it is not the tool you use, as much as it is how easy it is for you to be able to use it to GTD. PDA's, even running emacs, would are too cumbersome to be effective at Org GTDing without *org specific* tools IMHO. Tim. ___ 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] Agenda Focus Mode - An Agenda Idea.
On 05/09/07, Carsten Dominik [EMAIL PROTECTED] wrote: Do you mean for interactive use, to be able to specify the regexp at the prompt? Or in an org-agenda-custom-command? I meant an org-agenda-custom-command, but it might be useful at the command prompt. Tim. - Carsten On Sep 5, 2007, at 11:46, Tim O'Callaghan wrote: Hi, I keep a list of Project and Next Action verbs in my org file. When i am creating a Next Action or Project headline i try and use these verbs to help keep the language project and action focused. For example my current lists are: Project Verbs --- | Finalize | Resolve | Handle | Examine | Submit | | Maximize | Organize | Complete | Ensure | Update | | Install | Implement | Set-up | Design | Next Action Verbs | Call | Organize | Review | Buy | Fill out | Find | | Purge | Examine | Gather | Print | Take | Load | | Draft | Email| 'Focus Mode' is essentially the same concept as the stuck projects idea. A tool to help me keep projects on track by ensuring that i use more action oriented language for headlines . This is mostly for tasks, but can be used for projects too. I was thinking another agenda search type might do it for me. Something like tags-todo-occur. Like tags-todo, but with a header regexp as well. Example Syntax: +-Tag/+-Todo:header Regexp It is general enough to be able to be used by others, but i can also use it to create my Agenda Focus mode. As i could not find any mechanism like this i thought i would suggest it, to see if other people might find it useful. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Agenda Focus Mode - An Agenda Idea.
On 05/09/07, Carsten Dominik [EMAIL PROTECTED] wrote: On Sep 5, 2007, at 15:23, Tim O'Callaghan wrote: On 05/09/07, Carsten Dominik [EMAIL PROTECTED] wrote: Do you mean for interactive use, to be able to specify the regexp at the prompt? Or in an org-agenda-custom-command? I meant an org-agenda-custom-command, Check Appendix A5, near the end if it, there are examples on how to use `org-agenda-skip-function', and it includes the option to select on or against a regular expression. You need something like (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ^\\*+\\Resolve\\)) Note that I have anchored the regexp at the beginning of the headline with ^\\*+, to make sure that it only matches in the headline and not somewhere in the tree. Thanks, I shall play with this. For the record, i did look at Appendix5, but notregexp was not mentioned. Could you add it to the A5 Examples? This is a close approximation to what i want to do, and should be useful for focusing next actions. Checking Projects would require tag inheritance i think. but it might be useful at the command prompt. This is currently not possible. Ok. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: iCal Import - updated code Bug report
Its not a google calendar based bug. It happens when the referenced org file has no headings. If you add a file with a %% diary entry and no '* heading' to your agenda file list, it should crop up when you try to look into diary entry file from agenda. On the google calendar side, you select 'calendar settings' from the drop down menu beside the calendar, or select the calendar from the manage calendar page. On the resulting page you should see 'public' and 'private' ical icons. Select the private one and a url will pop up in a window. That is the url value to use in the 'google-ical-org-list'. You can also use public iCal links. I have added below some public calendars that i use, that you might also find useful, and that also generate this bug. (setq google-ical-org-list '( (http://upcoming.yahoo.com/calendar/v2/place/upI5ACueA5szd_8-; ~/CalendarSync/UpComing.ics ~/CalendarSync/Upcoming.org) (http://www.kagankalender.com/calendarics.php; ~/CalendarSync/GothInd.ics ~/CalendarSync/GothInd.org) )) Hope it helps, Tim. On 20/06/07, Carsten Dominik [EMAIL PROTECTED] wrote: I am trying to find this bug and have made a google agenda. How do I know which url to use to download it? Can you guide me through this? Thanks. - Carsten On Jun 20, 2007, at 0:52, Tim O'Callaghan wrote: Another Xemacs bug i think, If the org file does not contain a line with a headline, such as those generated by the code. It causes the error: (1) (error/warning) Error in `post-command-hook' (setting hook to nil): (wrong-type-argument integer-or-marker-p nil) The previous code assumes the ical export worked, below fixes that. Tim. code (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file)) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file t) ;; iCalendar leaves the buffers open (if (find-buffer-visiting local-date-file) (kill-buffer (find-buffer-visiting local-date-file))) (if (find-buffer-visiting local-ical-file) (kill-buffer (find-buffer-visiting local-ical-file))) --- code --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iCal Import
The code could be adapted to write iCal information, but AFAIKT Google does not allow WEBDAV write operations. At the moment i am using Google Calendar as my main appointment calendar, and org mode for scheduling tasks etc. If you want to sync to an iCal WEBDAV source an example of how its done can be seen here: http://www.emacswiki.org/cgi-bin/wiki/ElDav You can only write to a Google Calendar with by using its gData ATOM/RSS based protocol. There are some free client libraries, but i have not looked into it in much detail. Tim. On 20/06/07, Rick Moynihan [EMAIL PROTECTED] wrote: I'm quite excited by the Google calendar/iCal integration. I had previously written a simple Ruby script (I really need to learn elisp) to parse an org-mode file for dates and schedule some at jobs to fire another script to fire events into Twitter, which I was subsequently using as a free SMS reminder service. It worked quite well in simple tests, but I've never bothered to develop it further, primarily because it occured to me that google calendar supports free SMSing of notifications and that this could potentially be tied into org-mode with the g-client code. It seems that your code is about getting gcal into org-mode where as the above would require the reverse. Obviously the ideal would be to have some level of two-way Calendar synchronisation. Though this might be far too complex and messy, how about allowing some kind of emacs based copy/paste between them (in both directions)? The thought of managing myself in org-mode and syncing to Gcal when I want to share/expose my calendar to others is a tempting proposition; I imagine this coupled with SMS reminders would be great. Anyway, as my elisp skills are no more advanced than being able to copy and paste fragments of elisp; I thought I'd post my ideas to see whether anyone else finds them interesting enough to implement. R. Tim O'Callaghan wrote: HI, below is a bit of a hack i've come up with to attempt to read my google calendar into my org agenda. I originally started it using eldav, but i realised i don't have a webdav server to sync to. At the moment, It only works for entries that icalendar-import-file converts to %%(add something). The org docs imply that that is the only diary entry type that it can process, is this the case? Tim. --- code snip --- (require 'w3) (require 'icalendar) (setq google-ical-org-list '( (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarPersonal.ics ~/gettingThingsDone/CalendarPersonal.org) (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarShared.ics ~/gettingThingsDone/CalendarShared.org) )) (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file nil) ;; iCalendar leaves the buffers open (kill-buffer (find-buffer-visiting local-date-file)) (kill-buffer (find-buffer-visiting local-ical-file)) --- code snip --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Rick Moynihan Software Engineer Calico Jack LTD http://www.calicojack.co.uk/ ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iCal Import
It would seem that the author of g-client is already an org mode user. At least there is an org file in the source distribution. So it might include org integration at some point. Tim On 20/06/07, Rick Moynihan [EMAIL PROTECTED] wrote: I think you're right about Google not accepting WEBDAV write operations, and their gData protocol is definitely the way to go for now. The g-client code I mentioned is an Emacs lisp library providing integration with a variety of Google services including Gcal. http://emacsgeek.blogspot.com/2007/03/updates-to-g-client.html You can download it from it's svn repository: http://emacspeak.googlecode.com/svn/trunk/lisp/g-client/ And there is a google group for the project here: http://groups.google.com/group/emacs-g-client/ R. Tim O'Callaghan wrote: The code could be adapted to write iCal information, but AFAIKT Google does not allow WEBDAV write operations. At the moment i am using Google Calendar as my main appointment calendar, and org mode for scheduling tasks etc. If you want to sync to an iCal WEBDAV source an example of how its done can be seen here: http://www.emacswiki.org/cgi-bin/wiki/ElDav You can only write to a Google Calendar with by using its gData ATOM/RSS based protocol. There are some free client libraries, but i have not looked into it in much detail. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Problem with ascii export + possible useful search.
On 19/06/07, Carsten Dominik [EMAIL PROTECTED] wrote: On Jun 15, 2007, at 15:26, Tim O'Callaghan wrote: Hi, It seems that under Xemacs the ascii export just appends the new export to the contents of the old export. If you have the old export buffer open already then it inserts the new export into the old file at the cursor. I am not able to reproduce this. Anyone? After some more investigation, i think it has to do with the buffer/file not being erased before the ascii is rendered. It works for html export, it does not for txt export. Not sure why this should be, the code i looked at seems to try to clear the buffer. Latest org mode, Xemacs for windows native: 21.4 (patch 19) \Constant Variable\ XEmacs Lucid The useful search i have started using, is similar to the GTD stuck projects one. The search produces a view of stuck to-dos. That is a list of todos that have been designated without a context. At the moment i am using something like this in my org-agenda-custom-commands: (- tags-todo [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@- [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ [EMAIL PROTECTED]@/X nil ) where X is what i use to denote a TODO entry. Nice! Does this contain all your tags, or only a selection? You might be able to write this using a regular expression. only a selection. I use 5 groups of tags for active projects. The first group just contains @proj - the active projcet tag. This is used with the second group @home|@work which are inherited by all of the active projects in the two huge org files i use for home and work. The last three groups are generally @physical context group , activity context group@, and possible duration context@ which i combine depending on the task. I did think of a regular expression, the docs mention its possible,and give a small example, but i couldn't get it to do what i wanted straight away, and didn't want to spend the time figuring it out. I considered suggesting a group name/selection type, but it seemed a bit fiddly. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] iCal Import
HI, below is a bit of a hack i've come up with to attempt to read my google calendar into my org agenda. I originally started it using eldav, but i realised i don't have a webdav server to sync to. At the moment, It only works for entries that icalendar-import-file converts to %%(add something). The org docs imply that that is the only diary entry type that it can process, is this the case? Tim. --- code snip --- (require 'w3) (require 'icalendar) (setq google-ical-org-list '( (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarPersonal.ics ~/gettingThingsDone/CalendarPersonal.org) (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarShared.ics ~/gettingThingsDone/CalendarShared.org) )) (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file nil) ;; iCalendar leaves the buffers open (kill-buffer (find-buffer-visiting local-date-file)) (kill-buffer (find-buffer-visiting local-ical-file)) --- code snip --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: iCal Import - updated code Bug report
Another Xemacs bug i think, If the org file does not contain a line with a headline, such as those generated by the code. It causes the error: (1) (error/warning) Error in `post-command-hook' (setting hook to nil): (wrong-type-argument integer-or-marker-p nil) The previous code assumes the ical export worked, below fixes that. Tim. code (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file)) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file t) ;; iCalendar leaves the buffers open (if (find-buffer-visiting local-date-file) (kill-buffer (find-buffer-visiting local-date-file))) (if (find-buffer-visiting local-ical-file) (kill-buffer (find-buffer-visiting local-ical-file))) --- code --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Problem with ascii export + possible useful search.
Hi, It seems that under Xemacs the ascii export just appends the new export to the contents of the old export. If you have the old export buffer open already then it inserts the new export into the old file at the cursor. The useful search i have started using, is similar to the GTD stuck projects one. The search produces a view of stuck to-dos. That is a list of todos that have been designated without a context. At the moment i am using something like this in my org-agenda-custom-commands: (- tags-todo [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@/X nil ) where X is what i use to denote a TODO entry. Cheers, Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Idea: Agenda Search publish?
Yes thats exactly what i meant. I know there is an ascii mechanism using emacs in batch mode mentioned in the manual, but it is only text, and i could not get it to work properly under Xemacs for windows. I see it as a kind of merge of agenda and publish. I have been playing with a cut/paste keyboard macro that does a basic ascii publish and i thought others may be interested in the idea. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Idea: Agenda Search publish?
Hi, i have been playing with org-agenda-custom-commands, and it got me thinking. What about adding the generated searches as a publishable source? possibly by adding to org-agenda-custom-commands. e.g.: (setq org-agenda-custom-commands '((w todo WAITING Waiting_list_summary.html publish-html) (W todo-tree WAITING Waiting_list_full.html publish-html)) regards, Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Indirect Buffers - how do you get back to the full tree?
Hi, I've recently started using Indirect buffers for focusing on one tree. Is there a way to get back to the original full buffer without killing the buffer/file and re-loading it? Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug when opening agenda buffer (org-agenda-list)
On 07/02/07, Stephan Schmitt [EMAIL PROTECTED] wrote: hello, i just downloaded org-mode 4.64 and got an error when i tried to open the org agenda buffer (C-c a a). i added line 12488 from version 4.63, that fixed the problem: org-4.64 $ diff org.el org.el~ 12488,12492c12488,12490 (when (boundp 'buffer-substring-filters) (org-set-local 'buffer-substring-filters (cons (lambda (x) (set-text-properties 0 (length x) nil x) x) buffer-substring-filters))) --- (org-set-local 'buffer-substring-filters (cons (lambda (x) (set-text-properties 0 (length x) nil x) x) buffer-substring-filters)) Fixes the problem for me also. Are you running XEmacs? Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] patch to outline.el concerning isearch
On 14/12/06, Carsten Dominik [EMAIL PROTECTED] wrote: I strongly support this proposal, this is a feature that would be very valuable. Any chance you could hack it into the noutline you distribute for XEmacs in the next release? XEmacs has this search issue too. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] recurring events, alternative to shift modifier, tag positions, smart [ ], and org-publish questions
2. I use org-mode over ssh and since shift doesn't work along with other modifiers many of the keystrokes do not work. Has anyone come up with alternate keystrokes not involving shift that they could share? Shift keys not working? That, i cannot understand. The only difficulty i've come across is Meta/alt, but thats mapped to escape. So Alt-a is esc-a. If you can ssh into a box, then you can use emacs locally and set up tramp to edit these remote files. Or you could set up X11 forwarding, and, assuming you have a local X server running, you should be able to use it as normal. If your client is windows, you can install Cygwin for a local Xemacs, Emacs and X server, and use putty as the ssh client with X forwarding. 4. Has anyone written a smart function for smart adding [ ] to lines, kind of like C-c C-t does with TODO? Ideally it would be smart enough to put it after a - if there were one. I think you can use abbrev mode to do this. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug fix release 4.59
This is the first time I've tried it, but C-c C-k - edit outline in dedicated frame, does not work under XEmacs. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Emacs-orgmode] Attention XEmacs users
Problem with XEMACS noutline mode. This backtrace happens when i try and cycle from OVERVIEW. Debugger entered--Lisp error: (void-variable set-extent-endpoints) (if ( (extent-end-position ex) end) (progn (set-extent-endpoints ... ... beg) (set-extent-endpoints ex end ...)) set-extent-endpoints ex (extent-start-position ex) beg) (if ( (extent-start-position ex) beg) (if ( ... end) (progn ... ...) set-extent-endpoints ex (extent-start-position ex) beg)) (lambda (ex ignored) (if ( ... beg) (if ... ... set-extent-endpoints ex ... beg)) (if ( ... end) (set-extent-endpoints ex end ...) (delete-extent ex)))(#extent [29943, 30105) I isearch-open-invisible outline 0x29d0908 in buffer PROJECTS.ORG nil) map-extents((lambda (ex ignored) (if ( ... beg) (if ... ... set-extent-endpoints ex ... beg)) (if ( ... end) (set-extent-endpoints ex end ...) (delete-extent ex))) #buffer PROJECTS.ORG 30056 30105 nil end-closed outline) (save-excursion (map-extents (function ...) (current-buffer) beg end nil (quote end-closed) (quote outline))) outline-discard-extents(30056 30105) outline-flag-region(30056 30105 nil) outline-show-heading() (if (= (funcall outline-level) level) (outline-show-heading)) (lambda nil (if (= ... level) (outline-show-heading)))() funcall((lambda nil (if (= ... level) (outline-show-heading (while (and (progn ... ...) (not ...)) (funcall fun)) (progn (goto-char (match-beginning 0)) (funcall fun) (while (and ... ...) (funcall fun))) (if (re-search-forward (concat ^\\(?: outline-regexp \\)) end t) (progn (goto-char ...) (funcall fun) (while ... ...))) (when (re-search-forward (concat ^\\(?: outline-regexp \\)) end t) (goto-char (match-beginning 0)) (funcall fun) (while (and ... ...) (funcall fun))) (save-excursion (setq end (copy-marker end)) (goto-char beg) (when (re-search-forward ... end t) (goto-char ...) (funcall fun) (while ... ...))) outline-map-region((lambda nil (if (= ... level) (outline-show-heading))) 29294 30105) (save-excursion (outline-back-to-heading) (setq level (+ level ...)) (outline-map-region (lambda nil ...) (point) (progn ... ...))) (let (outline-view-change-hook) (save-excursion (outline-back-to-heading) (setq level ...) (outline-map-region ... ... ...))) show-children(1000) show-branches() (while (and (progn ... t) (looking-at outline-regexp)) (show-branches) (if (bobp) (throw ... nil))) (catch (quote exit) (while (and ... ...) (show-branches) (if ... ...))) (save-excursion (goto-char (point-max)) (catch (quote exit) (while ... ... ...))) org-content() (cond ((and ... ...) (message CONTENTS...) (org-content) (message CONTENTS...done) (setq org-cycle-global-status ...) (run-hook-with-args ... ...)) ((and ... ...) (show-all) (message SHOW ALL) (setq org-cycle-global-status ...) (run-hook-with-args ... ...)) (t (org-overview) (message OVERVIEW) (setq org-cycle-global-status ...) (run-hook-with-args ... ...))) (cond ((org-at-table-p ...) (or ... ...)) ((eq arg t) (cond ... ... ...)) ((integerp arg) (save-excursion ... ... ...)) ((save-excursion ... ...) (org-back-to-heading) (let ... ... ...)) (buffer-read-only (org-back-to-heading)) ((if ... t ...) (if ... ...) (indent-relative)) (t (save-excursion ... ...))) (let* ((outline-regexp ...) (bob-special ...) (org-cycle-hook ...) (pos ...)) (if (or bob-special ...) (setq arg t)) (cond (... ...) (... ...) (... ...) (... ... ...) (buffer-read-only ...) (... ... ...) (t ...))) org-cycle((4)) (if (integerp arg) (progn (show-all) (hide-sublevels arg) (setq org-cycle-global-status ...)) (org-cycle (quote ...))) org-global-cycle(nil) call-interactively(org-global-cycle) (cond ((org-at-table-p) (call-interactively ...)) (t (call-interactively ...))) org-shifttab(nil) call-interactively(org-shifttab) Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Emacs-orgmode] Attention XEmacs users
On Tue, Jun 20, 2006 at 06:36:19PM +0200, Carsten Dominik wrote: Maybe you are not trying to open the file in emacs? Following a link picks an application to open the file, depending on the extension. Under windows, the default is to use open for files, which is just like double-clicking them. However, open may choke on an efs path. You can force the link to open inside emacs with C-u C-c C-o. Have you tried this? Yep, it looks like this is the problem. - Carsten On Jun 20, 2006, at 18:24, Tim O'Callaghan wrote: On Tue, Jun 20, 2006 at 05:10:27PM +0200, Carsten Dominik wrote: Yes, looks like this function does not do at all what I think it should be doing. I'll remove the call, thanks for tracking this down. I've tracked it down to something in org-open file. It gets past the No such file: clause. Efs seems to be functioning well enough up until the point where the file actually gets opened. - Carsten On Jun 20, 2006, at 17:03, Tim O'Callaghan wrote: On Tue, Jun 20, 2006 at 03:47:13PM +0200, Carsten Dominik wrote: Hi Tim, On Jun 20, 2006, at 14:09, Tim O'Callaghan wrote: Also : needed to be added to org-link-escape-chars, as below: (defconst org-link-escape-chars '((: . :) ([ . %5B) (] . %5D) ( . %20)) Association list of escapes for some characters problematic in links.) Is there a typo in this setting? The above setting should lead to an infinite loop, because you keep replacing : with : when trying to escape the link characters. And as far as I can see, org-mode passes the file name right through to `find-file'. Could anyone try to reporduce this? Sorry, it was a quick hack that seemed to work, and now for some reason does not. The issue itself still exists though. I've tracked it down to the convert-standard-filename call in org-open-file. If i remove the convert-standard-filename, it does not recognize it as an efs type file. Anyway convert-standard-filename is what mangles efs type file links. My guess is that it may be related to the C:\\filename problem too. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 Tim. -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Emacs-orgmode] Attention XEmacs users
On Thu, Jun 15, 2006 at 07:38:03PM +0200, Carsten Dominik wrote: On Jun 15, 2006, at 15:21, Tim O'Callaghan wrote: Could you just add it into a 'contrib' type directory in the distribution file? Yes, I will distribute the file with Org-mode, but in an XEmacs directory, not in contrib. If I put it in contrib, too many people will install it also under Emacs, which will break it and create too many emails for me :-) Yes, we could have a contrib directory. Any suggestions on how this should be structured? It would need to have a mechanism to carry documentation, and to clearly mark things as not under my maintenance. A simple Readme-contribution.txt possibly? if you published a CVS/whatever tree as a 'src' distribution alongside the normal distro, it would then be up to the contrib maintainers to send you patches against it for distribution. This should work if you use the same type of pre-release warning email you sent for each release. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Emacs-orgmode] maybe Offtopic: Emacs + Org + ?? to read Email (IMAP) on Win2K
On Fri, May 19, 2006 at 09:46:15PM +0200, Philipp Raschdorff wrote: Hello, I've read this list from the beginning and I'm amazed how fast org-mode is evolving - thanks! I hope my question maybe offtopic :-o I would like to use Emacs to read my Emails, since a lot of my tasks coming from reading mail. I know that some people use Emacs to read their mails. Unfortunately I wasn't able to setup things correctly. I want: - Emacs to read Mail from 3 different IMAP-Mailservers - use orgmode to link to mail-messages, create task etc. - really offtopic: gnupg-support for emacs/org-mode - I'm running Win2K Any help would be great. regards from berlin / germany P hil I use Xemacs on win2k. At the moment, i use muttng msmtp under cygwin. I tried using Xemacs, as a mail reader but gave up. VM got to slow, Wanderlust Mew are documented in Japanese, and Gnus is so feature packed it looked like it would take weeks to set up let alone find out how to use. I'd be interested in finding out how other people are using emacs as a mail client, and if it is worth doing. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: Was: [Emacs-orgmode] Feedback on Scheduling? - How do you use yours?
On Wed, May 17, 2006 at 08:41:22AM +0100, Pete Phillips wrote: Tim Its also interesting that you use tags for GTD context. This is Tim the way i use tags, and i have been wondering if anyone else Tim used them like this. I'm glad - I was in discussion with Carsten for a while regarding org-mode, when he came up with this brilliant idea of tags - as soon as he proposed it, I could see that it would fit into my GTD system straight away (I moved from a Zaurus list manager to org-mode+hipster last August, but have been using GTD since the original hardback book came out). I thought it was a good idea as well, i'm glad it was implemented :) Its perfect for keeping context on an item. Tim An interesting idea, one that i was kicking about for a bit Tim when i was using a hipster style PDA. I was thinking about Tim generating XSLFO or SWF based templates, and merging the Tim information into the XML template for printing. XSLFO is a Tim pain, so i went for SWF, which is a pain but less so. SWF has Tim the advantage of being scalable if designed properly, and Tim supported by inkscape, which makes creating templates easy. I Tim experimented with ImageMagick and an SWF based templates for Tim automatic processing. I got an experimental SWF template from Tim all things hipster: diyplanner.org. Unfortunately ImageMagick Tim did not support SWF well enough for me to want to continue :( Basically I used lyx to design the template and then exported it to latex to see what I needed to add from the perl script. I have a bit of experience with XML and XSL (our woundcare journal, www.worldwidewounds.com, is prepared using docbook XML) but I have never got to grips with the FO model. It does takes some getting used to. I just realized that when i said SWF what i meant was SVG. I think SVG is the way to go. You can easily create an XML template in Inkscape, the hard part is rendering the transformed version outside of Inkscape for printing. I think batik will do it, but i gave up on the hipster before i got that far. Tim In the end i opted for a paperless system. No good for me as I need something with me all the time. I find the PDA too slow, and the HPDA fast and flexible. Combining my laptop org-mode with HPDA has been terrific (for me - I readily acknowledge that this is a game of horses for courses). I keep a copy of my org files on an MMC that i keep in my phone. Easier to review and keep in sync. Tim I'd be interested to hear how other org users are implementing Tim GTD. If for nothing else that to be able to cherry pick ideas Tim that i can incorporate into my system. Me also. Tim My system is based around one big org mode file for personal Tim stuff and one for work. I can edit the file in other editors Tim (such as the one on my smartphone) and search for GTD context Tim via tags. The symbol :TAGNAME: is unique enough to search on Tim when i need context, and works to find tagged lines using every Tim editor i know of. Yep. By the way, you can also set up a shell script to mail your file to a gmail account every night, so you have unlimited (well, almost) backupand archive. I set up a special archive gmail account just for this. with 2.?? Gb of space, I won't be running out of space soon. Tim External editors do not support the org mode 'file:' Tim references, so i am strict about keeping only Next Actions and Tim possible Next Actions in the org file. I keep reference Tim material in a another appropriately named file in the same Tim directory. I keep the lot in one big file. That's the advantage of using outline mode - you can collapse gobs of text into nothing just by pressing the TAB key. Less to keep track of and remember, and makes the perl script - HPDA doable. I started doing this, but it quickly got out of hand for me. The stuff is not hidden when you reviewing the information in an editor that does not support outline mode. Tim I also make sure the context tags and the text of the item will Tim inform me of the project they are related to. So I don't need Tim the reference material unless referred to by the text of the Tim Next Action, and then only because it does not fit in one line. Yep - I need to make sure that the headline has enough info so that when printed onto the HPDA I can understand/recall what it relates to. Do you have any interesting tools to help the weekly review? how do you implement your tickler file? The hardest thing for me at the moment is syncing the Calendar information into my phones Calendar application. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode