[Orgmode] Re: Handling org-file agenda dependenncies?
Mike Newman mike at newmanfamily.me.uk writes: When you use the standard commands to add/removes files from the agenda, it will write a definition for the variable org-agenda-files to the custom section of your .emacs file. That would still mean removing every org-file in the tree manually when wanting to make a project inactive. If you want to deal with trees of files, you might be better off removing the variable from the custom section, defining it yourself and updating it manually. The questions here is... How could one define it? I thought of a macro that I could use while in an emacs buffer. The macro should search through the attachment directory (saved as a property) of the headline and remove from the agenda all the *.org files that it finds. Comments? Suggestions? Greetings, Eraldo ___ 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 define TODOs within continuous text the best way?
I can't think of a good way to make the TODO items inline for HTML export, as the result is a list. Note, that the p element has to be closed to have valid XHTML (wich means we can't use a CSS selector `p ul' here to make it inline): = ---8-8-8--- p Some Text... /pul li id=sec-1.1.1.1.1span class=todo TODO TODO/span Get the container br/ /li /ul p Some Text... = ---8-8-8--- Sebastian Karl Maihofer ignora...@gmx.de writes: Hi, I write some articles in Org-Mode and use the html and latex export function. I'm wondering about how to define TODOs within the text the best way. I hope my bad english lasts to explain what I mean exactly: I'd like to define a TODO like in the example below. When there is a task somewhere in my text (I want to look something up etc.) I want to define this task at the relevant position in my text. So I can lookup all TODOs using the agenda-view and jump directly to the position in my text. The problem is that a TODO is always a new heading and so it is exported in my html(latex)-version as a heading. I would prefer to format a TODO as a text box or at least to exclude it from the html(latex)-export so that it is only visible in org-mode - not in the exported version. But when I exclude the TODO so that it isn't exported anymore, not only the TODO itself but also the text below the TODO isn't exported until there is a new heading - because the TODO itself is a heading, too. I know that this is because Org-Mode is an outliner-mode, TODOs always have to be defined with a beginning *. But is there any possibility to solve the problem? How do you define TODOs within the text when you use Org-Mode as an authoring tool? Perhaps it is possible to define TODOs as a very deep-level heading, that isn't needed, like ** TODO text and change the export function that this level isn't exported as a heading but as a div-Container? Or every heading that contains TODO is not exported as a heading but as a div-container? What is the best way to handle TODOs within continuous text? Kind regards, Karl --- * Heading 1 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. * TODO Check again (or ** TODO text?) This paragraph still belongs to heading 1. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. * Heading 2 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. --- ___ 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] How to define TODOs within continuous text the best way?
Hi, thanks for your answer! Sebastian Rose schrieb: Yes, this is possible. By default only the first three levels are exported as headlines. Any headline that is deeper nested, is exported as a list item. The variable in question is `org-export-headline-levels' OK, I see. But now the text below the TODO-item is still part of the list. So it is indented - in html. Another idea: Why not simply use comments? #+HTML: !-- #+LaTeX: \begin{comment} * TODO Test #+LaTeX: \end{comment} #+HTML: -- I think, this should work for me. The only problem now is to exclude the TODO from the HTML-generated Table of Contents. Using #+EXPORT_EXCLUDE_TAGS: exclude does not work. Perhaps a bug in the html-export? I have several commands like that defined (\rzidea, ...) and some produce a box with an icon and frame, that does not use the margin. That looks nice. But I think this is not the right solution for me?! For me it is important that the TODOs are recognized by Org-Mode so that I can jump to the position within my document using the agenda. In the exported version of the file it is no problem when the TODOs are missing. Thanks again and Kind regards, Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] newline before headline
I just found out that there is a newline before each headline in the recent version of org-mode (6.24). Is there a post explaining why this change was made? I have troubles with that, for example: when adding a new headline while looking at the overview... the newline does not get made... and therefore all the following will not have it until one changes the behavior by making one before creating a new one again. ___ 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] [ANN] org-fstree: insert directory subtrees into org buffers
Hello everyone, the idea is now implemented as an extension to org-mode. Available here: http://www.burtzlaff.de/org-fstree/org-fstree.el org-fstree inserts the filesystem subtree for a given directory. Each file/directory is formatted as a headline, provides links back to all headlines that are associated with it (by containing links to the file) and is assigned their tags. Usage: - enter a line containing #+BEGIN_FSTREE: dir into an org buffer, where dir is the directory, that is to be inserted. - while the cursor is in the line mentioned, press C-c C-c Hope someone else than Sebastian and me finds this useful. 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] filtering org-agenda by tag
Hey there, I just switched to using the development version of org-mode (rather than the synaptic package), and now have an issue with org-agenda. Whenever I filter the agenda by tag and then refresh the agenda or move to a new view (functionally, refreshing it) the filter is no longer applied. Internet searching turned up the promisingly named variable org-agenda-filter-preset, but it isn't recognized by my emacs. I guess my questions are: Was switching to the dev version the cause of this change? AND Is there a straightforward way to get the filter to be applied through a reload, or is this something I should write a solution to for myself? Thanks a lot! -shaunalynn -- shaunalynnduffy.org sproutward.org 603.321.4839 256 Brookline St Apt 2 Cambridge MA 02139 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] remember template indentation
Evening, On 28 Mar 09, Eraldo Helal wrote: If I create it with my remember template however... (inbox ?i * %^{topic}%i\n:LOGBOOK:\n- Created: %U from %a\n:END:\n%? inbox.org stuff) then it is all the way in the left margin (first char) and it does not move when the headline does (promote|demote) Any idea how I can get my remember template to make the LOGBOOK and enter the creation date there while keeping the default behavior? Intend the LOGBOOK-Drawer in your template with two spaces: (inbox ?i * %^{topic}%i\n :LOGBOOK:\n - Created: %U from %a\n :END:\n%? inbox.org stuff) This template creates a level two headline in inbox.org like this: * stuff ... ** your topic :LOGBOOK: - Created timestamp from link :END: your description So the LOGBOOK-Drawer is placed exactly if it would be if created by changing a todo state (and behaves so). The \n is a escape sequence that stands for RET. Regards, -- David -- Email. maus.da...@gmail.com Jabber dmj...@jabber.org ICQ... 241051416 OpenPGP... 0x316F4BE4670716FD signature.asc Description: Digital 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: remember template indentation
Eraldo Helal ad...@eraldo.at writes: The problem is that the LOGBOOK item does not move with the headline... example: BEFORE ** your topic :LOGBOOK: - Created timestamp from link :END: your description AFTER your topic :LOGBOOK: - Created timestamp from link :END: your description It does when created by changing to state But I did also find out that this is a general problem! (not remember only) It works like this: If there is a description text, it does not move with the headline. If there is no description text, it does move along with the headline. Any suggestions how to solve this? You need to indent all of the text under the headline for the indents to change If any of the text is indented _less_ than the heading level then changing indents is disabled IIRC. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: newline before headline
Bernt Hansen be...@norang.ca writes: Eraldo Helal off...@eraldo.at writes: I just found out that there is a newline before each headline in the recent version of org-mode (6.24). Is there a post explaining why this change was made? I have troubles with that, for example: when adding a new headline while looking at the overview... the newline does not get made... and therefore all the following will not have it until one changes the behavior by making one before creating a new one again. (as explained on IRC) you need to customize the org-blank-before-new-entry variable to change this behaviour. See also the FAQ that addresses this: http://orgmode.org/worg/org-faq.php#blank-line-after-headlines-and-list-items - 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
Re: [Orgmode] Re: newline before headline
Changed that variable... works great again. I remember reading about a setting to auto-indent description text. On Sun, Mar 29, 2009 at 01:32, Matthew Lundin m...@imapmail.org wrote: Bernt Hansen be...@norang.ca writes: Eraldo Helal off...@eraldo.at writes: I just found out that there is a newline before each headline in the recent version of org-mode (6.24). Is there a post explaining why this change was made? I have troubles with that, for example: when adding a new headline while looking at the overview... the newline does not get made... and therefore all the following will not have it until one changes the behavior by making one before creating a new one again. (as explained on IRC) you need to customize the org-blank-before-new-entry variable to change this behaviour. See also the FAQ that addresses this: http://orgmode.org/worg/org-faq.php#blank-line-after-headlines-and-list-items - 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
Re: [Orgmode] [ANN] org-fstree: insert directory subtrees into org buffers
Andreas Burtzlaff and...@gmx.net writes: Hello everyone, the idea is now implemented as an extension to org-mode. Available here: http://www.burtzlaff.de/org-fstree/org-fstree.el org-fstree inserts the filesystem subtree for a given directory. Each file/directory is formatted as a headline, provides links back to all headlines that are associated with it (by containing links to the file) and is assigned their tags. Usage: - enter a line containing #+BEGIN_FSTREE: dir into an org buffer, where dir is the directory, that is to be inserted. - while the cursor is in the line mentioned, press C-c C-c Hope someone else than Sebastian and me finds this useful. I find this useful! Thans for putting this in elisp. Some additions I could thing of: * a customizable list of directory names to skip. '(CVS _MTN .git .hg RCS) might be a good default. * Add directory names to the skip list #+begin fstree -sd (nogo notes) * Skip files by suffix #+begin fstree -sf (.jpg .gif ...) * Maybe require the option `-r' to be recursive. Files are often grouped in directories for a purpose. If I jott down some notes it would be great to just add files in that one directory that contains files related to the sections content. * Add a slash to the directory names to make the list more readable. As an alternative, I could imagine to use folder icons like speedbar, or use headlines without links for directories (the links all look the same, wether they are headlines or leaves). - 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