Re: [Orgmode] Archiving in agenda view storing the wrong headline
Hi Bastien, yes, not I can reproduce the bug, at least if I have set things up so that the buffer is initially collapsed to overview. I.e. for the bug to occur, is is necessary that the scheduled item is hidden entirely. I have fixed this for 4.75, thanks for taking the time to find a setup where this is reproducible. - Carsten On May 19, 2007, at 10:43, Bastien wrote: Hi, i finally found a way to reproduce a quite annoying bug. Try this file : --- %< #+STARTUP: align fold nodlcheck #+SEQ_TODO: TODO DONE #+TITLE: Bastien TODO #+AUTHOR:Bastien Guerry #+EMAIL: [EMAIL PROTECTED] #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t *:t TeX:t skip:nil #+ARCHIVE: archives/bzg_archive:: * Headline 1 * Headline 2 #+CATEGORY: headline2 ** First appointment SCHEDULED: <2007-05-19 sam> --- %< Then open a new Emacs session, call `org-agenda-list' then try to archive the "First appointment". Org won't store this headline in the "headline2" category, but it will put the whole "* Headline 2" subtree in the archives/bzg_archive file. I guess i'm using a rather unusual and (too) complicated archiving scheme, but being able to misuse a wonderful tool is what makes it wonderful sometimes :) -- Bastien ___ 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] Links in table of contents ?
Fixed, thanks. - Carsten On May 17, 2007, at 19:30, Bastien wrote: Hi Carsten and list, consider these headlines : * [[http://www.test1.com][Test1]] * [[http://www.test2.com][Test2]] HTML export will produce a table of content looking like this: [[http://www.test1.com][Test1]] [[http://www.test2.com][Test2]] ... while i guess we just want the descriptive part of links. Clickable links are not an option since the toc items are already internal links. Best, -- Bastien ___ 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] Archiving in agenda view storing the wrong headline
On May 20, 2007, at 10:07, Carsten Dominik wrote: Hi Bastien, yes, not I can :-( Read "now I can" ... reproduce the bug, at least if I have set things up so that the buffer is initially collapsed to overview. I.e. for the bug to occur, is is necessary that the scheduled item is hidden entirely. I have fixed this for 4.75, thanks for taking the time to find a setup where this is reproducible. - Carsten On May 19, 2007, at 10:43, Bastien wrote: Hi, i finally found a way to reproduce a quite annoying bug. Try this file : --- %< #+STARTUP: align fold nodlcheck #+SEQ_TODO: TODO DONE #+TITLE: Bastien TODO #+AUTHOR:Bastien Guerry #+EMAIL: [EMAIL PROTECTED] #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t *:t TeX:t skip:nil #+ARCHIVE: archives/bzg_archive:: * Headline 1 * Headline 2 #+CATEGORY: headline2 ** First appointment SCHEDULED: <2007-05-19 sam> --- %< Then open a new Emacs session, call `org-agenda-list' then try to archive the "First appointment". Org won't store this headline in the "headline2" category, but it will put the whole "* Headline 2" subtree in the archives/bzg_archive file. I guess i'm using a rather unusual and (too) complicated archiving scheme, but being able to misuse a wonderful tool is what makes it wonderful sometimes :) -- Bastien ___ 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 -- 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
[Orgmode] Space in internal links
It seems to me that space will cause internal links to fail. At least I tried with the html export and it didn't work at all. Best, -- Leo (GPG Key: 9283AA3F) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] convert region to html?
On May 19, 2007, at 3:17, David O'Toole wrote: I am working on my blog extension for org-publish. I would like to convert a region of text (say, between two markers) from org-mode markup into html and then paste the resulting html into another buffer where I am building a full page. I need to do this from a lisp program. It says that org-export-as-html will export an active region but I tried it and it doesn't work in a temp-buffer where (buffer-file-name) is nil. Anyway, would it be hard to expose a function like the following? (defun org-export-region-to-html (beg end) "Convert region between BEG and END into HTML, placing the result into a new buffer. The new buffer is returned." Thanks for this idea, will be useful for many things. - Carsten 4.75 will contain the following function: (defun org-export-region-as-html (beg end &optional body-only buffer) "Convert region fron BEG to END in org-mode buffer to HTML. If prefix arg BODY-ONLY is set, omit file header, footer, and table of contents, and only produce the region of converted text, useful for cut-and-paste operations. If BUFFER is a buffer or a string, use/create that buffer as a target of the converted HTML. If BUFFER is the symbol `string', return the produced HTML as a string and leave no buffer behind. For example, a Lisp program could call this function in the following way: (setq html (org-export-region-as-html beg end t 'string)) When called interactively, the output buffer is selected, and shown in a window. A non-interactive call will only retunr the buffer." ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] in-buffer settings for priorities
Hi Dmitri, before I look deeper into your patch, please try the following and tell us if this does the trick: On May 16, 2007, at 11:43, Dmitri Minaev wrote: Hello, I'd like to know the opinion of the community (and Carsten's in particular, of course) on the following idea -- do you think it would be useful to have in-buffer settings to customize priorities? The background story (sorry if it's verbose) is like this. I keep my reading list in org-mode (quite naturally). Normally, the entries are stored in the chronological order, but sometimes I would like to see the best or the worst read books. I started by using tags like :score2:, :score8:, etc., so I could search for tags using regexps like {score[7-9]}. Unfortunately, the entries were not sorted. You can influence the sorting strategy, The following should work: (setq org-agenda-custom-commands '(("P" tags "{^score[0-9]}" ((org-agenda-files '("~/org/books.org")) (org-agenda-sorting-strategy '(tag-down)) (org-agenda-prefix-format " %T: ") This sets up the command `C-c a P' to select books with a score tag, and to sort the list by score. The parameters make sure that only the file ~/org/books.org is checked, set up the sorting strategy to only look at the tag, and change the prefix to only show the score tag. The one complication/limitation is that the setup above will require that the score tag is the last tag in the list of tags, because only that tag will be used for sorting. A good way to do this is to make the score tags the last in your tags setup, for example: #+TAGS: xxx yyy zzz #+TAGS: { score0(0) score1(1) score2(2) score3(3) score4(4) #+TAGS: score5(5) score6(6) score7(7) score8(8) score9(9) } As you see, the score tags are set up as mutually exclusive (they are grouped in {...}), and all other tags are listed before them. So after changing tags with C-c C-c, tags will always be sorted to have the score last. - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: newbie has some questions
Hi, it's me again ... are my questions to stupid or does nobobdy have an idea? * Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > Hi, > > I am a new user of org-mode; so far I am pretty > expressed... > I spread my todos into about 6 different main > categories, each in an own file. So far it works pretty > good, but I am kind of curious, when the lists get > bigger... > > For the dayly use I have some questios: > - can I use different colors for the keywords TODO, > FEEDBACK, VERIFY, CANCEL and DONE in every buffer (agenda too) > - how can I sort the agenda todo list according to the > priority > - can I add priority 'd' to the list > - when you use the multiple file approach, do you use a > lot of tags, or is it more usefull for a single file > approach > - can somebody explain the 43 folder approach and how it > is used with org-mode > > That's it for the moment :-) Maybe, somebody has some > ideas!? > Greetings! Fabian ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: newbie has some questions
Hi Fabian, On May 20, 2007, at 22:45, Fabian Braennstroem wrote: Hi, it's me again ... are my questions to stupid or does nobobdy have an idea? neither nor - we are just too lazy or too busy. * Fabian Braennstroem <[EMAIL PROTECTED]> wrote: Hi, I am a new user of org-mode; so far I am pretty expressed... I spread my todos into about 6 different main categories, each in an own file. So far it works pretty good, but I am kind of curious, when the lists get bigger... For the dayly use I have some questios: - can I use different colors for the keywords TODO, FEEDBACK, VERIFY, CANCEL and DONE in every buffer (agenda too) No, this is currently not supported. You could hack it in using font-lock-add-keywords, but there is currently no support for this in Org-mode. - how can I sort the agenda todo list according to the priority It is sorted according to priority - but only within categories. If you want it to ignore categories and sort by priority only, you need to configure `org-agenda-sorting-strategy' to something like this (this is the default setting, but with the part for the todo list modified): (setq org-agenda-sorting-strategy '((agenda time-up category-keep priority-down) (todo priority-down) (tags category-keep priority-down)) - can I add priority 'd' to the list Yes: (setq org-lowest-priority ?D) Try `M-x org-customize RET' to find out more about the many options. - when you use the multiple file approach, do you use a lot of tags, or is it more usefull for a single file approach This is a matter of taste, and different people use different approaches. See the org-mode homepage for links to some of the discussions that happened here on this list. - can somebody explain the 43 folder approach Google is your friend http://wiki.tcl.tk/13200 and how it is used with org-mode Org-mode has no direct support for a 43 folders setup - anyway, 43folders is, I thknk, mostly useful as structure in real paper, not on a computer. Hope this helps. - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Possible bug in Org-mode version 4.74
CD> I have released version 4.74 of Org-mode at CD> http://www.astro.uva.nl/~dominik/Tools/org/ 1. I got org-mode from http://staff.science.uva.nl/~dominik/Tools/org/org-4.74.tar.gz 2. I configure agenda export as follows: (setq org-agenda-exporter-settings '((htmlize-output-type 'inline-css))) (setq org-agenda-custom-commands '(("w" todo "WAITING" nil ("agenda-waiting.html")) ("n" todo "NEXT" nil ("agenda-next.html")) ("f" todo "FREEZED" nil ("agenda-freezed.html")) ("d" "Agenda + NEXT" ((agenda) (todo "NEXT")) ("agenda+next.html")) ("c" agenda "" nil ("agenda-current.html")) ("I" "Ilnar tasks" ((tags "ilnar")) nil ("ilnar-tasks.html")) ("R" "rk tasks" ((tags "rk")) nil ("rk-tasks.html")) )) 3. Now when I press C-c a e, error appears (full errmessage in attach): Debugger entered--Lisp error: (void-variable nosettings) (org-write-agenda "agenda-waiting.html" nosettings) Additional info: 1. When I use C-x C-w in agenda buffer, I get another error (full errmessage in second attach): Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) insert(nil 10 "\n" "\n \n" "" "*Org Agenda*" "\n" "" "") 2. My emacs version is: GNU Emacs 22.0.95.1 (i486-pc-linux-gnu, GTK+ Version 2.8.20) of 2007-03-03 on pacem, modified by Debian 3. My org-file looks like this: ### # Work tasks of QAA Team and personally rk. # # Paradigm: # * tags indicates: # * responsible peoples # * kind of task: attestation task or not # * seq_todo indicates state of task # * category uses for projects scope showing # #Some settings of org-mode follows: #+STARTUP: lognotestate #+STARTUP: showall #+TAGS: { rk(r) sveta(s) kir(k) zalomlenkov(z) ilnar(i) sgunkin(g) const(c) max(m) ikryak(v) } ATT #+SEQ_TODO: NEW NEXT RESCHEDULED | DONE CANCELED #+SEQ_TODO: WAITING SOMEDAY | CANCELED #+SEQ_TODO: FREEZED | CANCELED #+LINK: wiki http://trac.qa.plesk.ru:8080/wiki/ #+TITLE: QAA Tasks #+AUTHOR:rk #+EMAIL: [EMAIL PROTECTED] #+LANGUAGE: ru #+OPTIONS: H:4 num:t toc:t \n:nil @:t ::t |:t ^:t *:t TeX:t LaTeX:nil skip:t ### #+CATEGORY: Incoming * Incoming ** NEW Task example 1 :rk: DEADLINE: <2007-05-10 Чтв> #+CATEGORY: General * General ** NEXT Task example 2 :rk: DEADLINE: <2007-05-11 Птн> 4. Other org-configuration things: (setq org-return-follows-link t) (setq org-log-done '(done)) (define-key global-map "\C-cl" 'org-store-link) (define-key global-map "\C-ca" 'org-agenda) (setq org-agenda-files (list "~/work/doc/tasks/work.org")) (setq org-export-html-style "") (setq org-agenda-include-all-todo t) (setq org-fontify-done-headline t) (setq org-export-mark-todo-in-toc t) 5. Attaches with errors: debug-orgmode Description: Binary data debug-orgmode-2 Description: Binary data PS: sorry, I have no time for deep investigation now :( -- Ruslan Kosolapov Plesk QA Department Second Manager SWsoft, Inc. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode