Re: [Orgmode] Re: how to extract start time and end time from the CLOCK: property
On Sep 3, 2008, at 9:10 PM, Seweryn Kokot wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: Hi Seweryn, please see http://thread.gmane.org/gmane.emacs.orgmode/7430/focus=7430 Hi Carsten Thanks a lot! This is exactly what I wanted. In my case the following works (defun my-org-column-cleaner (title value) (cond ((equal title "Start") (if (and value (>= (length value) 40)) (substring value 16 21) nil ; there was no value, or it was a short string )) ((equal title "End") (if (and value (>= (length value) 40)) (substring value 40 45) nil ; there was no value, or it was a short string )) (t nil))) (setq org-columns-modify-value-for-display-function 'my-org-column- cleaner) and #+COLUMNS: %50ITEM(Action) %8CLOCK(Start) %8CLOCK(End) %7CLOCKSUM(Clocked) The only problem is that Emacs+orgmode under Linux gives [2008-08-19 wto 07:26]--[2008-08-19 wto 08:26] and under Windows I got [2008-08-05 Wt 11:44]--[2008-08-05 Wt 13:47] I guess this is caused by the system locales. Is it possible to make it consistent with some settings in .emacs file? I don't know how to do this, byt you could use a regular expression to extract the time instead of a fixed substring, like (if (and value (>= (length value) 40) (string-match "[0-9]+:[0-9]+" value)) (mach-string 0 value) nil ; there was no value, or it was a short string 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
[Orgmode] Re: Question/Poll
On Sep 3, 2008, at 11:37 PM, Rainer Stengele wrote: Carsten Dominik wrote: Hi, is anyone using the interactive note target selection with remember? Or do you all (like me) always file the entries to the location defined in the template settings? I am considering to remove the interactive target selection entirely, because it basically defeats the purpose of remember of filing a note without any fuss. I am willing to keep it if people are using it. - 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 I wonder if this makes the remember templates so "slow" for me. Really? Strange. Starting the template it takes several seconds until I am able to write any character. Is it because it scans and collects all possible targets? No, that would only happen when you finish a remember note. The only thing in the template creation that might be slow it creating the global completion table for tags. Do you have %g or %G in the templates that are slow? Are they all slow? - Carsten I never use the interactice mode Rainer ___ 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: Question/Poll
Carsten Dominik wrote: Hi, is anyone using the interactive note target selection with remember? Or do you all (like me) always file the entries to the location defined in the template settings? I am considering to remove the interactive target selection entirely, because it basically defeats the purpose of remember of filing a note without any fuss. I am willing to keep it if people are using it. - 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 I wonder if this makes the remember templates so "slow" for me. Starting the template it takes several seconds until I am able to write any character. Is it because it scans and collects all possible targets? I never use the interactice mode Rainer ___ 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] Question/Poll
Carsten Dominik <[EMAIL PROTECTED]> writes: > is anyone using the interactive note target selection with remember? > > Or do you all (like me) always file the entries to the location > defined in the template settings? I was using it, until I went back through and tuned up my template settings to provide the locations I was actually using. I never used it to file next actions and so forth directly to their projects -- they always went to Inbox. -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada| ___ 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: how to extract start time and end time from the CLOCK: property
Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi Seweryn, > > please see > > http://thread.gmane.org/gmane.emacs.orgmode/7430/focus=7430 Hi Carsten Thanks a lot! This is exactly what I wanted. In my case the following works (defun my-org-column-cleaner (title value) (cond ((equal title "Start") (if (and value (>= (length value) 40)) (substring value 16 21) nil ; there was no value, or it was a short string )) ((equal title "End") (if (and value (>= (length value) 40)) (substring value 40 45) nil ; there was no value, or it was a short string )) (t nil))) (setq org-columns-modify-value-for-display-function 'my-org-column-cleaner) and #+COLUMNS: %50ITEM(Action) %8CLOCK(Start) %8CLOCK(End) %7CLOCKSUM(Clocked) The only problem is that Emacs+orgmode under Linux gives [2008-08-19 wto 07:26]--[2008-08-19 wto 08:26] and under Windows I got [2008-08-05 Wt 11:44]--[2008-08-05 Wt 13:47] I guess this is caused by the system locales. Is it possible to make it consistent with some settings in .emacs file? regards, -- Seweryn ___ 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: Strange key binding problem
On Wed, Sep 3, 2008 at 02:51, Carsten Dominik <[EMAIL PROTECTED]> wrote: >> (org-defkey org-mode-map [(meta down)] 'org-metadown) > > That should work, and it does for me. OK, does not work for me. This does, however. (I got it by M-x local-set-key RET. This is a trick I use to figure out what a key does.) (local-set-key (quote [27 right]) (quote org-metaright)) By the way, Alt-right merely sends right. Carbon emacs, mac powerbook, tiger, gui, latest org-mode. External keyboard that is known to be good. Thanks. (local-set-key (quote [27 right]) (quote org-metaright)) ___ 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: Strange key binding problem
On Wed, Sep 3, 2008 at 02:51, Carsten Dominik <[EMAIL PROTECTED]> wrote: >> (org-defkey org-mode-map [(meta down)] 'org-metadown) > > That should work, and it does for me. OK, does not work for me. This does, however. (I got it by M-x local-set-key RET. This is a trick I use to figure out what a key does.) (local-set-key (quote [27 right]) (quote org-metaright)) By the way, Alt-right merely sends right. Carbon emacs, mac powerbook, tiger, gui, latest org-mode. External keyboard that is known to be good. 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] Using orgstruct-mode to structure source code
"Eric Schulte" <[EMAIL PROTECTED]> writes: Hi Eric, > Instead of putting org into the source file, would it make sense to > put the source code into an org file. Using MuMaMo-Mode > http://www.emacswiki.org/cgi-bin/wiki/MuMaMo and delimiters like > > #+BEGIN_LISP > > #+END_LISP > > it would be possible to activate the appropriate source mode inside of > the blocks, and it shouldn't be too hard to define an > `org-export-to-source-code' function. I wouldn't like that for at least two reasons. 1) Not all files I where I use headlines for structuring are private to me. Such a headline doesn't disturb anybody, but your suggestion works out only if everybody who needs to edit those files uses emacs and org. 2) All the links to files you get with `describe-function' and friends would point to generated files. If I want to change something, I'd have to find the corresponding org file first. Bye, Tassilo ___ 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] Using orgstruct-mode to structure source code
Instead of putting org into the source file, would it make sense to put the source code into an org file. Using MuMaMo-Mode http://www.emacswiki.org/cgi-bin/wiki/MuMaMo and delimiters like #+BEGIN_LISP #+END_LISP it would be possible to activate the appropriate source mode inside of the blocks, and it shouldn't be too hard to define an `org-export-to-source-code' function. -- 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] Re: org-plot (generating graphs from org-mode)
Carsten Dominik <[EMAIL PROTECTED]> writes: > > org-plot.el needs to do (require 'org-table) > Thanks, I applied this change to the git repo ___ 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: Question/Poll
Carsten Dominik <[EMAIL PROTECTED]> writes: > is anyone using the interactive note target selection with remember? > > Or do you all (like me) always file the entries to the location > defined in the template settings? > > I am considering to remove the interactive target selection entirely, > because it basically defeats the purpose of remember of filing a note > without any fuss. I am willing to keep it if people are using it. I file and save immediately to one of my template locations. I then refile as needed somewhere else (across files). -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: [PATCH] HTML export - Do not add spaces to the data in sections
Fixed, thanks. - Carsten On Sep 3, 2008, at 2:00 PM, Bernt Hansen wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: Hi Bernt, I am not sure if I understand your patch correctly: Hi Carsten! Welcome back :) On Aug 10, 2008, at 4:30 PM, Bernt Hansen wrote: sections for HTML export should be clean. We can use styles to indent the text if that is desired. This allows copying and pasting the text from the HTML document so that you get the original data in the #+BEGIN_EXAMPLE .. #+END_EXAMPLE block. --- I use .. sections to save commands I use regularly in my system documentation. I copy and paste data directly from these sections and noticed the extra 2 blanks preceeding the data. This change removes the blanks only for HTML export. The latex and Ascii exports are unchanged. lisp/org-exp.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 32fa819..98fb4fe 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2953,7 +2953,7 @@ lang=\"%s\" xml:lang=\"%s\"> ;; Fixed-width, verbatim lines (examples) (when (and org-export-with-fixed-width - (string-match "^[ \t]*:\\(.*\\)" line)) + (string-match "^[ \t]*: \\(.*\\)" line)) Why are you matching exactly two spaces here? Ah, I guess I am inserting these when processing the examples Maybe it would be better to not insert the spaces, or insert them for ascii export only. I will do that. Thanks. Basically I don't want blanks put into the section as part of the data. I originally took out the 2 spaces instead of inserting them but that affected both latex and ASCII exports and didn't look 'better' IMO. My goal here is just to keep the HTML output identical to what is in the #+BEGIN_EXAMPLE..#+END_EXAMPLE block. If we want preceeding blanks on the data we can just put it in the original source text. If I do this , | #+BEGIN_EXAMPLE | $ somecommand | data for the | command goes here | #+END_EXAMPLE ` the exported HTML output has 2 spaces in front of the data like this: , | | $ somecommand | data for the | command goes here | ` The 2 preceeding blanks are put in during preprocessing of the example section. I don't want the preceeding 2 blanks. They are mostly a formatting issue and with CSS we can format the data anyway we want so adding the blanks isn't really helpful. It's easy to indent the .. section with CSS to get the same result as the embedded blanks without resorting to adding preceeding blanks to the lines. When cutting and pasting data from the resulting HTML I don't want the extra blanks in the data since that's not really part of the original data. For some programs the data lines (following the $ somecommand) needs to be verbatim and I have to cut and paste each line separately instead of the entire block from the example. The patch makes the output look like this instead: , | | $ somecommand | data for the | command goes here | ` and if you select it, copy it from the HTML page and paste it to a buffer you get the original text. Thanks! -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] Question/Poll
OK, enough votes to keep it. Thanks. - Carsten On Sep 3, 2008, at 1:33 PM, Carsten Dominik wrote: Hi, is anyone using the interactive note target selection with remember? Or do you all (like me) always file the entries to the location defined in the template settings? I am considering to remove the interactive target selection entirely, because it basically defeats the purpose of remember of filing a note without any fuss. I am willing to keep it if people are using it. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question/Poll
Hello, > is anyone using the interactive note target selection with remember? I am using it, although not very frequently. I have different org files corresponding to different projects, with a Tasks header in each file, and I occasionally record my notes in these headers rather than in my default template selection. But maybe I should change the way I'm organized... Cheers, Clémence ___ 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: Question/Poll
On 3 Sep 2008, Carsten Dominik wrote: > is anyone using the interactive note target selection with remember? Yes, I do. > Or do you all (like me) always file the entries to the location > defined in the template settings? Well, mostly. But sometimes I file it in a different file.org. But <>Maybe I'm doing it wrong -- Some wise-guy stuck a cork in the bottle! -- Homer struggles to open a wine bottle, "The Crepes of Wrath" ___ 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: [PATCH] HTML export - Do not add spaces to the data in sections
Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi Bernt, I am not sure if I understand your patch correctly: Hi Carsten! Welcome back :) > > > On Aug 10, 2008, at 4:30 PM, Bernt Hansen wrote: > > sections for HTML export should be clean. We can use styles > to indent the text if that is desired. > > This allows copying and pasting the text from the HTML document > so that you get the original data in the > #+BEGIN_EXAMPLE > .. > #+END_EXAMPLE > block. > --- > > I use .. sections to save commands I use regularly in my > system documentation. I copy and paste data directly from these > sections and noticed the extra 2 blanks preceeding the data. > > This change removes the blanks only for HTML export. The latex and > Ascii exports are unchanged. > > lisp/org-exp.el |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lisp/org-exp.el b/lisp/org-exp.el > index 32fa819..98fb4fe 100644 > --- a/lisp/org-exp.el > +++ b/lisp/org-exp.el > @@ -2953,7 +2953,7 @@ lang=\"%s\" xml:lang=\"%s\"> > > ;; Fixed-width, verbatim lines (examples) > (when (and org-export-with-fixed-width > - (string-match "^[ \t]*:\\(.*\\)" line)) > + (string-match "^[ \t]*: \\(.*\\)" line)) > > Why are you matching exactly two spaces here? Ah, I guess I am inserting > these when processing the examples > Maybe it would be better to not insert the spaces, or insert them for ascii > export only. I will do that. Thanks. Basically I don't want blanks put into the section as part of the data. I originally took out the 2 spaces instead of inserting them but that affected both latex and ASCII exports and didn't look 'better' IMO. My goal here is just to keep the HTML output identical to what is in the #+BEGIN_EXAMPLE..#+END_EXAMPLE block. If we want preceeding blanks on the data we can just put it in the original source text. If I do this , | #+BEGIN_EXAMPLE | $ somecommand | data for the | command goes here | #+END_EXAMPLE ` the exported HTML output has 2 spaces in front of the data like this: , | | $ somecommand | data for the | command goes here | ` The 2 preceeding blanks are put in during preprocessing of the example section. I don't want the preceeding 2 blanks. They are mostly a formatting issue and with CSS we can format the data anyway we want so adding the blanks isn't really helpful. It's easy to indent the .. section with CSS to get the same result as the embedded blanks without resorting to adding preceeding blanks to the lines. When cutting and pasting data from the resulting HTML I don't want the extra blanks in the data since that's not really part of the original data. For some programs the data lines (following the $ somecommand) needs to be verbatim and I have to cut and paste each line separately instead of the entire block from the example. The patch makes the output look like this instead: , | | $ somecommand | data for the | command goes here | ` and if you select it, copy it from the HTML page and paste it to a buffer you get the original text. Thanks! -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: Question/Poll
Carsten Dominik <[EMAIL PROTECTED]> writes: Hi Carsten, > is anyone using the interactive note target selection with remember? No, I always save to org-default-notes-file and org-remember-default-headline. Bye, Tassilo ___ 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] Question/Poll
Hi, is anyone using the interactive note target selection with remember? Or do you all (like me) always file the entries to the location defined in the template settings? I am considering to remove the interactive target selection entirely, because it basically defeats the purpose of remember of filing a note without any fuss. I am willing to keep it if people are using it. - 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] Using orgstruct-mode to structure source code
Carsten Dominik <[EMAIL PROTECTED]> writes: Hi Carsten, > "?..." is not a correct regular expression in Emacs. You are using > wildcard synax, it seems. No, I used (concat comment-starter "?...") to make the comment starter optional. But that's not fully correct. In elisp the comment starter may be there multiple times. So now I go with this: --8<---cut here---start->8--- (defun org-context-p (&rest contexts) (let* ((pos (point)) (comment-starter (replace-regexp-in-string "[ ]+$" "" (or comment-start ""))) (regexp-start (if (string= "" comment-start) "" (concat comment-start "*" (goto-char (point-at-bol)) (let ((ret (prog1 (or (and (memq 'table contexts) (looking-at (concat regexp-start "[ \t]*|"))) (and (memq 'headline contexts) (looking-at (concat regexp-start "\\*+"))) (and (memq 'item contexts) (looking-at (concat regexp-start "[ \t]*\\([-+*] \\|[0-9]+[.)] \\)" (goto-char pos (message "org-context-p with regexp-start = %s ==> %s" regexp-start ret --8<---cut here---end--->8--- Here's a short elisp test file: --8<---cut here---start->8--- ;;* First Headline; org-context-p ==> t, no visible action ; org-context-p ==> nil, no visible action (defun foo () nil); org-context-p ==> nil, TAB deletes indentation! ; org-context-p ==> nil, TAB indents to nil's column ;;** Level2 ; org-context-p ==> t, TAB indents heading to nil's column (+ 1 2 3) ;;** Another Level2 (- 1 1) ;;*** Three ;;* Second part (progn (list 1 2 3); org-context-p ==> nil, TAB deletes indentation! (* 1 2 3)) ; org-context-p ==> nil, TAB deletes indentation! ;;* Third part; org-context-p ==> t, TAB indents heading to ; column of (* 1 2 3) --8<---cut here---end--->8--- Behind the lines I've written what my redefinition of `org-context-p' returns and what TAB does (*without* these comments). As you can see `org-context-p' seems to work correctly, but TAB doesn't cycle through the visibility states but instead breakes indentation. And if I invoke `M-x org-cycle' on a headline nothing happens. As it seems, `org-context-p' is not the only function which has to be adapted to do the right thing if headlines are inside comments. > If you want to allow extra characters # and ; at the begin of the line, try > something like > > "[;#]*..." Yes, see the code above. > I am not sure if this will work, in particular if it will make > structure editing work. Sadly, it's not that easy. > Give it a try and send us a report, ok? Done! Bye, Tassilo ___ 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] faces in agenda
On Sep 3, 2008, at 11:49 AM, Richard G Riley wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: On Aug 3, 2008, at 1:21 PM, Richard G Riley wrote: Possibly a small bug. In the agenda all scheduled items appear to use the face org-scheduled-today even if they are scheduled a day or two in the future. I don't see this as a bug. Maybe the name of the face is slightly missleading. This face marks tasks which are scheduled under the date where they are scheduled. - Carsten I guess I think an "org-scheduled" face for tasks not scheduled for "today" allows better clarity so that "todays" tasks (org-scheduled-today) stand out more in the agenda should you so require/customise. OK, done. - 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: Strange key binding problem
On Sep 2, 2008, at 9:07 PM, Samuel Wales wrote: If I evaluate the following sexp in the org-mode buffer, should it take effect? It doesn't take effect for either ESC down or alt-down. (org-defkey org-mode-map [(meta down)] 'org-metadown) That should work, and it does for me. - 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] faces in agenda
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Aug 3, 2008, at 1:21 PM, Richard G Riley wrote: > > Possibly a small bug. In the agenda all scheduled items appear to use > the face org-scheduled-today even if they are scheduled a day or two in > the future. > > I don't see this as a bug. Maybe the name of the face is slightly > missleading. This face marks tasks which are scheduled under the > date where they are scheduled. > > - Carsten > I guess I think an "org-scheduled" face for tasks not scheduled for "today" allows better clarity so that "todays" tasks (org-scheduled-today) stand out more in the agenda should you so require/customise. ___ 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] Turn on "Hyperlinks > Literal Links "
On Aug 22, 2008, at 5:32 PM, Parker, Matthew wrote: Is there a way to set “Hyperlinks > literal links” on by default? I found the elisp that works w/in an org buffer, but this fails if I put it in .emacs. ; turn on literal links (progn (org-remove-from-invisibility-spec '(org-link)) (org-restart-font-lock) ) You can also use (setq org-descriptive-links nil) - 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-refile gets the level wrong
Tahnks for suggesting this improvement to the documentation - it is now implemented. - Carsten On Aug 18, 2008, at 10:29 PM, Trey Jackson wrote: Bernt wrote: I think this is expected behaviour. Your startup options are conflicting. You normally have only one of showstarts or hidestars since their settings are mutually exclusive. You also only have one of odd or oddeven. I think the last encountered setting wins so your startup options are equivalent to #+STARTUP: hidestars oddeven Duh. FWIW, I was blindly cut/pasting from the *info* pages, which says: (section: 14.5 A cleaner outline view) , | 2. _Hiding leading stars_ | You can modify the display in such a way that all leading stars | become invisible. To do this in a global way, configure the | variable `org-hide-leading-stars' or change this on a per-file | basis with | | #+STARTUP: showstars | #+STARTUP: hidestars ` When I actually read it, it's obvious, but given the context, I think it'd be better to have the docs read something like: 2. _Hiding leading stars_ You can modify the display in such a way that all leading stars become invisible. To do this in a global way, configure the variable `org-hide-leading-stars' or add this line to top of the file: #+STARTUP: hidestars Note that the opposite behavior is selected with 'showstars'. TJ -- Trey Jackson [EMAIL PROTECTED] "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end." -- #2 of the Ten Commandments for C programmers ___ 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 extract start time and end time from the CLOCK: property
Hi Seweryn, please see http://thread.gmane.org/gmane.emacs.orgmode/7430/focus=7430 - Carsten On Aug 18, 2008, at 1:58 AM, Seweryn Kokot wrote: I would like to have a list of actions with starting and ending times and with duration. Now I have the column view as follows #+BEGIN: columnview :hlines 1 :id global | Action | start - end, duration | duration | | +-+--| | * 17-08-2008 | |3:38 | | ** DONE task1 | [2008-08-17 nie 09:03]--[2008-08-17 nie 10:04] => 1:01 |1:01 | | ** DONE task2 | [2008-08-17 nie 10:05]--[2008-08-17 nie 10:35] => 0:30 |0:30 | #+END: #+COLUMNS: %25ITEM(Action) %55CLOCK(start - end, duration) %8CLOCKSUM(duration) but I would like something like this #+BEGIN: columnview :hlines 1 :id global | Action | start | end| duration | |+++--| | * 17-08-2008 |||3:38 | | ** DONE task1 | 09:03 | 10:04 |1:01 | | ** DONE task2 | 10:05 | 10:35 |0:30 | #+END: #+COLUMNS: %25ITEM(Action) %8CLOCK[start] %8CLOCK[end] %8CLOCKSUM(duration) In other words it would be nice to extract starting time and ending time from the time range in the CLOCK property so that it would be possible to insert them in two separate columns in a column view and in a dynamic block. Any ideas? regards, Seweryn Kokot ___ 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] date marking with (org-diary)
On Aug 15, 2008, at 10:45 AM, Ulf Stegemann wrote: Hi all, I was recently playing around with marking org agenda items in the calendar using (org-diary) in the diary file. I encountered a problem already described by Wanrong Lin some time ago (see http://www.mail-archive.com/emacs-orgmode@gnu.org/msg05839.html). Unfortunately no answers were given to his original request so here it comes again: Including agenda items into the diary with '&%%(org-diary ...' is something I personally find pretty useless as the dates of those items are not fontified in the calendar. Using '%%(org-diary ...' would be fine but the entries to use (':scheduled', ':todo' aso) cannot be limited any further. This not only leads to unacceptable delays while calendar tries to fontify its buffer but also to a calendar with nearly everyday marked. My intent was to mark dates with appointments only (I have scheduled items, todos etc. nearly everyday so there's no need to mark them). In my case this means that (org-diary) would need to distinct between different TODO keywords. However, filtering based on tags or date/time formats would be fine, too. My question now is: Is there currently any way to achieve such a filtering with (org-diary)? And if not, are there any plans to enhance (org-diary) in that direction? Regards, Ulf Hi Ulf, this is not supported yet, and I have no concrete plans to implement this. Marking entries in the calendar will always be unacceptably slow, because the way the calendar/diary implements this is creating the list of appointment for each of the 90+ days in the calendar display. Even with filtering, this would be slow - basically one would have to rewrite the code in the diary. Why don't you just use the week agenda to see which days are free? Since version 6.05, we have the following functionality: - Carsten Making use of the cursor position in the agenda === * Calling remember with the cursor date in the agenda If you want to use the date at the agenda cursor in a remember template, start remember from the agenda with the keys `k r'. While the template is being filled in, the default date for all time stamps, and also for all interactive escapes like `%^t' is now the date at the cursor in the agenda. The exact same command can also be used from the calendar if you prefer that. * Picking a date for scheduling/deadline in the agenda You may now pick the date for scheduling an item or for setting a deadline in the agenda, where you have the best overview over free time slots. This is a two step process. 1. First you pick the entry that should be acted upon. In the agenda, you use the keys `k m'. In an org-mode file, this is on `C-c C-x C-k'. 2. Then you find the agenda date you want to apply. When the cursor is anywhere in the block belonging to that date, press `k s' to schedule, or `k d' to put a deadline. The agenda is not updated immediately, press `r' if you want it to show the affected entry in the right place. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] To-header support in org-gnus-store-link
Appied, thanks. - Carsten On Aug 11, 2008, at 10:12 PM, Tommy Lindgren wrote: Hi, Patch below adds support for the To-header in org-gnus-store-link. This makes %:toname-escapes in remember templates work when invoked from Gnus. (I have a special template I use when realize I have to finish a reply later.) Haven't written many lines of elisp, not sure if I'm retrieving the header the right way. The code works for me. diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index e1d8232..db78afe 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -87,10 +87,12 @@ negates this setting for the duration of the command." (from (mail-header-from header)) (message-id (mail-header-id header)) (date (mail-header-date header)) + (extra (mail-header-extra header)) + (to (cdr (assoc 'To extra))) (subject (gnus-summary-subject-string)) desc link) (org-store-link-props :type "gnus" :from from :subject subject - :message-id message-id :group group) + :message-id message-id :group group :to to) (setq desc (org-email-link-description)) (if (org-xor current-prefix-arg org-usenet-links-prefer-google) (setq link BTW, org-mode is awesome. Regards, Tommy ___ 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] Using orgstruct-mode to structure source code
Hi Tassilo, "?..." is not a correct regular expression in Emacs. You are using wildcard synax, it seems. If you want to allow extra characters # and ; at the begin of the line, try something like "[;#]*..." I am not sure if this will work, in particular if it will make structure editing work. Give it a try and send us a report, ok? - Carsten On Sep 3, 2008, at 10:32 AM, Tassilo Horn wrote: Hi, this is a resend of my message from <2008-08-20 Wed>. So far nobody answered and since Carsten is back now, I thought I may try again. I'd like to switch from outline-minor-mode to orgstruct-mode for various source code files, because the outline keybindings are not really quick nor easy to remember. For example in shell scripts (sh-mode) a headline looks like #* Foobar and in an elisp file it would be ;;* Foobar Now I've found out that `org-context-p' returns nil for these lines, and thus no org-mode command will be executed. So I've redefined it to this version: --8<---cut here---start->8--- (defun org-context-p (&rest contexts) "Check if local context is and of CONTEXTS. Possible values in the list of contexts are `table', `headline', and `item'." (let ((pos (point)) (comment-starter (replace-regexp-in-string "[ ]+$" "" (or comment-start "" (goto-char (point-at-bol)) (prog1 (or (and (memq 'table contexts) (looking-at (concat comment-starter "?[ \t]*|"))) (and (memq 'headline contexts) (looking-at (concat comment-starter "?\\*+"))) (and (memq 'item contexts) (looking-at (concat comment-starter "?[ \t]*\\([-+*] \\|[0-9]+ [.)] \\)" (goto-char pos --8<---cut here---end--->8--- Now it does return t for headlines like above, but still no org-mode command is issued. What do I have to do to get that working correctly? Bye, Tassilo ___ 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: [PATCH] HTML export - Do not add spaces to the data in sections
Hi Bernt, I am not sure if I understand your patch correctly: On Aug 10, 2008, at 4:30 PM, Bernt Hansen wrote: sections for HTML export should be clean. We can use styles to indent the text if that is desired. This allows copying and pasting the text from the HTML document so that you get the original data in the #+BEGIN_EXAMPLE .. #+END_EXAMPLE block. --- I use .. sections to save commands I use regularly in my system documentation. I copy and paste data directly from these sections and noticed the extra 2 blanks preceeding the data. This change removes the blanks only for HTML export. The latex and Ascii exports are unchanged. lisp/org-exp.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 32fa819..98fb4fe 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2953,7 +2953,7 @@ lang=\"%s\" xml:lang=\"%s\"> ;; Fixed-width, verbatim lines (examples) (when (and org-export-with-fixed-width -(string-match "^[ \t]*:\\(.*\\)" line)) +(string-match "^[ \t]*: \\(.*\\)" line)) Why are you matching exactly two spaces here? Ah, I guess I am inserting these when processing the examples Maybe it would be better to not insert the spaces, or insert them for ascii export only. I will do that. Thanks. - Carsten (when (not infixed) (setq infixed t) (insert "\n")) -- 1.6.0.rc2 ___ 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] org-export generating invalid HTML due to "<\p>" typo
Applied, thanks. - Carsten On Aug 8, 2008, at 10:33 AM, David House wrote: The "Generated by org-mode" text at the end of the document has a small HTML typo causing invalid HTML to be produced. Patch: --- diff -u c\:/Program\ Files/Emacs/emacs/site-lisp/org/org-exp.el c\:/Program\ Files/Emacs/emacs/site-lisp/org/org-exp-mine.el --- c:/Program Files/Emacs/emacs/site-lisp/org/org-exp.el 2008-07-25 15:19:00.0 +0100 +++ c:/Program Files/Emacs/emacs/site-lisp/org/org-exp-mine.el 2008-08-08 09:27:14.796875000 +0100 @@ -3325,7 +3325,7 @@ (nth 2 lang-words) ": " date "\n")) (when org-export-creator-info - (insert (format "HTML generated by org-mode %s in emacs %s< \p>\n" + (insert (format "HTML generated by org-mode %s in emacs %sp>\n" org-version emacs-major-version))) (insert "")) --- This is such a trivial change that I haven't signed papers with the FSF. -- -David House, [EMAIL PROTECTED] ___ 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] AquaEmacs launch error Symbol's value as variable is void: org-agenda-mode-map
Hi Graham, this means that your Preferences.el file tries to modify the org- agenda-mode-map before org-agenda.el was loaded. The best fix is to do your key assignments in org-agenda-mode-hook, i.e. (add-hook 'org-agenda-mode-hook (lambda () (define-key org-agenda-mode-map ..))) HTH - Carsten On Aug 8, 2008, at 9:19 PM, Graham Smith wrote: I hav just upgraded to org-mode 6.06b with Aquaemacs 1.4. I did this by copying the new files into my existing orgmode directory where the prefeences.el file points. But launching emacs gives the following error: "An error has occurred while loading `~/Library/Preferences/Aquamacs Emacs/Preferences.el (or .elc)': Symbol's value as variable is void: org-agenda-mode-map" Can any one suggest where the problem might be? Thanks, Graham ___ 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] Mutt & Mairix
I have updated org-marix.el to version 0.5 in the contrib directory. - Carsten On Aug 7, 2008, at 8:20 PM, Russell Adams wrote: Where can I find the latest org-mairix.el? I recall it getting some form of mutt integration. I'd like to start linking to my email in mutt, it appears this would be the best way to goto a mail via link. My next question is, how to get that link into org from mutt? -- Russell Adams[EMAIL PROTECTED] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ 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] set remember default file to be originating .org file
I applied, this patch, thank you very much. - Carsten P.S. Next time, please do a diff -u, this makes it easier for me to check things. On Aug 6, 2008, at 10:54 PM, Sullivan, Gregory (US SSA) wrote: OK – I did the following. I allow for functions in the filename positions of templates, changing org-remember.el as follows: > diff ../../org-6.05b/lisp/org-remember.el ./org-remember.el 321,322c321 < (file (if (and (nth 1 entry) (stringp (nth 1 entry)) < (string-match "\\S-" (nth 1 entry))) --- > (file (if (nth 1 entry) 351a351,353 >(when (functionp file) > (setq file (funcall file)) > (message "after funcall file, file = [%S]" file)) ~/emacs/org/lisp > So my remember template list includes: ("Todo (local)" ?t "* TODO %? %i\n" ,(lambda () (buffer-file-name org-select-template-original- buffer)) So if I invoke org-remember and choose “t”, it will save the resulting TODO item in the file from which I invoked remember. Could be made more robust, but it works for me. Let me know if you think this might be generally useful. --Greg -- Gregory T. Sullivan, Ph.D. BAE Systems Advanced Information Technologies 6 New England Executive Park, Burlington, MA 01803 781-262-4553 (office), 978-430-3461 (cell) [EMAIL PROTECTED] From: [EMAIL PROTECTED]:[EMAIL PROTECTED] ] On Behalf Of Sullivan, Gregory (US SSA) Sent: Wednesday, August 06, 2008 11:55 AM To: emacs-orgmode@gnu.org Subject: [Orgmode] set remember default file to be originating .org file If I invoke remember from a .org file, e.g. “foo.org”, I would like the default file to which the remembered note is saved to be that file, “foo.org”. I work on several projects at a time, and the project mix changes monthly. While on a project, I generate lots of project-specific notes and TODOs. So, I like to have project-specific .org files. Any ideas appreciated. Thanks. --Greg -- Gregory T. Sullivan, Ph.D. BAE Systems Advanced Information Technologies 6 New England Executive Park, Burlington, MA 01803 781-262-4553 (office), 978-430-3461 (cell) [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Added backward isearch support for headings
Applied, thanks. - Carsten On Aug 3, 2008, at 9:41 PM, Piotr Zielinski wrote: Changed org-goto-local-search-forward-headings to support backward search, and renamed it to org-goto-local-search-headings. --- lisp/org.el |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 57c6dae..62ad9ea 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4350,7 +4350,7 @@ or nil." (let ((isearch-mode-map org-goto-local-auto-isearch-map) (isearch-hide-immediately nil) (isearch-search-fun-function -(lambda () 'org-goto-local-search-forward-headings)) +(lambda () 'org-goto-local-search-headings)) (org-goto-selected-point org-goto-exit-command)) (save-excursion (save-window-excursion @@ -4391,10 +4391,12 @@ or nil." (define-key org-goto-local-auto-isearch-map "\C-i" 'isearch-other- control-char) (define-key org-goto-local-auto-isearch-map "\C-m" 'isearch-other- control-char) -(defun org-goto-local-search-forward-headings (string bound noerror) +(defun org-goto-local-search-headings (string bound noerror) "Search and make sure that anu matches are in headlines." (catch 'return -(while (search-forward string bound noerror) +(while (if isearch-forward + (search-forward string bound noerror) + (search-backward string bound noerror)) (when (let ((context (mapcar 'car (save-match-data (org- context) (and (member :headline context) (not (member :tags context -- 1.5.2.5 ___ 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] faces in agenda
On Aug 3, 2008, at 1:21 PM, Richard G Riley wrote: Possibly a small bug. In the agenda all scheduled items appear to use the face org-scheduled-today even if they are scheduled a day or two in the future. I don't see this as a bug. Maybe the name of the face is slightly missleading. This face marks tasks which are scheduled under the date where they are scheduled. - 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] Using orgstruct-mode to structure source code
Hi, this is a resend of my message from <2008-08-20 Wed>. So far nobody answered and since Carsten is back now, I thought I may try again. I'd like to switch from outline-minor-mode to orgstruct-mode for various source code files, because the outline keybindings are not really quick nor easy to remember. For example in shell scripts (sh-mode) a headline looks like #* Foobar and in an elisp file it would be ;;* Foobar Now I've found out that `org-context-p' returns nil for these lines, and thus no org-mode command will be executed. So I've redefined it to this version: --8<---cut here---start->8--- (defun org-context-p (&rest contexts) "Check if local context is and of CONTEXTS. Possible values in the list of contexts are `table', `headline', and `item'." (let ((pos (point)) (comment-starter (replace-regexp-in-string "[ ]+$" "" (or comment-start "" (goto-char (point-at-bol)) (prog1 (or (and (memq 'table contexts) (looking-at (concat comment-starter "?[ \t]*|"))) (and (memq 'headline contexts) (looking-at (concat comment-starter "?\\*+"))) (and (memq 'item contexts) (looking-at (concat comment-starter "?[ \t]*\\([-+*] \\|[0-9]+[.)] \\)" (goto-char pos --8<---cut here---end--->8--- Now it does return t for headlines like above, but still no org-mode command is issued. What do I have to do to get that working correctly? Bye, Tassilo ___ 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] Using numbers w/ commas in spreadsheets?
On Aug 27, 2008, at 6:18 AM, Parker, Matthew wrote: Is it possible to work w/ numbers w/ commas in 'spreadsheets'? No, this is not possible. - Carsten when trying to add 3,000 to 4,000 below... =$1+$2 ... yields 7 and this works but is long winded: @2$3='(+ (string-to-number (replace-regexp-in-string "," "" $1)) (string-to-number (replace-regexp-in-string "," "" $2)) ) I reviewed the chapter on tables... am I missing something simple? Thanks | one | two | sum | |-+-+---| | 3000| 4000| 7000 | | 3,000 | 4,000 | 7 | | 3,000 | 4,000 | 7000 | | "3,000" | "4,000" | [103, 88, 96, 96, 96] | | 3\,000 | 4\,000 | #ERROR| | '3,000' | '4,000' | #ERROR| #+TBLFM: @2$3='(+ (string-to-number (replace-regexp-in-string "," "" $1)) (string-to-number (replace-regexp-in-string "," "" $2)) )::@3$3= $1+$2 ___ 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] configuring org-export-latex-classes
Fixed, thanks. - Carsten On Sep 2, 2008, at 9:32 PM, Nick Dokos wrote: Rainer Thiel <[EMAIL PROTECTED]> wrote: I can't seem to find a way to configure the variable org-export-latex-classes either directly (via customize-variable) or through customizing a group. customize-variable can't find this variable, and I am unable to find the customizing group it may be in. Some time (only a couple of weeks) ago I did successfully customize that variable through a group for the life of me I now can't remember. Can someone help me, please? There seems to be a missing defgroup, so the org-export-latex customizations end up disappearing. Try adding this to org-export-latex.el: (defgroup org-export-latex nil "Options for exporting Org-mode files to LaTeX." :tag "Org Export LaTeX" :group 'org-export) 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 ___ 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: diary integration
On Sep 2, 2008, at 11:12 PM, Richard G Riley wrote: Richard G Riley <[EMAIL PROTECTED]> writes: I keep all diary stuff in an org file. I have turned off including the external .diary file into org. However my .diary file (which feeds the calendar) looks like: &%%(org-diary) Oct 13, 2008 hello Should anniversaries (bbdb) and todos etc not be hilited in the calendar as "hello" above is? Aargh. I had the "&" there - removing it and including (require 'diary-lib) (add-hook 'diary-display-hook 'fancy-diary-display) in my init file solved the problem. Its very slow though and I dont have that many scheduled items. Well, it makes the agenda for 91-92 different days (3 months), this will always be slow. The marking mechanism in the diary work by calling all functions for each date visible in the calendar. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-plot (generating graphs from org-mode)
On Sep 2, 2008, at 11:26 PM, JBash wrote: In trying the example, I'm getting a message saying a function definition (org-table-to-lisp) is void. I've been using org-mode for a few months, but I'm not at all familiar with lisp. I just today pulled the files (org-plot.el and example.org) from http://github.com/eschulte/org-plot/tree/master . Can someone help? org-plot.el needs to do (require 'org-table) - Carsten Thanks, Jerry Using emacs 22.2.1; gnuplot 4.2 patchlevel 2; debian lenny OVERVIEW CHILDREN Loading /home/jlb/dl1/eschulte-org-plot- e30c71abadada20558d11610943c3d8f42fc4258/org-plot.el (source)...done (progn (add-to-list 'load-path "./") (load "org-plot.el")) => t (local-set-key "\M-\C-g" 'org-plot/gnuplot) => org-plot/gnuplot Loading /home/jlb/emacs/org-mode/lisp/org-table.el (source)...done let*: Symbol's function definition is void: org-table-to-lisp [8 times] call-interactively: End of buffer On Tue, Sep 2, 2008 at 2:08 PM, Thomas Baumann <[EMAIL PROTECTED]> wrote: Awesome, thanks. Thomas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode