[Orgmode] Re: Bugs when converting to LaTeX
Hi Carsten, Carsten Dominik wrote: > On Nov 6, 2009, at 12:34 PM, Sébastien Vauban wrote: >> Carsten Dominik wrote: >>> On Oct 27, 2009, at 9:47 AM, Sébastien Vauban wrote: Here a couple of other conversion bugs that I found: --8<---cut here---start->8--- - /S'il faut remodéliser ce qui est dans le code COBOL, comment faire ? Discussions avec le business, relire le COBOL ? Chez nous, la tarification n'est pas modélisée. Pourtant, c'est là qu'il faut aller vite vis-à-vis du marché./ >>> >>> You need to configure `org-emphasis-regexp-components' and increase the >>> number of newlines allowed in these expressions. >>> - Le /challenge/ : efficacité et rapidité... Here, the word challenge is not in italics because the following character is an unbreakable space (*not* a normal space). >>> >>> Maybe you can fix this by adding your unbreakable space in org- >>> emphasis-regexp-components to the end of the second string of characters, >>> these are the characters allowed after an emphasis string. >> >> Done it: >> >> --8<---cut here---start->8--- >>;; Add the unbreakable space as allowed character after an emphasis >>;; string, and modify the maximum number of newlines allowed in an >>;; emphasis >>(setq org-emphasis-regexp-components >> '(" ('\"{" >>"-., :!?;'\")}\\" >>" >> \n,\"'" >>"." >>4)) >> --8<---cut here---end--->8--- >> >> None of the above 2 mentionned problem seems to disappear. I rephrase my sentence: the problem *does not* disappear. Have I missed something when setting `org-emphasis-regexp-components'? --8<---cut here---start->8--- - /S'il faut remodéliser ce qui est dans le code COBOL, comment faire ? Discussions avec le business, relire le COBOL ? Chez nous, la vite vis-à-vis du marché./ - Le /challenge/ : efficacité et rapidité... --8<---cut here---end--->8--- Best regards, Seb -- Sébastien Vauban ___ 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: DiTAA graph not in local directory
Hi Bernt & Carsten, Carsten wrote: > Bernt Hansen wrote: >> Sébastien Vauban writes: >> >>> I try to generate the following DiTAA graph for LaTeX inclusion. >>> >>> It's in my Org file `~/dir1/dir2/ecm.org': >>> >>> --8<---cut here---start->8--- >>> * Context >>> >>> This comes from norang.ca. >>> >>> #+begin_ditaa communication.png -r -s 0.8 >>> +---++-+ >>> |PLC|| | >>> | Network +<-->+ PLC + >>> |cRED || c707 | >>> +---++++ >>> #+end_ditaa >>> --8<---cut here---end--->8--- >>> >>> When exporting to LaTeX, the image is well generated, but in my `~/' >>> directory. Not in `~/dir1/dir2/', hence not found by LaTeX. >> >> That's not how my version of org-mode works. My exported communication.png >> is local to the org file. I just created your example in >> ~/nobackup/tmp/foo.org and exported to latex and it creates >> communication.png in ~/nobackup/tmp/communication.png You're more lucky than I am ;-) >> Org-mode version 6.32trans (release_6.32b.122.g41496) >> GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 >> on raven, modified by Debian `M-x version' gives: "Org-mode version 6.32trans". I think I got it on last Thu or Fri morning. >> Now if I change the working directory with M-x cd and enter ~ >> then export it does what you see. Maybe your default directory is not >> the location of your org file? I have, since long, the following chunk in my `.emacs', for setting the `default-directory': --8<---cut here---start->8--- ;; change the default directory (if it exists) ;; (it is also the default directory when attaching files to mails) (let ((my-default-directory "~/")) (setq default-directory (if (file-directory-p my-default-directory) my-default-directory (getenv "HOME" --8<---cut here---end--->8--- When looking for the current value of that variable, I have: --8<---cut here---start->8--- default-directory is a variable defined in `C source code'. Its value is "~/" Local in buffer *followup to Bernt Hansen on gmane.emacs.orgmode*; global value is nil Automatically becomes buffer-local when set in any fashion. This variable is safe as a file local variable if its value satisfies the predicate `stringp'. Documentation: Name of default directory of current buffer. Should end with slash. To interactively change the default directory, use command `cd'. --8<---cut here---end--->8--- Note that I am a bit puzzled, now, by the fact that variable has a buffer-local value, and that its global value is nil. Maybe I should do `setq-default' instead of `setq'? Anyway, I don't remember exactly why I did set that, but I think it's for easy opening of files (right prefix when `C-x C-f'). Regarding my Org files, I have 2 main usages: - organizational files, with items to do, scheduling dates and deadlines; - text files (without any active dates) that I purely want to write easily and export nicely (in LaTeX). The "organizational files" are located either in `~/Personal' or in `~/Projects': --8<---cut here---start->8--- ;; directory with org files (used by the hooks for `remember.el') (setq org-directory (if (file-directory-p "~/Personal/") "~/Personal/" "~/")) ;; set which files to search for TODO entries and scheduled items ;; (avoiding hidden files) (setq org-agenda-files (append (directory-files org-directory t "^[^\\.].*\\.org$") (if (file-exists-p "~/Projects/") (directory-files "~/Projects/" t "^[^\\.].*\\.org$") nil))) --8<---cut here---end--->8--- The "text files" are anywhere on my disk, generally in subdirectories of `~/Projects'. The real directory of the file that's causing me "troubles" (in my above description) is, for example, `~/Projects/Insurance/Acme/docs/operations-manual'. > what is the publication context here? Are you pressing `C-c C-e d' from the > buffer, or is this a project published with org-publish? I'm exporting with `C-c C-e l' to produce a LaTeX document in another buffer. Then, I move to it, and do `C-c C-c' to compile it to PDF, and view it. Carsten, you pinpoint another trouble that I've had months ago (when first using Org) and never changed, being accustomed to it, over time... If I do `C-c C-e d', I never get the PDF successfully compiled, as TeX says it does not find my pictures (though, local to the document). My document is here: ~/Projects/Insurance/Acme/docs/operations-manual/Upload_documentation.org My static picture (for direct inclusion, not gener
[Orgmode] Re: Best way to implement Keywords feature
Matt Lundin writes: > > http://orgmode.org/manual/Matching-tags-and-properties.html > > - Matt > Thanks Matt, although that allows me to search for a single property (if I use 'Keyword' as an example, this will return a match if I search for 'Keyword="example"'. It doesn't, however work if I want to use more that one keyword. For example, if I set a property 'Keyword: keyword1 keyword2' and search for 'Keyword="example1"' org doesn't find it. I guess what I'm looking for here is an 'extended tag' function, so that I can give a heading as many tags as are required for searching but without cluttering up the line itself. I find that if there are more than two or three short tags, the line get unneccesarily messy. Are there other ways that I've missed that would allow this sort of thing? Thanks Paul ___ 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: Proposed key binding changes: archiving and attachments
Carsten Dominik writes: > I actually think that few people use archiving to sibling. Am I wrong about > this? I use archiving to sibling for sub-headings in projects that are still current, to tidy things up, then archive the whole project subtree to the archive file when it's finished. I'd prefer to have archive to sibling as the default option with the fewest keystrokes. (FWIW!) Paul ___ 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] [babel] Problems sourcing R code
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Davison schrieb: > "Weiss, Bernd " writes: > >> Dear all, >> >> I am having trouble sourcing R code from within an org-file via >> org-babel, i.e. I cant' replicate the most simple examples >> >> #+begin_src R :results value >> matrix(rnorm(6), nrow=2) >> #+end_src >> >> That's the error message I get whenever I type in C-c C-c: >> >> "executing R source code block... >> Die Syntax für den Dateinamen, Verzeichnisnamen oder die >> Datenträgerbezeichnung ist falsch. >> No result returned by source block" > > Dear Bernd, > > This is a problem relating to running R as an external shell process > under Windows. For the time-being, please use the :session header > argument to specify that evaluation is to take place in a persistent > emacs R session. Alternatively, you could use the following > configuration code to force R blocks to always use the specified session > (you can change the session name of course): > > (setq org-babel-default-header-args:R '((:session . "*my-R-session*"))) > > Session-based evaluation is described briefly at > > http://orgmode.org/worg/org-contrib/babel/org-babel.php#basic-functionality > > Thanks for the report. We will investigate the issues with running R as > an external process under Windows. Dear Dan, that works, thanks a lot! Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJK9yHxAAoJEEs3GEaRJz0hX2EH/1gcpuPox/411KOmr53tZ7an p1xr+DR1q8vh9FasQbMUObvcG3uFBKzU3xMgfieTNuM5Zozi7nbFhKqzsqSffn5A o6SPf07cJligvtJeuqknZlxFJn8ptwzxBMKlJAB1JCr/c7Er7KNlYDV5dhx9SFLw VPggXfPbOyXyU++dCgrCoCo6BrX4rpneXSfYtU+kQPaH4if0rEF8yMYPpzKtQwjz hDhO621AjN0BFEaKGNzzuLRF+3EqCCMBO6enTjrXdUfZXi6iF3PaRcKkhzgCMbAP kC81ljydJ60RCsX5m7ZmL8lKgcdN29WqyyR5ifioaw0V4/ajS+aPl2VDoCqNRqk= =kt86 -END PGP SIGNATURE- ___ 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: Best way to implement Keywords feature
Matthew Lundin writes: > > It will if you use brackets to perform a regexp match. E.g., > > Keyword={example1} > > (...assuming the property is "Keyword: example1 example2".) > > From the manual page above: > > , > | * If the comparison value is enclosed in curly braces, a regexp match > | is performed, with '=' meaning that the regexp matches the property > | value, and '<>' meaning that it does not match. > ` > > Best, > Matt That's great, but what if I need to match *both* example1 and example2 in a search? I tried a few things but didn't find anything that works. Ideally, I'd be able to specify several keywords in a search on the fly. (I'm sorry if there's a regexp that matches multiple keywords that I don't know - it's a skill which I find keeps presenting surprises!) Thanks Paul ___ 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: Monthly events based on count of specific weekdays
--- Dom 8/11/09, Ben Finney ha scritto: > Matt Lundin writes: > > > Ben Finney > > writes: > > > That's partly my point: “second Tuesday of the month” > isn't niche, it is > pretty common, I would have thought. > > How about this: > > <2009-10-13 Tue 14:00 +1m Tue> Does the "++1m" help? : ** TODO LUG meeting DEADLINE: <2009-10-13 Tue 14:00 ++1m Tue> Marking this DONE will shift the date by at least one month, but also by as many months as it takes to get this date into the future. However, it stays on a Tuesday, even if you called and marked it done on Saturday. Giovanni ___ 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: Monthly events based on count of specific weekdays
Giovanni Ridolfi writes: > --- Dom 8/11/09, Ben Finney ha scritto: > > How about this: > > > > <2009-10-13 Tue 14:00 +1m Tue> > > Does the "++1m" help? : > > ** TODO LUG meeting >DEADLINE: <2009-10-13 Tue 14:00 ++1m Tue> No, it doesn't help. When I specify what you show here, I get the item in my agenda on: <2009-10-13 Tue 14:00> <2009-11-13 Thu 14:00> <2009-12-13 Sun 14:00> <2010-01-13 Wed 14:00> and so on. >Marking this DONE will shift the date by at least one month, >but also by as many months as it takes to get this date into >the future. However, it stays on a Tuesday, even >if you called and marked it done on Saturday. This doesn't seem to affect when the future events appear in the agenda, so doesn't meet what I'm describing. -- \“I spent a lot of money on wine and women, and like a fool I | `\ squandered the rest.” —Benny Hill | _o__) | Ben Finney ___ 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: Proposed key binding changes: archiving and attachments
Hm... Paul Mead schrieb: > Carsten Dominik writes: > > I actually think that few people use archiving to sibling. Am I wrong about > > this? I've never used archiving to sibling on purpose. After using it accidentaly once, I was a bit annoyed at having to clean up the structure of my project. > I use archiving to sibling for sub-headings in projects that are still > current, to tidy things up, then archive the whole project subtree to > the archive file when it's finished. I'd prefer to have archive to > sibling as the default option with the fewest keystrokes. ---Zitatende--- Hm, I use the archive tag for exactly that purpose. I prefer to see the original structure in the tree, but with the dead branches (i.e. already resolved subprojects). But don't get me wrong, I don't want to proselytise or something. It's a good thing, that org offers so many ways of organising our "stuff". ;) -- Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;) ___ 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: Logging rescheduled tasks (was Logging rescheduled tasks)
Is it possible to get this implemented as a feature in org-mode? It seems like there is a need for recording a history of the times that items were scheduled/deadlined for and to allow easy rescheduling/deadlining. R. 2009/11/6 George Pearson : > Rick Moynihan (addr...@hidden) wrote: > >> I'm wondering if anyone logs rescheduled tasks with org-mode... >> As I find myself sometimes scheduling tasks for a future date, >> but then on the day not having the capacity to do them. In these >> situations I just reschedule them, but it'd be nice to record the >> dates for which an item was originally scheduled in the LOGBOOK. >> > > I too would love to see this. > > I been preserving the original scheduling manually - from the agenda, I > type the spacebar to get to the related orgfile entry, where I change > "SCHEDULED" to "ORIGSCHEDULED". Then I schedule a new date/time in the > usual way. (Logging the change is probably a better idea though.) > > Have only been doing this about a month. In the future, I want to be > able to look back at these events and see if there is any pattern to > my "misses". > > > ___ > 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 > -- Rick Moynihan http://twitter.com/RickMoynihan http://delicious.com/InkyHarmonics http://sourcesmouth.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] Clojure support for org-babel
2009/11/6 Joel Boehland : > Hello, > I love org-mode and org-babel, and would like to be able to use > Clojure with them. I have put a first cut that supports Clojure, along > with a support test file up on github: > > http://github.com/jolby/org-babel-clojure > > I would like to be able to have this incorporated into org-mode, so > please let me know if I need to make any changes that will enable it > to be accepted. > > Thanks! > > Joel Woo hoo!!! I've been wanting this since I saw org-babel! Thanks a bunch... I'm looking forward to using it! R. ___ 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: Best way to implement Keywords feature
Paul Mead writes: > Matthew Lundin writes: > >> >> It will if you use brackets to perform a regexp match. E.g., >> >> Keyword={example1} >> >> (...assuming the property is "Keyword: example1 example2".) >> >> From the manual page above: >> >> , >> | * If the comparison value is enclosed in curly braces, a regexp match >> | is performed, with '=' meaning that the regexp matches the property >> | value, and '<>' meaning that it does not match. >> ` >> >> Best, >> Matt > > That's great, but what if I need to match *both* example1 and example2 > in a search? I tried a few things but didn't find anything that > works. > > Ideally, I'd be able to specify several keywords in a search on the > fly. > > (I'm sorry if there's a regexp that matches multiple keywords that I > don't know - it's a skill which I find keeps presenting surprises!) Perhaps some regexp expert will come along and show us the way, but, for now, you could search for entries that contain both keywords by entering the following tags/properties search: Keyword={example1}+Keyword={example2} Best, Matt ___ 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] problem including graphics
Hi all, I have a problem including dot generated graphics in my export. The code is #+begin_src dot :file ./test.pdf :cmdline -Tpdf digraph test { Hello -> World; }; #+end_src When I export to latex it turns into \hyperref[./test.pdf]{file:./test.pdf} However, then I tried this in a separate document (to make this small example) it works fine and exports to \includegraphics[width=10em]{./test.pdf} So now my question is why is the same code in different documents interpreted different? Both documents have the same #+OPTIONS settings. My working document is a large document, so perhaps there are other bits of my document that interfere, but they shouldn't, right? Thanks! Martin ___ 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] [OT] How do you keep your reference data?
Information that has no potential next action associated but that still has potential reference value and that you'd like to keep around, how and where do you keep it ? For that purpose I use an org file called ref.org with the following structure: --- begin of ref.org -*- mode: org -*- * 0 :REF0: * 1 :REF1: ... * A :REFA: * B :REFB: ... * Z :REFZ: --- end of ref.org The second-level headers are then the knowledge entries. To see the entries in the agenda I use the following custom: (setq org-agenda-custom-commands '( ... other entries ... ("r0" tags "+REF0" nil) ... ("ra" tags "+REFA" nil) ("rb" tags "+REFB" nil) ... ("rz" tags "+REFZ" nil))) Then I can use C-aC-cr, where C-aC-c is the agenda command in my system and LETTER is the letter (or digit) I want to see the entries for. It is not very sophisticated, but it works nicely for me :) -- Jose E. Marchesijema...@gnu.org GNU Project http://www.gnu.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
[Orgmode] BUG: org-annotation-helper.el uses caddr without requiring cl
org-annotation-helper.el uses caddr but does not require the cl package; this results in *ERROR*: Symbol's function definition is void: caddr when bzg/org-annotate-helper is invoked. ___ 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] How to write verbatim [0] ?
Hi Carsten, I'm using the 6.32b, but neither of the method work (=[0]= or ~[0]~), will this be in the next release? Thanks! Xin On Thu, Oct 29, 2009 at 4:23 AM, Carsten Dominik wrote: > > On Oct 28, 2009, at 8:55 PM, Xin Shi wrote: > > Hello Experts, >> >> Are there any way to write just a plain [0], instead of interpreting it as >> a footnote when publishing in to HTML? >> >> I've tried the ~[0]~, and ~[~0~]~, but not luck. >> > > I have finally fixed this, you can now write =[0]= or ~[0]~ > > - 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] Re: [OT] How do you keep your reference data?
Marcelo de Moraes Serpa writes: > Information that has no potential next action associated but that > still has potential reference value and that you'd like to keep > around, how and where do you keep it ? > > I usually check - if it is related to a project, I put it in this > project's wiki page (a simple .org ASCII file named after the project > under ~/org/wiki folder). If it's not, I try to find out if there's a > wiki page that I could fit it into, if not, I create a new file under > the wiki folder. > > I used to use tomboy, but I'm trying to move/center all my data to my > org folder. I still use Tomboy for quick notes (collection-phase) > though, but not for reference. > > I then have a simple function that searches (rgrep) through the whole > ~/org folder, so that whenever I want to check if I have something > about subject x, I just rgrep my PIM folder. > > ;;a little elisp func to rgrep through all my org directory > (defun org-rgrep (REGEXP1) "Searches through all my org/PIM files" > (interactive "sSearch PIM for: ") > (rgrep REGEXP1 "*.org" "/home/marcelo/org" )) > ;;bind the previous function to windows_key + o > (global-set-key [?\s-o] 'org-rgrep) > > Would you mind sharing how you do it? Hi Marcelo, I keep all my notes in .org files. Some of these are dedicated for reference documentation only and may be exported to other formats for consumption by others. A good example of this is my org-mode document at http://doc.norang.ca/org-mode.html. Reference material that does not end up in a dedicated document lives in an org file without a TODO keyword and with a tag of NOTE. Where it resides is solely based on content. If it's part of a project task it gets filed under the project somewhere. This is normally project-related notes that don't make sense to keep outside the project. If the project is archived using archive by subtree the notes go with it. If it's general information related to an org file I file it under a level 1 * Notes entry in the appropriate org file. If the org file is included in my org-agenda-files I can locate the notes easily with an agenda search. If I drop the file from org-agenda-files then the notes for that file are also dropped on agenda searches. The notes are forever available in the .org file. Finally as a last resort notes go as a level 2 entry in todo.org under the level 1 * Notes entry. HTH, 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
[Orgmode] Adding org files
I added this function to my org conf ;; We also want to check that this is actually in base directories (defun org-add-eventually() "Adding a file to org-agenda when saved, with" (interactive) (if (string= major-mode "org-mode") (org-agenda-file-to-front))) ;;TODO: Check if a file is contained in some subdirectories (add-hook 'before-save-hook 'org-add-eventually) Looks like it's working and it's really nice, but now I have something writing a very long list in my init.el (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(org-agenda-files (quote ("~/org/tobuy.org" "/Users/andrea/Documents/calzitex/documentazione/doc.org" "/U... Who is writing it? And by the way I was thinking exactly to a way to "pickle" the list every time I quit emacs. Given that I only add files with emacs when I restart it would be nice to just read the list instead of generating it. Is that sufficient to write a "(setq org-agenda-files "...") every time I save a new org-file or there are smarter ways (like pickling/marshalling for example)? Thanks ___ 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: Best way to implement Keywords feature
At Mon, 09 Nov 2009 07:27:19 -0500, Matthew Lundin wrote: > > Paul Mead writes: > > > Matthew Lundin writes: > > > >> > >> It will if you use brackets to perform a regexp match. E.g., > >> > >> Keyword={example1} > >> > >> (...assuming the property is "Keyword: example1 example2".) > >> > >> From the manual page above: > >> > >> , > >> | * If the comparison value is enclosed in curly braces, a regexp match > >> | is performed, with '=' meaning that the regexp matches the property > >> | value, and '<>' meaning that it does not match. > >> ` > >> > >> Best, > >> Matt > > > > That's great, but what if I need to match *both* example1 and example2 > > in a search? I tried a few things but didn't find anything that > > works. > > > > Ideally, I'd be able to specify several keywords in a search on the > > fly. > > > > (I'm sorry if there's a regexp that matches multiple keywords that I > > don't know - it's a skill which I find keeps presenting surprises!) > > Perhaps some regexp expert will come along and show us the way, but, for > now, you could search for entries that contain both keywords by entering > the following tags/properties search: > > Keyword={example1}+Keyword={example2} > > Best, > Matt > > > ___ > 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 I'd like to make a feature request on this. I like to include tags in a task with the name of a person the task is related to in order to find the task easily when the person wants to talk about it. I don't need to see these tags in the agenda view. I only need them for searching. This is the same problem discussed here and while Keyword={someone}+Keyword={someone else} may work, it is not as convenient as the usual tags. One idea implementing "hidden tags" that should work exactly as the normal tags for searching, but stored in a HIDDEN_TAGS property. To indicate that there are hidden tags a short tag could be added (similar to the ATTACH tag to indicate that there are attachments). If the user types "T" in the agenda view the hidden tags should be showed in addition to the regular ones. The manual says that accessing TODO, LEVEL, and CATEGORY is fast. Therefore, I understand that it is possible to access the HIDDEN_TAGS fast it it intended to, right? One example with such feature would be , | * TODO Some task :HIDDEN:RegularTag:AnotherOne: | :PROPERTIES: | :HIDDEN_TAGS: :AHiddenTag:AnotherHiddenTag: | :END: ` Maybe we should use a smaller tag (even a single single letter with a different face) instead of HIDDEN to indicate that there are hidden tags. At last, We need a way to tell org which tags should be hidden when specifying org-tag-persistent-alist. If the user inputs a tag that is not in org-tag-persistent-alist then maybe C-u C-c C-c could set it as a hidden tag and "realign all tags in the current buffer" changed to C-u C-u C-c C-c. Would this be hard to implement? - Darlan ___ 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] Best way to implement Keywords feature
Alan E. Davis wrote: > In some cases, a single headword entry can relate to a large number of > topics. I have tried dealing with longer tag lists: automatic > adjustment of tags column (on this list a little utility was posted: > org-adjust-tags-column-reset-tags. I THINK that a keyword list may > allow more freedom to cross-index, especially if it is easy to use. > > Can someone suggest a way to implement a keywording system, perhaps with > a custom agenda search? Or have others dealt with this issue in > innovative ways? > > I would appreciate any ideas. I still have the feeling that tags are the way to go. Searching etc. already works with tags. Their disadvantage seems to be that lines get cluttered if many tags are used. Maybe this can be solved with two approaches: * In agendas, one could have a filter for which tags to show / hide. This would be useful otherwise too, as it would allow to hide context tags in already defined agendas. org-agenda-hide-tags-regex For example, all my contexts start with "@", so I would set it to be "^...@work$" to hide redundant information in my work agendas, or use "^@" to remove all context information from a specific agenda. * For plain view, could we have a soft newline between tags and content for an item (like in long-lines-mode)? Tags would be shown on a new line (with indentation etc.) but would be stored on the same line in files? For example, the file content ("\" added by me, should be one long line): *** TODO test1 :keyword1:keyword2:keyword3:keyword4:keyword5: \ keyword6:keyword7:keyword8:keyword9:keyword10:keyword11: Is shown like this in org-mode: *** TODO test1 :keyword1:keyword2:keyword3:keyword4:keyword5:keyword6:keyword7: keyword8:keyword9:keyword10:keyword11: Cheers, Martin Pohlack ___ 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] BUG: org-annotation-helper.el uses caddr without requiring cl
Adam Spiers wrote: > org-annotation-helper.el uses caddr but does not require the cl > package; this results in > > *ERROR*: Symbol's function definition is void: caddr > > when bzg/org-annotate-helper is invoked. > > Isn't org-annotation-helper.el obsolete? I thought org-protocol.el has supplanted it completely, in which case it might be better to just delete it from the tree, instead of fixing it (or perhaps move it to a deprecated area) - that would also help in not confusing new users. Thanks, 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
[Orgmode] Org-mode version 6.32trans (release_6.32b.127.g471c2); Org-resolve keeps clock drawer folded
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I have a dangling clock entry in Weekly Review because I clocked it in, shut down emacs and updated to the tip of the master branch in the org-mode repository. When I start emacs and clock back in I get a dangle clock resolution message but the clock I'm about to edit is not shows. The CLOCK drawer is still folded and I can't easily see the entry that is about to be modified. I thought this behaviour was fixed recently but it seems to be back again. -Bernt Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-log-done 'time org-remember-default-headline "Tasks" org-clock-in-switch-to-state "STARTED" org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-show-siblings nil org-special-ctrl-a/e t org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) org-default-priority 71 org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil))) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) ("A" "Tasks to be Archived" tags "LEVEL=2/DONE|CANCELLED" nil)) org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" "~/git/org/mark.org" "~/git/org/org.org" "~/git/org/norang.org") org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -102 org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-export-with-sub-superscripts nil org-clock-into-drawer "CLOCK" org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) org-clock-out-when-done nil org-agenda-text-search-extra-files '(agenda-archives) org-agenda-todo-ignore-scheduled t org-clock-history-length 35 org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") org-show-hierarchy-above t org-time-stamp-rounding-minutes '(1 15) org-speed-commands-user '(("1" . delete-other-windows) ("2" . split-window-horizontally) ("3" . split-window-vertically)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) org-special-ctrl-k t org-remember-clock-out-on-exit nil org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-up) (todo priority-down) (tags priority-down)) org-deadline-warning-days 30 org-agenda-skip-scheduled-if-done t org-stuck-projects '("LEVEL=2-REFILE-WAITING|LEVEL=1+REFILE/!-DONE-CANCELLED-OPEN" nil ("NEXT") "") org-agenda-time-grid '(nil "" (800 1000 1200 1400 1600 1800 2000)) org-clock-in-resume t org-quote-string "FOOBAR" org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("crypt") org-tab-first-hook '(org-hide-block-toggle-maybe) outline-regexp "\\*+ " org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(bh/org-agenda-to-appt) org-confirm-shell-link-function 'yes-or-no-p org-table-
[Orgmode] Org-mode version 6.32trans (release_6.32b.127.g471c2); Resuming clocks no longer works
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. With the recent addition of org-resolve-clocks it seems the functionality for resuming open clocks when clocking in no longer works. Instead org-mode wants to close the dangling clock and clock it in again. There's nothing really wrong with that but I don't think org-clock-in-resume does anything useful anymore. -Bernt Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-log-done 'time org-remember-default-headline "Tasks" org-clock-in-switch-to-state "STARTED" org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-show-siblings nil org-special-ctrl-a/e t org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) org-default-priority 71 org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil))) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) ("A" "Tasks to be Archived" tags "LEVEL=2/DONE|CANCELLED" nil)) org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" "~/git/org/mark.org" "~/git/org/org.org" "~/git/org/norang.org") org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -102 org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-export-with-sub-superscripts nil org-clock-into-drawer "CLOCK" org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) org-clock-out-when-done nil org-agenda-text-search-extra-files '(agenda-archives) org-agenda-todo-ignore-scheduled t org-clock-history-length 35 org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") org-show-hierarchy-above t org-time-stamp-rounding-minutes '(1 15) org-speed-commands-user '(("1" . delete-other-windows) ("2" . split-window-horizontally) ("3" . split-window-vertically)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) org-special-ctrl-k t org-remember-clock-out-on-exit nil org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-up) (todo priority-down) (tags priority-down)) org-deadline-warning-days 30 org-agenda-skip-scheduled-if-done t org-stuck-projects '("LEVEL=2-REFILE-WAITING|LEVEL=1+REFILE/!-DONE-CANCELLED-OPEN" nil ("NEXT") "") org-agenda-time-grid '(nil "" (800 1000 1200 1400 1600 1800 2000)) org-clock-in-resume t org-quote-string "FOOBAR" org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("crypt") org-tab-first-hook '(org-hide-block-toggle-maybe) outline-regexp "\\*+ " org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(bh/org-agenda-to-appt) org-confirm-shell-link-function 'yes-or-no-p org-table-export-default-format "orgtbl-to-csv" org-clock-persist 'history org-clock-sound "/usr/local/lib/alert1.wav" org-todo-keywords '((sequence
[Orgmode] Org-mode version 6.32trans (release_6.32b.127.g471c2); Tasks with blank effort show up as 0:00
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. As part of my weekly review I look for NEXT tasks with no effort defined. A recent change to org-mode now displays entries with no Effort property as 0:00 in column view -- these used to be blank. This is less convenient for me since it's easy to miss tasks with no effort defined when they don't stand out in the list. It's really easy to scan the list of NEXT tasks in column view and see where there is a blank entry for estimate. It's not so obvious when the effort value is 0:00 and it's buried in the middle of other tasks with effort values. Scanning for blank effort NEXT tasks used to take about 10 seconds but now I have to carefully scrutinize the list to make sure I didn't miss any. -Bernt Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-log-done 'time org-remember-default-headline "Tasks" org-clock-in-switch-to-state "STARTED" org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-show-siblings nil org-special-ctrl-a/e t org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) org-default-priority 71 org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil))) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) ("A" "Tasks to be Archived" tags "LEVEL=2/DONE|CANCELLED" nil)) org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" "~/git/org/mark.org" "~/git/org/org.org" "~/git/org/norang.org") org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -102 org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-export-with-sub-superscripts nil org-clock-into-drawer "CLOCK" org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) org-clock-out-when-done nil org-agenda-text-search-extra-files '(agenda-archives) org-agenda-todo-ignore-scheduled t org-clock-history-length 35 org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") org-show-hierarchy-above t org-time-stamp-rounding-minutes '(1 15) org-speed-commands-user '(("1" . delete-other-windows) ("2" . split-window-horizontally) ("3" . split-window-vertically)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) org-special-ctrl-k t org-remember-clock-out-on-exit nil org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-up) (todo priority-down) (tags priority-down)) org-deadline-warning-days 30 org-agenda-skip-scheduled-if-done t org-stuck-projects '("LEVEL=2-REFILE-WAITING|LEVEL=1+REFILE/!-DONE-CANCELLED-OPEN" nil ("NEXT") "") org-agenda-time-grid '(nil "" (800 1000 1200 1400 1600 1800 2000)) org-clock-in-resume t org-quote-string "FOOBAR" org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("crypt"
[Orgmode] Org-mode version 6.32trans (release_6.32b.127.g471c2); HTML export produces incorrect content
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I updated the content of my org-mode document at http://doc.norang.ca/org-mode.html this weekend and exported the new commits using the tip of master this morning. The resulting document is wrong. The section on FILETAGS http://doc.norang.ca/org-mode.html#sec-9.2 includes the #+begin_src emacs-lisp block before it instead of the correct output. Using org-mode release_6.30 this exports correctly so something changed recently. Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-log-done 'time org-remember-default-headline "Tasks" org-clock-in-switch-to-state "STARTED" org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-show-siblings nil org-special-ctrl-a/e t org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) org-default-priority 71 org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil))) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) ("A" "Tasks to be Archived" tags "LEVEL=2/DONE|CANCELLED" nil)) org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" "~/git/org/mark.org" "~/git/org/org.org" "~/git/org/norang.org") org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -102 org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-export-with-sub-superscripts nil org-clock-into-drawer "CLOCK" org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) org-clock-out-when-done nil org-agenda-text-search-extra-files '(agenda-archives) org-agenda-todo-ignore-scheduled t org-clock-history-length 35 org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") org-show-hierarchy-above t org-time-stamp-rounding-minutes '(1 15) org-speed-commands-user '(("1" . delete-other-windows) ("2" . split-window-horizontally) ("3" . split-window-vertically)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) org-special-ctrl-k t org-remember-clock-out-on-exit nil org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-up) (todo priority-down) (tags priority-down)) org-deadline-warning-days 30 org-agenda-skip-scheduled-if-done t org-stuck-projects '("LEVEL=2-REFILE-WAITING|LEVEL=1+REFILE/!-DONE-CANCELLED-OPEN" nil ("NEXT") "") org-agenda-time-grid '(nil "" (800 1000 1200 1400 1600 1800 2000)) org-clock-in-resume t org-quote-string "FOOBAR" org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("crypt") org-tab-first-hook '(org-hide-block-toggle-maybe) outline-regexp "\\*+ " org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(bh/org-agenda-to-appt) org-confirm-shell-link-function 'yes-or-no-p org-table-export-default-format "orgtbl-to-cs
[Orgmode] Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking in with an open clock fails
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. If there is an open clocking task and you move to another task and try to clock that in org-mode used to close out the clocking task, and clock in the new task. This no longer works. Now it closes out the clocking task and clocks it right back in again. Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-log-done 'time org-remember-default-headline "Tasks" org-clock-in-switch-to-state "STARTED" org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-show-siblings nil org-special-ctrl-a/e t org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) org-default-priority 71 org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil))) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) ("A" "Tasks to be Archived" tags "LEVEL=2/DONE|CANCELLED" nil)) org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" "~/git/org/mark.org" "~/git/org/org.org" "~/git/org/norang.org") org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -102 org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-export-with-sub-superscripts nil org-clock-into-drawer "CLOCK" org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) org-clock-out-when-done nil org-agenda-text-search-extra-files '(agenda-archives) org-agenda-todo-ignore-scheduled t org-clock-history-length 35 org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") org-show-hierarchy-above t org-time-stamp-rounding-minutes '(1 15) org-speed-commands-user '(("1" . delete-other-windows) ("2" . split-window-horizontally) ("3" . split-window-vertically)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) org-special-ctrl-k t org-remember-clock-out-on-exit nil org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-up) (todo priority-down) (tags priority-down)) org-deadline-warning-days 30 org-agenda-skip-scheduled-if-done t org-stuck-projects '("LEVEL=2-REFILE-WAITING|LEVEL=1+REFILE/!-DONE-CANCELLED-OPEN" nil ("NEXT") "") org-agenda-time-grid '(nil "" (800 1000 1200 1400 1600 1800 2000)) org-clock-in-resume t org-quote-string "FOOBAR" org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("crypt") org-tab-first-hook '(org-hide-block-toggle-maybe) outline-regexp "\\*+ " org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(bh/org-agenda-to-appt) org-confirm-shell-link-function 'yes-or-no-p org-table-export-default-format "orgtbl-to-csv" org-clock-persist 'history org-clock-sound "/usr/local/lib/alert1.wav" org-todo-keywords '((sequence "TODO(t!)" "STARTED(s!)" "|" "DONE(d!/!)") (sequence "WAITING(w@/!)
Re: [Orgmode][babel] noweb does not work (as expected)
Hi Torsten, Torsten Wagner writes: <...> > Could you please tell me which of the branches in the babel-git includes the > best working version for noweb usage. Important: The only version of org-babel that's intended for users is the version in current org-mode. I.e. the current master branch of Carsten's org-mode repository. The other repository (the babel repo) is for development only. Any stable improvements in there are rapidly merged into Carsten's repo. > I got a bit confused with all this branches. > Maybe I do something wrong during the installation from git. I actually only > run standard make; make install; Personally I don't bother with make or make install when switching between git branches. I just load straight from the .el files. But like I said, unless you're making changes to the code, just use the main org-mode git branch in whatever way you normally would. > and I set a symlink of the contrib folder into my .emacs.d from where emacs > will find the babel files. Actually I'm wondering why the contribs are not > copied by make into the elisp-path. > > Furthermore, I noticed that babel-git uses a complete org-mode branch for the > development of org-babel. Is this to keep org-mode freezed and to control > merging with the main org-mode developments? > I once read about git submodules [1]. Maybe this is interesting for org-babel. Disclaimer: I only started using git submodules last night. I think the main point is that the current set up means that org-mode and org-babel share a common history of commits. My current idea of git submodules is that I would include something as a submodule when it is a module that gets used by multiple different projects, and so doesn't 'belong' to any project in particular. But org-babel belongs to org-mode and has no independent existence and I think it makes sense for it to be developed in an org-mode repo. But away from org-mode, git submodules look really cool -- they seem to be exactly what I was looking for to organize projects which share some code in common. Dan > > Thanks again for help > > Torsten > > [1] http://book.git-scm.com/5_submodules.html > > > ___ > 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-mode version 6.32trans (release_6.32b.127.g471c2); Follow mode doesn't work in column view
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I'm not sure if this ever worked but I think it did. I run an agenda of NEXT tasks, start column view to find tasks with no effort defined, and use follow mode to find the task with parent heading context. SPC in column view works but follow mode used to do this automagically. -Bernt Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-log-done 'time org-remember-default-headline "Tasks" org-clock-in-switch-to-state "STARTED" org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-show-siblings nil org-special-ctrl-a/e t org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) org-default-priority 71 org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil))) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) ("A" "Tasks to be Archived" tags "LEVEL=2/DONE|CANCELLED" nil)) org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" "~/git/org/mark.org" "~/git/org/org.org" "~/git/org/norang.org") org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -102 org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-export-with-sub-superscripts nil org-clock-into-drawer "CLOCK" org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) org-clock-out-when-done nil org-agenda-text-search-extra-files '(agenda-archives) org-agenda-todo-ignore-scheduled t org-clock-history-length 35 org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") org-show-hierarchy-above t org-time-stamp-rounding-minutes '(1 15) org-speed-commands-user '(("1" . delete-other-windows) ("2" . split-window-horizontally) ("3" . split-window-vertically)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) org-special-ctrl-k t org-remember-clock-out-on-exit nil org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-up) (todo priority-down) (tags priority-down)) org-deadline-warning-days 30 org-agenda-skip-scheduled-if-done t org-stuck-projects '("LEVEL=2-REFILE-WAITING|LEVEL=1+REFILE/!-DONE-CANCELLED-OPEN" nil ("NEXT") "") org-agenda-time-grid '(nil "" (800 1000 1200 1400 1600 1800 2000)) org-clock-in-resume t org-quote-string "FOOBAR" org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("crypt") org-tab-first-hook '(org-hide-block-toggle-maybe) outline-regexp "\\*+ " org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-finalize-agenda-hook '(bh/org-agenda-to-appt) org-confirm-shell-link-function 'yes-or-no-p org-table-export-default-format "orgtbl-to-csv" org-clock-persist 'history org-clock-sound "/usr/local/lib/alert1.wav" org-todo-keywords '((sequence "TODO(t!)" "STARTED(s!)" "|" "DONE(d
[Orgmode] Re: [OT] How do you keep your reference data?
Hi Bernt, I liked your self-contained approach, and I will try implementing it in my workflow. Org does not stop amazing me on how flexible it is :) However, the value of having a wiki is also great IMO. It has a workflow similar to tomboy (each new org file acts as a new tomboy note) I don't have to think too much when creating a wiki page (just type TheNameOfTheSubject.org, save it and begin typing, they are in a central location (a wiki folder) and they are a great place to register knowledge data. I don't know, that might be because I used WikiDPad for a long time on my Windows days and loved its approach (Two things that org lacks as a wiki-system, which is a way to view the wiki in a tree format and automatically create links based on files in the filesystem or camelcase. Not big deal features, but something that could be contributed as a org extension - I would do it if I had the elisp knowledge to do so :)) Regards, Marcelo. On Mon, Nov 9, 2009 at 8:09 AM, Bernt Hansen wrote: > Marcelo de Moraes Serpa writes: > > > Information that has no potential next action associated but that > > still has potential reference value and that you'd like to keep > > around, how and where do you keep it ? > > > > I usually check - if it is related to a project, I put it in this > > project's wiki page (a simple .org ASCII file named after the project > > under ~/org/wiki folder). If it's not, I try to find out if there's a > > wiki page that I could fit it into, if not, I create a new file under > > the wiki folder. > > > > I used to use tomboy, but I'm trying to move/center all my data to my > > org folder. I still use Tomboy for quick notes (collection-phase) > > though, but not for reference. > > > > I then have a simple function that searches (rgrep) through the whole > > ~/org folder, so that whenever I want to check if I have something > > about subject x, I just rgrep my PIM folder. > > > > ;;a little elisp func to rgrep through all my org directory > > (defun org-rgrep (REGEXP1) "Searches through all my org/PIM files" > (interactive "sSearch PIM for: ") > > (rgrep REGEXP1 "*.org" "/home/marcelo/org" )) > > ;;bind the previous function to windows_key + o > > (global-set-key [?\s-o] 'org-rgrep) > > > > Would you mind sharing how you do it? > > Hi Marcelo, > > I keep all my notes in .org files. Some of these are dedicated for > reference documentation only and may be exported to other formats for > consumption by others. A good example of this is my org-mode document > at http://doc.norang.ca/org-mode.html. > > Reference material that does not end up in a dedicated document lives in > an org file without a TODO keyword and with a tag of NOTE. Where it > resides is solely based on content. > > If it's part of a project task it gets filed under the project > somewhere. This is normally project-related notes that don't make sense > to keep outside the project. If the project is archived using archive > by subtree the notes go with it. > > If it's general information related to an org file I file it under a > level 1 * Notes entry in the appropriate org file. If the org file is > included in my org-agenda-files I can locate the notes easily with an > agenda search. If I drop the file from org-agenda-files then the notes > for that file are also dropped on agenda searches. The notes are > forever available in the .org file. > > Finally as a last resort notes go as a level 2 entry in todo.org under > the level 1 * Notes entry. > > HTH, > 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
[Orgmode] Re: [OT] How do you keep your reference data?
@Jemarch: I don't like having a big text file for reference, I have tried it before and the file got so big that emacs started having troubles rendering it. At that time, however, I was using a previous version of emacs and org, and I probably didn't compiled org, so, the rendering problems might just have been a isolated issue. Thanks for sharing your experiences, Marcelo. On Mon, Nov 9, 2009 at 10:08 AM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > Hi Bernt, > > I liked your self-contained approach, and I will try implementing it in my > workflow. Org does not stop amazing me on how flexible it is :) > > However, the value of having a wiki is also great IMO. It has a workflow > similar to tomboy (each new org file acts as a new tomboy note) I don't have > to think too much when creating a wiki page (just type > TheNameOfTheSubject.org, save it and begin typing, they are in a central > location (a wiki folder) and they are a great place to register knowledge > data. > > I don't know, that might be because I used WikiDPad for a long time on my > Windows days and loved its approach (Two things that org lacks as a > wiki-system, which is a way to view the wiki in a tree format and > automatically create links based on files in the filesystem or camelcase. > Not big deal features, but something that could be contributed as a org > extension - I would do it if I had the elisp knowledge to do so :)) > > Regards, > > Marcelo. > > > On Mon, Nov 9, 2009 at 8:09 AM, Bernt Hansen wrote: > >> Marcelo de Moraes Serpa writes: >> >> > Information that has no potential next action associated but that >> > still has potential reference value and that you'd like to keep >> > around, how and where do you keep it ? >> > >> > I usually check - if it is related to a project, I put it in this >> > project's wiki page (a simple .org ASCII file named after the project >> > under ~/org/wiki folder). If it's not, I try to find out if there's a >> > wiki page that I could fit it into, if not, I create a new file under >> > the wiki folder. >> > >> > I used to use tomboy, but I'm trying to move/center all my data to my >> > org folder. I still use Tomboy for quick notes (collection-phase) >> > though, but not for reference. >> > >> > I then have a simple function that searches (rgrep) through the whole >> > ~/org folder, so that whenever I want to check if I have something >> > about subject x, I just rgrep my PIM folder. >> > >> > ;;a little elisp func to rgrep through all my org directory >> > (defun org-rgrep (REGEXP1) "Searches through all my org/PIM files" >> (interactive "sSearch PIM for: ") >> > (rgrep REGEXP1 "*.org" "/home/marcelo/org" )) >> > ;;bind the previous function to windows_key + o >> > (global-set-key [?\s-o] 'org-rgrep) >> > >> > Would you mind sharing how you do it? >> >> Hi Marcelo, >> >> I keep all my notes in .org files. Some of these are dedicated for >> reference documentation only and may be exported to other formats for >> consumption by others. A good example of this is my org-mode document >> at http://doc.norang.ca/org-mode.html. >> >> Reference material that does not end up in a dedicated document lives in >> an org file without a TODO keyword and with a tag of NOTE. Where it >> resides is solely based on content. >> >> If it's part of a project task it gets filed under the project >> somewhere. This is normally project-related notes that don't make sense >> to keep outside the project. If the project is archived using archive >> by subtree the notes go with it. >> >> If it's general information related to an org file I file it under a >> level 1 * Notes entry in the appropriate org file. If the org file is >> included in my org-agenda-files I can locate the notes easily with an >> agenda search. If I drop the file from org-agenda-files then the notes >> for that file are also dropped on agenda searches. The notes are >> forever available in the .org file. >> >> Finally as a last resort notes go as a level 2 entry in todo.org under >> the level 1 * Notes entry. >> >> HTH, >> 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
[Orgmode] Re: [OT] How do you keep your reference data?
Marcelo de Moraes Serpa writes: > I liked your self-contained approach, and I will try implementing it > in my workflow. Org does not stop amazing me on how flexible it is :) > > However, the value of having a wiki is also great IMO. It has a > workflow similar to tomboy (each new org file acts as a new tomboy > note) I don't have to think too much when creating a wiki page (just > type TheNameOfTheSubject.org, save it and begin typing, they are in a > central location (a wiki folder) and they are a great place to > register knowledge data. > > I don't know, that might be because I used WikiDPad for a long time on > my Windows days and loved its approach (Two things that org lacks as a > wiki-system, which is a way to view the wiki in a tree format and > automatically create links based on files in the filesystem or > camelcase. Not big deal features, but something that could be > contributed as a org extension - I would do it if I had the elisp > knowledge to do so :)) I used to use a wiki ... but I personally prefer the org->HTML export sequence to a wiki. All of my documents are available in org-mode source. I don't have the need to have multiple users edit the same source (which is the whole point of a wiki IMO). Wiki's have other issues if they are world editable - like spam bots and other things which I just didn't want to deal with. I found the org-mode format with export at least as powerful as the wiki's I've used. If you community of people working on the same content where some of them don't use org-mode then a wiki probably makes sense. I just don't need it for my workflow. -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
[Orgmode] org version from git
I use the development version from git. Since some time org-version shows Org-mode version 6.31a Though I pulled constantly... -- http://literaturlatenight.de ___ 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][babel] noweb does not work (as expected)
On Nov 8, 2009, at 9:38 PM, Torsten Wagner wrote: Hi Tom, If I try to use the noweb way, I always got error messages which tells me that org-babel can not read the result correctly #+srcname: r-load-libraries #+begin_src R library(RMySQL) library(reshape) library(xtable) #+end_src As I see you do not use any special header here which means results is set to value, right? However, there is no special return line to org-babel either. In my understanding and according to my error messages library(xtable) would be evaluated as the result of this block... However this results in error messages at least for python. Which org-babel version due you use (which branch)? Maybe you or someone else can bring some more light into this :results topic. I somehow miss the option :results none to avoid any results which should be useful if the source code block is just a piece of a bigger arrangement. For literate programming and RR it might be essential to spread blocks over the file which will be tangled together (by tangle or a noweb block). However not all need provide a result but just need to run in the same session. Maybe just the last block of such an arrangement will come up with a result suitable for org-babel. Actually I prefer the idea of :noweb instead of tangle, which seems to me more flexible and faster. Just need to get it running Thanks Torsten Hi Torsten, It's not clear to me what outcome you desire. Tangling should result in a source file that can serve as input to a compiler or interpreter. The combination of :noweb and :session lets you write literate programs that are sent directly to an interpreter, which presumably creates some useful output along the way (my example makes some graphs after a lot of data reshaping), but might be used just to set up an environment in the interpreter, which then can be manipulated directly in the session buffer. I presumed that your reference to makefile meant that you were heading for the :noweb, :session route. I find this useful because I can query the state of variables in the session and put the results in a LaTeX source block. Of course, the same thing would be possible to insert the results into the org file. I'm using the version of org-babel that comes with org-mode version 6.32trans. I think I last updated about a week ago. I'm not competent to work at the bleeding edge. Besides that, I find the org- babel distributed with org-mode to be mature for such a young piece of software, and it does pretty much everything I ask it to do. HTH, Tom ___ 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 version from git
henry atting writes: > I use the development version from git. > Since some time org-version shows > > Org-mode version 6.31a > > Though I pulled constantly... Mine shows Org-mode version 6.32trans (release_6.32b.127.g471c2) Are you using old compiled versions instead of your recently pulled source maybe? -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
[babel] Re: [Orgmode] problem including graphics
"Martin G. Skjæveland" writes: > Hi all, > > I have a problem including dot generated graphics in my export. > > The code is > > #+begin_src dot :file ./test.pdf :cmdline -Tpdf > digraph test { > Hello -> World; > }; > #+end_src Hi Martin and all, Please note that if you have org-babel activated, then exporting any #+begin_src XXX block will make use of org-babel, and therefore that any problems may be org-babel problems (and therefore that a [babel] subject tag may be appropriate.) I think it's reasonable to treat this as a [babel] thread for now. Having said that, I'm not knowledgable enough about the export mechanics to have come up with any good suggestions here. Could you cut down your large file until you find a reasonably small version that still shows the problem, and then post that? Fwiw: Org-babel should have inserted [[file:./test.pdf]] which should export to \includegraphics[width=10em]{./test.pdf} I can get something similar to the \hyperref by using a named link [[file:./test.pdf][./test.pdf]] which exports to \href{file:///tmp/test.pdf}{./test.pdf} (I don't know what the difference is between href and hyperref nor what determines which is used.) Dan > > When I export to latex it turns into > > \hyperref[./test.pdf]{file:./test.pdf} > > However, then I tried this in a separate document (to make this small > example) it works fine and exports to > > \includegraphics[width=10em]{./test.pdf} > > So now my question is why is the same code in different documents > interpreted different? Both documents have the same #+OPTIONS > settings. My working document is a large document, so perhaps there > are other bits of my document that interfere, but they shouldn't, > right? > > Thanks! > Martin > > > ___ > 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: [OT] How do you keep your reference data?
In the end, what matters is having the date you need. I think that, we are so used to the document-per-file concept that we often forget that, in the end, it's all bytes. Let me elaborate. Having one big file for reference, that is well tagged can be more efficient and simpler than having several files (maybe one subject per file, the way I'm doing, like a wiki) and integrates better with the way org works. In the end, what matters is finding the data you want, and if you tag it well, it's easier. In my wiki-like-approach, I don't have any tags, I rely on rgrep to find relevant words, which works fine, but is not as good in the organizational sense than correctly tagging a entry and finding by tag (css,html,rails,etc). Let's say I have a new CSS hack that I just found out, and I'd like to take note of it in a place where I could easily find it again whenever I need. My current workflow when I have something to keep as a reference (long-term note) is this: - list wiki pages/remember a relevant wiki "page" - go to this wiki page or create another one - In this case, the page would be ~/org/wiki/CSS.og - create a top-level heading about the specific note and paste it below. Optionally tag the heading (I haven't been doing this). With you approach, I could just use remember, and by tagging it with CSS:HACK:, quicker to input, quicker to find it again (search by tag in the agenda). However, something in my mind still prefers keeping files in a directory, each for a subject. It seems cleaner. Seems like a paradigm to break :) Thanks, Marcelo. On Mon, Nov 9, 2009 at 10:13 AM, Bernt Hansen wrote: > Marcelo de Moraes Serpa writes: > > > I liked your self-contained approach, and I will try implementing it > > in my workflow. Org does not stop amazing me on how flexible it is :) > > > > However, the value of having a wiki is also great IMO. It has a > > workflow similar to tomboy (each new org file acts as a new tomboy > > note) I don't have to think too much when creating a wiki page (just > > type TheNameOfTheSubject.org, save it and begin typing, they are in a > > central location (a wiki folder) and they are a great place to > > register knowledge data. > > > > I don't know, that might be because I used WikiDPad for a long time on > > my Windows days and loved its approach (Two things that org lacks as a > > wiki-system, which is a way to view the wiki in a tree format and > > automatically create links based on files in the filesystem or > > camelcase. Not big deal features, but something that could be > > contributed as a org extension - I would do it if I had the elisp > > knowledge to do so :)) > > I used to use a wiki ... but I personally prefer the org->HTML export > sequence to a wiki. All of my documents are available in org-mode > source. > > I don't have the need to have multiple users edit the same source (which > is the whole point of a wiki IMO). Wiki's have other issues if they are > world editable - like spam bots and other things which I just didn't > want to deal with. > > I found the org-mode format with export at least as powerful as the > wiki's I've used. If you community of people working on the same > content where some of them don't use org-mode then a wiki probably makes > sense. > > I just don't need it for my workflow. > > -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
[Orgmode] Re: [OT] How do you keep your reference data?
quick correction, in the first paragraph: "... what matters is having the *data* you need..." - when you need it :) Marcelo. On Mon, Nov 9, 2009 at 10:50 AM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > In the end, what matters is having the date you need. I think that, we are > so used to the document-per-file concept that we often forget that, in the > end, it's all bytes. > > Let me elaborate. Having one big file for reference, that is well tagged > can be more efficient and simpler than having several files (maybe one > subject per file, the way I'm doing, like a wiki) and integrates better with > the way org works. > > In the end, what matters is finding the data you want, and if you tag it > well, it's easier. In my wiki-like-approach, I don't have any tags, I rely > on rgrep to find relevant words, which works fine, but is not as good in the > organizational sense than correctly tagging a entry and finding by tag > (css,html,rails,etc). > > Let's say I have a new CSS hack that I just found out, and I'd like to take > note of it in a place where I could easily find it again whenever I need. > > My current workflow when I have something to keep as a reference (long-term > note) is this: > - list wiki pages/remember a relevant wiki "page" > - go to this wiki page or create another one - In this case, the page would > be ~/org/wiki/CSS.og > - create a top-level heading about the specific note and paste it below. > Optionally tag the heading (I haven't been doing this). > > With you approach, I could just use remember, and by tagging it with > CSS:HACK:, quicker to input, quicker to find it again (search by tag in the > agenda). > > However, something in my mind still prefers keeping files in a directory, > each for a subject. It seems cleaner. Seems like a paradigm to break :) > > Thanks, > > Marcelo. > > > > > On Mon, Nov 9, 2009 at 10:13 AM, Bernt Hansen wrote: > >> Marcelo de Moraes Serpa writes: >> >> > I liked your self-contained approach, and I will try implementing it >> > in my workflow. Org does not stop amazing me on how flexible it is :) >> > >> > However, the value of having a wiki is also great IMO. It has a >> > workflow similar to tomboy (each new org file acts as a new tomboy >> > note) I don't have to think too much when creating a wiki page (just >> > type TheNameOfTheSubject.org, save it and begin typing, they are in a >> > central location (a wiki folder) and they are a great place to >> > register knowledge data. >> > >> > I don't know, that might be because I used WikiDPad for a long time on >> > my Windows days and loved its approach (Two things that org lacks as a >> > wiki-system, which is a way to view the wiki in a tree format and >> > automatically create links based on files in the filesystem or >> > camelcase. Not big deal features, but something that could be >> > contributed as a org extension - I would do it if I had the elisp >> > knowledge to do so :)) >> >> I used to use a wiki ... but I personally prefer the org->HTML export >> sequence to a wiki. All of my documents are available in org-mode >> source. >> >> I don't have the need to have multiple users edit the same source (which >> is the whole point of a wiki IMO). Wiki's have other issues if they are >> world editable - like spam bots and other things which I just didn't >> want to deal with. >> >> I found the org-mode format with export at least as powerful as the >> wiki's I've used. If you community of people working on the same >> content where some of them don't use org-mode then a wiki probably makes >> sense. >> >> I just don't need it for my workflow. >> >> -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] Org-mode version 6.32trans (release_6.32b.127.g471c2); HTML export produces incorrect content
Bernt Hansen writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > > > I updated the content of my org-mode document at > http://doc.norang.ca/org-mode.html this weekend and exported the new > commits using the tip of master this morning. > > The resulting document is wrong. The section on FILETAGS > http://doc.norang.ca/org-mode.html#sec-9.2 includes the #+begin_src > emacs-lisp block before it instead of the correct output. Using > org-mode release_6.30 this exports correctly so something changed > recently. Hi Bernt, I notice that you have org-babel activated, and I believe this is an org-babel bug. Even when just exporting code, if babel is active then exp-blocks passes src blocks to babel. I realise that we therefore have a responsibility to be in good shape; I'll try to sort it out. I just tried exporting the relevant fragment of your document with babel taken out of org-export-blocks and it seemed OK. I feel that I have noticed a similar thing on Worg. Could someone tell me whether the Worg-exporting emacs process currently has babel activated? Thanks, Dan > > Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) > of 2008-11-09 on raven, modified by Debian > Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) > > current state: > == > (setq > org-export-html-final-hook '(org-inlinetask-remove-terminator) > org-log-done 'time > org-remember-default-headline "Tasks" > org-clock-in-switch-to-state "STARTED" > org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" > :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight > bold) ("WAITING" :foreground "orange" :weight bold) > ("SOMEDAY" :foreground "magenta" :weight bold) > ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground > "red" :weight bold) > ("QUOTED" :foreground "magenta" :weight bold) > ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground > "forest green" :weight bold) > ("REJECTED" :foreground "forest green" :weight bold) > ("OPEN" :foreground "blue" :weight bold)) > org-show-siblings nil > org-special-ctrl-a/e t > org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) > org-default-priority 71 > org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" > ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines > nil) (org-agenda-todo-ignore-with-date nil))) > ("w" "Tasks waiting on something" tags > "WAITING/!" ((org-use-tag-inheritance nil))) > ("r" "Refile New Notes and Tasks" tags > "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags > "NOTE" nil) > ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) > ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) > ("A" "Tasks to be Archived" tags > "LEVEL=2/DONE|CANCELLED" nil)) > org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" > "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" > "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" > "~/git/org/mark.org" "~/git/org/org.org" > "~/git/org/norang.org") > org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) > org-agenda-tags-column -102 > org-export-ascii-final-hook '(org-inlinetask-remove-terminator) > org-export-with-sub-superscripts nil > org-clock-into-drawer "CLOCK" > org-checklist-export-function 'org-export-as-ascii > org-completion-use-ido t > org-metaup-hook '(org-babel-load-in-session-maybe) > org-agenda-skip-timestamp-if-done t > org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) > org-clock-out-when-done nil > org-agenda-text-search-extra-files '(agenda-archives) > org-agenda-todo-ignore-scheduled t > org-clock-history-length 35 > org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") > org-show-hierarchy-above t > org-time-stamp-rounding-minutes '(1 15) > org-speed-commands-user '(("1" . delete-other-windows) ("2" . > split-window-horizontally) ("3" . split-window-vertically)) > org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" > ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") > ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) > ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) > org-special-ctrl-k t > org-remember-clock-out-on-exit nil > org-agenda-sorting-strategy '((agenda habit-down time-up priority-down > effort-
[Orgmode] Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking out moves point to clock entry
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Clocking out of a task moves point to the clock entry being closed. This makes my workaround for clocking in a new task (just use a speed key O to clock out and I to clock in) fail since we jump away from the task that I want to clock in. Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-log-done 'time org-remember-default-headline "Tasks" org-clock-in-switch-to-state "STARTED" org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-show-siblings nil org-special-ctrl-a/e t org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 2) org-default-priority 71 org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil)) ) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2-NEXT-WAITING-CANCELLED/!-DONE" nil) ("A" "Tasks to be Archived" tags "LEVEL=2/DONE|CANCELLED" nil)) org-agenda-files '("~/git/bzflag/bzflag-website/TODO.org" "~/git/org/bzflag.org" "~/git/org/git.org" "~/git/org/todo.org" "~/git/org/jobs.org" "~/git/org/refile.org" "~/git/org/farm.org" "~/git/org/mark.org" "~/git/org/org.org" "~/git/org/norang.org") org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -102 org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-export-with-sub-superscripts nil org-clock-into-drawer "CLOCK" org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current) org-clock-out-when-done nil org-agenda-text-search-extra-files '(agenda-archives) org-agenda-todo-ignore-scheduled t org-clock-history-length 35 org-babel-interpreters '("ditaa" "python" "ruby" "R" "sh" "emacs-lisp") org-show-hierarchy-above t org-time-stamp-rounding-minutes '(1 15) org-speed-commands-user '(("1" . delete-other-windows) ("2" . split-window-horizontally) ("3" . split-window-vertically)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED") ("NEXT")) ("DONE" ("WAITING") ("CANCELLED") ("NEXT"))) org-special-ctrl-k t org-remember-clock-out-on-exit nil org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-up) (todo priority-down) (tags priority-down)) org-deadline-warning-days 30 org-agenda-skip-scheduled-if-done t org-stuck-projects '("LEVEL=2-REFILE-WAITING|LEVEL=1+REFILE/!-DONE-CANCELLED-OPEN" nil ("NEXT") "") org-agenda-time-grid '(nil "" (800 1000 1200 1400 1600 1800 2000)) org-clock-in-re
Re: [Orgmode] Org-mode version 6.32trans (release_6.32b.127.g471c2); HTML export produces incorrect content
Dan Davison writes: > Bernt Hansen writes: > >> Remember to cover the basics, that is, what you expected to happen and >> what in fact did happen. You don't know how to make a good report? See >> >> http://orgmode.org/manual/Feedback.html#Feedback >> >> Your bug report will be posted to the Org-mode mailing list. >> >> >> I updated the content of my org-mode document at >> http://doc.norang.ca/org-mode.html this weekend and exported the new >> commits using the tip of master this morning. >> >> The resulting document is wrong. The section on FILETAGS >> http://doc.norang.ca/org-mode.html#sec-9.2 includes the #+begin_src >> emacs-lisp block before it instead of the correct output. Using >> org-mode release_6.30 this exports correctly so something changed >> recently. > > Hi Bernt, > > I notice that you have org-babel activated, and I believe this is an > org-babel bug. Even when just exporting code, if babel is active then > exp-blocks passes src blocks to babel. I realise that we therefore have > a responsibility to be in good shape; I'll try to sort it out. I just > tried exporting the relevant fragment of your document with babel taken > out of org-export-blocks and it seemed OK. > > I feel that I have noticed a similar thing on Worg. Could someone tell > me whether the Worg-exporting emacs process currently has babel > activated? Thanks Dan. I have org-babel enabled just to play with it - I'm not actually using org-babel for anything yet. I commented out my org-babel settings in my ~/.emacs and as far as I can tell my org-mode-doc now exports correctly. Let me know when you think you have a fix and I'll reenable the org-babel settings and redo the export to test it. Regards, 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
[Orgmode] Re: Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking out moves point to clock entry
Bernt Hansen writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > > > Clocking out of a task moves point to the clock entry being closed. > This makes my workaround for clocking in a new task (just use a speed > key O to clock out and I to clock in) fail since we jump away from the > task that I want to clock in. > > Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) > of 2008-11-09 on raven, modified by Debian > Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) Reverting this commit seems to fix it 7c0a16e (Use with-current-buffer instead of save-excursion set-buffer where possible, 2009-11-05) -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
[Orgmode] Re: Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking in with an open clock fails
Bernt Hansen writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > > > If there is an open clocking task and you move to another task and try > to clock that in org-mode used to close out the clocking task, and > clock in the new task. > > This no longer works. Now it closes out the clocking task and clocks > it right back in again. > > > Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) > of 2008-11-09 on raven, modified by Debian > Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) Reverting this commit seems to fix it 7c0a16e (Use with-current-buffer instead of save-excursion set-buffer where possible, 2009-11-05) -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
[Orgmode] Org to pdf using HTMLdoc
Aloha, Lately I have been using HTMLdoc for creating .pdf documents from my org-files (first exported to HTML). It works nicely and it means that I do not have to install a whole TeX-package on my Eee PC... I wonder if there is anyone else on this list using HTMLdoc? To use it: - Export foo.org to foo.html - Remove all ... lines from foo.html (HTMLdoc does not like them) - Run HTMLdoc, for example: htmldoc --webpage -t pdf12 --size A4 --color --bodycolor "white" --textcolor "black" --bodyfont Courier --textfont Courier --headingfont Courier --headfootfont Courier --no-title --charset iso-8859-15 --compression=9 --fontsize 12 --footer "..." --header "..." --jpeg=45 --links --linkstyle plain --linkcolor "blue" --no-embedfonts --no-toc --pagelayout single --pagemode document --portrait -f foo.pdf foo.html See also: HTMLdoc http://www.htmldoc.org/software.php HTMLdoc Ubuntu http://packages.ubuntu.com/en/hardy/htmldoc HTMLdoc windows http://www.newluna.com/index.php?option=com_content&task=view&id=12 Ciao, Renzo ___ 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: Best way to implement Keywords feature
Matthew Lundin writes: > > Perhaps some regexp expert will come along and show us the way, but, for > now, you could search for entries that contain both keywords by entering > the following tags/properties search: > > Keyword={example1}+Keyword={example2} > > Best, > Matt > Hopefully there's a better way, but thanks for now. I've shortened the 'Keyword' property to 'kw' to reduce typing in the meantime! Thanks Paul ___ 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: DiTAA graph not in local directory
Sébastien Vauban writes: > Hi Bernt & Carsten, > > Carsten wrote: >> Bernt Hansen wrote: >>> Sébastien Vauban writes: >>> I try to generate the following DiTAA graph for LaTeX inclusion. It's in my Org file `~/dir1/dir2/ecm.org': --8<---cut here---start->8--- * Context This comes from norang.ca. #+begin_ditaa communication.png -r -s 0.8 +---++-+ |PLC|| | | Network +<-->+ PLC + |cRED || c707 | +---++++ #+end_ditaa --8<---cut here---end--->8--- When exporting to LaTeX, the image is well generated, but in my `~/' directory. Not in `~/dir1/dir2/', hence not found by LaTeX. >>> >>> That's not how my version of org-mode works. My exported communication.png >>> is local to the org file. I just created your example in >>> ~/nobackup/tmp/foo.org and exported to latex and it creates >>> communication.png in ~/nobackup/tmp/communication.png > > You're more lucky than I am ;-) > > >>> Org-mode version 6.32trans (release_6.32b.122.g41496) >>> GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 >>> on raven, modified by Debian > > `M-x version' gives: "Org-mode version 6.32trans". I think I got it on last > Thu or Fri morning. > > >>> Now if I change the working directory with M-x cd and enter ~ >>> then export it does what you see. Maybe your default directory is not >>> the location of your org file? > > I have, since long, the following chunk in my `.emacs', for setting the > `default-directory': > > --8<---cut here---start->8--- > ;; change the default directory (if it exists) > ;; (it is also the default directory when attaching files to mails) > (let ((my-default-directory "~/")) > (setq default-directory > (if (file-directory-p my-default-directory) > my-default-directory > (getenv "HOME" > --8<---cut here---end--->8--- I think this function is the cause of your problems. I think you are changing the default directory for whatever buffer is active when you execute that. If that buffer happens to be the org file you want to export you are changing where the resulting export files go. > When looking for the current value of that variable, I have: > > --8<---cut here---start->8--- > default-directory is a variable defined in `C source code'. > Its value is "~/" > Local in buffer *followup to Bernt Hansen on gmane.emacs.orgmode*; global > value is nil > > Automatically becomes buffer-local when set in any fashion. > This variable is safe as a file local variable if its value > satisfies the predicate `stringp'. > > Documentation: > Name of default directory of current buffer. Should end with slash. > To interactively change the default directory, use command `cd'. > --8<---cut here---end--->8--- > > Note that I am a bit puzzled, now, by the fact that variable has a > buffer-local value, and that its global value is nil. Maybe I should do > `setq-default' instead of `setq'? > > Anyway, I don't remember exactly why I did set that, but I think it's for easy > opening of files (right prefix when `C-x C-f'). I just use C-x C-f ~/ and whatever current directory was active is dropped. I don't think you need your setq default-directory at all - you just need to teach your fingers to add ~/ after C-x C-f -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] [PATCH] Checkboxes: LaTeX export
Great! Thanks. Valentin On Fri, Nov 6, 2009 at 5:12 PM, Carsten Dominik wrote: > This is nice, thanks, I have applied your patch. > > - Carsten > > On Nov 6, 2009, at 1:20 PM, Valentin Wüstholz wrote: > >> Hi, >> >> I would like to suggest two smaller changes to the way checkboxes are >> exported in LaTeX. This is my patch: >> >> diff --git a/lisp/org-latex.el b/lisp/org-latex.el >> index 6fbb06c..fa340a4 100644 >> --- a/lisp/org-latex.el >> +++ b/lisp/org-latex.el >> @@ -97,6 +97,7 @@ >> \\usepackage{float} >> \\usepackage{wrapfig} >> \\usepackage{soul} >> +\\usepackage{amssymb} >> \\usepackage{hyperref}" >> ("\\section{%s}" . "\\section*{%s}") >> ("\\subsection{%s}" . "\\subsection*{%s}") >> @@ -112,6 +113,7 @@ >> \\usepackage{float} >> \\usepackage{wrapfig} >> \\usepackage{soul} >> +\\usepackage{amssymb} >> \\usepackage{hyperref}" >> ("\\part{%s}" . "\\part*{%s}") >> ("\\chapter{%s}" . "\\chapter*{%s}") >> @@ -127,6 +129,7 @@ >> \\usepackage{float} >> \\usepackage{wrapfig} >> \\usepackage{soul} >> +\\usepackage{amssymb} >> \\usepackage{hyperref}" >> ("\\part{%s}" . "\\part*{%s}") >> ("\\chapter{%s}" . "\\chapter*{%s}") >> @@ -290,7 +293,7 @@ string should be like \"\\end{itemize\"." >> (string :tag "Use a section string" :value >> "\\subparagraph{%s}"))) >> >> (defcustom org-export-latex-list-parameters >> - '(:cbon "\\texttt{[X]}" :cboff "\\texttt{[ ]}") >> + '(:cbon "$\\boxtimes$" :cboff "$\\Box$") >> "Parameters for the LaTeX list exporter. >> These parameters will be passed on to `org-list-to-latex', which in turn >> will pass them (combined with the LaTeX default list parameters) to >> diff --git a/lisp/org-list.el b/lisp/org-list.el >> index f17cde5..7a74964 100644 >> --- a/lisp/org-list.el >> +++ b/lisp/org-list.el >> @@ -1305,6 +1305,8 @@ Valid parameters PARAMS are >> (setq sublist (replace-match cbon t t sublist))) >> (if (string-match "\\[CBOFF\\]" sublist) >> (setq sublist (replace-match cboff t t sublist))) >> + (if (string-match "\\[-\\]" sublist) >> + (setq sublist (replace-match "$\\boxminus$" t t >> sublist))) >> (setq rtn (concat rtn istart term ddstart >> sublist ddend iend isep))) >> (t (setq rtn (concat rtn ;; previous list >> >> Cheers, >> >> Valentin >> >> >> ___ >> 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
Re: [Orgmode] Org-mode version 6.30trans (release_6.30d.869.g4cb3); Footnotes not working in figure captions
Hi Eric, this is hard to fix it, so I will not do it for the time being. Sorry - Carsten On Sep 23, 2009, at 4:48 PM, Eric S Fraga wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. If I remember correctly, footnotes used to work in figure captions (#+CAPTION: xxx[fn:1], say). Today, when I exported a file to HTML, all the footnotes except those in captions came out fine. The ones in captions were not processed and were exported as text verbatim. See attached files for an example (including both the org file and a random image) in the second heading of the file (the first heading is another problem I reported a few days ago). Thanks, eric Emacs : GNU Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2009-08-03 on raven, modified by Debian Package: Org-mode version 6.30trans (release_6.30d.869.g4cb3) ___ 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
Re: [Orgmode] making org-time-stamp a bit more interactive
Hi Adam, this is kind-of hard to implement, I am afraid. It is still on my list, but my first attempt just failed. :( - Carsten On Nov 2, 2009, at 3:30 PM, Adam Spiers wrote: If I have an existing time stamp (e.g. SCHEDULED/DEADLINE) corresponding to (say) several months ago, and I want to update it to some date in the future, but I want to see the calendar in order to help decide the new date, I find the org-time-stamp interface slightly lacking. Ideally I could: - hit C-c . to start editing the time stamp - hit '.' to change it to the current day - use all the standard time stamp navigation bindings to move from today to a new date Unfortunately the 2nd step does not update the Calendar buffer, so the 3rd step navigates relative to the original date, not relative to today. Would it be easy to fix this? Ideally the fix would also apply if the 2nd step involved typing something like '+2w'. Thanks, 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
[Orgmode] Re: Proposed key binding changes: archiving and attachments
On Nov 8, 2009, at 7:24 PM, Paul Mead wrote: Carsten Dominik writes: I actually think that few people use archiving to sibling. Am I wrong about this? I use archiving to sibling for sub-headings in projects that are still current, to tidy things up, then archive the whole project subtree to the archive file when it's finished. I'd prefer to have archive to sibling as the default option with the fewest keystrokes. Well, you can configure it now like this. - 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] Org-mode version 6.30trans (release_6.30d.862.gd5f8); problem with underscore for subscripts in emphasised text latex export
Hi Eric, fixed, thanks. - Carsten On Sep 21, 2009, at 2:14 PM, Eric S Fraga wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. The attached small file illustrates a problem in exporting to latex an itemised list that has items with subscripts (via the underscore) within emphasised text. Emacs : GNU Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2009-08-03 on raven, modified by Debian Package: Org-mode version 6.30trans (release_6.30d.862.gd5f8) Thanks, eric ___ 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
Re: [Orgmode] Logging rescheduled tasks
Hi Rick, On Nov 3, 2009, at 5:01 PM, Rick Moynihan wrote: Hi all, I'm wondering if anyone logs rescheduled tasks with org-mode... As I find myself sometimes scheduling tasks for a future date, but then on the day not having the capacity to do them. In these situations I just reschedule them, but it'd be nice to record the dates for which an item was originally scheduled in the LOGBOOK. Has anyone configured org-mode to do this? lognotedone only appears to log state changes (rather than schedule/deadline changes). Get the latest version and use the variables `org-log-reschedule' and `org-log-redeadline'. HTH - 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] How to add entries to an org file, not diary
Hi Stephen, On Nov 6, 2009, at 4:16 PM, Stephen Eglen wrote: Dear all, If I'm visting an agenda (C-c a a) buffer, and want to add a diary entry for a particular day, I can use org-agenda-diary-entry, bound to 'i'. This inserts an entry in my diary file. What I'd like to do is add the entry instead to an org file, e.g. 'agenda.org' where I currently store all diary-like entries. Is that functionality available? (Am trying to wean myself off diary files, after many years of using it...) If you get the latest Org version from the git server, you can configure the variable `org-agenda-diary-file' to point to your "diary.org" file or any other Org-mode file. This should be a file dedicated for general appointments, anniversaries etc. Then `i' in the agenda will create new entries in that file. Simple entries (day and block) will be placed into an outline tree that is based on dates: Top-level years, level 2 months, level 3 days[1]. I have always wanted to have something like this, so that it will be easy to archive old stuff! So thanks for giving me a reason to finally make it. Right now I have implemented i d for day entries, i b for blocks, i a for anniversaries (which will be collected under a special heading "Anniversaries" in your `diary.org' i j To jump to the cursor date in the date tree What else would be useful? The same command will also be bound to the `i' key in the calendar (calendar restart required), so you can make the same kind of entries from the calendar - very convenient at times, in particular for long blocks. The basics of these new commands seem to work OK, but it is quite possible that I have not yet thought this through fully. Let me know what I am missing, so that we can tweak it. - Carsten [1] If there is any entry in this file with a DATE_TREE property set, the tree will be build under that entry. ___ 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] verbatim bug?
Fixed, thanks. - Carsten On Nov 7, 2009, at 1:25 PM, Martin G. Skjæveland wrote: Hi, Then I write some text some text ~<>~. because I want "<>" written as verbatim in my latex export, I get, in latex, \texttt{\textbackslash{}label\{some\_src\_block\_name\}some\_src \_block\_name}. which gives me the text \label{some_src_block_name}some_src_block_name in verbatim. I have also tried "=<>=" with the same results. What kind-of-works for me is some text some text : <> . which does not work without the dot (or a different character) on the end. I guessing this is a bug, or should I do some escaping of characters? Thanks! Martin ___ 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
Re: [Orgmode] Org-mode version 6.32trans (release_6.32b.122.g41496); Error on clock in when over estimated time
Fixed, thanks. - Carsten On Nov 6, 2009, at 6:04 PM, Bernt Hansen wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I'm almost done my September accounting (yay!) and it's gone over the estimated clock time. Attempting to clock in this task again triggers the following error - but the clock does start. Generating the 'Task blah should be finished by now' is what fails. This task has a token to show both count and %complete. Debugger entered--Lisp error: (error "Not enough arguments for format string") message(#("Task 'September Accounting [16/17] [94%]' should be finished by now. (0:30)" 0 6 nil 6 40 (face nil fontified nil org- category "norang" :org-clock-minutes 44) 40 75 nil)) (cond ((functionp org-show-notification-handler) (funcall org-show- notification-handler notification)) ((stringp org-show-notification- handler) (start-process "emacs-timer-notification" nil org-show- notification-handler notification)) ((org-program-exists "notify- send") (start-process "emacs-timer-notification" nil "notify-send" notification)) (t (message notification))) org-show-notification(#("Task 'September Accounting [16/17] [94%]' should be finished by now. (0:30)" 0 6 nil 6 40 (:org-clock-minutes 44 org-category "norang" fontified nil face nil) 40 75 nil)) org-notify(#("Task 'September Accounting [16/17] [94%]' should be finished by now. (0:30)" 0 6 nil 6 40 (:org-clock-minutes 44 org- category "norang" fontified nil face nil) 40 75 nil) t) (if org-clock-notification-was-shown nil (setq org-clock- notification-was-shown t) (org-notify (format "Task '%s' should be finished by now. (%s)" org-clock-heading org-clock-effort) t)) (unless org-clock-notification-was-shown (setq org-clock- notification-was-shown t) (org-notify (format "Task '%s' should be finished by now. (%s)" org-clock-heading org-clock-effort) t)) (if (>= clocked-time effort-in-minutes) (unless org-clock- notification-was-shown (setq org-clock-notification-was-shown t) (org-notify ... t)) (setq org-clock-notification-was-shown nil)) (let ((effort-in-minutes ...) (clocked-time ...)) (if (>= clocked- time effort-in-minutes) (unless org-clock-notification-was- shown ... ...) (setq org-clock-notification-was-shown nil))) (progn (let (... ...) (if ... ... ...))) (if (marker-buffer org-clock-marker) (progn (let ... ...))) (when (marker-buffer org-clock-marker) (let (... ...) (if ... ... ...))) org-clock-notify-once-if-expired() (if org-clock-effort (org-clock-notify-once-if-expired)) org-clock-update-mode-line() (save-restriction (widen) (goto-char target-pos) (org-back-to- heading t) (or interrupting (move-marker org-clock-interrupted-task nil)) (org-clock-history-push) (cond (... ... ...) (... ...)) (setq org-clock-heading-for-remember (and ... ... ...)) (setq org-clock- heading (cond ... ... ...)) (setq org-clock-heading (org-propertize org-clock-heading ... nil)) (org-clock-find-position org-clock-in- resume) (cond (... ... ... ... ... ... ...) (... ... ... ... ...) (t ... ... ... ... ... ... ... ... ...)) (move-marker org-clock- marker (point) (buffer-base-buffer)) (move-marker org-clock-hd- marker (save-excursion ... ...) (buffer-base-buffer)) (setq org- clock-has-been-used t) (or global-mode-string (setq global-mode- string ...)) (or (memq ... global-mode-string) (setq global-mode- string ...)) (org-clock-update-mode-line) (when org-clock-mode-line- timer (cancel-timer org-clock-mode-line-timer) (setq org-clock-mode- line-timer nil)) (setq org-clock-mode-line-timer (run-with-timer 60 60 ...)) (when org-clock-idle-timer (cancel-timer org-clock-idle- timer) (setq org-clock-idle-timer nil)) (setq org-clock-idle-timer (run-with-timer 60 60 ...)) (message "Clock starts at %s - %s" ts msg-extra) (run-hooks (quote org-clock-in-hook))) (save-excursion (save-restriction (widen) (goto-char target-pos) (org-back-to-heading t) (or interrupting ...) (org-clock-history- push) (cond ... ...) (setq org-clock-heading-for-remember ...) (setq org-clock-heading ...) (setq org-clock-heading ...) (org-clock-find- position org-clock-in-resume) (cond ... ... ...) (move-marker org- clock-marker ... ...) (move-marker org-clock-hd-marker ... ...) (setq org-clock-has-been-used t) (or global-mode-string ...) (or ... ...) (org-clock-update-mode-line) (when org-clock-mode-line- timer ... ...) (setq org-clock-mode-line-timer ...) (when org-clock- idle-timer ... ...) (setq org-clock-idle-timer ...) (message "Clock starts at %s - %s" ts msg-extra) (run-hooks ...))) (save-excursion (when (and selected-task ...) (set-buffer ...) (setq target-pos ...) (move-marker selected-task nil)) (save- excursion (sav
Re: [Orgmode] Hide tasks from the agenda until they are due
Looks like a snippet that should go up on the FAQ or maybe in org- hacks.org? Thanks for sharing! - Carsten On Nov 8, 2009, at 6:17 PM, PT wrote: In a previous thread (http://thread.gmane.org/gmane.emacs.orgmode/17818) there was a discussion about using the agenda to schedule trivial time-specific tasks during the day which can be done at or after a certain time. These tasks should be hidden from the agenda until their time is due, because you cannot work on them before then, so they are just polluting the agenda view. Matt Lundin kindly provided a quick untested solution in that thread which was almost complete, it needed only a bit of tweaking. Here is the working solution (not yes extensively tested) for those interested: (defun my-org-agenda-skip-if-later () "Skip entries that are later than the current time." (let ((time (and (org-entry-get nil "TIME-TODO") (or (org-entry-get nil "TIMESTAMP") (org-entry-get nil "SCHEDULED") (when time (unless (time-less-p (org-time-string-to-time time) (current-time)) (or (outline-next-heading) (point-max)) (setq org-agenda-skip-function 'my-org-agenda-skip-if-later) The tasks to be hidden need to have a special property set (TIME-TODO) in order to distinguish them from regular timestamps which are not hidden. I added this property to my remember template, so it's automatically set when I create such a task. I set the skip function globally, because I use a single agenda view. You may want to set it only for certain agenda views. ___ 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
Re: [Orgmode] How to write verbatim [0] ?
On Nov 9, 2009, at 2:42 PM, Xin Shi wrote: Hi Carsten, I'm using the 6.32b, but neither of the method work (=[0]= or ~[0]~), will this be in the next release? Thanks! Xin Yes, in 6.33, due out later this week. - Carsten On Thu, Oct 29, 2009 at 4:23 AM, Carsten Dominik > wrote: On Oct 28, 2009, at 8:55 PM, Xin Shi wrote: Hello Experts, Are there any way to write just a plain [0], instead of interpreting it as a footnote when publishing in to HTML? I've tried the ~[0]~, and ~[~0~]~, but not luck. I have finally fixed this, you can now write =[0]= or ~[0]~ - Carsten - 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] [babel] dot in pdf directly
Still a couple of questions, I found something here in the newsgroup but nothing helped me... First, how many and where can I find all the possible #+begin_...? I mean why is #+begin_dot and not #+begin_src dot? I would like to insert my dot info and on exporting getting a pdf with embedded the generated eps, it would be great! I don't have very clear the grammar I can use in the #+begin_.. line, is there a clear explanation somewhere? Thanks for the fantastic work! ___ 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] BUG: org-annotation-helper.el uses caddr without requiring cl
Nick Dokos writes: > Adam Spiers wrote: > >> org-annotation-helper.el uses caddr but does not require the cl >> package; this results in >> >> *ERROR*: Symbol's function definition is void: caddr >> >> when bzg/org-annotate-helper is invoked. >> >> > > Isn't org-annotation-helper.el obsolete? I thought org-protocol.el has > supplanted it completely, in which case it might be better to just > delete it from the tree, instead of fixing it (or perhaps move it > to a deprecated area) - that would also help in not confusing new > users. Yes, if everyone is OK with that removal. The functionality of org-annotation-helper is re-implemented in org-protocol. org-annotation-helper.el was one of the parents actually. Some code is still in there. That's why it's authors are mentioned their, too. Anyway, org-annotation-helper.el might still be in use somewhere. Sebastian ___ 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] BUG: org-annotation-helper.el uses caddr without requiring cl
On Nov 9, 2009, at 10:10 PM, Sebastian Rose wrote: Nick Dokos writes: Adam Spiers wrote: org-annotation-helper.el uses caddr but does not require the cl package; this results in *ERROR*: Symbol's function definition is void: caddr when bzg/org-annotate-helper is invoked. Isn't org-annotation-helper.el obsolete? I thought org-protocol.el has supplanted it completely, in which case it might be better to just delete it from the tree, instead of fixing it (or perhaps move it to a deprecated area) - that would also help in not confusing new users. Yes, if everyone is OK with that removal. The functionality of org-annotation-helper is re-implemented in org-protocol. org-annotation-helper.el was one of the parents actually. Some code is still in there. That's why it's authors are mentioned their, too. Anyway, org-annotation-helper.el might still be in use somewhere. I have no objection to remove it, if the author agrees. Can anyone try to figure that out? Thanks - Carsten Sebastian ___ 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
Re: [Orgmode] Re: Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking out moves point to clock entry
Hi Bernt, could I ask you to only revert that patch in org-clock.el and see if that is enought to fix it? - Carsten On Nov 9, 2009, at 8:30 PM, Bernt Hansen wrote: Bernt Hansen writes: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Clocking out of a task moves point to the clock entry being closed. This makes my workaround for clocking in a new task (just use a speed key O to clock out and I to clock in) fail since we jump away from the task that I want to clock in. Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) Reverting this commit seems to fix it 7c0a16e (Use with-current-buffer instead of save-excursion set- buffer where possible, 2009-11-05) -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 - 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] How to add entries to an org file, not diary
Carsten Dominik writes: > Hi Stephen, > > On Nov 6, 2009, at 4:16 PM, Stephen Eglen wrote: > >> Dear all, >> If I'm visting an agenda (C-c a a) buffer, and want to add a diary >> entry >> for a particular day, I can use org-agenda-diary-entry, bound to 'i'. >> This inserts an entry in my diary file. >> >> What I'd like to do is add the entry instead to an org file, >> e.g. 'agenda.org' where I currently store all diary-like entries. Is >> that functionality available? (Am trying to wean myself off diary >> files, after many years of using it...) > > If you get the latest Org version from the git server, you can > configure the variable `org-agenda-diary-file' to point to your > "diary.org" file or any other Org-mode file. This should be a > file dedicated for general appointments, anniversaries > etc. > > Then `i' in the agenda will create new entries in that file. > Simple entries (day and block) will be placed into an outline > tree that is based on dates: Top-level years, level 2 months, > level 3 days[1]. I have always wanted to have something > like this, so that it will be easy to archive old stuff! So thanks > for giving me a reason to finally make it. > > Right now I have implemented > > i d for day entries, > i b for blocks, > i a for anniversaries (which will be collected under a special > heading "Anniversaries" in your `diary.org' > i j To jump to the cursor date in the date tree > > What else would be useful? > > The same command will also be bound to the `i' key in the > calendar (calendar restart required), so you can make the same > kind of entries from the calendar - very convenient at times, > in particular for long blocks. > > The basics of these new commands seem to work OK, but it > is quite possible that I have not yet thought this through > fully. Let me know what I am missing, so that we can tweak it. This is really cool! :) Thanks for implementing the block dates! I just tried it with anniversaries and get the following error GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Org-mode version 6.32trans (release_6.32b.142.g01b1) My version of org-mode has the clocking commit reverted Debugger entered--Lisp error: (void-function diary-date-display-form) (diary-date-display-form) (let ((calendar-date-display-form ...)) (insert (format "(diary-anniversary %s) %s" ... text))) (cond ((eq type ...) (or ... ...) (outline-next-heading) (org-back-over-empty-lines) (backward-char 1) (insert "\n") (let ... ...)) ((eq type ...) (require ...) (org-datetree-find-date-create d1) (org-agenda-insert-diary-make-new-entry text) (org-insert-time-stamp ...) (end-of-line 0)) ((eq type ...) (if ... ...) (require ...) (org-datetree-find-date-create d1) (org-agenda-insert-diary-make-new-entry text) (org-insert-time-stamp ...) (insert "--") (org-insert-time-stamp ...) (end-of-line 0))) (let ((cw ...)) (org-switch-to-buffer-other-window (find-file-noselect org-agenda-diary-file)) (widen) (goto-char (point-min)) (cond (... ... ... ... ... ... ...) (... ... ... ... ... ...) (... ... ... ... ... ... ... ... ...)) (if (string-match "\\S-" text) (progn ... ...) (message "Please finish entry here"))) org-agenda-add-entry-to-org-agenda-diary-file(anniversary "foobar" (10 13 2009)) (cond ((equal char 100) (setq text ...) (org-agenda-add-entry-to-org-agenda-diary-file ... text d1)) ((equal char 97) (setq d1 ...) (setq text ...) (org-agenda-add-entry-to-org-agenda-diary-file ... text d1)) ((equal char 98) (setq text ...) (org-agenda-add-entry-to-org-agenda-diary-file ... text d1 d2)) ((equal char 106) (org-switch-to-buffer-other-window ...) (org-datetree-find-date-create d1) (org-reveal t)) (t (error "Invalid selection character `%c'" char))) (let (d1 d2 char (text "")) (if (equal ... "*Calendar*") (setq d1 ... d2 ...) (setq d1 ... d2 ...)) (message "Diary entry: [d]ay [a]nniversary [b]lock [j]ump to date tree") (setq char (read-char-exclusive)) (cond (... ... ...) (... ... ... ...) (... ... ...) (... ... ... ...) (t ...))) org-agenda-diary-entry-in-org-file() (if (not (eq org-agenda-diary-file ...)) (org-agenda-diary-entry-in-org-file) (require (quote diary-lib)) (let* (... ... ... ... ...) (unless cmd ...) (unless ... ...) (let ... ...))) org-agenda-diary-entry() call-interactively(org-agenda-diary-entry) -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
[Orgmode] Re: Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking out moves point to clock entry
Okay - I'll get back to you on that. Carsten Dominik writes: > Hi Bernt, > > could I ask you to only revert that patch in org-clock.el and > see if that is enought to fix it? > > - Carsten > > > On Nov 9, 2009, at 8:30 PM, Bernt Hansen wrote: > >> Bernt Hansen writes: >> >>> Remember to cover the basics, that is, what you expected to happen >>> and >>> what in fact did happen. You don't know how to make a good >>> report? See >>> >>> http://orgmode.org/manual/Feedback.html#Feedback >>> >>> Your bug report will be posted to the Org-mode mailing list. >>> >>> >>> Clocking out of a task moves point to the clock entry being closed. >>> This makes my workaround for clocking in a new task (just use a speed >>> key O to clock out and I to clock in) fail since we jump away from >>> the >>> task that I want to clock in. >>> >>> Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) >>> of 2008-11-09 on raven, modified by Debian >>> Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) >> >> Reverting this commit seems to fix it >> 7c0a16e (Use with-current-buffer instead of save-excursion set- >> buffer where possible, 2009-11-05) >> >> -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 > > - 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] Re: Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking out moves point to clock entry
Reverting just the org-clock.el patches seems to fix it too. -Bernt --8<---cut here---start->8--- commit 01b1eb143f027bc6cdf54d95bd15fc03f2e03208 Author: Bernt Hansen Date: Mon Nov 9 14:27:03 2009 -0500 Revert part of "Use with-current-buffer instead of save-excursion set-buffer where possible" This reverts the clocking changes in commit 7c0a16e2566e1cc3bb3c9f6b7571efe21f323a3c. diff --git a/lisp/org-clock.el b/lisp/org-clock.el index fc1e977..29cdf83 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1103,7 +1103,8 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (if (not (marker-buffer org-clock-marker)) (if fail-quietly (throw 'exit t) (error "No active clock"))) (let (ts te s h m remove) - (with-current-buffer (marker-buffer org-clock-marker) + (save-excursion + (set-buffer (marker-buffer org-clock-marker)) (save-restriction (widen) (goto-char org-clock-marker) @@ -1168,7 +1169,8 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (interactive) (if (not (marker-buffer org-clock-marker)) (error "No active clock")) - (with-current-buffer (marker-buffer org-clock-marker) + (save-excursion +(set-buffer (marker-buffer org-clock-marker)) (goto-char org-clock-marker) (delete-region (1- (point-at-bol)) (point-at-eol)) ;; Just in case, remove any empty LOGBOOK left over --8<---cut here---end--->8--- Carsten Dominik writes: > Hi Bernt, > > could I ask you to only revert that patch in org-clock.el and > see if that is enought to fix it? > > - Carsten > > > On Nov 9, 2009, at 8:30 PM, Bernt Hansen wrote: > >> Bernt Hansen writes: >> >>> Remember to cover the basics, that is, what you expected to happen >>> and >>> what in fact did happen. You don't know how to make a good >>> report? See >>> >>> http://orgmode.org/manual/Feedback.html#Feedback >>> >>> Your bug report will be posted to the Org-mode mailing list. >>> >>> >>> Clocking out of a task moves point to the clock entry being closed. >>> This makes my workaround for clocking in a new task (just use a speed >>> key O to clock out and I to clock in) fail since we jump away from >>> the >>> task that I want to clock in. >>> >>> Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) >>> of 2008-11-09 on raven, modified by Debian >>> Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) >> >> Reverting this commit seems to fix it >> 7c0a16e (Use with-current-buffer instead of save-excursion set- >> buffer where possible, 2009-11-05) >> >> -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 > > - 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] Re: Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking out moves point to clock entry
Hmmm. I do not understand why this makes a difference, but I will make these changes. Thanks a lot. This was on of the big-sweep changes that happen in Emacs all the time, where someone thinks we should use this and that style. This looked trivial, so I accepted the changes. Too early it seems. - Carsten On Nov 9, 2009, at 10:53 PM, Bernt Hansen wrote: Reverting just the org-clock.el patches seems to fix it too. -Bernt --8<---cut here---start->8--- commit 01b1eb143f027bc6cdf54d95bd15fc03f2e03208 Author: Bernt Hansen Date: Mon Nov 9 14:27:03 2009 -0500 Revert part of "Use with-current-buffer instead of save-excursion set-buffer where possible" This reverts the clocking changes in commit 7c0a16e2566e1cc3bb3c9f6b7571efe21f323a3c. diff --git a/lisp/org-clock.el b/lisp/org-clock.el index fc1e977..29cdf83 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1103,7 +1103,8 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (if (not (marker-buffer org-clock-marker)) (if fail-quietly (throw 'exit t) (error "No active clock"))) (let (ts te s h m remove) - (with-current-buffer (marker-buffer org-clock-marker) + (save-excursion + (set-buffer (marker-buffer org-clock-marker)) (save-restriction (widen) (goto-char org-clock-marker) @@ -1168,7 +1169,8 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (interactive) (if (not (marker-buffer org-clock-marker)) (error "No active clock")) - (with-current-buffer (marker-buffer org-clock-marker) + (save-excursion +(set-buffer (marker-buffer org-clock-marker)) (goto-char org-clock-marker) (delete-region (1- (point-at-bol)) (point-at-eol)) ;; Just in case, remove any empty LOGBOOK left over --8<---cut here---end--->8--- Carsten Dominik writes: Hi Bernt, could I ask you to only revert that patch in org-clock.el and see if that is enought to fix it? - Carsten On Nov 9, 2009, at 8:30 PM, Bernt Hansen wrote: Bernt Hansen writes: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Clocking out of a task moves point to the clock entry being closed. This makes my workaround for clocking in a new task (just use a speed key O to clock out and I to clock in) fail since we jump away from the task that I want to clock in. Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) Reverting this commit seems to fix it 7c0a16e (Use with-current-buffer instead of save-excursion set- buffer where possible, 2009-11-05) -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 - 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 - 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] Re: Org-mode version 6.32trans (release_6.32b.127.g471c2); Clocking out moves point to clock entry
I think it's because in my case I have two tasks in the same file I'm clocking in. * STARTED first clocking task ... * TODO second clocking task and updating the first clocking task moves the point in the buffer on me so I lose my place (at the second clocking task). So clocking in the second task while the first is clocking just moves point to first task, clocks it out, then clocks it in again (since the point moved) Does that make sense? -Bernt Carsten Dominik writes: > Hmmm. > > I do not understand why this makes a difference, but I will make these > changes. Thanks a lot. > > This was on of the big-sweep changes that happen in Emacs all the > time, where someone thinks we should use this and that style. > > This looked trivial, so I accepted the changes. Too early it seems. > > - Carsten > > On Nov 9, 2009, at 10:53 PM, Bernt Hansen wrote: > >> Reverting just the org-clock.el patches seems to fix it too. >> >> -Bernt >> >> --8<---cut here---start->8--- >> commit 01b1eb143f027bc6cdf54d95bd15fc03f2e03208 >> Author: Bernt Hansen >> Date: Mon Nov 9 14:27:03 2009 -0500 >> >>Revert part of "Use with-current-buffer instead of save-excursion >> set-buffer where possible" >> >>This reverts the clocking changes in commit >> 7c0a16e2566e1cc3bb3c9f6b7571efe21f323a3c. >> >> diff --git a/lisp/org-clock.el b/lisp/org-clock.el >> index fc1e977..29cdf83 100644 >> --- a/lisp/org-clock.el >> +++ b/lisp/org-clock.el >> @@ -1103,7 +1103,8 @@ If there is no running clock, throw an error, >> unless FAIL-QUIETLY is set." >> (if (not (marker-buffer org-clock-marker)) >> (if fail-quietly (throw 'exit t) (error "No active clock"))) >> (let (ts te s h m remove) >> - (with-current-buffer (marker-buffer org-clock-marker) >> + (save-excursion >> +(set-buffer (marker-buffer org-clock-marker)) >> (save-restriction >>(widen) >>(goto-char org-clock-marker) >> @@ -1168,7 +1169,8 @@ If there is no running clock, throw an error, >> unless FAIL-QUIETLY is set." >> (interactive) >> (if (not (marker-buffer org-clock-marker)) >> (error "No active clock")) >> - (with-current-buffer (marker-buffer org-clock-marker) >> + (save-excursion >> +(set-buffer (marker-buffer org-clock-marker)) >> (goto-char org-clock-marker) >> (delete-region (1- (point-at-bol)) (point-at-eol)) >> ;; Just in case, remove any empty LOGBOOK left over >> --8<---cut here---end--->8--- >> >> >> Carsten Dominik writes: >> >>> Hi Bernt, >>> >>> could I ask you to only revert that patch in org-clock.el and >>> see if that is enought to fix it? >>> >>> - Carsten >>> >>> >>> On Nov 9, 2009, at 8:30 PM, Bernt Hansen wrote: >>> Bernt Hansen writes: > Remember to cover the basics, that is, what you expected to happen > and > what in fact did happen. You don't know how to make a good > report? See > >http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > > > Clocking out of a task moves point to the clock entry being closed. > This makes my workaround for clocking in a new task (just use a > speed > key O to clock out and I to clock in) fail since we jump away from > the > task that I want to clock in. > > Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) > of 2008-11-09 on raven, modified by Debian > Package: Org-mode version 6.32trans (release_6.32b.127.g471c2) Reverting this commit seems to fix it 7c0a16e (Use with-current-buffer instead of save-excursion set- buffer where possible, 2009-11-05) -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 >>> >>> - 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 > > - 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] How to add entries to an org file, not diary
Fixed, thanks - Carsten On Nov 9, 2009, at 10:39 PM, Bernt Hansen wrote: Carsten Dominik writes: Hi Stephen, On Nov 6, 2009, at 4:16 PM, Stephen Eglen wrote: Dear all, If I'm visting an agenda (C-c a a) buffer, and want to add a diary entry for a particular day, I can use org-agenda-diary-entry, bound to 'i'. This inserts an entry in my diary file. What I'd like to do is add the entry instead to an org file, e.g. 'agenda.org' where I currently store all diary-like entries. Is that functionality available? (Am trying to wean myself off diary files, after many years of using it...) If you get the latest Org version from the git server, you can configure the variable `org-agenda-diary-file' to point to your "diary.org" file or any other Org-mode file. This should be a file dedicated for general appointments, anniversaries etc. Then `i' in the agenda will create new entries in that file. Simple entries (day and block) will be placed into an outline tree that is based on dates: Top-level years, level 2 months, level 3 days[1]. I have always wanted to have something like this, so that it will be easy to archive old stuff! So thanks for giving me a reason to finally make it. Right now I have implemented i d for day entries, i b for blocks, i a for anniversaries (which will be collected under a special heading "Anniversaries" in your `diary.org' i j To jump to the cursor date in the date tree What else would be useful? The same command will also be bound to the `i' key in the calendar (calendar restart required), so you can make the same kind of entries from the calendar - very convenient at times, in particular for long blocks. The basics of these new commands seem to work OK, but it is quite possible that I have not yet thought this through fully. Let me know what I am missing, so that we can tweak it. This is really cool! :) Thanks for implementing the block dates! I just tried it with anniversaries and get the following error GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Org-mode version 6.32trans (release_6.32b.142.g01b1) My version of org-mode has the clocking commit reverted Debugger entered--Lisp error: (void-function diary-date-display-form) (diary-date-display-form) (let ((calendar-date-display-form ...)) (insert (format "(diary- anniversary %s) %s" ... text))) (cond ((eq type ...) (or ... ...) (outline-next-heading) (org-back- over-empty-lines) (backward-char 1) (insert "\n") (let ... ...)) ((eq type ...) (require ...) (org-datetree-find-date-create d1) (org- agenda-insert-diary-make-new-entry text) (org-insert-time-stamp ...) (end-of-line 0)) ((eq type ...) (if ... ...) (require ...) (org- datetree-find-date-create d1) (org-agenda-insert-diary-make-new- entry text) (org-insert-time-stamp ...) (insert "--") (org-insert- time-stamp ...) (end-of-line 0))) (let ((cw ...)) (org-switch-to-buffer-other-window (find-file- noselect org-agenda-diary-file)) (widen) (goto-char (point-min)) (cond (... ... ... ... ... ... ...) (... ... ... ... ... ...) (... ... ... ... ... ... ... ... ...)) (if (string-match "\\S-" text) (progn ... ...) (message "Please finish entry here"))) org-agenda-add-entry-to-org-agenda-diary-file(anniversary "foobar" (10 13 2009)) (cond ((equal char 100) (setq text ...) (org-agenda-add-entry-to- org-agenda-diary-file ... text d1)) ((equal char 97) (setq d1 ...) (setq text ...) (org-agenda-add-entry-to-org-agenda-diary-file ... text d1)) ((equal char 98) (setq text ...) (org-agenda-add-entry-to- org-agenda-diary-file ... text d1 d2)) ((equal char 106) (org-switch- to-buffer-other-window ...) (org-datetree-find-date-create d1) (org- reveal t)) (t (error "Invalid selection character `%c'" char))) (let (d1 d2 char (text "")) (if (equal ... "*Calendar*") (setq d1 ... d2 ...) (setq d1 ... d2 ...)) (message "Diary entry: [d]ay [a]nniversary [b]lock [j]ump to date tree") (setq char (read-char- exclusive)) (cond (... ... ...) (... ... ... ...) (... ... ...) (... ... ... ...) (t ...))) org-agenda-diary-entry-in-org-file() (if (not (eq org-agenda-diary-file ...)) (org-agenda-diary-entry-in- org-file) (require (quote diary-lib)) (let* (... ... ... ... ...) (unless cmd ...) (unless ... ...) (let ... ...))) org-agenda-diary-entry() call-interactively(org-agenda-diary-entry) -Bernt - 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] [babel] dot in pdf directly
andrea Crotti writes: > Still a couple of questions, I found something here > in the newsgroup but nothing helped me... > > First, how many and where can I find all the possible > > #+begin_...? > > I mean why is > #+begin_dot and not > > #+begin_src dot? > > I would like to insert my dot info and on exporting getting a pdf with > embedded the generated eps, it would be great! > > I don't have very clear the grammar I can use in the #+begin_.. line, > is there a clear explanation somewhere? The difference is, #+begin_src mode-name just tells the exporter that the following block is a `mode-name' block, where mode-name == the name of the emacs mode you'd use to edit a file in that language. This handy if you want to edit the block's contents (C-c '). Eventually, the source code inside the block will be highlighted on export to XHTML. The mode is important then, too. Contents of blocks like this are exported verbatim. In contrast, blocks like #+begin_ditaa will never export verbatim. Instead, the contents are treated specially or even send to an external program, that will create an image (e.g. - in most cases), that will in turn replace the block in the exported result. Sebastian ___ 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] BUG: org-annotation-helper.el uses caddr without requiring cl
Carsten Dominik writes: >>> Isn't org-annotation-helper.el obsolete? I thought org-protocol.el has >>> supplanted it completely, in which case it might be better to just >>> delete it from the tree, instead of fixing it (or perhaps move it >>> to a deprecated area) - that would also help in not confusing new >>> users. >> >> >> Yes, if everyone is OK with that removal. The functionality of >> org-annotation-helper is re-implemented in >> org-protocol. org-annotation-helper.el was one of the parents >> actually. Some code is still in there. That's why it's authors are >> mentioned their, too. >> >> Anyway, org-annotation-helper.el might still be in use somewhere. > > I have no objection to remove it, if the author agrees. > Can anyone try to figure that out? Yes, I will do that. How about org-browser-url.el then? It's in org-protocol.el, too. All authors of the too files are mentioned in org-protocol.el. Sebastian ___ 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] Sparse-tree at cursor point
Hello list, The sparse-tree feature is very useful when you want to follow tasks of a specific project, and want to filter the whole org file to show only the relevant project tree. However, I did not find a way to apply this function to a specific tree at the cursor point. Sometimes, I want to act by project, and I know exactly where it is in the file, and I want to apply the sparse tree at this item, instead of searching by regexp, todo, etc. Is it possible? 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
[Orgmode] Re: Sparse-tree at cursor point
Marcelo de Moraes Serpa writes: > The sparse-tree feature is very useful when you want to follow tasks > of a specific project, and want to filter the whole org file to show > only the relevant project tree. However, I did not find a way to apply > this function to a specific tree at the cursor point. Sometimes, I > want to act by project, and I know exactly where it is in the file, > and I want to apply the sparse tree at this item, instead of searching > by regexp, todo, etc. Is it possible? I'm not sure I understand exactly what it is you're looking for. If you want to limit the sparse tree function to a subtree you can narrow to subtree first (C-x n s), run the spare tree function, and then widen again (C-x n w). You can hide the rest of your document with M-x hide-other. Does any of that help? -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] Sparse-tree at cursor point
Hello Marcelo, On Mon, 9 Nov 2009 18:03:58 -0600 Marcelo de Moraes Serpa wrote: > Hello list, > > The sparse-tree feature is very useful when you want to follow tasks of a > specific project, and want to filter the whole org file to show only the > relevant project tree. However, I did not find a way to apply this function > to a specific tree at the cursor point. Sometimes, I want to act by project, > and I know exactly where it is in the file, and I want to apply the sparse > tree at this item, instead of searching by regexp, todo, etc. Is it > possible? Yes, that is possible by narrowing to the subtree. While on the heading for the subtree you want to apply the sparse tree function on press: C-x n s (to narrow to the subtree) C-c / C-x n w (to widen the view to the whole file) HTH Andreas ___ 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] Logging rescheduled tasks
2009/11/9 Carsten Dominik : > Hi Rick, > > On Nov 3, 2009, at 5:01 PM, Rick Moynihan wrote: > >> Hi all, >> >> I'm wondering if anyone logs rescheduled tasks with org-mode... As I >> find myself sometimes scheduling tasks for a future date, but then on >> the day not having the capacity to do them. In these situations I >> just reschedule them, but it'd be nice to record the dates for which >> an item was originally scheduled in the LOGBOOK. >> >> Has anyone configured org-mode to do this? lognotedone only appears to >> log state changes (rather than schedule/deadline changes). > > > Get the latest version and use the variables `org-log-reschedule' > and `org-log-redeadline'. > Great!!! It seems to work perfectly! Thanks again Carsten! R. ___ 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] [babel] dot in pdf directly
Sebastian Rose writes: > andrea Crotti writes: >> Still a couple of questions, I found something here >> in the newsgroup but nothing helped me... >> >> First, how many and where can I find all the possible >> >> #+begin_...? >> >> I mean why is >> #+begin_dot and not >> >> #+begin_src dot? >> >> I would like to insert my dot info and on exporting getting a pdf with >> embedded the generated eps, it would be great! >> >> I don't have very clear the grammar I can use in the #+begin_.. line, >> is there a clear explanation somewhere? > > > The difference is, > >#+begin_src mode-name > > just tells the exporter that the following block is a `mode-name' block, > where mode-name == the name of the emacs mode you'd use to edit a file > in that language. > > This handy if you want to edit the block's contents (C-c '). Eventually, > the source code inside the block will be highlighted on export to > XHTML. The mode is important then, too. Contents of blocks like this are > exported verbatim. > > > > > In contrast, blocks like > >#+begin_ditaa > > will never export verbatim. Instead, the contents are treated specially > or even send to an external program, that will create an image (e.g. - > in most cases), that will in turn replace the block in the exported > result. > > The exception to the above is that *if* you have org-babel loaded, then some begin_src blocks will become activated. The source blocks activated by org-babel are the contents of the variable `org-babel-interpreters'. They can be used to activate for example dot blocks, and will then have the result of possibly evaluating dot blocks on export in the same manner as org-exp-blocks. The two separate mechanisms are confusion, but for now are necessary to allow org-mode users to evaluate some simple block types (like dot) on export without having to load up all of org-babel. I hope the above isn't too confusing :) -- Eric > > Sebastian > > > ___ > 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][babel] noweb does not work (as expected)
> Hi Torsten, Hi Tom, > It's not clear to me what outcome you desire. Tangling should result > in a source file that can serve as input to a compiler or > interpreter. The combination of :noweb and :session lets you write > literate programs that are sent directly to an interpreter, which > presumably creates some useful output along the way (my example makes > some graphs after a lot of data reshaping), but might be used just to > set up an environment in the interpreter, which then can be > manipulated directly in the session buffer. Actually I'm looking for a way to execute several of my source code buffers in a comfortable and semiautomatic way to do exactly what you described. Joggling around with my measurement data... bend badly statistics until it fit to my world ;) and finally create a plot, table or even a single number. The blocks should be aware of each other (same session) and I like to have a single local place to control the order in which the source code blocks are executed and be able to tweak around with some variables or add quickly. Thus, this sound really like :noweb and :session will do this. However, sometimes I would prefer to see the code all tangled together in one chunk. This might be esp. interesting for several purposes. a) Give the pure code to someone else, b) Make a somehow stand-alone-version without org-babel e.g. to execute it over and over again on another org-babel free machine, c) Debugging and bug searching might be easier since you can clearly see the interfaces between the source code blocks without to much org-mode in between. I guess at the moment I could create two blocks ... one :noweb, :nosession for the interactive work on the project and one with :tangle which put all this together into a single file. I never tried :tangle and :noweb together. Actually, they should not conflict so fare. However, at the worg-page all options are given as mutual exclusive. I will give at a trial... as soon as I make my file working under both methods. Best regards, Torsten ___ 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][babel] noweb does not work (as expected)
Hi Dan > Important: The only version of org-babel that's intended for users is > the version in current org-mode. I.e. the current master branch of > Carsten's org-mode repository. The other repository (the babel repo) is > for development only. Any stable improvements in there are rapidly > merged into Carsten's repo. O.k. thanks for the clarification. I started using babel-git since in an older thread someone refereed that the functionality is no in a branch of babel-git. I did not know that you merge quickly with Carstens org-mode git. Depending on the speed of merging, you might like to use tags in babel-git signaling at which commit you merged org-babel back to org-mode. Then people can quickly run a git diff to see if the particular change they are looking for is already in merged to org-mode or not. > I think the main point is that the current set up means that org-mode > and org-babel share a common history of commits. My current idea of git > submodules is that I would include something as a submodule when it is a > module that gets used by multiple different projects... As far as I understand git submodules (but I never get in real use to them yet) they can be considered as a part of a project which keeps it own history. If that is right it might be perfect for org-mode and org-babel. You can develop on top of the org-mode git and does not cluttering the history of org- mode git. However, as far as I read there are some potential flaws which, if used wrong, can create some serious problems. Many thanks for helping me so fare Torsten ___ 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] How to add entries to an org file, not diary
This is really nice. Thanks Carsten! I currently use a subtree in my main org file to put dates for appointments, birthdays, etc.. Having a native way to do that will save time and I my approach could became to cluttered in the future. I only miss an easy way to change the date of an appointment, for example. The usual refiling is not very efficient here, since the diary file will have a lot of headings and one may need to refile it to a heading that doesn't exist yet. Maybe org-refile could test if this is the diary file and if it is, offer an interface similar to the usual time stamp insertion. But this is something minor. Again, thanks for this and org-mode. At Mon, 9 Nov 2009 22:09:23 +0100, Carsten Dominik wrote: > > Hi Stephen, > > On Nov 6, 2009, at 4:16 PM, Stephen Eglen wrote: > > > Dear all, > > If I'm visting an agenda (C-c a a) buffer, and want to add a diary > > entry > > for a particular day, I can use org-agenda-diary-entry, bound to 'i'. > > This inserts an entry in my diary file. > > > > What I'd like to do is add the entry instead to an org file, > > e.g. 'agenda.org' where I currently store all diary-like entries. Is > > that functionality available? (Am trying to wean myself off diary > > files, after many years of using it...) > > If you get the latest Org version from the git server, you can > configure the variable `org-agenda-diary-file' to point to your > "diary.org" file or any other Org-mode file. This should be a > file dedicated for general appointments, anniversaries > etc. > > Then `i' in the agenda will create new entries in that file. > Simple entries (day and block) will be placed into an outline > tree that is based on dates: Top-level years, level 2 months, > level 3 days[1]. I have always wanted to have something > like this, so that it will be easy to archive old stuff! So thanks > for giving me a reason to finally make it. > > Right now I have implemented > > i d for day entries, > i b for blocks, > i a for anniversaries (which will be collected under a special >heading "Anniversaries" in your `diary.org' > i j To jump to the cursor date in the date tree > > What else would be useful? > > The same command will also be bound to the `i' key in the > calendar (calendar restart required), so you can make the same > kind of entries from the calendar - very convenient at times, > in particular for long blocks. > > The basics of these new commands seem to work OK, but it > is quite possible that I have not yet thought this through > fully. Let me know what I am missing, so that we can tweak it. > > - Carsten > > [1] If there is any entry in this file with a DATE_TREE property set, > the tree will be build under that entry. > > > ___ > 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] A problem about publishing CSS file
I want to publish org file to webpage using my own CSS file. I added a line like this in my org file: #+STYLE: But after I publish the org file using M-x org-publish-current-file, the output webpage file doesn't use the .. path. The result is like this: Where is the .. gone? Why this happens? Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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][babel] (solved) noweb does not work (as expected)
Hi, finally I found the problem. As Dan mentioned there is a difference for <> <> <> For some reason I was sticking with block1() and override it over and over again. No it seems to work go into the right direction. Python still seems not to like the code if its created by :noweb. However :tangle code seems to run fine. I will try to sort this out now. By the way, :noweb and :tangle seems to work nicely together which gives the freedom to go one or the other way to execute the source code blocks During fiddling around the last day, I found some quirks and "nice to have" requests. Should I simply post them on the list ? Thanks again for helping me Torsten ___ 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 version 6.32trans (release_6.32b.127.g471c2); Tasks with blank effort show up as 0:00
Hi Bernt, On 2009-11-09 10:52:55(-0500), Bernt Hansen wrote: > As part of my weekly review I look for NEXT tasks with no effort > defined. A recent change to org-mode now displays entries with no > Effort property as 0:00 in column view -- these used to be blank. > This is less convenient for me since it's easy to miss tasks with no > effort defined when they don't stand out in the list. > > It's really easy to scan the list of NEXT tasks in column view and see > where there is a blank entry for estimate. It's not so obvious when > the effort value is 0:00 and it's buried in the middle of other tasks > with effort values. Scanning for blank effort NEXT tasks used to take > about 10 seconds but now I have to carefully scrutinize the list to > make sure I didn't miss any. Can you try applying d8865d62646977a2fb15917d63eee680e3ad12e3 in the bugfixes branch at yog-sothoth.mohorovi.cc? That should fix it. James -- |---| ___ 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] Sparse-tree at cursor point
Thanks. On Mon, Nov 9, 2009 at 6:26 PM, Andreas Burtzlaff wrote: > Hello Marcelo, > > On Mon, 9 Nov 2009 18:03:58 -0600 > Marcelo de Moraes Serpa wrote: > > > Hello list, > > > > The sparse-tree feature is very useful when you want to follow tasks of a > > specific project, and want to filter the whole org file to show only the > > relevant project tree. However, I did not find a way to apply this > function > > to a specific tree at the cursor point. Sometimes, I want to act by > project, > > and I know exactly where it is in the file, and I want to apply the > sparse > > tree at this item, instead of searching by regexp, todo, etc. Is it > > possible? > > Yes, that is possible by narrowing to the subtree. > While on the heading for the subtree you want to apply the sparse tree > function on press: > C-x n s (to narrow to the subtree) > C-c / > C-x n w (to widen the view to the whole file) > > HTH > > Andreas > ___ 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-mode version 6.32trans (release_6.32b.144.g081f); implizit examples not working for LaTeX/PDF export
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. The following code does not work as expected, when exported to PDF: => --->8->8->8--- * Image basics Images are inserted into an Org file in a fashion similar to links: : [[file:///home/sebastian/develop/org/org-mode-unicorn.png]] <= ---8<-8<-8<--- Result: The last line is exported as: \href{file:///home/sebastian/develop/org/org-mode-unicorn.png}{nil} Expected result: I expect the last line to be exported as fixed width text. Sebastian Emacs : GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of 2009-08-18 on beteigeuze Package: Org-mode version 6.32trans (release_6.32b.144.g081f) current state: == (setq org-log-done 'time org-mouse-features '(yank-link activate-stars activate-bullets activate-checkboxes) org-export-with-LaTeX-fragments t org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . gnus-other-frame) (file . find-file)) org-special-ctrl-a/e t org-export-latex-listings t org-startup-align-all-tables t org-agenda-files '("~/emacs/org/organizer.org" "~/emacs/org/notes/Laufen/Lauftermine.org") org-agenda-include-diary t org-agenda-window-setup 'current-window org-export-default-language "de" org-hide-leading-stars t org-clock-into-drawer t org-metaup-hook '(org-babel-load-in-session-maybe) org-export-htmlize-css-font-prefix "" org-archive-save-context-info '(time file category todo itags olpath ltags) org-after-todo-state-change-hook '(org-clock-out-if-current sr-org-todo-state-toggled) org-protocol-project-alist '(("http://orgmode.org/worg/"; :online-suffix ".php" :working-suffix ".org" :base-url "http://orgmode.org/worg/"; :working-directory "/home/sebastian/develop/org/Worg/") ("http://localhost/devel/org-notes/"; :online-suffix ".html" :working-suffix ".org" :base-url "http://localhost/devel/org-notes/"; :working-directory "/home/sebastian/emacs/org/notes/") ) org-babel-interpreters '("sql" "css" "ditaa" "python" "sh" "emacs-lisp") org-archive-location "::* Archiv" org-startup-folded t org-odd-levels-only nil org-id-locations-file "~/emacs/.org-id-locations" org-special-ctrl-k t org-export-html-title-format "%s" org-export-with-drawers t org-id-prefix "org" org-agenda-restore-windows-after-quit t org-export-html-style "" org-protocol-protocol-alist '(("Insert sourcecode at point" :protocol "insert-at-point" :function op-insert-at-point)) org-clock-in-resume t org-hide-emphasis-markers t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-clock-persist t org-highlight-latex-fragments-and-specials t org-todo-keywords '("TODO" "STARTED" "|" "DONE" "CANCELED(c@)") org-agenda-before-write-hook '(org-agenda-add-entry-text) org-clock-persist-query-save t org-export-latex-packages-alist '(("" "color") ("" "listings")) org-default-notes-file "~/emacs/org/notes/remember.org" org-export-html-table-tag "" org-directory "~/emacs/org/" org-export-mark-todo-in-toc t org-blank-before-new-entry '((heading . t) (plain-list-item)) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-latex-classes '(("beamer" "\\documentclass[11pt]{beamer}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{hyperref}\n\\usepackage{verbatim}\n\\setbeameroption{show notes}\n\\usetheme{Goettingen}\n\\useoutertheme{infolines}" ("\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}" "\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}") ("\\item{%s}" . "\\item*{%s}") ("\\end{itemize}\\note{" "}")) ("myarticle" "% BEGIN My Article Defaults\n\\input{/home/sebastian/develop/lib/latex/header-pdf.tex}\n" ("\\rzchapteridx{%s}" . "\\rzchapteridx{%s}") ("\\rzsection{%s}{}" . "\\rzsection{%s}") ("\\rzsubsection{%s}" . "\\rzsubsection{%s}") ("\\rzsubsubsection{%s}" . "\\rzsubsubsection{%s}"))
[Orgmode] Org-mode version 6.32trans (release_6.32b.144.g081f); implizit examples not working for LaTeX/PDF export
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. The following code does not work as expected, when exported to PDF: => --->8->8->8--- * Image basics Images are inserted into an Org file in a fashion similar to links: : [[file:///home/sebastian/develop/org/org-mode-unicorn.png]] <= ---8<-8<-8<--- Result: The last line is exported as: \href{file:///home/sebastian/develop/org/org-mode-unicorn.png}{nil} Expected result: I expect the last line to be exported as fixed width text. Sebastian Emacs : GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of 2009-08-18 on beteigeuze Package: Org-mode version 6.32trans (release_6.32b.144.g081f) current state: == (setq org-log-done 'time org-mouse-features '(yank-link activate-stars activate-bullets activate-checkboxes) org-export-with-LaTeX-fragments t org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . gnus-other-frame) (file . find-file)) org-special-ctrl-a/e t org-export-latex-listings t org-startup-align-all-tables t org-agenda-files '("~/emacs/org/organizer.org" "~/emacs/org/notes/Laufen/Lauftermine.org") org-agenda-include-diary t org-agenda-window-setup 'current-window org-export-default-language "de" org-hide-leading-stars t org-clock-into-drawer t org-metaup-hook '(org-babel-load-in-session-maybe) org-export-htmlize-css-font-prefix "" org-archive-save-context-info '(time file category todo itags olpath ltags) org-after-todo-state-change-hook '(org-clock-out-if-current sr-org-todo-state-toggled) org-protocol-project-alist '(("http://orgmode.org/worg/"; :online-suffix ".php" :working-suffix ".org" :base-url "http://orgmode.org/worg/"; :working-directory "/home/sebastian/develop/org/Worg/") ("http://localhost/devel/org-notes/"; :online-suffix ".html" :working-suffix ".org" :base-url "http://localhost/devel/org-notes/"; :working-directory "/home/sebastian/emacs/org/notes/") ) org-babel-interpreters '("sql" "css" "ditaa" "python" "sh" "emacs-lisp") org-archive-location "::* Archiv" org-startup-folded t org-odd-levels-only nil org-id-locations-file "~/emacs/.org-id-locations" org-special-ctrl-k t org-export-html-title-format "%s" org-export-with-drawers t org-id-prefix "org" org-agenda-restore-windows-after-quit t org-export-html-style "" org-protocol-protocol-alist '(("Insert sourcecode at point" :protocol "insert-at-point" :function op-insert-at-point)) org-clock-in-resume t org-hide-emphasis-markers t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-clock-persist t org-highlight-latex-fragments-and-specials t org-todo-keywords '("TODO" "STARTED" "|" "DONE" "CANCELED(c@)") org-agenda-before-write-hook '(org-agenda-add-entry-text) org-clock-persist-query-save t org-export-latex-packages-alist '(("" "color") ("" "listings")) org-default-notes-file "~/emacs/org/notes/remember.org" org-export-html-table-tag "" org-directory "~/emacs/org/" org-export-mark-todo-in-toc t org-blank-before-new-entry '((heading . t) (plain-list-item)) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-latex-classes '(("beamer" "\\documentclass[11pt]{beamer}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{hyperref}\n\\usepackage{verbatim}\n\\setbeameroption{show notes}\n\\usetheme{Goettingen}\n\\useoutertheme{infolines}" ("\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}" "\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}") ("\\item{%s}" . "\\item*{%s}") ("\\end{itemize}\\note{" "}")) ("myarticle" "% BEGIN My Article Defaults\n\\input{/home/sebastian/develop/lib/latex/header-pdf.tex}\n" ("\\rzchapteridx{%s}" . "\\rzchapteridx{%s}") ("\\rzsection{%s}{}" . "\\rzsection{%s}") ("\\rzsubsection{%s}" . "\\rzsubsection{%s}") ("\\rzsubsubsection{%s}" . "\\rzsubsubsection{%s}"))
Re: [Orgmode][babel] noweb does not work (as expected)
Torsten Wagner writes: >> I think the main point is that the current set up means that org-mode >> and org-babel share a common history of commits. My current idea of git >> submodules is that I would include something as a submodule when it is a >> module that gets used by multiple different projects... > > As far as I understand git submodules (but I never get in real use to > them yet) they can be considered as a part of a project which keeps it > own history. If that is right it might be perfect for org-mode and > org-babel. You can develop on top of the org-mode git and does not > cluttering the history of org- mode git. However, as far as I read > there are some potential flaws which, if used wrong, can create some > serious problems. > Hi Torsten, Having used git submodules in a couple of projects I would shy away from the added complexity which submodules introduce. In my experience the implicit requirement of submodules for users to execute 'git submodule init' and 'git submodule update' commands whenever they update their source code can lead to a lot of confusion. Best -- Eric ___ 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] How to add entries to an org file, not diary
> > At Mon, 9 Nov 2009 22:09:23 +0100, > Carsten Dominik wrote: > > > Right now I have implemented > > > > i d for day entries, > > i b for blocks, > > i a for anniversaries (which will be collected under a special > >heading "Anniversaries" in your `diary.org' > > i j To jump to the cursor date in the date tree > > > > What else would be useful? > Thank you for this: I don't remember how this came to pass. I think after writing email to Ed Reingold, author of the various emacs calendar tools, and eventually, this came about. I've thought ever since, that it needed polishing, but I used it innumerable times over the years. Perhaps this would be useful for what you are implementing, or something like it. I'd like to have it. This was certainly done up by Ed Reingold originally, but I've lost track (it was in the pre-org-mode time). The polishing part comes from the inconvenience of typing individually the numbers of days ahead of time one wanted to be reminded. I don't know how to make it better. Maybe org-agenda already does this pretty well. Out of laziness, I used to type something like this, for numbers of days to remind: "30 27 25 22 20 17 14 12 9 7 5 4 3 2 1". Possibly a hard-coded sequence would be just as good, and it could skip weekends, or other inconvenient days, be sure to hit fridays, or whatever. Possibly this is all redundant in the context of org-mode. I guess it is, but I'll send it along anyway. Anyway, here it is. I have it bound to "i e" in the calendar map. ;;;Begin "diary-insert-event-with-reminder";;;8<;; ;; Trivially, this function is covered by the GPL. It "borrows liberally" (TM) ;; from the diary-lib package of Ed Reingold. ;; Alan Davis 15 May 1998. Saipan, NMI. ;; ;; When invoked, this function prompts for a string of numbers ;; representing the number of days in advance you would like to be ;; reminded. Enter a sequence of numbers, like '1 2 3 4 7 8 20'. ;; Subsequently, the function will query for a description of the event. ;; You may optionally type a description of the event; whether or not ;; you do not do so, after you type , will find yourself in ;; your .diary file at the newly inserted line. ;; ;; You may wish to place the following line in your .emacs: ;; (require 'diary-insert-event-with-reminder) (defun diary-insert-event-with-reminder (daylist event arg) "Insert a unique event, on a single date as given by point. A prefix arg will make the entry nonmarking. When invoked, this function will interactively ask for the number of days in advance that you'd like to be reminded, and a name for the event." (interactive "sDays in advance to remind: \nsWhat's the event? \nP") (require 'diary-lib) (let* ((calendar-date-display-form (if european-calendar-style '(day " " month " " year) '(month " " day " " year (make-diary-entry (format "%s(diary-remind '(diary-date %s) '(%s)) %s" sexp-diary-entry-symbol (calendar-date-string (calendar-cursor-to-date t) nil t) daylist event) arg))) ;;;END>8; To bind to keys "ie" in calendar-mode-map: (setq calendar-load-hook '(lambda () ;; Keybinding (define-key calendar-mode-map "ie" 'diary-insert-event-with-reminder) )) ;;; I haven't gotten my feet wet with this new implementation, but will be doing so, I'm not sure how this would fit in with what you have implemented. Alan Davis ___ 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] Clojure support for org-babel
Hi Joel, Thanks for this excellent addition, and for the comprehensive test suite! org-babel-clojure is now available in the latest org-mode from git, and the org-babel-clojure test suite has been added to worg in org-contrib/babel/development.org Thanks! -- Eric Joel Boehland writes: > Hello, > I love org-mode and org-babel, and would like to be able to use > Clojure with them. I have put a first cut that supports Clojure, along > with a support test file up on github: > > http://github.com/jolby/org-babel-clojure > > I would like to be able to have this incorporated into org-mode, so > please let me know if I need to make any changes that will enable it > to be accepted. > > Thanks! > > Joel > > > ___ > 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] Three questions about publishing webpages
Here comes three more questions about publishing webpages about org mode: 1. After publishing webpages with command M-x org-publish-current-file, the org file will be closed by Emacs. I always use M-x org-publish-current-file to check if the output is good, so I still want to edit the org file. What can I do if I don't want that Emacs closes my org file after publishing webpages with M-x org-publish-current-file. 2. I have some characters other than English in my org files. But org publishes org file to webpages as coding ISO-8859-1. So Firefox can't show the characters correctly. How can I let org publish files as UTF-8? 3. I set #+link_home: and #+link_up: , but nothing happened when I publish the org file to webpages. There is no up or home link on my pages. Is it necessary to introduce links in my org file? Or what else I need to set in org? Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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: [babel] dot in pdf directly
Eric Schulte gmail.com> writes: > > The two separate mechanisms are confusion, but for now are necessary to > allow org-mode users to evaluate some simple block types (like dot) on > export without having to load up all of org-babel. > > I hope the above isn't too confusing :) -- Eric > No no thanks a lot not it's very clear. Coming back to my original question, am I able to insert directly the eps generated in my final generated pdf?? Maybe I have to #+begin_dot -Tpdf -o file.pdf ... #+end_dot And then somewhere write some latex code to include it? #+begin_latex \includegraphics.. #+end_latex or can it even be easier? ___ 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] enabling org-protocol with Firefox 3 and Ubuntu 9.04
Hi everybody, if you have tried to enable org-protocol under Firefox you might run into the issue that firefox does not start emacsclient, no matter what the about:config variables say. After spending some time I discovered that this is an issue of Firefox's integration with Gnome. What you need is to tell Gnome that you have a new URI protocol called org-protocol, and that emacsclient is responsible for it. This is done with the following two commands (be careful to indicate the correct full path of emacsclient): gconftool -s /desktop/gnome/url-handlers/org-protocol/command -t string '/usr/bin/emacsclient %s' gconftool -s /desktop/gnome/url-handlers/org-protocol/enabled -t boolean true --dmg -- -- Daniel M. German http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . ___ 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] How to add entries to an org file, not diary
On Nov 10, 2009, at 2:57 AM, Darlan Cavalcante Moreira wrote: This is really nice. Thanks Carsten! I currently use a subtree in my main org file to put dates for appointments, birthdays, etc.. Having a native way to do that will save time and I my approach could became to cluttered in the future. I only miss an easy way to change the date of an appointment, for example. The usual refiling is not very efficient here, since the diary file will have a lot of headings and one may need to refile it to a heading that doesn't exist yet. Maybe org-refile could test if this is the diary file and if it is, offer an interface similar to the usual time stamp insertion. Hi Darlan, the simple answer is: Don't be religious about where in the date three the entry is located. Placing all these entries into a tree is a convenience, but it has no significance for the interpretation of the entries when the agenda is constructed. Each entry still contains a time stamp, and changing the appointment rescheduling means that this time stamp is changed. The entry will still be located under the day where it initially belonged, but so what? The longer answer would be to write a function that cleans up the tree and moves all entries to the right date. Not too hard to write. In fact, I have just added it: M-x org-datetree-cleanup RET If your date tree is part of a larger buffer, you might want to narrow the buffer to the date tree before running this command. - Carsten But this is something minor. Again, thanks for this and org-mode. At Mon, 9 Nov 2009 22:09:23 +0100, Carsten Dominik wrote: Hi Stephen, On Nov 6, 2009, at 4:16 PM, Stephen Eglen wrote: Dear all, If I'm visting an agenda (C-c a a) buffer, and want to add a diary entry for a particular day, I can use org-agenda-diary-entry, bound to 'i'. This inserts an entry in my diary file. What I'd like to do is add the entry instead to an org file, e.g. 'agenda.org' where I currently store all diary-like entries. Is that functionality available? (Am trying to wean myself off diary files, after many years of using it...) If you get the latest Org version from the git server, you can configure the variable `org-agenda-diary-file' to point to your "diary.org" file or any other Org-mode file. This should be a file dedicated for general appointments, anniversaries etc. Then `i' in the agenda will create new entries in that file. Simple entries (day and block) will be placed into an outline tree that is based on dates: Top-level years, level 2 months, level 3 days[1]. I have always wanted to have something like this, so that it will be easy to archive old stuff! So thanks for giving me a reason to finally make it. Right now I have implemented i d for day entries, i b for blocks, i a for anniversaries (which will be collected under a special heading "Anniversaries" in your `diary.org' i j To jump to the cursor date in the date tree What else would be useful? The same command will also be bound to the `i' key in the calendar (calendar restart required), so you can make the same kind of entries from the calendar - very convenient at times, in particular for long blocks. The basics of these new commands seem to work OK, but it is quite possible that I have not yet thought this through fully. Let me know what I am missing, so that we can tweak it. - Carsten [1] If there is any entry in this file with a DATE_TREE property set, the tree will be build under that entry. ___ 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