Re: [Orgmode] Bug: org-replace-region-by-latex
Hi Matt, I hope I was able to fix this for now. This stuff is messy in the implementation, it actually needs a re-write ... :-( - Carsten On Apr 26, 2009, at 3:49 AM, Matthew Lundin wrote: When I select a region and invoke org-replace-region-by-latex, the region is removed, but no latex output is put in its place. In other words, the region is simply deleted. Strangely, if I select multiple headlines, they are converted to latex. But if I select only text underneath a headline, it is not replaced. Can anyone else confirm this behavior? Thanks, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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: markup in environments in latex export
Hi Carsten, That seems like a good solution. I will work on it and test it over the next couple of days and let you know when it is ready. Do you have any preference for the name of the file? BTW, I also have signed and sent the copyright papers. I don't know if that's necessary for a contrib package, but now it's done... Cheers, Chris Carsten Dominik wrote: Hi Chris, I have been pondering about this idea, and I prefer to not integrate it into the Org core because I think it may lead to undesired behavior, in particular in the other backends like docbook or ASCII. However, I have just created three new hooks * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook. (org-export-preprocess-string): Run the new hook. * org-latex.el (org-export-latex-after-blockquotes-hook): New hook. (org-export-latex-preprocess): Run the new hook. * org-html.el (org-export-html-after-blockquotes-hook): New hook. (org-export-as-html): Run the new hook. which would allow to easily implement your idea as an add-on package that we could include in the contrib directory. Would you like to reformulate your patch into a small add-on? The only thing I would like to ask is to keep it LaTeX/HTML-specific, and this means that the action to turn #+begin_. into the cookies should be wrapped into (when (or latexp htmlp) ... ) latexp and htmlp are a local variables available when the first of the three hooks is run. - 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] Timeline view Headers not time-sorted
Hi Dominik, Thanks for your reply. have you modified org-agenda-sorting strategy? What is its value? I didn't modify its value. Here it is: ((agenda time-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)) Francesco ___ 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] Valid xhtml and org-html.el
Hi, appended is a patch for org-html.el. This is what it does: 1. col/col is no valid XHTML. Coltags must be empty. I.e., col / 2. colgroup.../colgroup tags where missing 3. A minor fix for the end of the CSS comments. Safari doesn't like /*]]*///-- and is right in this case. `//' does not start a comment in CSS. Therefore, I changed it to /*]]*/-- which is valid and Safari shuts up. 4. Change `' in link descriptions to `amp;' again. Not sure if I did it in the right place though, but I guess `org-export-html-format-desc' is only called to format link descriptions. Apropos validation: I worked a little on org-search.php this weekend. It now works without networking by default and is much faster. Also, you may now use it without a database, just to validate the XHTML output. No installation required anymore. In that case, the script just scanns the first 10 files (customizable) found and displays the parser-errors. If you use the script with database, wrong links to images are detected now. That's nice, when moving files around in your org-directories. Get it here: http://github.com/SebastianRose/org-search.php/tree/master diff --git a/lisp/org-html.el b/lisp/org-html.el index 5608b50..8e3ed4e 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -123,7 +123,7 @@ not be modified. white-space:nowrap; } .org-info-js_search-highlight {background-color:#00; color:#00; font-weight:bold; } - /*]]*///-- + /*]]*/-- /style The default style specification for exported HTML files. Please use the variables `org-export-html-style' and @@ -1353,10 +1353,10 @@ lang=\%s\ xml:lang=\%s\ (defun org-export-html-format-desc (s) Make sure the S is valid as a description in a link. - (if (and s (not (get-text-property 1 'org-protected s))) - (save-match-data - (org-html-do-expand s)) -s)) + (save-match-data +(if (and s (not (get-text-property 1 'org-protected s))) + (org-html-do-expand s) + (org-html-protect s (defun org-export-html-format-image (src par-open) Create image tag with source and attributes. @@ -1492,23 +1492,18 @@ lang=\%s\ xml:lang=\%s\ (setq html (nreverse html)) (unless splice ;; Put in col tags with the alignment (unfortunately often ignored...) - (push (mapconcat - (lambda (x) - (setq gr (pop org-table-colgroup-info)) - (format %scol align=\%s\/col%s - (if (memq gr '(:start :startend)) - (prog1 - (if colgropen /colgroup\ncolgroup colgroup) - (setq colgropen t)) - ) + (push (concat + colgroup + (mapconcat + (lambda (x) + (setq gr (pop org-table-colgroup-info)) + (format col align=\%s\ / (if ( (/ (float x) nlines) org-table-number-fraction) - right left) - (if (memq gr '(:end :startend)) - (progn (setq colgropen nil) /colgroup) - ))) - fnum ) + right left))) + fnum ) + /colgroup) html) - (if colgropen (setq html (cons (car html) (cons /colgroup (cdr html) + ;; Since the output of HTML table formatter can also be used in ;; DocBook document, we want to always include the caption to make ;; DocBook XML file valid. Regards Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Timeline view Display total time per day
Hi, In the timeline view of a single Org file, I would like to display the total amount of clocked time per day, something like the following: Wednesday 1 April 2009 (6:30) Clocked: (0:30) P1 Clocked: (4:00) P2 Clocked: (2:00) P1 Thursday2 April 2009 (5:00) Clocked: (3:00) P2 Clocked: (2:00) P3 etc. Could you tell me how to achieve that? Thanks a lot, Francesco ___ 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-annotation-helper
Hi Thiery, this is a problem of HTML. HTML has no linebreaks (or better: they are ignored). Since the browser doesn't know about the linebreaks, you simple get one line of text. Only lists are send with linebreaks it seems. For normal text this is no problem, just press `M-q' and everything is fine (still anoying when copying source code though). Sebastian thierry.volpia...@gmail.com writes: Hi all, I use org-annotation-helper.el with firefox. When i have a region with multilines marked in firefox and i use remember, the region is sended to emacs but on one line (the newlines are removed). Somebody know how to fix that? 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] Problem with org-publish :include
Carsten Dominik wrote: On Apr 28, 2009, at 2:02 PM, Rick Moynihan wrote: Hi all, I am using org-mode v6.26d (from the git repo) and keep all my org files in a single ~/org directory. I'm trying to setup a new org- publish project that publishes a single org-mode file (meeting- notes.org) and excludes all the others. Here's the relevant bit of my org-publish-project-alist: (setq org-publish-project-alist (list '(minutes . (:base-directory /home/rick/org/ :base-extension org :publishing-directory /home/rick/public_html/ minutes :exclude \\.org$ :include meeting-notes.org :with-section-numbers nil :table-of-contents nil :style link rel=stylesheet href=\mystyle.css\ type=\text/css\)) ; ... )) The problem is that I can't seem to get the :include property working. With the above settings crashing on org-publish-project with the error: Wrong type argument: sequencep, 101 I have narrowed it down to the include parameter, but don't know what is wrong with my config. I have also tried setting :include to a (list meeting-notes.org) with a similar error. Is this a bug in org-mode, my config or something else. Any help greatfully appreciated!!! Does :include (meeting-notes.org) work better? The documentation says it must be a list, I have never used it. - Carsten Thanks Carsten. It does indeed work when expressed like this; clearly I'm again a victim of my own stupidity =) R. ___ 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-export intergration
Hi, here is a little function, that creates the menu-structure file for Marco Pratesi's great phplayersmenu. Just thought I share it here. See http://phplayersmenu.sourceforge.net/demo.php for a demo. All the menus there are made from the same menu-structur files. To use it, have this here in my config: (setq org-publish-project-alist '( (org-notes ;; config omitted ... ;; ;;; Layersmenu ;;; :completion-function sr-org-notes-kb-complete :layers-menu-structure-file ~/develop/htdocs/intranet/navigations/org.txt :layers-menu-link-target mitte ) NOTE: the function will not work stand-alone. You will have to use it as :completion-function. Here it is: sr-org-index-complete.el Description: application/emacs-lisp Regards Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-annotation-helper
Hi Sebastian! Thank you for your answer. Sebastian Rose sebastian_r...@gmx.de writes: Hi Thiery, this is a problem of HTML. HTML has no linebreaks (or better: they are ignored). Since the browser doesn't know about the linebreaks, you simple get one line of text. Yes i see now. Only lists are send with linebreaks it seems. Which kind of lists? For normal text this is no problem, just press `M-q' and everything is fine (still anoying when copying source code though). Yes the problem is for source code. Sebastian thierry.volpia...@gmail.com writes: Hi all, I use org-annotation-helper.el with firefox. When i have a region with multilines marked in firefox and i use remember, the region is sended to emacs but on one line (the newlines are removed). Somebody know how to fix that? 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 -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ 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] Why not emacs -Q for byte-compiling org-mode in the Makefile
At Sun, 3 May 2009 21:52:05 +0200, Carsten Dominik wrote: On May 3, 2009, at 9:29 PM, Tassilo Horn wrote: is there a specific reason that the Makefile uses emacs -q and not emacs -Q for byte-compiling org-mode? this is a good idea, but -Q is not understood by XEmacs, and I am not even sure about Emacs 22. at least for Emacs 22, it works. XEmacs apparently has -no-site-file as equivalent to --no-site-init, so it would be possible to do something similar. Of course then you have switches depending on Emacs family, and I could see that being too much trouble. David ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Table of Contents in an extra buffer?
Wouldn't it be useful to have a table of contents in an extra buffer to move around quickly in huge org-files as it is possible in LaTeX-files with RefTeX? For me this is a feature that would make Org an even better authoring tool. Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Table of Contents in an extra buffer?
On May 4, 2009, at 3:02 PM, Karl Maihofer wrote: Wouldn't it be useful to have a table of contents in an extra buffer to move around quickly in huge org-files as it is possible in LaTeX- files with RefTeX? For me this is a feature that would make Org an even better authoring tool. Bastien has implemented this in org-toc.el which is a contributed package. - 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] bug? Can't abort org-remember buffer after mistyping my (t)emplate letter
I have org-remember working successfully (I can't believe that it took me so long to experiment with it. It has made a huge difference in my work). But if, after calling the extension with C-c r, I type a wrong tag selector (e.g. I mistype a right one), I get (1) the error message 'no template' (good) (2) a remember buffer without a bullet point, with the point at the very top of the file (sure, what do I expect?) (3) but, having realized my mistake, I can't get out of it gracefully. I can't abort (C-c C-k), and can't (C-c C-c). I get the error messageArgs out of range 0, 1 Any idea whether I've set something up wrong or if org just has no mercy on those who can't manage to type one of the selected values? Otherwise, org-remember works well. Scot I'm running org 2.26 trans on Emacs 23.0.91.1. Using the following org-remember values: org-mode and remember (org-remember-insinuate) (setq org-directory ~/org) (setq org-default-notes-file (concat org-directory /notes.org)) (define-key global-map \C-cr 'org-remember) (setq org-remember-templates '((Todo ?d * TODO %?\n %i\n %a ~/org/TODO.org Tasks) (Journal ?j * %U %?\n\n %i\n %a ~/wr/personal-org/tag.org) (Idea ?i * %^{Title}\n %i\n %a ~/org/Ideas.org New Ideas) (Homo Faber ?f * %^{Title}\n %i\n %a ~/org/TODO.org Tooling) (Thesis Idea ?t * %^{Title}\n %i\n %a ~/org/Thesis-Ideas.org Thesis Ideas) (Bug ?b * BUG %?\n %i\n %a ~/org/BUGS.org Bugs))) ___ 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? Can't abort org-remember buffer after mistyping my (t)emplate letter
Hi Scot, I have now fixed this by forcing you to type a valid template character, or to exit with C-g. - Carsten On May 4, 2009, at 3:13 PM, Scot Becker wrote: I have org-remember working successfully (I can't believe that it took me so long to experiment with it. It has made a huge difference in my work). But if, after calling the extension with C-c r, I type a wrong tag selector (e.g. I mistype a right one), I get (1) the error message 'no template' (good) (2) a remember buffer without a bullet point, with the point at the very top of the file (sure, what do I expect?) (3) but, having realized my mistake, I can't get out of it gracefully. I can't abort (C-c C-k), and can't (C-c C-c). I get the error messageArgs out of range 0, 1 Any idea whether I've set something up wrong or if org just has no mercy on those who can't manage to type one of the selected values? Otherwise, org-remember works well. Scot I'm running org 2.26 trans on Emacs 23.0.91.1. Using the following org-remember values: org-mode and remember (org-remember-insinuate) (setq org-directory ~/org) (setq org-default-notes-file (concat org-directory /notes.org)) (define-key global-map \C-cr 'org-remember) (setq org-remember-templates '((Todo ?d * TODO %?\n %i\n %a ~/org/TODO.org Tasks) (Journal ?j * %U %?\n\n %i\n %a ~/wr/personal-org/ tag.org) (Idea ?i * %^{Title}\n %i\n %a ~/org/Ideas.org New Ideas) (Homo Faber ?f * %^{Title}\n %i\n %a ~/org/TODO.org Tooling) (Thesis Idea ?t * %^{Title}\n %i\n %a ~/org/Thesis-Ideas.org Thesis Ideas) (Bug ?b * BUG %?\n %i\n %a ~/org/BUGS.org Bugs))) ___ 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] Why not emacs -Q for byte-compiling org-mode in the Makefile
On May 4, 2009, at 2:17 PM, David Bremner wrote: At Sun, 3 May 2009 21:52:05 +0200, Carsten Dominik wrote: On May 3, 2009, at 9:29 PM, Tassilo Horn wrote: is there a specific reason that the Makefile uses emacs -q and not emacs -Q for byte-compiling org-mode? this is a good idea, but -Q is not understood by XEmacs, and I am not even sure about Emacs 22. at least for Emacs 22, it works. XEmacs apparently has -no-site-file as equivalent to --no-site-init, so it would be possible to do something similar. Of course then you have switches depending on Emacs family, and I could see that being too much trouble. Yes, I prefer to just keep -q which is compatible. Otherwise the installation instructions will become more complicated. - 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] Valid xhtml and org-html.el
Hi Sebastian, On May 4, 2009, at 11:18 AM, Sebastian Rose wrote: Hi, appended is a patch for org-html.el. This is what it does: 1. col/col is no valid XHTML. Coltags must be empty. I.e., col / applied. 2. colgroup.../colgroup tags where missing applied 3. A minor fix for the end of the CSS comments. Safari doesn't like /*]]*///-- and is right in this case. `//' does not start a comment in CSS. Therefore, I changed it to /*]]*/-- which is valid and Safari shuts up. You changed this only once, it it needed in two places, right? I changed it in both. 4. Change `' in link descriptions to `amp;' again. Not sure if I did it in the right place though, but I guess `org-export-html-format-desc' is only called to format link descriptions. I have not yet applied this, can you give me an example where this is needed? Apropos validation: I worked a little on org-search.php this weekend. It now works without networking by default and is much faster. Also, you may now use it without a database, just to validate the XHTML output. No installation required anymore. In that case, the script just scanns the first 10 files (customizable) found and displays the parser-errors. If you use the script with database, wrong links to images are detected now. That's nice, when moving files around in your org-directories. Get it here: http://github.com/SebastianRose/org-search.php/tree/master I need to find time to check this out definitely. Thanks. - Carsten diff --git a/lisp/org-html.el b/lisp/org-html.el index 5608b50..8e3ed4e 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -123,7 +123,7 @@ not be modified. white-space:nowrap; } .org-info-js_search-highlight {background-color:#00; color:#00; font-weight:bold; } - /*]]*///-- + /*]]*/-- /style The default style specification for exported HTML files. Please use the variables `org-export-html-style' and @@ -1353,10 +1353,10 @@ lang=\%s\ xml:lang=\%s\ (defun org-export-html-format-desc (s) Make sure the S is valid as a description in a link. - (if (and s (not (get-text-property 1 'org-protected s))) - (save-match-data - (org-html-do-expand s)) -s)) + (save-match-data +(if (and s (not (get-text-property 1 'org-protected s))) + (org-html-do-expand s) + (org-html-protect s (defun org-export-html-format-image (src par-open) Create image tag with source and attributes. @@ -1492,23 +1492,18 @@ lang=\%s\ xml:lang=\%s\ (setq html (nreverse html)) (unless splice ;; Put in col tags with the alignment (unfortunately often ignored...) - (push (mapconcat -(lambda (x) - (setq gr (pop org-table-colgroup-info)) - (format %scol align=\%s\/col%s - (if (memq gr '(:start :startend)) - (prog1 - (if colgropen /colgroup\ncolgroup colgroup) -(setq colgropen t)) -) + (push (concat +colgroup +(mapconcat + (lambda (x) + (setq gr (pop org-table-colgroup-info)) + (format col align=\%s\ / (if ( (/ (float x) nlines) org-table-number-fraction) - right left) - (if (memq gr '(:end :startend)) - (progn (setq colgropen nil) /colgroup) -))) -fnum ) + right left))) + fnum ) +/colgroup) html) - (if colgropen (setq html (cons (car html) (cons / colgroup (cdr html) + ;; Since the output of HTML table formatter can also be used in ;; DocBook document, we want to always include the caption to make ;; DocBook XML file valid. Regards Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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 set a entry with Chinese calender?
On Apr 30, 2009, at 9:54 AM, Wei-Wei Guo wrote: Dear all, I want to make entries of my mum and dad's birthday by diary- anniversary. The problem is their birthday is in Lunar calender (Chinese calender) fashion. Diary has things like diary-julian-date, but I didn't find diary-chinese-something. Emacs calender support chinese calender, although its calculation of month is not right. I don't know how to handle chinese dates, sorry. Another question is how to set an entry of every Friday? I tried %%(diary-float t 5 t) Meeting. Take a look at diary-cyclic, or use 2009-04-30 Fri +1w HTH - Carsten It seems the last arg doesn't accept 't'. Best wishes, Wei-Wei ___ 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: markup in environments in latex export
On May 4, 2009, at 9:52 AM, Chris Gray wrote: Hi Carsten, That seems like a good solution. I will work on it and test it over the next couple of days and let you know when it is ready. Do you have any preference for the name of the file? Hard to find a good name org-block2env.el org-anyblock.el I don't know, your call. BTW, I also have signed and sent the copyright papers. I don't know if that's necessary for a contrib package, but now it's done... It is not necessary for a contrib package, but it will be good to have anyway. Maybe this add-on will move into the core distro eventually (turned off by default), or maybe you will contribute other patches. Thanks. - Carsten Cheers, Chris Carsten Dominik wrote: Hi Chris, I have been pondering about this idea, and I prefer to not integrate it into the Org core because I think it may lead to undesired behavior, in particular in the other backends like docbook or ASCII. However, I have just created three new hooks * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook. (org-export-preprocess-string): Run the new hook. * org-latex.el (org-export-latex-after-blockquotes-hook): New hook. (org-export-latex-preprocess): Run the new hook. * org-html.el (org-export-html-after-blockquotes-hook): New hook. (org-export-as-html): Run the new hook. which would allow to easily implement your idea as an add-on package that we could include in the contrib directory. Would you like to reformulate your patch into a small add-on? The only thing I would like to ask is to keep it LaTeX/HTML-specific, and this means that the action to turn #+begin_. into the cookies should be wrapped into (when (or latexp htmlp) ... ) latexp and htmlp are a local variables available when the first of the three hooks is run. - 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] line breaks in table cells
Carsten, That works. Thanks Karel -Original Message- From: Carsten Dominik [mailto:carsten.domi...@gmail.com] Sent: Monday, May 04, 2009 16:26 To: Sprenger, Karel Cc: emacs-orgmode@gnu.org Subject: Re: [Orgmode] line breaks in table cells On May 4, 2009, at 4:10 PM, Sprenger, Karel wrote: Hi, Is there a way to force line breaks in table cells? I have a table where some cells will contain a list of items. Currently, org-mode has no way to include a list in a cell but being able to force a line break would help to make the exported HTML more readable when viewed through a browser. Of course, it would be nicer if a table cell could contain lists ☺ I think | a | b | c | |++| | aaa @br/ bbb @br/ ccc | b1 | c1 | should work, but only for 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
[Orgmode] Javascript in Safari
Hello Experts, It appears that the javascript enabled webpage looks not good in Safari browser. In particular, the whole page is expanded in one big page instead of foled together. Are there any suggestions for that? Thanks! Xin ___ 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] Font problem with copying subtrees
Very strange, so far I cannot reproduce this. - Carsten On Apr 24, 2009, at 5:52 PM, Bernt Hansen wrote: Hi Carsten! I got a chance to try out the new C-c C-x c (org-clone-subtree-with-time-shift) yesterday while doing my quarterly accounting (ugh) and this is much better than the old way I dealt with these repeating tasks. Thanks!! I noticed a problem with font locking (if that's what you call it) when copying subtrees and supplying a date. I started with the following file: ,[ x.org ] | | * Level One | ** TODO One | *** TODO One.One | *** TODO One.Two | ** TODO Two | ** TODO Three | *** TODO Three.One | ** TODO Four | * TODO Next thing ` and with the cursor on * Level One I did C-c C-x c Number of clones to produce: 1 RET Date shift per clone (e.g. +1w, empty to copy unchanged): +1y and the copied clone was all black text. Of course I just undid it now and redid it and it looks correct :/ I noticed this when copying my large-ish subtrees for the accounting quarterly work because tables were not blue, no heading levels were coloured etc. Let me know if you need more information. -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 ___ 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] Why not emacs -Q for byte-compiling org-mode in the Makefile
David Bremner brem...@unb.ca writes: is there a specific reason that the Makefile uses emacs -q and not emacs -Q for byte-compiling org-mode? this is a good idea, but -Q is not understood by XEmacs, and I am not even sure about Emacs 22. at least for Emacs 22, it works. XEmacs apparently has -no-site-file as equivalent to --no-site-init, so it would be possible to do something similar. Yeah, -Q is equivalent to -q --no-site-file, so the latter could be used and still we're compatible with emacs 22/23 xemacs. Bye, Tassilo -- Emacs is not a development tool but a way of life. - David Kastrup in alt.religion.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
Re: [Orgmode] line breaks in table cells
On May 4, 2009, at 4:10 PM, Sprenger, Karel wrote: Hi, Is there a way to force line breaks in table cells? I have a table where some cells will contain a list of items. Currently, org-mode has no way to include a list in a cell but being able to force a line break would help to make the exported HTML more readable when viewed through a browser. Of course, it would be nicer if a table cell could contain lists ☺ I think | a | b | c | |++| | aaa @br/ bbb @br/ ccc | b1 | c1 | should work, but only for 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] Timeline view Display total time per day
You can use the agenda instead of the timeline, and then use the clock table in the agenda, toggle it with R. - Carsten On May 4, 2009, at 11:32 AM, Francesco Pizzolante wrote: Hi, In the timeline view of a single Org file, I would like to display the total amount of clocked time per day, something like the following: Wednesday 1 April 2009 (6:30) Clocked: (0:30) P1 Clocked: (4:00) P2 Clocked: (2:00) P1 Thursday2 April 2009 (5:00) Clocked: (3:00) P2 Clocked: (2:00) P3 etc. Could you tell me how to achieve that? Thanks a lot, Francesco ___ 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] Documentation of contributed packages
Hi, this is a request for documentation of contributed packages. There are still a number of contributed packages that are not documented. You ca see this at http://orgmode.org/worg/org-contrib/index.php Every package where the headline is not a link lacks a Worg page with documentation. If you use one of these packages, please consider writing a page of documentation for it and submit it to Worg. Thanks. - 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] Timeline view Headers not time-sorted
Strange, because if I try your file, I get the correct sequence. - Carsten On May 4, 2009, at 10:33 AM, Francesco Pizzolante wrote: Hi Dominik, Thanks for your reply. have you modified org-agenda-sorting strategy? What is its value? I didn't modify its value. Here it is: ((agenda time-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)) Francesco ___ 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] line breaks in table cells
Hi, Is there a way to force line breaks in table cells? I have a table where some cells will contain a list of items. Currently, org-mode has no way to include a list in a cell but being able to force a line break would help to make the exported HTML more readable when viewed through a browser. Of course, it would be nicer if a table cell could contain lists ☺ Kind regards/hartelijke groeten, Karel Sprenger ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Table of Contents in an extra buffer?
Quoting Carsten Dominik carsten.domi...@gmail.com: Bastien has implemented this in org-toc.el which is a contributed package. Perfekt! Thanks a lot! ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-annotation-helper
thierry.volpia...@gmail.com writes: Only lists are send with linebreaks it seems. Which kind of lists? From Firefox I get bulleted lists in the form: * Here is the text of the first item * Second item... And numbered lists: # first item # second item... Hm - it's not that great :) Regards, Sebastian For normal text this is no problem, just press `M-q' and everything is fine (still anoying when copying source code though). Yes the problem is for source code. Sebastian thierry.volpia...@gmail.com writes: Hi all, I use org-annotation-helper.el with firefox. When i have a region with multilines marked in firefox and i use remember, the region is sended to emacs but on one line (the newlines are removed). Somebody know how to fix that? 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 -- 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
Re: [Orgmode] Table of Contents in an extra buffer?
I use imenu for this. Speedbar works too. Sometimes I still use my own `speedbar in same frame' (which works on console too). For both, add this line to your setup: (add-hook 'org-mode-hook 'imenu-add-menubar-index) Regards, Sebastian Karl Maihofer ignora...@gmx.de writes: Wouldn't it be useful to have a table of contents in an extra buffer to move around quickly in huge org-files as it is possible in LaTeX-files with RefTeX? For me this is a feature that would make Org an even better authoring tool. Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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
Nick Dokos: Re: [Orgmode] Why not emacs -Q for byte-compiling org-mode in the Makefile
[D'oh: I replied to Carsten only - sorry about that.] --- Forwarded Message Date:Sun, 03 May 2009 16:27:15 -0400 From:Nick Dokos nicholas.do...@hp.com To: Carsten Dominik carsten.domi...@gmail.com cc: nicholas.do...@hp.com Subject: Re: [Orgmode] Why not emacs -Q for byte-compiling org-mode in the Make file Carsten Dominik carsten.domi...@gmail.com wrote: On May 3, 2009, at 9:29 PM, Tassilo Horn wrote: is there a specific reason that the Makefile uses emacs -q and not emacs -Q for byte-compiling org-mode? this is a good idea, but -Q is not understood by XEmacs, and I am not even sure about Emacs 22. emacs-22 groks -Q (or in long form: --no-init-file --no-site-file - --no-splash). xemacs21[1] seems to use long form options with a single dash: -no-init-file (== -q) and -no-site-file. The thing is that (with git) it's easy to make such changes locally, while waiting (perhaps for ever !-) for upstream: have a local branch with a few changes that are specific to the local setup and rebase after a pull. Nick [1] According to an online manpage: http://linux.die.net/man/1/xemacs --- End of Forwarded Message ___ 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] Javascript in Safari
Hi, Hm - the comment dilimiter is wrong there. It should be /*]]*///-- after scripts (it is not after org-info.js), but /*]]*/-- after CSS-Sections. Carsten, this is in line 114 of org-jsinfo.el. - /*]]*/-- + /*]]*///-- This is what Safaris inspector says: SyntaxError: Parse error http://orgmode.org/worg/org-faq.php#sec-1 (line 61) The `--' part of the ending comment delimeter. Regards, Sebastian Xin Shi shixin...@gmail.com writes: Hello Experts, It appears that the javascript enabled webpage looks not good in Safari browser. In particular, the whole page is expanded in one big page instead of foled together. Are there any suggestions for that? Thanks! Xin ___ 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
Re: [Orgmode] Font problem with copying subtrees
Carsten Dominik carsten.domi...@gmail.com writes: On Apr 24, 2009, at 5:52 PM, Bernt Hansen wrote: I got a chance to try out the new C-c C-x c (org-clone-subtree-with-time-shift) yesterday while doing my quarterly accounting (ugh) and this is much better than the old way I dealt with these repeating tasks. Thanks!! I noticed a problem with font locking (if that's what you call it) when copying subtrees and supplying a date. I started with the following file: ,[ x.org ] | | * Level One | ** TODO One | *** TODO One.One | *** TODO One.Two | ** TODO Two | ** TODO Three | *** TODO Three.One | ** TODO Four | * TODO Next thing ` and with the cursor on * Level One I did C-c C-x c Number of clones to produce: 1 RET Date shift per clone (e.g. +1w, empty to copy unchanged): +1y and the copied clone was all black text. Of course I just undid it now and redid it and it looks correct :/ I noticed this when copying my large-ish subtrees for the accounting quarterly work because tables were not blue, no heading levels were coloured etc. Let me know if you need more information. Very strange, so far I cannot reproduce this. - Carsten This seems to be flyspell mode that causes this from my org-mode-hook. ,[ minimal.emacs ] | (add-to-list 'load-path (expand-file-name ~/git/org-mode/lisp)) | (add-to-list 'auto-mode-alist '(\\.\\(org\\|org_archive\\|txt\\)$ . org-mode)) | (require 'org-install) | (add-hook 'org-mode-hook | (lambda () | (flyspell-mode 1))) ` I need to copy the region twice to make it show up. $ emacs -q -l /tmp/minimal.emacs /tmp/x.org down arrow (to get to the first heading) C-c C-x c 1 RET +1w C-c C-x c 1 RET +1y the second copy is black. -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] bugs in org-remember-backup-directory
Thanks, Carsten. Welcome back :). On Thu, Apr 30, 2009 at 06:30, Carsten Dominik carsten.domi...@gmail.com wrote: 3) if you have auto-save-file-name-transforms set, auto-saving is done according to that variable instead of saving in place. I am now turning that variable off, locally in the remember buffer. Does that fix the problem? Yes, it works well in my limited testing. However, dired-find-file does not work on the file. It seems that it thinks there is no buffer visiting it even though there is one. Thanks. -- Myalgic encephalomyelitis denialism is causing death and severe suffering worse than MS. Conflicts of interest are destroying science. Anybody can get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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] bugs in org-remember-backup-directory
I found another bug. After an auto-save happens, if you change the remember buffer, then do org-remember-finalize, emacs will complain that remember-... has changed since you last saved it. If you then run do-auto-save and try to save it, it works. A workaround would be to put (do-auto-save) in org-remember-finalize. That would work perfectly, but feels kludgey. Perhaps there is a way to turn off checking for changes. Thanks. -- Myalgic encephalomyelitis denialism is causing death and severe suffering worse than MS. Conflicts of interest are destroying science. Anybody can get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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] ascii export to just buffer?
On Apr 26, 2009, at 5:55 AM, Samuel Wales wrote: I frequently export to ascii without wanting a file to be created, especially not in a useful directory, as the files are temporary. Is there a way to export ascii to just a buffer? There is now: git pull and then C-c C-e A Note that this forces me to change the binding for publishing all projects, see separate email. - Carsten Thanks. -- Myalgic encephalomyelitis denialism is causing death and severe suffering worse than MS. Greed is corrupting science into foul nonsense. Anybody can get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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] ATTENTION: Changed key for publishing all projects
Hi, I had to change the key for publishing all projects from C-c C-e A to C-c C-e E in order to make the A key combo available for ASCII publishing. Sorry for the inconvenience. - 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] File local variables and export?
I'm trying to change org-export-latex-image-default-option to width=.7\\linewidth in a file local variable. It's set correctly as a buffer local variable, and it's having no effect on the export. My guess is that the buffer-local property is stopping it as soon as org-export-as-latex runs set-buffer. I can smuggle the value in by adding an entry to org-export-plist-vars referring to org-export-latex-image-default-option and pulling the value from the plist, but that feels incorrect. Am I missing something? Or should I look into grabbing buffer-local-variables before set-buffer and setting the variables in the output buffer? BTW, there's a typo in org-export-region-as-latex's docstring. Replace retunr with return... That pops up in the docbook export, too. ;) Jason ___ 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] Javascript in Safari
Hi Sebastian, Does this mean it has been fixed or there are something need to be done in the elisp? Thanks! Xin On Mon, May 4, 2009 at 1:00 PM, Sebastian Rose sebastian_r...@gmx.dewrote: Hi, Hm - the comment dilimiter is wrong there. It should be /*]]*///-- after scripts (it is not after org-info.js), but /*]]*/-- after CSS-Sections. Carsten, this is in line 114 of org-jsinfo.el. - /*]]*/-- + /*]]*///-- This is what Safaris inspector says: SyntaxError: Parse error http://orgmode.org/worg/org-faq.php#sec-1 (line 61) The `--' part of the ending comment delimeter. Regards, Sebastian Xin Shi shixin...@gmail.com writes: Hello Experts, It appears that the javascript enabled webpage looks not good in Safari browser. In particular, the whole page is expanded in one big page instead of foled together. Are there any suggestions for that? Thanks! Xin ___ 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
Re: [Orgmode] ascii export to just buffer?
Thank you! On 2009-05-04, Carsten Dominik carsten.domi...@gmail.com wrote: On Apr 26, 2009, at 5:55 AM, Samuel Wales wrote: I frequently export to ascii without wanting a file to be created, especially not in a useful directory, as the files are temporary. Is there a way to export ascii to just a buffer? There is now: git pull and then C-c C-e A Note that this forces me to change the binding for publishing all projects, see separate email. - Carsten Thanks. -- Myalgic encephalomyelitis denialism is causing death and severe suffering worse than MS. Greed is corrupting science into foul nonsense. Anybody can get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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 -- Myalgic encephalomyelitis denialism is causing death and severe suffering worse than MS. Conflicts of interest are destroying science. Anybody can get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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