Re: [Orgmode] Re: How to convert org file to such a plain text
anhnmncb, this helps you? (defun org-to-anhnmncb () (interactive) (goto-char (point-min)) (let ((curlevel 0)) (while ( (point) (point-max)) (goto-char (point-at-bol)) (cond ((looking-at \\(\\*+\\)\\s-*) (setq curlevel (1- (length (match-string 1 (replace-match (make-string curlevel ?\t))) ((looking-at \\s-*) (replace-match (concat (make-string curlevel ?\t) - (forward-line 1 my test was this: * level1 item ** level2 item item *** level3 item item ** level2 again item item which gets converted into: level1 - item level2 - item - item level3 - item - item level2 again - item - item hope this helps, hugo On Mon, Aug 4, 2008 at 10:43 PM, Eddward DeVilla [EMAIL PROTECTED] wrote: I don't know if you use perl at all. My first guess is: perl -pe's/^(\*+)(\s+.*)$/(\tx length$1).$2/e' TODO.org TODO.txt Having tried it on a live file, I don't think the results are very pleasing Replacing a single character '*' with a tab creates a formatting mess with any other text in the file. Edd On Mon, Aug 4, 2008 at 12:39 PM, anhnmncb [EMAIL PROTECTED] wrote: anhnmncb [EMAIL PROTECTED] writes: Carsten Dominik [EMAIL PROTECTED] writes: On Jul 26, 2008, at 9:52 AM, anhnmncb wrote: Hugo Schmitt [EMAIL PROTECTED] writes: What are the odds that Carsten has plans to export to a format *you* just invented? Oh, my pda app projekt can import this format of file, but if all of you think it's no use, nervermind. Hey, why the huff? The point is, you have not given us any chance at all to think it might be of any use! - Carsten Sorry for delay, I can't reach the app website[1] right now, when it can, I will provide the relavent information. [1] http://www.kylom.com/ Sorry, I can't find more useful info, the app just says it can import the txt file which has different level of indents. So I think replace star(*) with tab is enough. Such like this: Org file -- txt file |* level 1 |level 1 |** level 2 -- |tablevel 2 |tab- item |tab- item |*** level 3 |tabtablevel 3 I'm not a programmer, so if my request is stupid and easy to achieve by any other way, please let me know. On Fri, Jul 25, 2008 at 3:47 PM, anhnmncb [EMAIL PROTECTED] wrote: Carsten Dominik [EMAIL PROTECTED] writes: We do not have an exporter that can do this right now. - Carsten Will it come in furture? On Jul 24, 2008, at 4:59 PM, anhnmncb wrote: I want to export org to plan text, which pattern is: |level 1 |tablevel 2 |tab- item |tabtablevel 3 instead of |* level 1 |** level 2 |tab- item |*** level 3 -- Regards, anhnmncb gpg key: 44A31344 ___ 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 -- Regards, anhnmncb gpg key: 44A31344 ___ 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 -- Regards, anhnmncb gpg key: 44A31344 ___ 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 -- Regards, anhnmncb gpg key: 44A31344 ___ 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
Re: [Orgmode] Re: How to convert org file to such a plain text
What are the odds that Carsten has plans to export to a format *you* just invented? On Fri, Jul 25, 2008 at 3:47 PM, anhnmncb [EMAIL PROTECTED] wrote: Carsten Dominik [EMAIL PROTECTED] writes: We do not have an exporter that can do this right now. - Carsten Will it come in furture? On Jul 24, 2008, at 4:59 PM, anhnmncb wrote: I want to export org to plan text, which pattern is: |level 1 |tablevel 2 |tab- item |tabtablevel 3 instead of |* level 1 |** level 2 |tab- item |*** level 3 -- Regards, anhnmncb gpg key: 44A31344 ___ 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 -- Regards, anhnmncb gpg key: 44A31344 ___ 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] Emacs: Smarter interactive prompts with Org remember templates
Hello orgmoders! Is Sacha on the list? She has a lot of ideas, but I really wish she would work with the list to improve Orgmode, instead of posting a patch that very few people will want to mantain... Any ideas? Cheers, Hugo The post is here: http://sachachua.com/wp/2008/07/20/emacs-smarter-interactive-prompts-with-org-remember-templates/ ___ 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] export to txt files
Hm, I guess I sent this only to Dimitri... I'm resending it to the list.. This seems to do what you want. (defun org-export-top-levels () (interactive) (goto-char (point-min)) (let (start (point)) (while (re-search-forward ^* nil t) (write-region start (point-at-bol) (concat (org-get-heading) .txt)) (setq start (point-at-bol) Regards, Hugo On Mon, Mar 17, 2008 at 4:43 PM, Daniel Clemente [EMAIL PROTECTED] wrote: Mmmm... I wrote a program which can do this: http://www.danielclemente.com/dislines/index.en.html however it's not LISP. I have written multilingual org files this way, but it's not comfortable since it requires several programs and processing phases. I am still looking for a solution in Emacs LISP, and if possible, one which integrates nicely with org-mode :-) ___ 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] rcirc
Hi folks. i'd like to write that but before I have to understand how do you use it.. :) I'm trying it with ERC and what I see: following an irc link takes you to the corresponding buffer (say emacs channel) What does that have to do with logs? I must have missed something big this time... -hugo On Wed, Mar 12, 2008 at 5:33 PM, Richard G Riley [EMAIL PROTECTED] wrote: Bastien [EMAIL PROTECTED] writes: Richard G Riley [EMAIL PROTECTED] writes: Are there any plans to support remembering irc channels using org-mode? e.g a hot link on a todo/remembered item which opens rcirc? I recall planner had links to erc. Note: org-irc.el fully supports Erc but Phil coded it in a way that the support for rcirc should be quite straightforward. Great if you can help on this, because I don't know many rcirc users out there... Thanks for the info. I wish I could. Sorry, but elisp is a black art for me for anything but the most simple things. Yes, I just checked the code. It only supports erc. Planner already did that and erc already allows multiple servers and channels to be registered so I guess there was a good basis for the erc installation into org-mode. Not to worry. Maybe I can look at it another time or move back to erc. In fact I should probably question why I moved to rcirc from erc! regards richard. ___ 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] rcirc
Ok, now i got it working. Tks Bastien. So I have another question (for Phil)... why is org-irc-link-to-logs a customizable option? It looks like linking to logs and linking to sessions are two totally different things and users may want to do both at different times. -Hugo On Wed, Mar 12, 2008 at 6:12 PM, Bastien Guerry [EMAIL PROTECTED] wrote: Hugo Schmitt [EMAIL PROTECTED] writes: I'm trying it with ERC and what I see: following an irc link takes you to the corresponding buffer (say emacs channel) What does that have to do with logs? Maybe try to configure this option: `org-irc-link-to-logs' Not tested though... Phil might better help here. -- Bastien ___ 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: IRC Channel
I bet the bot is named Borg :) On Fri, Mar 7, 2008 at 9:36 AM, Bastien [EMAIL PROTECTED] wrote: Hi Phil and Russell, Phil Jackson [EMAIL PROTECTED] writes: Russell Adams [EMAIL PROTECTED] writes: First thing everyone talked about was who wants to take the role of channel owner? They can delegate an Op, but the Freenode group registration will want a core team member as the owner. I guess I would be willing but I'm not sure how much of an active user I would be to be honest. Being the owner of the channel doesn't require anything special from you, except responsability (and glory): ,[ http://freenode.net/policy.shtml ] | Channels on freenode are owned and operated by the groups which register | them. No minimum level of activity or moderation is expected or required | of channel owners. ` I think it is a good idea to go for #org-mode. As many of you, I don't plan to be anything but a lurker. But I have designed a bot that could serve as a knowledge database for Org. This could be both useful and fun because er... talking to the robot by my own is not *that* fun. -- Bastien ___ 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] Quickly Switch Between TODO States
Wanrong, I have it configured like this: (setq org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w) UNTESTED(u) | DONE(d) DEFERRED(f) CANCELLED(x (setq org-use-fast-todo-selection t) then all it takes is C-c C-t and then a key (t,s,w)... Cheers, Hugo On Feb 13, 2008 2:19 PM, Wanrong Lin [EMAIL PROTECTED] wrote: Did you try C-c C-t ? ,[ (info (org)TODO basics) ] | The most important commands to work with TODO entries are: | | `C-c C-t' | Rotate the TODO state of the current item among | | ,- (unmarked) - TODO - DONE --. | '' | | The same rotation can also be done remotely from the timeline and | agenda buffers with the `t' command key (*note Agenda commands::). ` Hope this helps, C-c C-t is what I have been using, but recently I am a little bit tired of the cycling (especially when I have 7 TODO states), so I wish to have something that can let me select a TODO state directly, like C-c C-c does for tags. Wanrong ___ 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] list indentation
Hi. The problem with your example, afaik, is that 'And another list' is just the rest of the text that starts at the last 'blah'. Shouldn't 'And another list' be a header? Maybe you want something like this? ** TODO something to be done notes about this task come here and they include a list - blah - blah *** and another list - foo - foo *** And one more list - bar - bar HTH, Hugo On Feb 7, 2008 4:58 PM, cezar [EMAIL PROTECTED] wrote: Hello, I am using org-mode version 5.17a and I sometimes need to write some details on a task like: ** TODO something to be done notes about this task come here and they include a list - blah - blah And another list - foo - foo And one more list - bar - bar Now, this is not what it should look like ! The lists need to be aligned properly. Am I making any sense ? Regards, Cezar ___ 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] cygwin and org mode
Hi. Even though I can't help you with your problem, I wanted to remember you that Cygwin already has Emacs 22. Regards, Hugo On Feb 6, 2008 3:25 PM, Paul Schlesinger [EMAIL PROTECTED] wrote: When I attempt to load Org-mode in emacs 21 under cygwin I get symbol not defined and macro-declaration-function is not found. I ca not find this error in the mailing list database and wonder if there is any help from your experience to correct it. Paul Schlesinger ___ 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] Fill-paragraph and orgmode
Hi Carsten, Hm, almost, but i get the idea! This still fails (ok its not the same thing :) ** DONE title - State DONE [2008-01-16 qua 17:48] \\ words words words words words words words words after M-q on the end of 'words line' i get: ** DONE title - State DONE [2008-01-16 qua 17:48] \\ words words words words words words words words but i'll look into it! Thanks Hugo On Jan 31, 2008 6:16 AM, Carsten Dominik [EMAIL PROTECTED] wrote: Hi Hugo, you need to look at the variables paragraph-start and paragraph- separate. You can use org-mode-hook to change them. I believe the following might do the trick (add-hook 'org-mode-hook (lambda () (org-set-local 'paragraph-separate \f\\|\\*+ \\|[ ]*$\\| [ \t]*[:|]\\|^[ \t]+\\[[0-9]\\{4\\}-) ;; The paragraph starter includes hand-formatted lists. (org-set-local 'paragraph-start \f\\|[ ]*$\\|\\*+ \\|\f\\|[ \t]*\\([-+*][ \t]+\\|[0-9]+[.)][ \t] +\\)\\|[ \t]*[:|]\\|^[ \t]+\\[[0-9]\\{4\\}-))) Hope this helps. - Carsten On Jan 28, 2008, at 11:54 AM, Hugo Schmitt wrote: Hi everyone. There is a little issue that I keep having with org-mode. Say the cursor is on : * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] After you press M-q you get this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] ... while what i really wanted was this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] Sure, it only takes a RET to fix, but anyway, if anyone has a solution for this, please share with me. Thanks, Hugo ___ 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] Strange bug, request for more info
Adam, i'm happy and sad with you last message. How come i never heard about edebug? I read every elisp tutorial out there (should have read the manual!) I've been putting (read-string debug msg) on my code for the past two years for tracing the execution... This totally rocks! Thanks a lot! -Hugo On Jan 31, 2008 7:32 AM, Adam Spiers [EMAIL PROTECTED] wrote: On Thu, Jan 31, 2008 at 09:37:37AM +0100, Carsten Dominik wrote: Hi everyone, John Wiegley is being haunted by a strange bug and I have so far not been able to reproduce and fix it. So I would like to know if anyone else sees the same bug and can contribute observations that may help us to track this down. I believe I had a similar report quite a while ago, but don't remember who reported it. The bug happens when being in the agenda and trying to goto or show the origin location of an agenda entry by pressing SPC or RET. John reports that sometimes (for him several times a day), the other window shows a completely different location. The most weird part of it is that going back to the agenda buffer and then trying the exact same command again, everything works fine! This is driving me crazy, and I'd love to find and fix this problem. So please, if anyone sees the same bug, try to give as as much as info as possible. How often does it happen, under what circumstances, what is your setup etc etc. I haven't seen it, but could you perhaps make use of edebug (conditional) breakpoints to track it down, or edebug evaluation lists, or even `edebug-set-global-break-condition' ? ___ 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: Git repository
I use mercurial just because it's supposed to work better with windows (work). -Hugo On Jan 31, 2008 1:34 PM, Adam Spiers [EMAIL PROTECTED] wrote: On Thu, Jan 31, 2008 at 04:39:50PM +0100, Carsten Dominik wrote: On Jan 31, 2008, at 4:33 PM, Bernt Hansen wrote: Carsten Dominik [EMAIL PROTECTED] writes: I am considering the idea to move the org development to a public git repository. This would be superb! This is not yet sure and official, but if you want to take a look at the current state of the repository, check out http://repo.or.cz/w/org-mode.git \o/ :) I love git... everything else sucks by comparison :) As far as I can see, mercurial is pretty similar. But compared to cvs, svn, yes, I totally agree. No looking back. Hear hear! mercurial is very similar, and the two of them seem to be streaks ahead of pretty much everything else. ___ 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] Fill-paragraph and orgmode
Hi everyone. There is a little issue that I keep having with org-mode. Say the cursor is on : * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] After you press M-q you get this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] ... while what i really wanted was this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] Sure, it only takes a RET to fix, but anyway, if anyone has a solution for this, please share with me. Thanks, Hugo ___ 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] Fill-paragraph and orgmode
Ooops, sorry for that. The point is that. after fill-paragraph, the date comes to the same line that my text, ending up with something like below. * TODO title Text text [2008-...] Having the date stay on the line below would be nicer, so if anyone knows how to customize fill-paragraph (or org-fill-paragraph) to achieve that, please tell me. Thanks, Hugo On Jan 28, 2008 8:08 AM, Phil Jackson [EMAIL PROTECTED] wrote: Hugo Schmitt [EMAIL PROTECTED] writes: Hi everyone. There is a little issue that I keep having with org-mode. Say the cursor is on : * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] After you press M-q you get this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] ... while what i really wanted was this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] I think your MUA is wrapping your text :/ Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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] TODO dependencies
And the parent could also support the [%] notation that exists for checkboxes :) -Hugo On Jan 25, 2008 12:45 PM, Stuart McLean [EMAIL PROTECTED] wrote: Hi, Sorry if I have started a new thread on this subject, GMail and I are not getting along right now. ** TODO a main project *** TODO step 1 *** TODO step 2 *** TODO step 3 TODO step 3 part a TODO step 3 part b TODO step 3 part c and so on *** TODO step 4 Here is the functionality that I would like, and (as I see it) that would be possible with the hooks provided and extensions that the user could write... marking ** TODO a main project as DONE would mark all subheadings done (say you did them all at once) marking *** TODO step 1 as DONE would mark this item as done and no more, and so on for step two. marking step three as DONE would mark step three and all children (a, b, c) as done, again, say you did them all at once. However, if you marked step 3, part a as DONE, then b (at a later time), then c, only triggering c would mark *** TODO step 3 as DONE as well. In other words marking a heading as DONE will mark all children as DONE, marking children as DONE one-by-one will only mark the parent as DONE when all the children are marked DONE. Is this a correct understanding? This is (one of the functionalities) I would like. Maybe it is already possible, or I have misread something? Thanks again for org-mode, *fantastic software* Stuart ___ 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 anything
Hi. So, just wrote this and maybe there are others users of Anything.el around: Just update your anything-sources variable to include anything-org-remember. Maybe this will get more useful for people that have 10+ templates and not enough meaninful keys. - Hugo Ps: if there is a better way of achieving `list-of-fst` please tell me. I find it a little odd... --- (defun list-of-nth (list pos) (mapcar (lambda (x) (nth pos x)) list)) (defun list-of-fst (list) (list-of-nth list 0)) (setq anything-org-remember '((name . Org Remember) (candidates . (lambda () (list-of-fst org-remember-templates))) (action . (lambda (name) (let* ((orig-template org-remember-templates) (org-remember-templates (list (assoc name orig-template (call-interactively 'org-remember)) ___ 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] FR: interactive todo creation with remember templates
Perfect! Thanks - Hugo On Jan 25, 2008 10:58 AM, Carsten Dominik [EMAIL PROTECTED] wrote: On Jan 24, 2008, at 5:37 PM, Hugo Schmitt wrote: I think my suggestion doesn't fit orgmode that well, but what if 'org-remember' had 'template' as an optonal argument? (instead of pulling from org-remember-template interactively). Then people could write their own menus/keymap/etc before calling remember. (Hmm, thinking about it, maybe i'll try that myself so i can call remember from Anything) If you are wiling to write lisp code, you can already do this, by putting a list with only one template temporarily into org-remember-templates, like this: (let ((org-remember-templates (Task 116 * TODO %?\n %u ~/org/gtd.org Tasks))) (call-interactively 'org-remember)) When there is only a single template in the list, Org-mode will actually skip the query for the template and execute it right away. So yes, you can write a function that does built a template on the fly. Hope this helps - 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
Re: [Orgmode] FR: interactive todo creation with remember templates
I think my suggestion doesn't fit orgmode that well, but what if 'org-remember' had 'template' as an optonal argument? (instead of pulling from org-remember-template interactively). Then people could write their own menus/keymap/etc before calling remember. (Hmm, thinking about it, maybe i'll try that myself so i can call remember from Anything) -Hugo On Jan 24, 2008 12:33 PM, Carsten Dominik [EMAIL PROTECTED] wrote: On Jan 22, 2008, at 3:55 PM, Austin Frank wrote: Hello again! I love all of the options that are available for inclusion in remember templates. I've got templates for the kinds of tasks I create most often. But sometimes I find myself saying man, I wish I could just tack a %^G onto this template, or something similar. These aren't task types that I use often enough to justify giving them their own templates, but I still want to have access to the features offered in remember templates. Would it be possible to build a single-use remember template through prompts at the minibuffer? I am not yet convinced about how useful this would be. First of all, slapping on a %^G means adding tags. Since you probably have %? in the headline of the template anyway, adding tags is as simple as C-c C-c Ahm, no you are right it is not, because we are in a remember buffer after all. Still, just adding % sequences does not really do it because you still need to decide where the info should go. So in the end, it seems to me the the gain will be very minor. Any other opinions? - 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] Auto Archive TODOs?
Hi... You can do both things, number 2 is easier, if that solves your problem. 1) John Wiegley implemented something to auto archive done tasks. I dunno if it has been added in org. Here is the link: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg02939.html 2) Rebind to another key: This normally goes like this: - Find out which command C-c xs calls using C-h k (in this case org-advertized-archive-subtree) - Append to your org mode customizations: (define-key org-mode-map (kbd f1) 'org-advertized-archive-subtree) HTH, Hugo On Jan 24, 2008 4:33 PM, Ross A. Laird [EMAIL PROTECTED] wrote: Is there any way to automatically archive completed todo items, so that I don't have to manually type C-cxs? If not: I'm not very good at emacs customization, but perhaps there is a way to do this in emacs itself, so that the function called by C-cxs is called by another, simpler key. Ross -- Ross A. Laird, PhD www.rosslaird.info ___ 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: Remember and then refile
I use ido all day, and I find ido-completing-read much nicer/cooler than the default. If anyone wants to try, just change the sexp (completing-read ...) inside org-refile for something like: (if (fboundp 'ido-completing-read) (ido-completing-read Refile to: tbl nil t nil 'org-refile-history) (completing-read Refile to: tbl nil t nil 'org-refile-history)) ... and the good thing is that ido comes with emacs22. Cheers, Hugo On Jan 20, 2008 12:44 PM, Leo [EMAIL PROTECTED] wrote: On 2008-01-20 14:31 +, Piotr Zielinski wrote: As for completion, both org-refile and org-goto should work with icicles but I haven't tried it extensively yet (icicles provides general-purpose extensive completion support for emacs). My main point is that I'd rather vote for making org-mode work well with otherspecialized modes (eg icicles) than for reimplementing the features. But the problem with icicles is that it might never be included in Emacs. -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the best OS -- http://www.fedoraproject.org/ ___ 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] Remember and then refile
Can't wait! Thank you very much for all the work on org-mode. -Hugo On Jan 18, 2008 5:47 AM, Carsten Dominik [EMAIL PROTECTED] wrote: This will be in 5.19. Thanks for the proposal!. - Carsten On Jan 7, 2008, at 5:05 PM, Hugo Schmitt wrote: Hello everyone! I know Remember allows one to select where we want to file an entry with C-u C-c C-c, but now that we have org-refile (great!), it would be really nice to be able to call org-refile after the text is inserted on it's default place (mine is the Tasks tree on todo.org) Now, I couldn't find a way to insert this nicely into the code, since that is done via the remember command. Any ideas? Thanks in advance, Hugo ___ 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] Problems with org-remember-use-refile-when-interactive
Hi Carsten. I was just trying out 5.19 and something showed up with the new remember-refile option. You seem to store the text into the *remember* buffer before calling (org-refile). That is a problem for people that have 'org-refile-targets' to set to generate targets from current file. Here is mine, for example: (setq org-refile-targets '((nil . (:maxlevel . 1 So, is there any way that we could change refile targets to the ones from the default file ? (the file where text would be inserted if we only pressed C-c C-c on the remember buffer - specified on org-remember-templates) Regards, Hugo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Patch to allow quotes showing on *remember*
Hi again. Let me just show you the use case. Take a look at my current remember buffer: ---start ## Filing location: Select interactively, default, or last used: ## C-u C-c C-c to select file and header location interactively. ## C-c C-c ~/hugo/docs/org/todo.org - * Inbox ## C-u C-u C-c C-c ??? - * ??? ## To switch templates, use `C-c r'. To abort use `C-c C-k'. * TODO todo title goes here [2008-01-15 ter] ## An Emacs reference mug is what I want. It would hold ten gallons of coffee. ## -- Steve VanDevender ---end I need that patch so that the bottom lines (the quote) aren't appended into the org file after remember. I was just saying that, if more people use something like this *and* it doesn't mess up for people who don't, the patch could be added to org. -hugo On Jan 15, 2008 7:55 AM, Carsten Dominik [EMAIL PROTECTED] wrote: Hi Hugo, I am not sure what the purpose of this is. The ## stuff at the beginning is stuff to remind the user on how to proceed further. What is the idea of Sacha you are referring to? What is the use case? Thanks. On Jan 14, 2008, at 8:45 PM, Hugo Schmitt wrote: Hi folks! I'm sending this as a suggestion. Right now the function 'org-remember-handler' removes the lines on the beginning of the buffer that start with ## (the ones explaining usage, shortcuts, etc) Yesterday i was trying out sachac's idea of putting quotes into remember (on the bottom), but the text that went there was being added to the todo.org with the actual todo. W/ the fix org also removes the lines on the end that begin with '##'. Cheers, -Hugo org.el.patch___ 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] Patch to allow quotes showing on *remember*
Carsten, Yeah, mostly for fun, but for example Sacha used it for learning English-Japanese translations.. If there is a better way to fix the remember buffer, please tell me. Here's a excerpt from Sacha's post: Adding Other Text to the Remember Buffer Remember has plenty of hooks that let you modify the behavior. For example, you might want to insert a random tagline or fortune-cookie saying whenever you create a note. This is a fun way to encourage yourself to write more, because then there's a little surprise every time you open a Remember buffer. and here is the code that inserts that (rest is on the blog): (eval-after-load 'remember '(progn (defadvice remember (after wicked activate) Add random tagline. (save-excursion (goto-char (point-max)) (insert \n\n (wicked/random-tagline) \n\n) Maybe i can implement that cleaning the remember buffer also as an advice or hook? Thanks in advance. Hugo Here's the link: http://sachachua.com/wp/2008/01/13/capturing-notes-with-remember/ search for subtitle Adding Other Text to the Remember Buffer On Jan 15, 2008 8:17 AM, Carsten Dominik [EMAIL PROTECTED] wrote: Hi Hugo, On Jan 15, 2008, at 12:04 PM, Hugo Schmitt wrote: Hi again. Let me just show you the use case. Take a look at my current remember buffer: ---start ## Filing location: Select interactively, default, or last used: ## C-u C-c C-c to select file and header location interactively. ## C-c C-c ~/hugo/docs/org/todo.org - * Inbox ## C-u C-u C-c C-c ??? - * ??? ## To switch templates, use `C-c r'. To abort use `C-c C-k'. * TODO todo title goes here [2008-01-15 ter] ## An Emacs reference mug is what I want. It would hold ten gallons of coffee. ## -- Steve VanDevender ---end I need that patch so that the bottom lines (the quote) aren't appended into the org file after remember. I was just saying that, if more people use something like this *and* it doesn't mess up for people who don't, the patch could be added to org. My question is: how did this extra commend get into the remember buffer in the first place? Why is it there? just for fun? - Carsten -hugo On Jan 15, 2008 7:55 AM, Carsten Dominik [EMAIL PROTECTED] wrote: Hi Hugo, I am not sure what the purpose of this is. The ## stuff at the beginning is stuff to remind the user on how to proceed further. What is the idea of Sacha you are referring to? What is the use case? Thanks. On Jan 14, 2008, at 8:45 PM, Hugo Schmitt wrote: Hi folks! I'm sending this as a suggestion. Right now the function 'org-remember-handler' removes the lines on the beginning of the buffer that start with ## (the ones explaining usage, shortcuts, etc) Yesterday i was trying out sachac's idea of putting quotes into remember (on the bottom), but the text that went there was being added to the todo.org with the actual todo. W/ the fix org also removes the lines on the end that begin with '##'. Cheers, -Hugo org.el.patch___ 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+] org-elisp-symbol.el
I'm reposting to the list because Bastien's mail bounced. --- Hi Bastien. I've been using this package daily, thank you very much. I had a problem today with evaluated functions without docstring. They 'fall' on the code below because functionp is t for them: ((functionp sym-name) (documentation sym-name)) but documentation returns nil for those, so i get an error. For now i'm using the ugly fix: ((functionp sym-name) (or (documentation sym-name) no documentation (2))) Regards, Hugo ___ 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] Can you automatically open a branch on load?
Hello. Something like this already works fine for me: (add-hook 'org-mode-hook 'my-open-some-branch) (defun my-open-some-branch () Start org file with some particular branch opened. (org-overview) (save-excursion (search-forward Finances) (org-show-entry))) You can easily write a couple more lines so that the branch that will be opened is configured on the top of the file itself. HTH, Hugo On Dec 28, 2007 3:10 PM, Eddward DeVilla [EMAIL PROTECTED] wrote: I'm sure that you could write a function that you could call from an org-mode hook to do an occur or something like that. Unfortunately, I don't use org-occur much and the hook I think you need is in my .emacs at work. Given the right org-mode search function and the name of the hook, I think it should be easy to do. If someone doesn't beat me to it, I'll try and get you a better answer when I return to work or when I'm feel a little better and can do some digging. Edd On Dec 27, 2007 8:42 AM, [EMAIL PROTECTED] wrote: Is there an easy way to have a specific branch in your file open when you load the file? ___ 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