Re: [Orgmode] compose and send html email using orgmode
yes, the simplest way to reproduce is... 1. completely turn off emacs 2. start up emacs 3. open a non-org-mode buffer (I began editing a file called "test") 4. start up orgstruct-mode 5. enter some text, select the text as a region, then call org-export-region-as-html this function should fail with something like this in your messages. Exporting... [2 times] Wrong type argument: stringp, nil Ah, of course, since this is not an org-mode buffer, all the local variables needed by org-mode functions are not initialized. You need to call the function like this: (org-run-like-in-org-mode 'org-export-region-as-html) - 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] configure the length of the TODO states i agenda view lines
Hi, that is currently not possible. - Carsten On Jan 15, 2008, at 5:15 PM, Rainer Stengele wrote: Hi! I would like to format the agenda lines. I know there is a variable for that but I cannot find the point where I can configure the length of the TODO states. I have: Day-agenda: Monday24 September 2007 ADMIN: Scheduled: TODO [#A] ... ADMIN: Scheduled: INARBEIT [#A] ... ADMIN: Scheduled: TODO [#A] ... ADMIN: Scheduled: INARBEIT [#A] ... but would like to have: Day-agenda: Monday24 September 2007 ADMIN: Scheduled: TODO [#A] ... ADMIN: Scheduled: INARBEIT [#A] ... ADMIN: Scheduled: TODO [#A] ... ADMIN: Scheduled: INARBEIT [#A] ... 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 ___ 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: configure the length of the TODO states i agenda view lines
Carsten Dominik schrieb: > Hi, > > that is currently not possible. > > - Carsten > > On Jan 15, 2008, at 5:15 PM, Rainer Stengele wrote: > >> Hi! >> >> I would like to format the agenda lines. I know there is a variable >> for that >> but I cannot find the point where I can configure the length of the >> TODO states. >> >> I have: >> >> >> Day-agenda: >> Monday24 September 2007 >> ADMIN: Scheduled: TODO [#A] ... >> ADMIN: Scheduled: INARBEIT [#A] ... >> ADMIN: Scheduled: TODO [#A] ... >> ADMIN: Scheduled: INARBEIT [#A] ... >> >> >> but would like to have: >> >> >> Day-agenda: >> Monday24 September 2007 >> ADMIN: Scheduled: TODO [#A] ... >> ADMIN: Scheduled: INARBEIT [#A] ... >> ADMIN: Scheduled: TODO [#A] ... >> ADMIN: Scheduled: INARBEIT [#A] ... >> >> >> 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 > > > > ___ > 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 > Hi Carsten, any chance to get that the todo state item formatted? rainer Doppeltransport ___ 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: configure the length of the TODO states i agenda view lines
On Jan 16, 2008, at 9:49 AM, Rainer Stengele wrote: Hi Carsten, any chance to get that the todo state item formatted? rainer Hmm, yeah, I can hack it. The clean way would be to include this into the prefix format, but this is more work. So I am just putting a new variable into the next version, you should set it like this: (setq org-agenda-todo-keyword-format "%-10s") - 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: configure the length of the TODO states i agenda view lines
Thanks Carsten, that is awesome! I'm afraid some of us could complain anyway because this is not really clean. Maybe you can keep the clean version on your list for "later"... rainer Carsten Dominik schrieb: > > On Jan 16, 2008, at 9:49 AM, Rainer Stengele wrote: >> Hi Carsten, >> >> any chance to get that the todo state item formatted? >> >> rainer > > > Hmm, yeah, I can hack it. The clean way would be to include this into > the > prefix format, but this is more work. So I am just putting a new > variable > into the next version, you should set it like this: > > (setq org-agenda-todo-keyword-format "%-10s") > > - Carsten begin:vcard fn:Rainer Stengele n:Stengele;Rainer org:diplan GmbH;Administration adr:;;Wetterkreuz 27;Erlangen;;91058;Germany email;internet:[EMAIL PROTECTED] title:Technical Control - Senior Administrator tel;work:+49(0)9131 777 885 tel;fax:+49(0)9131 777 888 url:http://www.diplan.de version:2.1 end:vcard ___ 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-refile: only works on leaves?
On Jan 15, 2008, at 8:29 PM, Wanrong Lin wrote: Hi, Carsten, It seems I found the cause of this. I have the following in my emacs config: (setq org-refile-targets '((org-agenda-files . (:maxlevel . 2 (setq org-refile-use-outline-path t) When using org-refile, the completion suggestions I got is (using example in my original example) Level 1 heading (xyz.org) Level 1 heading / Level 2 heading (xyz.org) Note there is a space between "Level 1 heading" and "(xyz.org)", so if I type "Level" and press TAB key, the minibuffer will get a completion up to "Level 1 heading" without the space, and I though this is a valid selection but org-mode refuses to take it. What is actually happening is, org-mode needs the " (xyz.org)" too. so if I add a space after "Level 1 heading", and press TAB key again, the minibuffer will get a completion to "Level 1 heading (xyz.org)" and now org-mode thinks this is a valid selection. My feeling is the above is a little bit counter-intuitive. If there is no multiple files with the same heading "Level 1 heading", I would think "Level 1 heading" should be considered a valid selection from the completion buffer. What do you think? In principle, I tend to agree but I don't know how to tweak completion to act like this. Have you considered to set (setq org-refile-use-outline-path 'file) ? This would get rid of the problem by moving the file name to the beginning of the completion string. - 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: configure the length of the TODO states i agenda view lines
On Jan 16, 2008, at 10:47 AM, Rainer Stengele wrote: Thanks Carsten, that is awesome! I'm afraid some of us could complain anyway because this is not really clean. Maybe you can keep the clean version on your list for "later"... There are enough reasons for doing a complete re-write of org-mode and designing the stuff top-down. But I would need someone to pay my salary for half a year or so - I guess this is not likely to happen. :-) - 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: Announcing Worg (Web-Org)
David, Bastien <[EMAIL PROTECTED]> writes: > "David O'Toole" <[EMAIL PROTECTED]> writes: >> Now that the holidays are over, I am back to hacking. > > Good to hear. I'm just back from an email blackout. [...] >> contribute my org-radio annotator thing to the repository (if anyone >> is interested). > > Sure! Normaly you should be able to commit to Worg's repository. [...] > - I think Phil and you could put your effort in common, since > org-annotate-file.el is scratching at the same itching need. I must have skipped over radio thinking it was something to do solely with audio :( I went back to your original announcement and it sounds like we really are doing the same thing. I can't actually find org-radio (the link to the repo doesn't work anymore) to see how much better your code is than mine and or sabotage the repository :) Happy to swap/lend/steal/merge anything you think we should or we could go into a bitter competition involving spies, bribery and litigation. Phil -- Phil Jackson http://www.shellarchive.co.uk ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] BUG: blank lines when cutting and pasting
Hi Max maybe you have sen the recent thread about the behavior of whitespace when moving outline subtrees through the file. It was my impression that the conclusion was that the whitespace *before* the tree should be moved with the tree. Therefore I modified the cut and past of subtrees to do just that. I do agree that this feels a bit odd in interactive use, and I certainly could make this configurable or so. The alternative is that you develop the habit to move the cursor to the first empty line after the subtree where you want to paste, not to the beginning of the subtree before you want to paste. This is an issue difficult to handle right. I am inviting more contributions to this discussion! - Carsten On Jan 9, 2008, at 5:07 PM, Max Mikhanosha wrote: Given the following top level heading * test ** one *** one.one some text ** two *** two.two some text ** three *** three.three some text If one goes to the beginning of heading ** two and use C-M-w to cut the heading, the cut buffer starts with "\n\n** two", ie contains two extra blank lines before the actual start of the heading. It does not matter if children are expanded or not. If you paste that heading with C-M-y the extra blank line is inserted before the heading. IMHO if user cuts a heading, cut buffer should contain the text starting with asterisk, without any extra new lines. Regards, Max ___ 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: FR: source code
Tim Stewart <[EMAIL PROTECTED]> writes: > Bastien <[EMAIL PROTECTED]> writes: > >> , >> | #+BEGIN_HTML >> | #+BEGIN_LaTeX >> | #+BEGIN_TXT >> | #+BEGIN_EXAMPLE >> | #+BEGIN myblock >> ` > > This is very off-topic, but how did you create the above > quote-thingies (assuming you did not do it by hand)? Is this some > Emacs feature that you're using, or something else? I ask because I > like it and want to use it. :D M-x boxquote-region (in message-mode) http://www.davep.org/emacs/boxquote.el > And don't worry, I'll be posting some Org-related articles in the near > future. Great! If you also feel like playing with Worg, just drop me a line. -- Bastien ___ 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: Announcing Worg (Web-Org)
http://dto.mamalala.org/eon/radio.el I haven't worked on it in a little while, as I've been hacking on Eon and org-publish.el. But, some people may find it of interest. I do intend to use it for audio, because it allows you to annotate binaries as well (by making a separate little note file.) On Jan 16, 2008 4:48 AM, Phil Jackson <[EMAIL PROTECTED]> wrote: > David, > > Bastien <[EMAIL PROTECTED]> writes: > > > "David O'Toole" <[EMAIL PROTECTED]> writes: > >> Now that the holidays are over, I am back to hacking. > > > > Good to hear. I'm just back from an email blackout. > > [...] > > >> contribute my org-radio annotator thing to the repository (if anyone > >> is interested). > > > > Sure! Normaly you should be able to commit to Worg's repository. > > [...] > > > - I think Phil and you could put your effort in common, since > > org-annotate-file.el is scratching at the same itching need. > > I must have skipped over radio thinking it was something to do solely > with audio :( I went back to your original announcement and it sounds > like we really are doing the same thing. I can't actually find org-radio > (the link to the repo doesn't work anymore) to see how much better your > code is than mine and or sabotage the repository :) > > Happy to swap/lend/steal/merge anything you think we should or we could > go into a bitter competition involving spies, bribery and litigation. > > Phil > -- > Phil Jackson > http://www.shellarchive.co.uk > ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-publish.el v1.81 is out
I have a new version of org-publish.el, with an experimental new feature called "project templates." It helps you factor out common parts of org-publish projects, which is useful when you have project directories that have subproject directories that also need to be published. There's no manual entry, but there are plenty of docstrings. To get an overview of the new functionality, visit org-publish.el (URL below) and look for the section "Project templates". enjoy! http://dto.mamalala.org/alpha/org-publish.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
[Orgmode] Re: Announcing Worg (Web-Org)
"David O'Toole" <[EMAIL PROTECTED]> writes: >> Happy to swap/lend/steal/merge anything you think we should or we >> could go into a bitter competition involving spies, bribery and >> litigation. > http://dto.mamalala.org/eon/radio.el > > I haven't worked on it in a little while, as I've been hacking on Eon > and org-publish.el. But, some people may find it of interest. I do > intend to use it for audio, because it allows you to annotate binaries > as well (by making a separate little note file.) It's amazing how similar they are. An important difference, for me, is that org-annotate-file doesn't modify its target file (my fellow team members wouldn't be happy with me putting UUIDs in our code base :)). Having said that org-annotate-file uses the 'file:name::search' syntax which means potentially matching the wrong line if there are identical ones. Swings and roundabouts I suppose. Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Announcing Worg (Web-Org)
It occurs to me that I probably shouldn't put radio.el in the worg repo, because I maintain it as part of Eon, and other parts of Eon will depend on it (in particular, the sound audition/annotation thing i described.) But the URL i gave (http://dto.mamalala.org/eon/radio.el ) is the standard location for the file (it's an hourly svn update), and I'm happy to take feature requests / bug reports on this list. On Jan 16, 2008 9:36 AM, David O'Toole <[EMAIL PROTECTED]> wrote: > http://dto.mamalala.org/eon/radio.el > > I haven't worked on it in a little while, as I've been hacking on Eon > and org-publish.el. But, some people may find it of interest. I do > intend to use it for audio, because it allows you to annotate binaries > as well (by making a separate little note file.) > > > On Jan 16, 2008 4:48 AM, Phil Jackson <[EMAIL PROTECTED]> wrote: > > David, > > > > Bastien <[EMAIL PROTECTED]> writes: > > > > > "David O'Toole" <[EMAIL PROTECTED]> writes: > > >> Now that the holidays are over, I am back to hacking. > > > > > > Good to hear. I'm just back from an email blackout. > > > > [...] > > > > >> contribute my org-radio annotator thing to the repository (if anyone > > >> is interested). > > > > > > Sure! Normaly you should be able to commit to Worg's repository. > > > > [...] > > > > > - I think Phil and you could put your effort in common, since > > > org-annotate-file.el is scratching at the same itching need. > > > > I must have skipped over radio thinking it was something to do solely > > with audio :( I went back to your original announcement and it sounds > > like we really are doing the same thing. I can't actually find org-radio > > (the link to the repo doesn't work anymore) to see how much better your > > code is than mine and or sabotage the repository :) > > > > Happy to swap/lend/steal/merge anything you think we should or we could > > go into a bitter competition involving spies, bribery and litigation. > > > > Phil > > -- > > Phil Jackson > > http://www.shellarchive.co.uk > > > ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-refile: only works on leaves?
Carsten Dominik wrote: On Jan 15, 2008, at 8:29 PM, Wanrong Lin wrote: Hi, Carsten, It seems I found the cause of this. I have the following in my emacs config: (setq org-refile-targets '((org-agenda-files . (:maxlevel . 2 (setq org-refile-use-outline-path t) When using org-refile, the completion suggestions I got is (using example in my original example) Level 1 heading (xyz.org) Level 1 heading / Level 2 heading (xyz.org) Note there is a space between "Level 1 heading" and "(xyz.org)", so if I type "Level" and press TAB key, the minibuffer will get a completion up to "Level 1 heading" without the space, and I though this is a valid selection but org-mode refuses to take it. What is actually happening is, org-mode needs the " (xyz.org)" too. so if I add a space after "Level 1 heading", and press TAB key again, the minibuffer will get a completion to "Level 1 heading (xyz.org)" and now org-mode thinks this is a valid selection. My feeling is the above is a little bit counter-intuitive. If there is no multiple files with the same heading "Level 1 heading", I would think "Level 1 heading" should be considered a valid selection from the completion buffer. What do you think? In principle, I tend to agree but I don't know how to tweak completion to act like this. Have you considered to set (setq org-refile-use-outline-path 'file) ? This would get rid of the problem by moving the file name to the beginning of the completion string. - Carsten Yes, this may be difficult to implement... (although in org-mode, a lot of things I thought were difficult or nearly impossible are actually there. I guess my expectation has been elevated. :)) I think typing the file name will be more work (I am lazy :)) than pressing the space key, so I prefer the current setting. Thank you. Wanrong ___ 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: FR: source code
Bastien <[EMAIL PROTECTED]> writes: > Tim Stewart <[EMAIL PROTECTED]> writes: > >> Bastien <[EMAIL PROTECTED]> writes: >> >>> , >>> | #+BEGIN_HTML >>> | #+BEGIN_LaTeX >>> | #+BEGIN_TXT >>> | #+BEGIN_EXAMPLE >>> | #+BEGIN myblock >>> ` >> >> This is very off-topic, but how did you create the above >> quote-thingies (assuming you did not do it by hand)? Is this some >> Emacs feature that you're using, or something else? I ask because >> I like it and want to use it. :D > > M-x boxquote-region (in message-mode) > > http://www.davep.org/emacs/boxquote.el Great, thanks! I'm a relative Emacs noob but I'm becoming quite effective. Org mode is Wonderful. >> And don't worry, I'll be posting some Org-related articles in the >> near future. > > Great! If you also feel like playing with Worg, just drop me a > line. Will do. -- -TimS Tim Stewart Lead UNIX Systems Administrator Ciena Corporation Alpharetta, GA, USA [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
Re: [Orgmode] FR: source code
On Jan 8, 2008, at 12:22 PM, Phil Jackson wrote: Hi, This may well be beyond the scope of Org but the only thing that keeps me from switching everything from Muse to Org is the lack of a method to 'embed' source code into a document ala: ... Is this something that might be possible in the future? It seems to me that there are really two issues here: 1. Font-locking in the buffer 2. Export I guess one problem is that the stuff in BEGIN_EXAMPLE and similar structures is not protected from font-lock a la org-mode. Maybe this is the main issue you are having Phil? How does Muse behave in your examlple? I don't know Muse too well. - 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] sexp timestamp behavior
On Jan 10, 2008, at 2:56 AM, David C. Nelson wrote: I've been playing around with org mode and I'm confused about the behavior of timestamps that are specified using sexps when displayed in the agenda. Specifically, if I schedule a TODO and specify a timestamp using a sexp, the TODO is not carried forward if it is past due. It does show on the day it was scheduled, but if the TODO is not done, the TODO is not carried forward as the manual says it should. If I don't use a sexp timestamp, the TODO is carried forward if past due as expected. I can't find anything in the manual that suggests sexp timestamps are treated differently. Yes, the manual is not complete here. I am adding the following text: You may use time stamps with repeaters in scheduling and deadline entries. Org-mode will issue early and late warnings based on the assumption that the time stamp represents the nearest instance of the repeater. However, the use of diary sexp entries like <%%(diary-float t 42)> in scheduling and deadline timestamps is limited. Org-mode does not know enough about the internals of each sexp function to issue early and late warnings. However, it will show the item on each day where the sexp entry matches. I hope this clarifies things. - 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: patch: link to the log of an ERC session
On Jan 11, 2008, at 11:49 AM, Phil Jackson wrote: Michael Olson <[EMAIL PROTECTED]> writes: I get a lot of my information from ERC/bitlbee so wrote this patch to allow for linking against the log associated with an ERC session. It's interesting that you're linking to the log file. I hadn't thought of doing that before, but I like the idea. Planner's ERC integration causes a new conversation to that person to be launched when clicking on its generated link. I could see merits in each approach. As I just make a 'file://' link to the log there is no reason org couldn't have an 'irc://' link too. Might be a little confusing for users having two places in the same buffer where C-c l could collect different links though :/ How about writing a little extension org-irc.el that extends the link mechanism for both cases? I'd love to see more such extensions, and I would be happy to distribute them with Org-mode, and to put them into Emacs if the papers are in order. In fact, I am thinking about putting more of the link stuff into separate files, if I can find the time. - 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] Timezone Support
I've had a nagging issue with timezones. The timestamps in org do not include TZ data, and I frequently switch timezones. This impacts notes and agenda items. Any ideas? -- 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
[Orgmode] Re: configure the length of the TODO states i agenda view lines
On 2008-01-16 09:55 +, Carsten Dominik wrote: > There are enough reasons for doing a complete re-write of org-mode > and designing the stuff top-down. But I would need someone to pay > my salary for half a year or so - I guess this is not likely to happen. > > :-) Can FSF support this? -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the best OS -- http://www.fedoraproject.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
Re: [Orgmode] FR: source code
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jan 8, 2008, at 12:22 PM, Phil Jackson wrote: [...] >> is the lack of a method to 'embed' source code into a document ala: >> >> >> ... >> [...] > It seems to me that there are really two issues here: > > 1. Font-locking in the buffer > 2. Export > > I guess one problem is that the stuff in BEGIN_EXAMPLE and similar > structures is not protected from font-lock a la org-mode. > Maybe this is the main issue you are having Phil? > > How does Muse behave in your examlple? I don't know Muse too well. The code isn't actually font-locked in the buffer itself but is syntax highlighted upon export (in (x)html anyway). Without actually reading the code, I think it just takes the region applies the mode specified by the 'lang' attribute and then uses htmlize.el on it. I *personally* still can't decide if this is within org's scope though, not to say I wouldn't find it very handy. Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: patch: link to the log of an ERC session
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jan 11, 2008, at 11:49 AM, Phil Jackson wrote: > >> Michael Olson <[EMAIL PROTECTED]> writes: >> I get a lot of my information from ERC/bitlbee so wrote this patch to allow for linking against the log associated with an ERC session. >>> >>> It's interesting that you're linking to the log file. I hadn't >>> thought of doing that before, but I like the idea. Planner's ERC >>> integration causes a new conversation to that person to be launched >>> when clicking on its generated link. I could see merits in each >>> approach. >> >> As I just make a 'file://' link to the log there is no reason org >> couldn't have an 'irc://' link too. Might be a little confusing for >> users having two places in the same buffer where C-c l could collect >> different links though :/ > > How about writing a little extension org-irc.el that extends the link > mechanism for both cases? I'd love to see more such extensions, and I > would be happy to distribute them with Org-mode, and to put them into > Emacs if the papers are in order. Sure, I'll get a patch to you when I can. Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Easily re-indent the #+OPTIONS lines
Hi folks, I often fiddle around #+AUTHOR, #+TITLE, and other such lines. But having to re-align them so that it looks better is time-consuming. This function does it automatically: (defun bzg-org-indent-options () "Indent option lines correctly." (interactive) (save-excursion (goto-char (point-min)) (let ((max-length 0)) (while (re-search-forward "^#\\+\\([A-Z_]+\\)" nil t) (if (> (length (match-string 1)) max-length) (setq max-length (length (match-string 1) (goto-char (point-min)) (while (re-search-forward "^#\\+\\([A-Z_]+\\):[ \t]*\\(.+\\)$" nil t) (replace-match (concat "#+" (match-string 1) ":" (make-string (1+ (- max-length (length (match-string 1 32) (match-string 2)) t t) For example, it converts this: #+TITLE: Test file #+STARTUP: hidestars #+AUTHOR: Bastien Guerry #+EMAIL: bzg AT altern DOT org #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:t -:t f:t #+SEQ_TODO: TODO NEXT FEEDBACK VERIFY DONE #+COLUMNS: %66ITEM %8TODO %10SCHEDULED %3PRIORITY %1TAGS into this: #+TITLE: Test file #+STARTUP:hidestars #+AUTHOR: Bastien Guerry #+EMAIL: bzg AT altern DOT org #+OPTIONS:H:3 num:nil toc:t \n:nil @:t ::t |:t ^:t -:t f:t #+SEQ_TODO: TODO NEXT FEEDBACK VERIFY DONE #+COLUMNS:%66ITEM %8TODO %10SCHEDULED %3PRIORITY %1TAGS -- Bastien ___ 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: configure the length of the TODO states i agenda view lines
Leo <[EMAIL PROTECTED]> writes: > On 2008-01-16 09:55 +, Carsten Dominik wrote: >> There are enough reasons for doing a complete re-write of org-mode >> and designing the stuff top-down. But I would need someone to pay >> my salary for half a year or so - I guess this is not likely to happen. >> >> :-) > > Can FSF support this? Leo, how should this sentence be read? Sometimes I just wonder whether I have too much or too little sense of humour... making me in both cases unable to understand such proposals! -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-refile bug? org-back-to-heading: before first heading
Hi Carsten, I'm playing with org-refile and in some cases it's not working for me. Here's a test.org file and minimal emacs setup you can try to use to reproduce the problem. Org-mode version 5.18a GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-11-03 on pacem, modified by Debian ,[ ~/minimal.emacs ] | (global-font-lock-mode t) | (add-to-list 'load-path (expand-file-name "~/git/org-mode")) | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) | (require 'org-install) | (define-key global-map "\C-ca" 'org-agenda) | (custom-set-variables | '(org-agenda-files (quote ("~/org/test.org" | (setq org-use-fast-todo-selection t) ` ,[ test.org ] | #+STARTUP: contents | * one | ** TODO one-one | * Two | ** TODO Two-one |SCHEDULED: <2008-01-16 Wed> | ** TODO Refile me to one ` Now do the following: $ emacs -q -l ~/minimal.emacs | Key Sequence | Description | |+-| | C-a a a| Go to agenda for the week | | down arrow | Move to scheduled task Two-one | | RETURN | Go to task in test.org | | down arrow | Go to task ** TODO Refile me to one | | C-c C-w| org-refile | | o TAB | Refile to * one | I get the following error text: org-back-to-heading: before first heading If I try to move back to the org file from the agenda by hitting return on the displayed scheduled task I get this error: call-interactively: Wrong type argument: integer-or-marker-p, nil --- If I don't display the agenda first... and just find-file to ~/org/test.org the org-refile works fine. Regards, Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: What's the use of Column View?
"Egli Christian (KIRO 41)" <[EMAIL PROTECTED]> writes: > There you go! A quick and simple way to get an overview. The power of column > view stems from the fact that it lets you quickly and simply > define hierarchical structures and then combine them with a tabular overview. > > Hope this helps > Thanks Christian! I haven't played with column view much yet but this is a great application I can use immediately. Since you're posting estimated times on your tasks I'm wondering if there's a way to get the clocked summary times for each task in the column view table as well (same values as C-c C-x C-d display). I'd _love_ to see my estimate task times and actual times side by side in the column view per task. That will help me tune my estimates much faster. This would be very useful for me to check how my estimates are doing compared to actual time spent on tasks. Is there some magical incantation to do this? :) 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] BUG: column view and HTML export
Hi Carsten, I think I've found another bug... (sorry) Here's my test case to reproduce the problem: ,[ minimal.emacs ] | (global-font-lock-mode t) | (add-to-list 'load-path (expand-file-name "~/git/org-mode")) | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) | (require 'org-install) | (define-key global-map "\C-ca" 'org-agenda) | (custom-set-variables | '(org-agenda-files (quote ("~/org/test.org" | (setq org-use-fast-todo-selection t) | ;;(org-agenda-list) ` ,[ test.org ] | #+STARTUP: contents | * one | ** TODO one-one | * Two | :PROPERTIES: | :COLUMNS: %40ITEM(Task) %Estimated(Estimated Time){+} | :END: | #+BEGIN: columnview :hlines 1 :id local | | Task | Estimated Time | | |---+| | | * Two| 6 | | | ** TODO Two-one | 4 | | | ** TODO Refile me to one | 2 | | #+END: | | ** TODO Two-one |SCHEDULED: <2008-01-16 Wed> |:PROPERTIES: |:Estimated: 4 |:END: | ** TODO Refile me to one |:PROPERTIES: |:Estimated: 2 |:END: ` $ emacs -q -l ~/minimal.emacs test.org | Key Sequence | Details | |--+--| | C-c C-a | Display all lines in the org file| | C-c C-x C-c | Start column view| | down arrow | until you are somewhere inside the table | | C-c C-e h| Export to HTML (which works) | | C-c C-e h| Export it again and it fails | |--+--| I get the following error after the second export (and any attempts to export after that) org-export-as-html: Text is read-only: "Type `e' to edit property" Is there any additional information I can provide to help fix this problem? 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