Re: [O] How to export property values of agenda selection?
Hi Christian, Christian Moe christianmoe.com> writes: > I'm not quite clear on your use case / desired result now. Why do you > want results through batch mode on the command line in order to embed > them in a webpage? Embed how? Is this something you could perhaps do > simply by exporting from Org to HTML? Thanks for your mail. I found a (not so quick but very dirty) way to do what I want. Just to explain: The first step was the management of distribution lists withhin emacs. In the second step I wanted to make the distribution lists also available via Web. What I did now is to use a combination of php, emacs batch mode and agenda views, shellscript and perl: In my index.php I call a shell script: = emacs-export-distribution-list.sh == # Export Agenda View and write to file emacs -batch -l ~/.emacs -eval '(org-batch-agenda "1")' | sed '1d' | sed '1d' > distribution_list.txt # Extract email adresses perl -wne 'while(/[\w\.]+@[\w\.]+\w+/g){print "$&; "}' distribution_list.txt Emacs configuration (setq org-agenda-custom-commands (quote (("1" "Distribution List" tags "tag1+tag2" ((org-agenda-prefix-format '((tags . "%-40:(km/get-properties) ; "))) (org-use-tag-inheritance nil)) And the function: (defun km/get-properties () (concat (org-entry-get (point) "EMAIL"))) In emacs I could not find a way to extract only the email addresses in an agenda view. So it was a good idea to use the following in the buffer as you suggested: #+NAME: list2csv #+BEGIN_SRC emacs-lisp :var match="tag1+tag2" (mapconcat 'identity (org-map-entries '(org-entry-get (point) "EMAIL") match nil) ",") #+END_SRC But for the webpage I could use Perl to further process an agenda view. And since I knew how to get an agenda view exported using emacs batch mode, this was the hack I was looking for. Perhaps not very professional, but it works. ;-) Thanks again for your help! Karl
Re: [O] How to export property values of agenda selection?
Christian Moe christianmoe.com> writes: > I don't know how to do it from the agenda selection, but here's a pretty > simple way to do it in the document buffer using Babel: > > #+NAME: list2csv > #+BEGIN_SRC emacs-lisp :var match="topic2" > (mapconcat 'identity > (org-map-entries > '(org-entry-get (point) "EMAIL") > match nil) > ",") > #+END_SRC > > Now you can use a CALL line with a tags match as a parameter, like > > #+CALL: list2csv(match="topic2") > > to get > > #+RESULTS: list2csv(match="topic2") > : peter mayer.com,karl august.com Does anybody know how to get the results via Emacs batch mode on the command line? I'd like to embed the results in a webpage. The following is my starting point and of course terribly wrong and it doesn't work. It's hard for me to find documentation (that I understand). $ emacs -batch -l ~/.emacs -eval (progn (find-file \"~/test.org\") (org-babel-execute-src-block 'list2csv) (kill-buffer))" Thanks, Karl
Re: [O] How to export property values of agenda selection?
Christian Moe christianmoe.com> writes: > I don't know how to do it from the agenda selection, but here's a pretty > simple way to do it in the document buffer using Babel: Christian, thanks a lot! That does the job. Kind regards, Karl
[O] How to export property values of agenda selection?
I'd like to manage some distribution (mailing) lists in Org. This works great using tags and agenda column view. I have an Org file like this: #+COLUMNS: %25ITEM %30EMAIL %20TAGS * Peter Mayer :topic1:topic2: :PROPERTIES: :EMAIL:pe...@mayer.com :END: * Karl August :topic1:topic2:topic4: :PROPERTIES: :EMAIL: k...@august.com :END: * Peter Müller :topic1: :PROPERTIES: :EMAIL:pe...@mueller.com :END: When I want to write an email about topic2 I use the agenda to display online the entries tagged with "topic2": Headlines with TAGS match: topic2 Press `C-u r' to search again with new search string verteiler: Peter Mayer:topic1:topic2: verteiler: Karl August :topic1:topic2:topic4: I now can use column view in the agenda to display the email addresses and even adjust some entries. What I'd like to do now is to export a comma-separated list of the email addresses of the entries in the agenda selection: "pe...@mayer.com,k...@august.com" in the case above. Does anybody have an idea how to solve this? Thanks, Karl
Re: [O] How to define a start date for a task?
Hi Viktor, Viktor Rosenfeld googlemail.com> writes: > I don't understand why it would show today. The date is in the future > (and it's not a deadline) and the timestamp is inactive. It should not > show up at all, unless the variable > org-agenda-include-inactive-timestamps is set. What I meant is that such a task is not shown on the daily agenda but when I use the agenda to search for all tasks, it is still in the list even if the start date is in the future since inactive timestamps are not recognized by the agenda at all. > I'm not sure how one can query for tasks that do not have a property. A > possible work-around would be querying for all tasks and then using a > skip function to discard those have a start date in the future. The best way would be to to globally exclude such tasks from all agenda searches as it is possible for tags with (setq org-agenda-filter-preset '("-tag")). But as Bernt wrote this seems to be impossible right now. Or does anybody know how to manage this? Regards, Karl
Re: [O] How to define a start date for a task?
Bernt Hansen norang.ca> writes: > I think you'll need to write a custom agenda skip function that skips > your tasks with an inactive START: [date] in the future. I don't know > of a way to apply a custom skip function to the global todo and tags > searches so you'll probably need to use custom agenda searches for this. I use (setq org-agenda-filter-preset '("-someday")) to skip tasks with the tag "someday" in my agenda views. But I think it is only possible to use tags here. Isn't there an equivalent where I can put something like "-'START: $TIMESTAMP_IA > '"?
Re: [O] How to define a start date for a task?
Hi Viktor, Viktor Rosenfeld googlemail.com> writes: > you could enter the start using an inactive timestamp (optionally as a > property value). Then the entry would not show up on the agenda. The > "Advanced searching" tutorial on Worg explains how you can search for > inactive timestamps or property values: > http://orgmode.org/worg/org-tutorials/advanced-searching.html > #special-properties Thank you! That is interesting. Is my understanding correct, that you meant something like the following. * TODO Task, that can be completed tomorrow or later START: [2011-12-19 Mon] This task will not show up on the daily agenda tomorrow since the timestamp is inactive. But it is still shown its the agenda task list today. What I have to do now is to write a custom agenda search that shows me all tasks that do not have a start timestamp or a start timestamp in the past or today. This search would hide tasks with a start date in the future. Is this what you mean? Regards, Karl
Re: [O] How to define a start date for a task?
Hi Bernt, Bernt Hansen norang.ca> writes: > I assume you have a few typos in the following description: > > I'm not sure if this helps. What I'd like to archive is that an unavailable >^^^ >achieve Of course, that is a typo. ;-) > > I do not want the task to show up on my daily agenda when it > > becomes available. >^^^ >not want the task to show up [only] on my daily agenda But that is not a typo. Correct me, but with your solution, tasks become available (schedule date arrives) and then they will show up on the daily agenda. And they will show up there every day until I mark the task as done. That is not really what I'd like to achieve (not archive!) since tasks with start dates are tasks I can do when the start date arrived but do not have to do on a special date. My workflow is as follows: I have a look at my daily agenda to find out what I have to do that day. There I can find tasks that are scheduled or have a deadline. When I finished these tasks and still have time to do some more work, I do agenda searches for tags and/or todo keywords. So, tasks with only a start date should never show up on my daily agenda. They should be hidden from all agenda searches until the start date arrives. Until then they should be available for all agenda searches (but they should not show up on the daily agenda list until I define a schedule date). Is that also possible or am I the only person that has a need for this? ;-) Thanks for your help! Regards, Karl
Re: [O] How to define a start date for a task?
Karl Voit Karl-Voit.at> writes: > Three things I am using can help you: > > 1) Use warning periods together with DEADLINE or SCHEDULED: «You can > specify a different lead time for warnings for a specific deadlines > using the following syntax. Here is an example with a warning period > of 5 days DEADLINE: <2004-02-29 Sun -5d>.» > > 2) Use http://orgmode.org/org.html#TODO-dependencies > > 3) http://orgmode.org/worg/org-contrib/org-depend.html I'm not sure if this helps. What I'd like to archive is that an unavailable task is not shown when I do an agenda search for all tasks for example. I do not want the task to show up on my daily agenda when it becomes available. When the start date arrived the agenda search for all tasks should show the task. Is this possible? Thanks for your help! Regards! Karl
[O] How to define a start date for a task?
Hi, when I used Omnifocus for my task management I made heavy use of start dates to keep unavailable tasks from my tasks lists. If you for example create a task "Buy new DVD" this task should not be shown in your lists until the DVD is published and available. Is there a possibility to define start dates in Org? Regards, Karl
[Orgmode] Re: [ANN] Changes to lists
Nicolas, Nicolas Goaziou gmail.com> writes: > > 2. Lists in inline tasks are not exported properly (item 2a in the > > example below). > > This should be fixed now. Thanks. This does not work for me. Lists in inline tasks are still exported as follows: * item 1 * item 2 What do I miss? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [ANN] Changes to lists
Nicolas, I found another bug. When I put the cursor on item 2 in my example and cycle through with TAB, I get the following: TAB once: - item 2... another TAB: - item 2 *** Inline Task without a "headline" *** END - item 2a... (=> item 2b is missing!!) third TAB: all It seems as if the list in the inline task confuses the cycle functionality. Regards, Karl Zitat von Karl Maihofer : begin example Test - item 1 *** TODO Inline Task Test *** END - item 2 *** Inline Task without a "headline" *** END - item 2a *** TODO Inline Task Text, and a list: - item 1 - item 1a - item 1b - item 2 *** END - item 2b - item 3 end example - Regards, Karl Zitat von Nicolas Goaziou : Hello, Karl Maihofer writes: Pressing M- with the cursor on "Item 2" in the example below inserts a space before the inline task, so that it's no longer recognized as a task. - Item 1 - Item 2 - Item 2.1 *** Inline Task Text *** END - Item 2.2 - Item 3 Fixed and pushed. I also repaired wrong indentation of text inside the task. Thanks for reporting this. Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [ANN] Changes to lists
Nicolas, thanks, demoting works now as expected. I do have another issue when I export inline tasks: 1. If the inline task doesn't have a "headline", there is an empty space before the content of the inline task. I think in earlier versions it wasn't there. See item 2 in the example below. I sometimes use inline tasks just to comment a line of my lists, so I do not use a TODO-state nor a "headline" for that inline task. Perhaps it is a good idea not to use just and but a div-container (for the "headline" and another one for the text below of it) to be able to use CSS for formatting? 2. Lists in inline tasks are not exported properly (item 2a in the example below). Thanks a lot for your work!! begin example Test - item 1 *** TODO Inline Task Test *** END - item 2 *** Inline Task without a "headline" *** END - item 2a *** TODO Inline Task Text, and a list: - item 1 - item 1a - item 1b - item 2 *** END - item 2b - item 3 end example - Regards, Karl Zitat von Nicolas Goaziou : Hello, Karl Maihofer writes: Pressing M- with the cursor on "Item 2" in the example below inserts a space before the inline task, so that it's no longer recognized as a task. - Item 1 - Item 2 - Item 2.1 *** Inline Task Text *** END - Item 2.2 - Item 3 Fixed and pushed. I also repaired wrong indentation of text inside the task. Thanks for reporting this. Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [ANN] Changes to lists
Nicolas, Nicolas Goaziou gmail.com> writes: > I would like to announce, and submit to discussion, some list code > upgrades. So, let me introduce the changes done in development branch: Great! Thanks a lot. I just tested the inline task part and have an issue with demoting of list items, please see below. > As a special case, inline tasks, though starting at column 0, are > always considered part of the first item above in the list. > Consider the following example, with (require 'org-inlinetask), > and try moving first sub-item, or exporting: > > - A list with >+ A sub-list > *** TODO Stuff waiting > 1. First good reason to delay the task > 2. Second good reason to delay it > *** END >+ Another sub-item Pressing M- with the cursor on "Item 2" in the example below inserts a space before the inline task, so that it's no longer recognized as a task. --- Example -- - Item 1 - Item 2 - Item 2.1 *** Inline Task Text *** END - Item 2.2 - Item 3 --- Kind regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] How to use headlines and lists in Org to structure your thoughts?
Zitat von Alan L Tyree : The ongoing discussion about inline tasks and drawers withhin lists much depends on the way you use Org, I think. Perhaps it is a good idea to brainstorm some fundamental aspects in regard to headlines and lists. 2. Make headlines behave like list items. This means enabling word wrap for headlines and export the headlines as lists. If a headline should be exported as a headline you could use a tag :HEADLINE:. If this would be possible, I cannot see a reason why I should make such extensive use of lists. For those old enough to remember PC-Outline, that is the way that headlines behaved. I'm not sure, but I think that Grandview also had a similar structure. That's interesting. So perhaps it is worth to consider an option to make this possible in Org?! I think this would solve the problems some of us have with lists. Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] How to use headlines and lists in Org to structure your thoughts?
The ongoing discussion about inline tasks and drawers withhin lists much depends on the way you use Org, I think. Perhaps it is a good idea to brainstorm some fundamental aspects in regard to headlines and lists. Why and in which situations do we use lists? I use lists a lot to write down my thoughts. I think there are mainly two reasons for this: - Headlines are exported as headlines, not as list items. ;-) - In Headlines you do not have word wrap. So you always have to phrase a headline and then write your text below this headline. For me it is much easier to use lists and write, write, write... with word wrap. I think these are the reasons for me to use lists a lot. But if I do so, I cannot define tasks in my texts - the core concept of Org. To solve this dilemma, I can think of two different approaches: 1. Make it possible to use inline tasks withhin lists. This is what Nicolas implemented (thanks a lot!!!) and what works very well. But it is not a "nice" concept. We discussed this already and I understand the reasons why Carsten and Nicolas himself have reservations. It it only a workaround. 2. Make headlines behave like list items. This means enabling word wrap for headlines and export the headlines as lists. If a headline should be exported as a headline you could use a tag :HEADLINE:. If this would be possible, I cannot see a reason why I should make such extensive use of lists. What do you think? How do you use lists? Do you think the second approach would make sense? Or do I miss something essential? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] void-function org-babel-load-file
Hi Eric, Zitat von Eric Schulte : Are you sure you are using the latest version of Org-mode? I am quite sure. That is what "org-version" says. But I do not compile the elisp files. I only use the following to load a different org-version in my init.el: (add-to-list 'load-path "~/elisp/2010-12-14_org-mode/lisp/") (add-to-list 'load-path "~/elisp/2010-12-14_org-mode/contrib/lisp/") Perhaps this is not enough to load a fully functional version of Org? I tried different Emacs-Versions on Linux, Mac and Windows and different git snapshots of Org of the last few days. But on all machines the same problem. Strange. Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Lists made stronger: lists within lists
Nicolas, great! I just moved around some list items with inline tasks in my 800+ pages document. And it works perfect. I will do some more tests tonight. Thanks a lot! Karl Zitat von Nicolas Goaziou : Hello, As I had promised it here a few days ago, I just pushed a testing branch allowing to have lists in blocks, drawers and inline tasks. These constructs can themselves be located in lists. Basically, lists are allowed in every block but "src", "example" and "verse". Inline tasks will not end lists, even though they start at column 0. Exporters should understand quite intricate situations. Here is an example of this: - * Let's stress-test lists - a list 1. Sub-item with both example and quote blocks #+begin_example + here is a false list #+end_example #+begin_quote 1. followed by a real list 2. of two items 1. and a sub-item And some other text afterwards. #+end_quote 2. Sub-item with src block #+begin_src emacs-lisp (message "Am I appearing?") #+end_src 3. Sub-item with a drawer :LOGBOOK: * One * One dot one * One dot two :END: - and now some centering #+begin_center 1. One 2. Two #+end_center The end. - This is not a trivial patch, so it needs careful testing (and maybe some re-factoring). The branch can be found at: git://github.com/ngz/org-mode-lists.git recursive-lists I still think inline tasks shouldn't be included in lists, but for now, let's see it as a proof of concept. I can always remove it later if it is "too much". The same idea applies to this whole patch: if it is not really needed, it will not reach master branch. Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] void-function org-babel-load-file
Zitat von Karl Maihofer : , | Debugger entered--Lisp error: (void-function org-babel-load-file) | (org-babel-load-file (expand-file-name I found the definition of org-babel-load-file in ob-tangle.el, so I added (require 'ob-tangle) before the function is called in my init.el. And it works now. But I think this is a bug, isn't it? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [babel] void-function org-babel-load-file
Dear Orgmode Users, when I try to update to the latest git version of Org I get the following error. What do I miss? , | Debugger entered--Lisp error: (void-function org-babel-load-file) | (org-babel-load-file (expand-file-name "e:/configs/emacs-config.org" dotfiles-dir)) | eval-buffer(# nil "c:/emacs/home/.emacs.d/init.el" nil t) ; Reading at buffer position 1038 | load-with-code-conversion("c:/emacs/home/.emacs.d/init.el" "c:/emacs/home/.emacs.d/init.el" t t) | load("c:/emacs/home/.emacs.d/init" t t) | #[nil " ` I use the following in my init.el without problems until today: , | (add-to-list 'load-path "~/elisp/org-mode-2010-12-07/lisp/") | (add-to-list 'load-path "~/elisp/org-mode-2010-12-07/contrib/lisp/") | | (setq dotfiles-dir (file-name-directory (or load-file-name (buffer-file-name | (add-to-list 'load-path (expand-file-name "lisp" | (expand-file-name "org" | (expand-file-name "src" dotfiles-dir | | ;; Org-Mode und Org-Babel starten | (require 'org-install) | | ;; Emacs-Konfiguration einlesen | (org-babel-load-file (expand-file-name "e:/configs/emacs-config.org" dotfiles-dir)) ` Thanks! Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Lists handling
Eric S Fraga schrieb: Well, my immediate reaction was to jump in and say that this (pt 4) is exactly when I most need inline tasks! My typical use case is taking minutes at a meeting and assigning actions to individuals: inline tasks are perfect for this. However, on reflection, obviously a simple nested single item list would do the job just fine *if* we could assign TODO actions to list items... *but* we cannot unfortunately. So, I'm back to needing to use inline tasks or putting in a request for taskable list items... Seems as if I'm not alone. :-) 1) I understand that inline tasks withhin lists are not the perfect solution. They break the list visually because they live in column 1. So if you do not need to define a real task but just write a comment, a drawer should be the better solution. , | - Item 1 | - Item 1a | :COMMENT: | This is a comment. | :END: | - Item 1b | - Item 2 | - Item 3 ` 2) Another topic is the need of real tasks withhin lists. And I think that this depends on how you use Org. If you use Org just to write down thoughts using headings, you can define tasks for any item. , | * Text | * Text | ** Text | ** TODO Text | * Text ` But if you have more complex documents that have different headings and you'd like to have a list view for your structured thoughts, you may prefer lists. And when these lists get larger, the need to define list items as tasks gets more important. Since Org is based on a outline structure of items beginning with a star, it may be difficult to realise the possibility to mark list items as tasks!? , | - Item 1 | - Item 1a | - TODO Item 1b | - Item 3 ` So inline tasks may be a work around. My first guess was something like that: , | - Item 1 | - Item 1a | *** TODO Inline Task | Here is text. | *** END | - Item 1b | - Item 2 | - Item 3 ` If that is difficult to implement and drawers are a appropriate way to mark text to belong to a list item, what about using inline tasks withhin such a drawer? , | - Item 1 | - Item 1a | :TASK: | *** TODO Inline Task | Here is text. | *** END | :END: | - Item 1b | - Item 2 | - Item 3 ` The best solution seems to be allowing list items to get a TODO-state. But I think this is too complicated to implement? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Lists handling
Nicolas Goaziou schrieb: With a drawer, you mean something like the following? , | - Item 1 | - Item 1a | :COMMENT: | This is a comment. | :END: | - Item 1b | - Item 2 | - Item 3 ` Yes. It would be great to have drawers in lists. This is certaily a much cleaner structure than using inline tasks. But of course it lacks the possibility to define tasks withhin lists and to find them using the agenda. So I think both concepts may be useful - drawers for simple text and inline tasks to define tasks. ;-) Until we have an opinion about inline tasks are there any arguments agains drawers for list items? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Lists handling
Hi Nicolas! Thanks for your answer! Nicolas Goaziou schrieb: Wouldn't drawers be more appropriate here than inline tasks? Not that it would work with a drawer either, but the examples given seem to focus more on content than on a task title. In fact I have both, text comments and tasks that interrupt my lists. So I think for me it is a more natural solution to use inline tasks. I write my notes between the start- and end-line of an inline task. And sometimes I then realize that there is something to take care of. So the inline task gets a TODO-state. Without inline tasks withhin the list I would have to add an extra inline task above or below the list. But some of my lists are several pages long, so this would not be the Org-way to define tasks (right there where the work had to be done). Of course this is a special case. My lists do not contain my thoughts, but a given structure. I have to comment this structure. And it should be possible to differenciate between the lists and the comments in the HTML export. All this worked quite well with inline tasks. I don't understand what the indentation problem you're talking about is, [...] You are right, identation was the wrong word. I meant promoting and demoting the current subtree with M-S-left or right arrow key. In the example below if the cursor is on Item 1 and I hit M-S-right arrow key Item 1a is demoted, but not Item 1b because of the inline task in between. , | - Item 1 | - Item 1a | *** Inline Task | Here is text. | *** END | - Item 1b | - Item 2 | - Item 3 ` This is a big issue for me because I will have to edit the structure of the lists regularly. Until now this is not possible once I have added my comments. And it would be much effort to cut the comments, edit the structure and paste the comments again. So if promoting and demoting would work in this structure it would be a big help in my case. [...] but I worked on indentation wrt inline tasks recently. My work is at: git://github.com/ngz/org-mode-lists.git inlinetask It might solve some of your problems. I just checked out a copy and I'll have a look. Thanks for that. Did you work on the demote/promote problem, too? I'm writing down ideas to put in a future update of lists. Some previously "unsupported anymore" stuff may appear again, after a phase of testing on a parallel git branch. In this context, you raise an interesting question about inline tasks. I have my idea (read below), but a discussion about it might be productive. It looks to me the syntax is way too subtle to be clear. Moreover, lists are all about indentation, and inline tasks defeat that as they live at column 0. They also visually break any structure around. Perhaps syntax highlighting of inline tasks is an idea to solve the visusl problem. If the inline task gets a background color one can differentiate easier between the list and the task. To be honest, I'm not very enthusiastic about allowing inline tasks within lists. On the other hand, I will definitely let drawers in, thus my first question. As pointed out above in my special case inline tasks would be a great thing to have in lists. But I understand your reservation. It would be an impurity withhin a list. With a drawer, you mean something like the following? , | - Item 1 | - Item 1a | :COMMENT: | This is a comment. | :END: | - Item 1b | - Item 2 | - Item 3 ` In my special case this would be second choice. But I think I could live without tasks but with comments withhin lists when I change my workflow a bit. In HTML export it would then be important to be able to format the comment with CSS. Right now my inline tasks get a nice border and a colored background so that the comments can be recognized withhin the lists. Would this be possible for drawers, too? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Lists handling
In an older thread(*) Sébastien, Carsten and Nicolas discussed the new kind of lists handling that was introduced with Org version 7.02. (*) http://thread.gmane.org/gmane.emacs.orgmode/32808 , | Lists handling | === | | Due to changes made to lists, it is no longer possible to have a | sublist, some text and then another sublist while still in the same | top-level list item, like in the following situation: | |- Some list | + A first sublist | + of two elements | | A text belonging to the top-level list | | + Then another sublist | + and a second element in it |- End of main list ` Sébastien and Carsten mentioned that they aren't really happy to abandon the possiblilty to write that kind of lists. And for me this change is a big issue, too. I have serveral documents that make extensive use of such "interrupted" lists. Often I use inline tasks to comment special list items (and the lists are serveral pages long, so it is not an option to add the comments below or above the list). Example: , | - Item 1 | - Item 1a | | *** | Item 1a is important because... | *** END | | - Item 1b | - Item 2 ` These documents must be updated and will be exported to HTML regularly. Some documents have 500+ pages and many many of these "inline task" notes. My problem isn't only that the exporter does not recognize this structure as one single list anymore (otherwise I could use an old Org version) but also that indentation does not work. Nicolas mentioned this already and I think this was one of the reasons for changing the handling of lists. Does anybody see a chance to make Org recognize such "interrupted" lists as one list and make indentation and export to HTML work properly? Wouldn't it be possible to tell Org to recognize text or inline tasks right behind a bullet point (next line) as belonging to this bullet point so that Org can treat the next bullet point as part of the same list? Example for one single list: , | - Item 1 | - Item 1a | *** Inline Task | This inline task belongs to the bullet point "Item 1a" | *** END | - Item 1b | - Item 2 | - Item 3 ` And in the following example the inline task wouldn't be an element of the list: , | - Item 1 | - Item 1a | | *** Inline Task | If the inline task or text should not belong to the bullet point 1a, | there should be an empty line. | *** END | - Item 1 | - Item 2 | - Item 3 ` Wouldn't this make sense? Or do I miss anything? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Highlight special string
Hi Darlan! Thanks a lot! That's a good solution. Regards, Karl Darlan Cavalcante Moreira schrieb: Not exactly what you want, but for temporary highlights (useful for instance to see if you are repeating the same word too much in a text) you can use hi-lock-mode. Turn hi-lock-mode on with M-x hi-lock-mode. Then you can highlight a word with "C-x w h" (highlight-regexp) or a the line containing a word with "C-x w l" (highlight-lines-matching-regexp). Remove highlights with "C-x w r". -- Darlan At Wed, 24 Nov 2010 09:21:00 +0100, Karl Maihofer wrote: Hi, I don't know if this is an Org- or Emacs-Question. For highlighting special strings in AucTeX I used a variable "font-latex-user-keyword-classes" so I thought there may be an org-specific variable to achieve what I want in orgmode. I'd like to highlight the strings "(ok)" and "(fail)" in my Org-document. Ok should get a green background, fail a red one. I think highlighting in emacs should last, but it would be great to have these strings highlighted in HTML-export, too, if this is no problem. Could anybody give me a hint how to define highlighting for special strings in orgmode? Thanks a lot! ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Highlight special string
Hi, I don't know if this is an Org- or Emacs-Question. For highlighting special strings in AucTeX I used a variable "font-latex-user-keyword-classes" so I thought there may be an org-specific variable to achieve what I want in orgmode. I'd like to highlight the strings "(ok)" and "(fail)" in my Org-document. Ok should get a green background, fail a red one. I think highlighting in emacs should last, but it would be great to have these strings highlighted in HTML-export, too, if this is no problem. Could anybody give me a hint how to define highlighting for special strings in orgmode? Thanks a lot! Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Adding tags, grouping tags
Carsten wrote: 2. A complex new structure that would somehow utilize properties to crease a tag-like parallel structure that can be used in searches. I think it is a interesting idea to use properties for an "extended" use of tags. My first attempt to implement my use of tags to organize my documents in orgmode: * Title of the memo:ATTACH: :PROPERTIES: :Attachments: Memo.pdf :ID: e77dc30e-53c4-4dde-b451-e2g8aa8964c :Topic_ALL: Topic1 Topic2 Topic3 :Client_ALL: Client1 Client2 Client3 :Topic: :Client: :END: I use an org-capture template that gives me the structure above to save new entries to my orgmode-based collection of documents. In the example above the name of the property item is something like a tag group. This enables me to insert tags easily (I can use "C-c C-x p Cl TAB RET" and then scroll through the possible values defined by *_ALL using the arrow keys). But since the client-entry can only have one value, the memo can concern different topics... but the property "Topic" can only have one value, of course. I think it would not be nice to use "topic_one", "topic_two" and "topic_three" as properties to be prepared for these cases where an entry can have more than one value. Any ideas on how to realize multible tags (being in the same group) per entry using the properties function? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Adding tags, grouping tags
Hi Carsten! Carsten Dominik schrieb: Group "people": - Key "h" -> Holger - Key "o" -> Otto I use TAB and then completion for people. Otherwise you run into trouble with two people starting with the same name, trusting your system too far Yes, this may be a risk. But the people group was only an example. The main reason for me pre-defining the tags and using selection keys is that I use org to archive documents. I'd like to assign tags to this documents: (1) the names of clients the documents belong to (2) tags describing the contents ot the files. To make sure that I do not use different tags for the same thing, it is important to see a list of the used tags when assigning them. So I have to use pre-defined tags and selections keys. Do you know what I mean? Besides that I have tags in other contexts, e.g. GTD-related tags etc. So it would be very useful to be able to group the tags as it is possible for agenda commands. Thanks! Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Adding tags, grouping tags
Noorul Islam K M schrieb: I have something like this shamelessly copied from Bernt's doc. (setq org-tag-alist (quote ((:startgroup) ("@errand" . ?e) ("@office" . ?o) ("@home" . ?h) (:endgroup) ("PHONE" . ?p) ("NEXT" . ?n) ("WAITING" . ?w) ("HOME" . ?H) ("ORG" . ?O Thanks for your reply! Correct me if I'm wrong, but doesn't this "only" effect that if you add the tag @office, than add the tag @home, the first will be deleted automatically? This is not the kind of grouping what I am looking for. For me it should - by the way - be possible to add several tags of the same group. I'd like to use the same selection keys for different tags. For example I have the following groups: Group "people": - Key "h" -> Holger - Key "o" -> Otto Group "contexts": - Key "h" -> @home - Key "o" -> @office To make this possible I think it is necessary to be able to select the group in the first step, and then the tag you want to assign - as it is possible for agenda groups. Any ideas? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Adding tags, grouping tags
I'd like to define many many tags and use numerics (1-0) as selection keys. I want to define tags for different clients, people, gtd-contexts, and other contexts. So I had the idea to group the tags (less than ten tags per group) to be able to define selection keys for every tag. I already use groups for my custom agenda views (see example below). So when I hit C-c a, Org only shows the agenda groups (besides the default agenda commands) and I do not get to the actual agenda commands until I hit Q. This enables me to use the keys 1, 2, 3, 4 several times for different agenda commands (in different groups). Example: (setq org-agenda-custom-commands '(("Q" . "Custom queries") ;; gives label to "Q" ("Q1" "Archive search" search "" ((org-agenda-files (file-expand-wildcards "~/archive/*.org" ("Q2" "Website search" search "" ((org-agenda-files (file-expand-wildcards "~/website/*.org" ("Q3" "Projects and Archive" search "" ((org-agenda-text-search-extra-files (file-expand-wildcards "~/archive/*.org" ;; searches both projects and archive directories ("Q4" "Archive tags search" org-tags-view "" ((org-agenda-files (file-expand-wildcards "~/archive/*.org" ;; ...other commands here )) Is something similar possible for adding tags? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [WIP] OpenOffice Exporter
For me it would be very helpful to be able to export footnotes to OpenOffice format. This is something that doesn't work via HTML-export. Do you plan to add support for footnotes? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Archive Tasks
Thanks for your reply! I think this is not what i am looking for. Quote from Bernt: "This ensures that any level 2 task that I archive from this heading (I archive by subtree) gets saved in the archive file under the appropriate level 1 heading.." My problem is, that i have level 3 tasks. --- file: main.org --- * Tasks ** Client X :PROPERTIES: :ARCHIVE: %s_archive::** Client X :END: *** DONE Task Client X ** Client Y :PROPERTIES: :ARCHIVE: %s_archive::** Client Y :END: *** DONE Task Client Y --- file: main.org_archive --- * Tasks ** Client A ** Client X ** Client Z * Whatever --- The first Task (Task Client X) will now be archived correctly. But only because there is already a heading "Client X" in my archive file (and only one heading "Client X"). The second task will be archived at the end of the archive file, but not under the first level heading "Tasks". With the current setup i have to make sure - that there is already a heading for every client in my archive file and - that there is only one heading with that name It would be great if i could tell org, that my level 3 tasks should be archived under * Tasks -> ** Client X, so that Org will create the heading "client X" itself (and the heading "Tasks", too, if it doesn't already exist) at the right position in my archive file. Any ideas? Karl Am 18.08.10 07:22, schrieb Puneeth: > Karl, > > On Wed, Aug 18, 2010 at 10:36 AM, Karl Maihofer wrote: >> Is there a way to tell org, that there should be a first level called >> "Tasks" and a second called "Client 1"? > > Bernt's setup describes how to do this. > > http://doc.norang.ca/org-mode.html#OrgFileStructure > > -- Puneeth > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Archive Tasks
Bastien, thanks for your reply! I think this works if there is already an entry "Client 1" in the file gtd.org_archive. But if the task is the first one that should be archived, org doesn't know that this should be on the second level: * Tasks ** Client 1 Is there a way to tell org, that there should be a first level called "Tasks" and a second called "Client 1"? Regards, Karl Am 16.08.10 20:07, schrieb Bastien: > Hi Karl, > > Karl Maihofer writes: > >> I have a problem to archive my tasks. What should the row ":ARCHIVE:" >> look like, so that my "Task One" will be archived under "Tasks - Client >> 1" (see example below)? > > :ARCHIVE: %s_archive::** Client 1 > > should work. > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Archive Tasks
Dear Org-Users, I have a problem to archive my tasks. What should the row ":ARCHIVE:" look like, so that my "Task One" will be archived under "Tasks - Client 1" (see example below)? Thanks a lot! Karl --- My structure in gtd.org: --- * Tasks ** Client 1 *** DONE Task One :PROPERTIES: :ARCHIVE: %s_archive::* Tasks ??? :END: *** TODO Task Two ** Client 2 *** TODO Task Three --- --- gtd.org_archive should look the same: --- * Tasks ** Client 1 *** DONE Task One --- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Export to LaTeX without "surroundings"?
Thanks a lot, Darlan! Am 23.12.09 04:41, schrieb Darlan Cavalcante Moreira: > > If all you want to do is using the org-mode superpowers for tables to write > latex tables then you should about "Radio tables" in the manual > (http://orgmode.org/manual/Radio-tables.html#Radio-tables). Basically, you > write > a standard org-mode table as a comment in your .tex file and then call a > function to send the table as a latex table to a specified place in the same > file. It is really nice and you can use all of the spreadsheet operations. > > - Darlan Cavalcante Moreira > > At Tue, 22 Dec 2009 13:45:05 +0100, > Karl Maihofer wrote: >> >> Hi, >> >> is there a way to only export the content of an org-file to the LaTeX >> syntax (without LaTeX header etc.)? >> >> I'd like to include a table.tex (my bibliography, i do not use bibtex) >> into my main tex-file. But because it is very nice to write tables in >> orgmode, i thought i could write my table in a file table.org, export it >> to table.tex, which then will be included into my main.tex file. >> >> Thanks! >> >> Karl >> >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Export to LaTeX without "surroundings"?
Hi, is there a way to only export the content of an org-file to the LaTeX syntax (without LaTeX header etc.)? I'd like to include a table.tex (my bibliography, i do not use bibtex) into my main tex-file. But because it is very nice to write tables in orgmode, i thought i could write my table in a file table.org, export it to table.tex, which then will be included into my main.tex file. Thanks! Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [MobileOrg] Weekly Agenda
Hi, I'm making my first steps with MobileOrg. Thank you very must for this app, it was one reason for me to chose the iphone. MobileOrg shows me my custom agenda views, but what about the agenda for the current week and day? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] html export of inline tasks
Hi, would it be possible to add some tags to the html-exporter for inline tasks? I'd like to be able to show the todo keyword in a different color as it is possible for normal tasks. Normal task: > TODO task description Inline task: > > TODO task description > > Perhaps one could add a span tag to the keyword of inline tasks, too? Regards, Karl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Evangelize the world with Org-mode
Am 16.10.09 14:09, schrieb Karl Maihofer: Perhaps ikiwiki? Ha! Have a look at this: http://www.golden-gryphon.com/blog/manoj/blog/2008/06/08/Using_org-mode_with_Ikiwiki/ There was already a discussion about ikiwiki on this list: http://search.gmane.org/search.php?group=gmane.emacs.orgmode&query=ikiwiki 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
Re: [Orgmode] Evangelize the world with Org-mode
Am 16.10.09 11:29, schrieb Sébastien Vauban: - or, even better (as it would be install-less): a Wiki based on Org syntax with document generation capability (button to generate a PDF). Perhaps ikiwiki? "Ikiwiki is a wiki compiler. It converts wiki pages into HTML pages suitable for publishing on a website. Ikiwiki stores pages and history in a revision control system such as Subversion or Git." "If you prefer to use some *other markup language*, ikiwiki allows others to easily be added by plugins." http://ikiwiki.info/ http://ikiwiki.info/features/ 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
Re: [Orgmode] Searching inside of attachments (pdf, odt)?
Hi, Am 13.10.09 19:09, schrieb Samuel Wales: Have you tried the agenda search feature yet? If not, perhaps trying it first will help ground the discussion. OK, I had another look at the org agenda search feature and I agree that it would be much smarter to use the already implemented org features - to go "the org-way". But I must confess I do not know how to push the attachments to pdf2txt, make the org agenda search the text-files and link back to the corresponding org task in the org-file. Any ideas? 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
Re: [Orgmode] Searching inside of attachments (pdf, odt)?
Hi Samuel, Samuel Wales schrieb: My idea is to use ordinary agenda search like this: 1) agenda search displays the headline that has the attachment. 2) org uses an alist to determine the correct textifier according to extension. e.g. '((".pdf" . "pdf2text")). 3) agenda searches normally (as if the contents of the attachment were body text). correct me if i'm wrong, but your approach is to search inside (an) already identified attachment(s)? I'd like to find attachments by searching inside the whole set of attachments. I do have many articles (pdf-files) to deal with. When i write a report on a special topic i have to find articles that are relevant to the topic i'm working on at the moment. If we use the standard textifiers the procedure will probably get very slow if there are many attachments. I think using an index would be a good idea. To describe what i'm looking for: My first step is to create an entry for each article, define tags (describing the content) and add some notes. * Title of the article :tag:tag:tag: :PROPERTIES: :Attachments: article.pdf :ID: 387HJGJD78-758GZFHF87-JKHKJ57dfd9 :END: - Very good explanation of X. - New view on Y. But it would be much more powerful to be able not only to find an entry by searching for tags but to search inside the attachments. I'm not a programmer, so sorry if my ideas are stupid. ;-) But i thing the following questions have to be answered: 1) Is there a tool like Lucene that can index pdf-files as they are stored by orgmode (directory structure)? 2) Is it possible to send a query to this tool from within emacs? 3) Is it possible to "import" the answer of the tool into emacs and combine it with orgmode so that the result looks somehow like this: "Search string 'XX' found in file 'article.pdf' attached to task 'Title of the article'". A click on the name of the attachment should open the pdf-file in the pdf-reader; a click on the task name should show the task in the org-buffer. Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Searching inside of attachments (pdf, odt)?
Hi, does anyone use something like Lucene[*] with orgmode to search inside attachments like pdf- and odt-files? At the moment I use org for time-planning and a stand-alone Confluence wiki for knowledge management (which uses Lucene to index attachments). My "knowledge management" mainly consists of a large amount of pdf-files. If I could search inside attachments with org, I could perhaps switch to an Emacs-only solution. That would be awesome. Kind regards, Karl [*] http://en.wikipedia.org/wiki/Lucene ___ 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] Error when exporting as Latex
Others may correct me but I think this is the same issue I had yesterday. The reason is that the two versions of Org - the one shipped with your Emacs and the latest one you installed by yourself conflict in some way. Some time ago the lisp-file for LaTeX export was renamed - perhaps this is why you get an error. My solution was to rename the Org-lisp-files in c:/bin/emacs-22.3/lisp/textmodes/. For example org-export-latex.elc gets org-export-latex.elc_save and so on. After that Emacs can only find the latest Org-version. I then had to add (require 'org-latex) to my ~/.emacs. Hope that helps. Karl Paul Mead schrieb: Hi I've only just spotted this error as I don't use the Latex export very often. When I export as Latex either to file or buffer, I get the following error: org-export-latex-lists: Wrong number of arguments: #[(list) "\"" [list org-list-to-generic (:splicep nil :ostart "\\begin{enumerate}" :oend "\\end{enumerate}" :ustart "\\begin{itemize}" :uend "\\end{itemize}" ...)] 3 ("c:/bin/emacs-22.3/lisp/textmodes/org-export-latex.elc" . 39820)], 2 I've tested this on a file which is unchanged from when I last successfully exported it, many org versions ago. Org-mode version 6.28trans GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Any ideas? 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 ___ 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] Latest Org and Carbon Emacs
Thanks! I was able to find the org-lisp-files of the old org-version with "locate-library". Then I renamed the files and added the following to my configuration: (require 'org-latex) Now LaTeX export works! Thanks again! Karl Nick Dokos schrieb: Karl Maihofer wrote: Until now I used Org with Debian GNU/Linux. Today I bought a MacBook Pro 13" and I spent the evening making my first steps with MacOS. I installed the Carbon Emacs package and configured Emacs to use the latest Org-Version that I copied to ~/elisp/org-mode/. (add-to-list 'load-path "~/elisp/org-mode/lisp/") (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) When I try to export an org-file to LaTeX I get the following error: org-export-latex-first-lines: Symbol's function definition is void: org-cleaned-string-for-export I think I saw this error already some time ago and the reason was, that an old org-version conflicts with the one I use. Under Debian I renamed the Org-elisp-files in the Emacs-Program-Directory and the problem was solved. But under MacOS I cannot find these files - as I wrote, I am completely new to MacOS. I scanned the Folders /Applications/Emacs.app/* but couldn't find the org elisp files. Could anybody give me a hint where to find the files and how to solve my problem? You are missing a (require 'org-install) after the load path is set. HTH, Nick PS. Checking org-version is always a good idea: M-x org-version You can find where emacs is picking up the files by evaluating this: (locate-library "org") or interactively: M-x locate-library 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] Latest Org and Carbon Emacs
Until now I used Org with Debian GNU/Linux. Today I bought a MacBook Pro 13" and I spent the evening making my first steps with MacOS. I installed the Carbon Emacs package and configured Emacs to use the latest Org-Version that I copied to ~/elisp/org-mode/. (add-to-list 'load-path "~/elisp/org-mode/lisp/") (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) When I try to export an org-file to LaTeX I get the following error: org-export-latex-first-lines: Symbol's function definition is void: org-cleaned-string-for-export I think I saw this error already some time ago and the reason was, that an old org-version conflicts with the one I use. Under Debian I renamed the Org-elisp-files in the Emacs-Program-Directory and the problem was solved. But under MacOS I cannot find these files - as I wrote, I am completely new to MacOS. I scanned the Folders /Applications/Emacs.app/* but couldn't find the org elisp files. Could anybody give me a hint where to find the files and how to solve my problem? 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] footnote renumber bug
Andreas Roehler schrieb: > after reopening a file with two footnotes inside, > inserting a third footnote between first and second, it > fails to renumber it. Did you try the new "C-u C-c C-x f S" feature of the latest git-version? Org does not renumber footnotes automatically when they are inserted. You have to use the command above to do that. BTW: the third footnote marker in your example is "[fnx:3]". Shouldn't it be just "[fn:3]"? 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
Re: [Orgmode] Sorting and renumbering footnotes
Carsten Dominik schrieb: this is now implemented as [r] action in the footnote actions. [r] dies only renumbering, no sorting, so you'd have to use 2 commands. Actually, I just also added [S] as a shortcut for first [r] then [s] Carsten, thank you VERY much! It works perfect. ___ 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] Sorting and renumbering footnotes
I use Org to write quite long documents with many footnotes and I am wondering if there is a way to renumber the footnotes when sorting with "C-u C-c C-x f s". "n" at the end is not what I am looking for. I'd like the footnotes to stay at the position set by org-footnote-section. Simple visual example: --- * First Headline Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing project[fn:3] planning, and authoring with a fast and effective[fn:1] plain-text system. [fn:1] Third Footnote. [fn:2] Frist Footnote. [fn:3] Second Footnote. * Second Headline - Pressing "C-u C-c C-x f s" resuls in the following: -- * First Headline Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing project[fn:3] planning, and authoring with a fast and effective[fn:1] plain-text system. [fn:2] Frist Footnote. [fn:3] Second Footnote. [fn:1] Third Footnote. * Second Headline --- How can I achieve this: --- * First Headline Org-mode is for keeping[fn:1] notes, maintaining ToDo lists, doing project[fn:2] planning, and authoring with a fast and effective[fn:3] plain-text system. [fn:1] Frist Footnote. [fn:2] Second Footnote. [fn:3] Third Footnote. * Second Headline -- 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] Popup with Weekly Agenda?
Hi, Tassilo integrated the weekly agenda (as a popup) with the awesome window manager[1]. So whenever the mouse pointer enters a special region of the desktop, a popup shows the agenda for the current week and disappears when the mouse is moved away (Have a look at the very nice screenshot shown in the article). I was wondering if anybody could imagine a way to do something similar using other window managers for X, especially Gnome. Karl [1] http://tsdh.wordpress.com/2009/03/04/integrating-emacs-org-mode-with-the-awesome-window-manager/ ___ 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] Table of Contents in an extra buffer?
Quoting Carsten Dominik : Bastien has implemented this in org-toc.el which is a contributed package. Perfekt! Thanks a lot! ___ 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] Table of Contents in an extra buffer?
Wouldn't it be useful to have a table of contents in an extra buffer to move around quickly in huge org-files as it is possible in LaTeX-files with RefTeX? For me this is a feature that would make Org an even better authoring tool. 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
Re: [Orgmode] How to define TODOs within continuous text the best way?
Hi Carsten! Carsten Dominik schrieb: > I just pushed this file into the git repository. Read the file > commentary for explanations and try it out - I think the > mechanism work surprisingly well. Thanks a lot! That seems to be what i was looking for. I just tried the latest git-version and have still some problems. But I am not a programmer... At first i didn't get a lisp/org-inlinetask.elc when i compiled org (require 'org-inlinetask in my .emacs didn't work). So I added org-inlinetask.el to the LISPF-List in the Makefile. In the dependencies-section a added lisp/org-inlinetask.elc: lisp/org.el lisp/org-exp.el. Now I do have an org-inlinetask.elc. Visibility cycling now works as expected, so that i think org-inlinetask is loaded correctly. But the following simple org-file is not exported correctly: --- * Heading 1 Frist paragraph (heading 1). *** TODO Inline! Second paragraph (heading 1). * Heading 2 First paragraph (heading 2). Export result is something like this: 1 Heading 1 First paragraph (heading 1). Second paragraph (heading 1). 2 =>=>=> TODO Inline! Heading 2 First paragraph (heading 2). - HTML-Source is: - test Inhaltsverzeichnis 1 Heading 1 2 1 Heading 1 Frist paragraph (heading 1). Second paragraph (heading 1). 2 ⇒⇒⇒ TODO Inline! Heading 2 Frist paragraph (heading 2). Autor: Karl mailto:k...@netbook";>Datum: 2009-03-31 17:15:12 CEST HTML generated by org-mode 6.24trans in emacs 23 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
Re: [Orgmode] How to define TODOs within continuous text the best way?
Karl Maihofer schrieb: > #+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? Sorry, no bug, of course. When I mark the TODO-Item not to be exported, the end-tags of the comment-tags are not exported, too. ;-) Is there a way only to exclude an item from the table of contents? 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
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: 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] How to define TODOs within continuous text the best way?
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
Re: [Orgmode] Large Font in Column-View
Hi Carsten, thanks for your help! Carsten Dominik schrieb: > Is this change reversed when you exit column view? Yes, it is reversed. > Does it affect the columns only, or the text between headlines as well? I think the problem was "Org-Font-Lock / Org-Faces / Org-Column / Height". It was set to something like 110. I changed it to "80" and column-view looks like i what it to. Thanks again! 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] Large Font in Column-View
Hi, when I switch to column-view the font size increases. I don't really know since when this happens on my system... I use Emacs 23.0.91.1 (todays cvs version) and Org-Mode 6.24b. I tried to start Emacs without any modifications (without ~/.emacs), too - but the same problem. Any ideas? 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
Re: [Orgmode] Hyperlinks in column-view?
Carsten Dominik schrieb: > However, you can use C-c C-o normally when the cursor is > on a column field containing a link. Thanks, Carsten! 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] Hyperlinks in column-view?
Hi, thank you very much for sharing this wonderful piece of software! I'd like to build a little database containing contact information. To view the entries, I chose the very nice column-view. Is it possible to realise hyperlinks in column-view so that a click on an e-mail adress opens my e-mail client? 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