Re: [Orgmode] Error exporting to temp buffer
--- Gio 19/3/09, Carsten Dominik domi...@science.uva.nl ha scritto: On Mar 19, 2009, at 7:03 AM, Leo wrote: Hi there, 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode 6.21b. Leo, would you, please, try to upgrade to 6.24b [1] and report if this bug still happens? ;-) I cannot reproduce this. - Carsten 6.24b or 6.21b ? ;-) Cheers, Giovanni. [1] http://orgmode.org/org-6.24b.tar.gz ___ 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: clocksum and archived trees
Jota Pin jotapin2...@yahoo.fr writes: I tried to figure out how to avoid having archived subtrees to contribute to the sum of times showed with Display Times c-c c-x c-d. I've been wondering something along the same lines myself. When switching to column view via C-c C-x C-c it can sometimes take a long time because of archive items. I haven't gotten around to looking into this yet. Maybe I'll try to fix this tomorrow when I get some time. -- Peter Jones - 303-669-2637 pmade inc. - http://pmade.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error exporting to temp buffer
Again and again: Thank for the analysis, I have pushed a fix. - Carsten On Mar 19, 2009, at 11:36 PM, Nick Dokos wrote: Sebastian Rose sebastian_r...@gmx.de wrote: David Maus maus.da...@gmail.com writes: Cannot reprocude this either. C-x b org-bug RET, paste sample, C- c C-e H gives an *Org HTML Export* buffer with the exported sample. Same here. Same here, but I was wondering: the function that Leo fingers looks like this , | (defun org-export-html-preprocess (parameters) | ;; Convert LaTeX fragments to images | (when (plist-get parameters :LaTeX-fragments) | (org-format-latex | (concat ltxpng/ (file-name-sans-extension | (file-name-nondirectory |org-current-export-file))) | org-current-export-dir nil Creating LaTeX image %s)) | (message Exporting...)) ` and when I step through it, the when expression evaluates to nil, so the whole thing is skipped. So it may be some setting in Leo's setup or maybe something is missing from the fragment, that would make that expression non-nil. So my question is: What do I have to do to make (plist-get parameters :LaTeX-fragments) non-nil? 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] org-crypt and PROPERTIES location
Hi Peter, we don't have a good function for this. Also, it is not so much about extracting the contents, more about finding the boundaries. In some ways I think it would actually be better to use a tag for encryption instead of a property, because this would allow to encrypt everything except the headline. What about we change this to a tag crypt_KEY? Hmm, I am not sure if encryption keys would make valid tags. I'd very much like to see this improved and stabilized, so that we can include this with Org, this would be valuable to have. I am sure John would not mind if you did the final steps with it. Am I right, John? - Carsten On Mar 20, 2009, at 1:29 AM, Peter Jones wrote: I've started playing with org-crypt, which is very nice. Unfortunately the org-apply-to-entry-contents function assumes that the PROPERTIES drawer is at the bottom of the heading's contents. There might be a variable in org mode to control this, but all my entries have the PROPERTIES drawer at the top, with the content underneath. Of course, this means that org-crypt doesn't actually encrypt anything for me. I'm posting this to the org-mode mailing list to see if there is a better way to get to the contents of a heading, excluding any drawers. I'm sure there is something in the export system we could reuse. I say we because I'm more than willing to submit patches. One last note, the comments in the org-crypt file mention using an after-save-hook to encrypt the appropriate headings. Shouldn't that be a before-save-hook? Thanks to all. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ 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: Error exporting to temp buffer
On 2009-03-20 08:25 +, Giovanni Ridolfi wrote: [...] Leo, would you, please, try to upgrade to 6.24b [1] and report if this bug still happens? ;-) These days I tend to use whatever comes with Emacs to save time and also to help with pretest ;) -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ 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: 1-way syncing with google calendar
on Thu May 29 2008, David Smith dds-AT-google.com wrote: Tim O'Callaghan tim.ocallag...@gmail.com writes: Cool - just caught up with this. If you check the archives i had a very basic google-org solution using w3. I stopped using it when i moved back to Emacs, guess its time to dig it out :) I'm currently building something similar using g-client which is much easier to integrate with the emacs calendar. It should also be able to do two-way sync without an external daemon. I just haven't found a good way to integrate it with the agenda. Anyone have experience with it? David, did you ever get anywhere with this? I'm very interested in such a solution and might pick up where you left off if it's not already finished. Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-crypt and PROPERTIES location
Carsten Dominik domi...@science.uva.nl writes: we don't have a good function for this. Also, it is not so much about extracting the contents, more about finding the boundaries. In some ways I think it would actually be better to use a tag for encryption instead of a property, because this would allow to encrypt everything except the headline. What about we change this to a tag crypt_KEY? Hmm, I am not sure if encryption keys would make valid tags. AFAIK, the key ID is only needed for encryption. The encrypted text will contain a pointer to the key needed for decryption. Therefore, I suggest that we do this: - Have a defcustom for the default key ID to use (I think it will be very common that you'll use the same key to encrypt everything) - Allow overriding the key ID in an inheritable property (if you need to encrypt a heading using a different key than the default) - Use a tag matcher to specify headings to encrypt (another defcustom that will be used to find headings that should be encrypted before-save) - Encrypt everything under the heading, including properties (even if the property has the key ID, it won't be needed for decryption, so the entire contents can be encrypted) Am I missing anything? I'd very much like to see this improved and stabilized, so that we can include this with Org, this would be valuable to have. I am sure John would not mind if you did the final steps with it. Am I right, John? I had a private conversation with John, and he's completely open to me putting the finishing touches on org-crypt and getting it included in the org distribution. Are there any org-crypt users out there that want to throw in their $0.02? -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ 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-crypt and PROPERTIES location
On Mar 20, 2009, at 6:27 PM, Peter Jones wrote: Carsten Dominik domi...@science.uva.nl writes: we don't have a good function for this. Also, it is not so much about extracting the contents, more about finding the boundaries. In some ways I think it would actually be better to use a tag for encryption instead of a property, because this would allow to encrypt everything except the headline. What about we change this to a tag crypt_KEY? Hmm, I am not sure if encryption keys would make valid tags. AFAIK, the key ID is only needed for encryption. The encrypted text will contain a pointer to the key needed for decryption. Therefore, I suggest that we do this: - Have a defcustom for the default key ID to use (I think it will be very common that you'll use the same key to encrypt everything) - Allow overriding the key ID in an inheritable property (if you need to encrypt a heading using a different key than the default) - Use a tag matcher to specify headings to encrypt (another defcustom that will be used to find headings that should be encrypted before-save) - Encrypt everything under the heading, including properties (even if the property has the key ID, it won't be needed for decryption, so the entire contents can be encrypted) Am I missing anything? This sounds perfect to me. You can use the mapping API to walk through the file and do the encryption. This has the advantage that you could, in principle do de- and encryption in many files in one step. Default should be the current file, though, exactly as you suggest. - Carsten I'd very much like to see this improved and stabilized, so that we can include this with Org, this would be valuable to have. I am sure John would not mind if you did the final steps with it. Am I right, John? I had a private conversation with John, and he's completely open to me putting the finishing touches on org-crypt and getting it included in the org distribution. Are there any org-crypt users out there that want to throw in their $0.02? -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ 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] org-crypt and PROPERTIES location
On Mar 20, 2009, at 9:23 AM, Carsten Dominik wrote: I'd very much like to see this improved and stabilized, so that we can include this with Org, this would be valuable to have. I am sure John would not mind if you did the final steps with it. Am I right, John? Quite correct, it's community property! :) John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] OS X only: Insert links to flagged emails
Hi Christopher, this is nice! Maybe we could integrate it into org-mac-message.el? - Carsten On Mar 19, 2009, at 8:07 PM, Christopher Suckling wrote: All, For various reasons (mainly Spotlight and an excess of HTML mail send by employers), I've migrated back to Mail.app after some time in Mutt (and how I miss the speed and threading). I habitually flag mails that need attention at a later date, and rather than use both org-mode and Mail.app to keep track of what needs doing, I've written a couple of hybid elisp AppleScript functions to suck links to my flagged email into org-mode. More details in the attached file. Comments and improvements welcome. Best, Christopher org-mac-flagged-mail.el ___ 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] Insert LOGBOOK drawer removes indendation of first line under headline
Hi, When I start to clock a headline (C-c C-x C-i) that does not have a LOGBOOK drawer orgmode inserts one but removes the indentation of the first line below the headline: Example: * TODO Do something Do this, do that etc. after C-c C-x C-i becomes * TODO Do something :LOGBOOK: CLOCK: [2009-03-20 Fr 19:03]--[2009-03-20 Fr 19:03] = 0:00 :END: Do this, do that etc. Org-mode version 6.24trans GNU Emacs 23.0.91.1 (i486-pc-linux-gnu) of 2009-03-08 on elegiac, modified by Debian Regards, -- David -- Email. maus.da...@gmail.com Jabber dmj...@jabber.org ICQ... 241051416 OpenPGP... 0x316F4BE4670716FD signature.asc Description: Digital signature ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Insert LOGBOOK drawer removes indendation of first line under headline
David Maus maus.da...@gmail.com writes: When I start to clock a headline (C-c C-x C-i) that does not have a LOGBOOK drawer orgmode inserts one but removes the indentation of the first line below the headline: Example: * TODO Do something Do this, do that etc. after C-c C-x C-i becomes * TODO Do something :LOGBOOK: CLOCK: [2009-03-20 Fr 19:03]--[2009-03-20 Fr 19:03] = 0:00 :END: Do this, do that etc. This might be due to my recent indentation patch. It's not working the way I expected it would. I'll look into it. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ 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] [PATCH] Re: Insert LOGBOOK drawer removes indendation of first line under headline
David Maus maus.da...@gmail.com writes: When I start to clock a headline (C-c C-x C-i) that does not have a LOGBOOK drawer orgmode inserts one but removes the indentation of the first line below the headline: This patch fixes your problem. Sorry about that. diff --git a/lisp/org-clock.el b/lisp/org-clock.el index c79a6af..8d2279a 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -444,13 +444,13 @@ the clocking selection, associated with the letter `d'. (stringp org-clock-into-drawer) (and (integerp org-clock-into-drawer) ( org-clock-into-drawer 2))) - (org-indent-line-function) (insert : drawer :\n:END:\n) - (beginning-of-line 0) - (org-indent-line-function) - (beginning-of-line 0) +(beginning-of-line -1) +(org-indent-line-function) (org-flag-drawer t) - (beginning-of-line 2) +(beginning-of-line 2) +(org-indent-line-function) + (beginning-of-line) (or org-log-states-order-reversed (and (re-search-forward org-property-end-re nil t) (goto-char (match-beginning 0 -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ 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] change todo item status automatically when clock check out?
Hi, I switch between tasks very frequently and use clocks to time myself. I like the fact that when I check in some task, the previously checked in task will be automatically checked out. However, the state of the previous task doesn't change. I wonder if I can configure orgmode in such a way that when a task is checked out, the state of the task automatically changes to some designated state? Thanks! Ning ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] OS X only: Insert links to flagged emails
On 20 Mar 2009, at 21:13, Carsten Dominik wrote: Hi Christopher, this is nice! Maybe we could integrate it into org-mac-message.el? - Carsten Thanks. I'd be delighted for it to be integrated into org-mac- message.el. Would you like me to put a patch together, or would you prefer to manage the integration yourself? Christopher On Mar 19, 2009, at 8:07 PM, Christopher Suckling wrote: All, For various reasons (mainly Spotlight and an excess of HTML mail send by employers), I've migrated back to Mail.app after some time in Mutt (and how I miss the speed and threading). I habitually flag mails that need attention at a later date, and rather than use both org-mode and Mail.app to keep track of what needs doing, I've written a couple of hybid elisp AppleScript functions to suck links to my flagged email into org-mode. More details in the attached file. Comments and improvements welcome. Best, Christopher org-mac-flagged-mail.el ___ 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] combine orgmode and file system browsing
Hello everyone, while using orgmode to organize data that is strongly bound to files and directories, I came to the point where in addition to linking from the orgfile to the target file/directory I longed to have it the other way round, i.e. getting information about the files/directories from the orgfile while browsing the filesystem. That led to the following idea: Orgmodes folding and linking capabilities are easily combined to make rudimentary but comfortable file system browsing: * [[file:test/dirA][dirA]] ** [[file:test/dirA/subdirA][subdirA]] *** [[file:test/dirA/subdirA/some_file][some_file]] ** [[file:test/dirA/another_file][another_file]] * [[file:test/dirB][dirB]] Attached is a bash-script that generates this representation from a given subtree of the filesystem as a proof of concept. For each file/directory displayed search for any link to it in a given orgfile and - provide links back to these occurrences and/or - display the tags and associated content (read-only). The obvious weakness inherited from linking itself is synchronization on directory structure changes. A possible solution would be to store ids as hidden files for each directory or even for each file that is referred to. Does anybody else see the benefits of such a mode? Andreas filesystem_to_org.sh Description: application/shellscript ___ 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] combine orgmode and file system browsing
Hi Andreas, I like the idea of it. Might be a nice way to jump to a file quickly since I could find the link with `C-s' or `C-c o'. Maybe this helps in the TODO file of small/medium project. I'll keep it and probably use it :-) Regards, Sebastian Andreas Burtzlaff and...@gmx.net writes: Hello everyone, while using orgmode to organize data that is strongly bound to files and directories, I came to the point where in addition to linking from the orgfile to the target file/directory I longed to have it the other way round, i.e. getting information about the files/directories from the orgfile while browsing the filesystem. That led to the following idea: Orgmodes folding and linking capabilities are easily combined to make rudimentary but comfortable file system browsing: * [[file:test/dirA][dirA]] ** [[file:test/dirA/subdirA][subdirA]] *** [[file:test/dirA/subdirA/some_file][some_file]] ** [[file:test/dirA/another_file][another_file]] * [[file:test/dirB][dirB]] Attached is a bash-script that generates this representation from a given subtree of the filesystem as a proof of concept. For each file/directory displayed search for any link to it in a given orgfile and - provide links back to these occurrences and/or - display the tags and associated content (read-only). The obvious weakness inherited from linking itself is synchronization on directory structure changes. A possible solution would be to store ids as hidden files for each directory or even for each file that is referred to. Does anybody else see the benefits of such a mode? Andreas #!/bin/bash DIR=$1 function toOrgRec { local BUFFER= for d in $( echo $(find $1 -maxdepth 1 -type d ) | tail -n +2 ); do BUFFER=${BUFFER} * [[file:${d}][$(basename ${d})]] toOrgRec ${d} BUFFER=${BUFFER}$( echo ${RETURN_BUFFER} | sed s/^\*/**/ | sed s/^ / / ) done for f in $(find $1 -maxdepth 1 -not -type d); do BUFFER=${BUFFER} * [[file:${f}][$(basename ${f} )]] done RETURN_BUFFER=${BUFFER} } toOrgRec ${DIR} echo $( echo ${RETURN_BUFFER} | tail -n +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 -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: change todo item status automatically when clock check out?
Ning Sean nings...@gmail.com writes: I wonder if I can configure orgmode in such a way that when a task is checked out, the state of the task automatically changes to some designated state? Take a look at `org-after-todo-state-change-hook'. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ 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] combine orgmode and file system browsing
Hi Sebastian, On Sat, 21 Mar 2009 03:20:37 +0100 Sebastian Rose sebastian_r...@gmx.de wrote: I like the idea of it. Thanks! Maybe this helps in the TODO file of small/medium project. I'll keep it and probably use it :-) The script does not generate the backlinks only the file system structure, so it's not really useful, sorry. It would make more sense to implement that properly as a major-mode and make each directory update its state from the filesystem and the org file whenever it becomes visible than to have to manually recreate the static representation everytime the filesystem's structure or the org file's content changes. Andreas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: bug in exporting checkbox lists
Rainer Thiel r.th...@uni-jena.de writes: I want to report what I think is a bug in the routines for exporting checkbox lists into LaTeX-related formats (including pdf). While checkboxes checked in orgmode appear as checked in html and ascii exports, all boxes are blank (unchecked) in LaTeX and related export files. I am appending some files to document the bug. I seem to remember this feature worked fine some time ago, so I think that might be a relatively new bug. I believe this is caused by a typo in the following line in org-export-latex.el: (defcustom org-export-latex-list-parameters '(:cbon \\texttt{[ ]} :cboff \\texttt{[ ]}) --- | `- This should be [X] You can set this variable to override this default value, which could be set this way to intentionally uncheck everything in the exported LaTeX file. Baoqiu ___ 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