[O] text colours after upgrade
Having upgraded org-mode via the emacs package thingy today I notice that sometimes the text following a heading is coloured as the heading. This seems to depend on some internal state, as the same file contents does not always result in this happening. So, for example, if I save the file and re-open it the text is coloured correctly. I've yet to identify exactly what needs to be done in order for this to come about, but I have noticed it a few times this morning...
Re: [O] New maintainer
Hi Bastien, thank you very very much for maintaining org-mode for the last two years. You did a great job maintaining org-mode and keeping its community together. I agree with everything Carsten says in his mail Changing the maintainer. While I am happy it is Carsten of all people who takes up the maintainership, at the same time I'm very sorry you are stepping down. Best regards Robert On 04/18/2013 06:53 PM, Bastien wrote: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! :) -- Robert Klein - Max Planck-Institut für Polymerforschung Ackermannweg 10 55128 Mainz
Re: [O] org-macro need to provide org-macs
Ivan Kanis writes: Just add (require 'org-macs) in org-macro.el. Why do you think so? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: [O] Release 8.0
Great! Thanks, everybody. Yours, Christian
Re: [O] New maintainer
Bastien, What the others said... Thanks for all your work! It's been a pleasure to follow Org-mode. Yours, Christian Bastien writes: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! :)
Re: [O] New maintainer
On Fri, Apr 19, 2013 at 12:24:46AM +, Charles Berry wrote: Bastien bzg at gnu.org writes: Dear all, I'm stepping down as the Org maintainer. You have done an awesome job. This is still the friendliest little town on the internet thanks to your patience and good judgment in no small part. Indeed! Thanks a lot :). And welcome back Carsten. :) -- Suvayu Open source is the future. It sets us free.
Re: [O] Changing the maintainer
Welcome back! Yours, Christian Carsten Dominik writes: Hello everyone, as Bastien has written in a related thread, the current idea is that I will take over the maintainership of Org-mode once more. I have seen no objections so far, so I am assuming that we should go ahead with this plan. Let me start by extending my (and I am sure, everyones) gratitude to Bastien. I think he has done an incredible job over the last two years, keeping Org-mode on course and also supporting significant changes that we have seen with the release of version 8.0. Bastien's activity has been unmatched. He has answered a huge amount of questions in the mailing list, fixed an uncounted number of bugs and he has been designing and applying changes over the entire breadth of the Org code base. This is no easy feat and I really admire his work. Besides this, he has done amazing work keeping the community together and making sure that the mailing list remains IMO one of the prime places on the internet. THANK YOU, Bastien. I will leave the donations button on his name until the end of April, so if you want to express your thanks to him in this way, you have that possibility. If not, writing to him and expressing your amazement with his achievements in the last two years will probably make him as happy. One of the main things Bastien has done is to make space for other developers, while making sure that the development maintains a maximum of compatibility, usability and hackability. It has taken a long time to get the new exporter into the main stream, and I clearly think it was worth the wait. We now have a complete set of exporters, immediately in the first release that is based on the new parser and exporter framework. What Nicolas has achieved I still cannot fully comprehend. The exporter side of Org-mode was very usable, but it was an unmaintainable mess, without clarity. Now, writing a new exporter has become extremely simple, everyone can do it. Due to the ingenious filter and inheritance system, new exporters can be written with very little code. Maintenance will be simple, since this is ONE parser, one framework. When I handed over the maintainership to Bastien two years ago, I was worn down. In the mean time, my life has not become less full, and so this time around, I will make sure that the project does not swallow me. I hope very much that we as a community can continue on the path Bastien has set, with a growing number of people taking responsibility for specific parts of Org. I need to re-familiarize myself with many things, I am not up to speed with some of the new developments, so I need to study. But when this is done, I will approach some of you and ask for help, it would be great if some of you can say yes and work with me. I will see my own task mainly in removing obstacles for everyone, and in coordinating releases. I also have coding ideas and plans, but those will have second priority. I am really glad that Bastien has promised to stick around, and he will still lead the round of fixes that usually follow after a major release. I am looking forward to again interact more with you all. Cheers - Carsten
[O] Super/subscripts
Aloha all, FYI, Org 8.0 appears to require the LaTeX amstext package to export super/subscripts to LaTeX. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[O] Colorized TODO in Latex export?
Hi all, I export minutes of meetings to latex and I would like to define colors for the TODO keywords, like they are shown in my emacs agenda buffer. How can I do this? Best regards, Johan
[O] Taskjuggler export deals badly with first parent match
Hi, first of all, thanks for the hard work to make 8.0 get out. I found ox-taskjuggler broken in /task_id/ identification when it is non trivial. here is an example this is not fine at my side : Org-mode version 8.0 (release_8.0-1-g5ef07d @ …) #+BEGIN_EXAMPLE * Project :taskjuggler_project: ** Training material :PROPERTIES: :task_id: training_material :END: *** Markup Guidelines :PROPERTIES: :Effort: 2d :task_id: markup :END: *** Workflow Guidelines :PROPERTIES: :Effort: 2d :END: ** Presentation :PROPERTIES: :Effort: 2d :BLOCKER: markup :END: #+END_EXAMPLE At export, it gives #+BEGIN_EXAMPLE task project Project { purge allocate allocate cancelled task training_material Training material { task markup Markup Guidelines { effort 16.0h } task workflow Workflow Guidelines { effort 16.0h } } task presentation Presentation { depends !!training_material.markup effort 16.0h } } #+END_EXAMPLE which fails compiling (for good reasons) with : Error in scenario plan: Task project.presentation has unknown depends training_material.markup actually, the line : depends !!training_material.markup should be : depends !training_material.markup – this is an easy fix is this baby example, but on my whole project, I have tons of false references :'( – again, thanks :) -- : ~^v^~ Bat
[O] Thank you very much Bastien! Hello Carsten! (was: New maintainer)
* Bastien b...@gnu.org wrote: Dear all, Dear Bastien, I'm stepping down as the Org maintainer. I am sorry to have to read this. As I entered this universe of great Personal Information Management LEGO bricks two years ago, you were the maintainer in charge of this huge project. Although I already had been part of several communities, I was overwhelmed by the warm welcome in this one. I loved to enter it, I love to stay in it. You are very patient with Org-mode/ELISP rookies and you are incredible cautious and diplomatic with I-do-not-know-how-to- describe-but-you-know-who-I-mean people. I learned a *lot* from you here on this mailing list, not only related to software. Despite the fact that I am not able to add (ELISP-)code (yet) you still give me the feeling that my contributions are an important part of this community and this is just great. I thank you for all your effort of the past years and do hope that you will be an important part of this project in future as well. Je t'embrasse, merci beaucoup! Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. When I first read the subject, I was shocked. Especially because of this silly I-want-to-take-over-and-become-maintainer-discussion of the past weeks. But with Carsten mentioned, I am relieved :-) My thumbs are up in the air for sure. I am glad that Carsten is willing to take over again. I can imagine what this means and it is not easy to find someone who is competent *and* is willing to spend his/her time on such a project. Welcome Carsten, I thank you in advance and wish you all the best for this job! I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! Nice picture. Is someone able to photoshop this with their heads for the web page announcement? :-) PS: Tomorrow, I give an Org-mode talk [1] at the Linuxdays Graz (Austria) and I am eager to announce all the changes of the past days (version 8, best toolset ever, new maintainer) to the audience. 1. http://glt13-programm.linuxtage.at/events/161.de.html (German) -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: get Memacs from https://github.com/novoid/Memacs https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
Re: [O] Release 8.0
On 18.04.2013, at 18:41, Bastien wrote: I'm releasing Org 8.0. EXCELLENT - thank you for the hard work and the patience! Aaron Ecay, Abdó Roig-Maranges, Achim Gratz, Adam Spiers, Alan Schmitt, Alexander Willand, Andreas Leha, Andreas Röhler, Andrew M. Nuxoll, Arun Persaud, Bernd Haug, Bernt Hansen, Bill Day, Bill White, Brian van den Broek, Carsten Dominik, Charles C. Berry, Christian Egli, Christian Moe, Christophe Junke, Christopher Schmidt, Christopher Witte, Chuck Berry, Daniel Clemente, Daniel Dehennin, Dave Abrahams, David Kincaid, Derek Upham, Enda, Eric Abrahamsen, Eric S Fraga, Eric Schulte, Esben Stien, Fabrice Popineau, Feng Shu, Florian Beck, Francesco Pizzolante, Frank Fischer, Frank Terbeck, François Pinard, G. Jay Kerns, Gaizka Villate, Gary Oberbrunner, Greg Minshall, Gregor Kappler, Grégoire Jadi, Henry Atting, Hiroshi Saito, Hrvoje Nikšić, Ian Barton, Ingo Lohmar, Ippei FURUHASHI, Ivan Vilata i Balaguer, J. David Boyd, Jae Hee Lee, Jambunathan K, James Harkins, Jarmo Hurri, John Foerch, John Hendy, John J Foerch, John Wiegley, Jonas Bernoulli, Jonathan Leech-Pepin, Joost Helberg, Justus Piater, Kalev Takkis, Ken Williams, Kevin Buchs, Kodi Arfer, Kyle Machulis, Le Wang, Leo Liu, Luca Sabbatini, Luis Anaya, Marcel van der Boom, Mark Edgington, Matt Lundin, Max Mikhanosha, Michael Brand, Michael Crouch, Michael Gauland, Michael Heerdegen, Michael Strey, Mirko Vukovic, Myles English, Nick Dokos, Nicolas Goaziou, Nicolas Richard, Oliver Večerník, Paul Sexton, Peder Stray, Peter Münster, Philipp Kroos, Raghavendra D Prabhu, Rainer M. Krug, Rainer Stengele, Rasmus, Rene, Richard Stanton, Rick Frankel, Rick Hanson, Robert Goldman, Robert Horn, Robert Klein, Roland Winkler, Ryo TAKAISHI, Rémi Vanicat, Rüdiger Sonderfeld, Sacha Chua, Samuel Loury, Samuel Wales, Sean O'Halpin, Sébastien Vauban, Simon Thum, Stefan Monnier, Stefan Vollmar, Stephen Eglen, Steve Purcell, Suhail Shergill, Suvayu Ali, T.F. Torrey, Thomas S. Dye, Thorsten Jolitz, Toby S. Cubitt, Tokuya Kameshima, Tony Day, Viktor Rosenfeld, Vincent Beffara, Vladimir Lomov, Wanrong Lin, William Lechelle, Xiao-Yong Jin, Xue Fuqiao, Yann Hodique, Yasushi SHOJI, Zech, sabof, Дядов Васил Стоянов. Thanks to everybody who made Orgmode such a great tool! Warm regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: voll...@nf.mpg.de http://www.nf.mpg.de smime.p7s Description: S/MIME cryptographic signature
Re: [O] Super/subscripts
Hello, t...@tsdye.com (Thomas S. Dye) writes: FYI, Org 8.0 appears to require the LaTeX amstext package to export super/subscripts to LaTeX. Indeed. But the package has been added to `org-latex-default-packages-alist' so it shouldn't require to change configuration. Regards, -- Nicolas Goaziou
Re: [O] New maintainer
Jambunathan K kjambunat...@gmail.com writes: How do you interpret the following block extracted from my assignment , | 2. Developer will report occasionally, on Developer’s initiative | and whenever requested by FSF, the changes and/ or enhancements | which are covered by this contract, and (to the extent known to | Developer) any outstanding rights, or claims of rights, of any | person, that might be adverse to the rights of Developer or FSF | or to the purpose of this contract. ` Well, the FSF's intention here is to make sure that contributors report back when they change employers, and the new employer doesn't want that his employees contribute to some GNU project (maybe because that project is in the same business as the company). So I think of that more of a safety measure in order not to run into long-running, painful lawsuits. FSF clearly side-steps the important question - when is a work actually assigned. Assignment is not a process but an event tied to specific time and date. As far as I understand it (just after reading one of my FSF CAs), the changes you apply to a program where you've assigned past future changes are assigned as soon as they are written. They don't need to be published, distributed, placed in a special repository location, etc. Bye, Tassilo
Re: [O] Changing the maintainer
On 2013-04-19 06:07 +0800, Carsten Dominik wrote: Bastien's activity has been unmatched. He has answered a huge amount of questions in the mailing list, fixed an uncounted number of bugs and he has been designing and applying changes over the entire breadth of the Org code base. This is no easy feat and I really admire his work. Besides this, he has done amazing work keeping the community together and making sure that the mailing list remains IMO one of the prime places on the internet. Kudos to Bastien for the tremendous contribution. Leo
Re: [O] Colorized TODO in Latex export?
On Fri, Apr 19, 2013 at 09:46:06AM +0200, Johan Ekh wrote: Hi all, I export minutes of meetings to latex and I would like to define colors for the TODO keywords, like they are shown in my emacs agenda buffer. How can I do this? A combination of filters and the todonotes package in LaTeX might work. If you find a solution, please let us know. :) -- Suvayu Open source is the future. It sets us free.
Re: [O] Taskjuggler export deals badly with first parent match
Hello, Baptiste bate...@bat.fr.eu.org writes: I found ox-taskjuggler broken in /task_id/ identification when it is non trivial. Oops. It looks like I made a typo. Thank you for reporting it. Would the following patch solve the problem? Regards, -- Nicolas Goaziou From 0b0b9ab98657145cddb20fc6ffd45414a7f23d83 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou n.goaz...@gmail.com Date: Fri, 19 Apr 2013 11:30:49 +0200 Subject: [PATCH] ox-taskjuggler.el: Fix dependecies string * contrib/lisp/ox-taskjuggler.el (org-taskjuggler-format-dependencies): Fix dependecies string. --- contrib/lisp/ox-taskjuggler.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el index 16f0e8d..76e0182 100644 --- a/contrib/lisp/ox-taskjuggler.el +++ b/contrib/lisp/ox-taskjuggler.el @@ -544,7 +544,7 @@ doesn't include leading \depends\. (get-path (lambda (dep) ;; Return path to DEP relatively to TASK. - (let ((parent (org-export-get-parent dep)) + (let ((parent (org-export-get-parent task)) (exclamations 1) (option (let ((id (org-element-property :TASK_ID dep))) @@ -555,7 +555,7 @@ doesn't include leading \depends\. ;; Compute number of exclamation marks by looking for the ;; common ancestor between TASK and DEP. (while (not (org-element-map parent 'headline - (lambda (hl) (eq hl task + (lambda (hl) (eq hl dep (incf exclamations) (setq parent (org-export-get-parent parent))) ;; Build path from DEP to PARENT. -- 1.8.2.1
Re: [O] New maintainer
Bastien b...@gnu.org writes: I'm stepping down as the Org maintainer. Thats bad news, managing Org-mode appears like such a huge task, and I always wondered how you were able to deal with all those mails and patches and bugs with such efficiency, and detailled knowledge about all those unnumerable features of Org-mode. Carsten accepted to step up Luckily the good news are attached to the bad news. -- cheers, Thorsten
[O] [babel] :results list
Hello, The following code block: #+begin_src sh :results drawer list echo vino tinto echo vino rosso echo vino blanco #+end_src returns: #+results: :RESULTS: - vino tinto vino rosso vino blanco :END: while I was expecting: #+results: :RESULTS: - vino tinto - vino rosso - vino blanco :END: Am I assuming wrong, or badly using the header argument? Best regards, Seb -- Sebastien Vauban
[O] [PATCH] export to various flavors of (X)HTML
I'm starting a new thread for this since the previous discussion was buried in with something tangential. I've attached what I think is a working patch to allow ox-html to export to different flavors of (X)HTML. It works via `org-html-doctype': in addition to setting it to a doctype string directly, you can also set it to one of the following (defaults to xhtml-strict): html4-strict html4-transitional html4-frameset xhtml-strict xhtml-transitional xhtml-framset xhtml-11 html5 The doctype will be set correctly, and the HTML output will be adjusted to conform to the requirements of that doctype, with No Errors Whatsoever™. The results validate, anyway... I'm not proud of some of the implementation (self-closing vs non-self-closing tags are ugly, and I wish org-html-html5-p and org-html-xhtml-p were variables, not functions), but there it is, it seems to work. If this is deemed okay I'll send a version of the patch with a proper commit message, and also updated documentation. And once that's done I've got another that builds on this, allowing you to use stuff like canvas and video. Whee! Eric From 6ab61bbd573b7625e23e33f439aa2c579880cf56 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen e...@ericabrahamsen.net Date: Fri, 19 Apr 2013 15:39:40 +0800 Subject: [PATCH] Export to different flavors of (x)html. --- lisp/ox-html.el | 209 +--- 1 file changed, 140 insertions(+), 69 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 54c6a45..ede983d 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -143,6 +143,26 @@ (defvar org-html--pre/postamble-class status CSS class used for pre/postamble) +(defconst org-html-doctype-alist + '((html4-strict . !DOCTYPE html PUBLIC \-//W3C//DTD HTML 4.01//EN\ +\http://www.w3.org/TR/html4/strict.dtd\;) +(html4-transitional . !DOCTYPE html PUBLIC \-//W3C//DTD HTML 4.01 Transitional//EN\ +\http://www.w3.org/TR/html4/loose.dtd\;) +(html4-frameset . !DOCTYPE html PUBLIC \-//W3C//DTD HTML 4.01 Frameset//EN\ +\http://www.w3.org/TR/html4/frameset.dtd\;) + +(xhtml-strict . !DOCTYPE html PUBLIC \-//W3C//DTD XHTML 1.0 Strict//EN\ +\http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\;) +(xhtml-transitional . !DOCTYPE html PUBLIC \-//W3C//DTD XHTML 1.0 Transitional//EN\ +\http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\;) +(xhtml-framset . !DOCTYPE html PUBLIC \-//W3C//DTD XHTML 1.0 Frameset//EN\ +\http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\;) +(xhtml-11 . !DOCTYPE html PUBLIC \-//W3C//DTD XHTML 1.1//EN\ +\http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd\;) + +(html5 . !DOCTYPE html)) + An alist mapping (x)html flavors to specific doctypes.) + (defconst org-html-special-string-regexps '((- . #x00ad;) ; shy (---\\([^-]\\) . #x2014;\\1) ; mdash @@ -150,6 +170,10 @@ (\\.\\.\\. . #x2026;)) ; hellip Regular expressions for special string conversion.) +(defconst org-html-cdata-regexp + \\(!--/\\*--!\\[CDATA\\[/\\*!--\\*/\n\\|/\\*\\]\\]\\*/\\{1,3\\}--\n\\) + Regexp used to strip escape tags from script blocks) + (defconst org-html-scripts script type=\text/javascript\ /* @@ -748,7 +772,9 @@ in all modes you want. Then, use the command '(:border 2 :cellspacing 0 :cellpadding 6 :rules groups :frame hsides) Default attributes and values which will be used in table tags. This is a plist where attributes are symbols, starting with -colons, and values are strings. +colons, and values are strings. + +When exporting to HTML5, these values will be disregarded. :group 'org-export-html :version 24.4 :package-version '(Org . 8.0) @@ -856,7 +882,9 @@ CSS classes, then this prefix can be very useful. The extension for exported HTML files. %s will be replaced with the charset of the exported file. This may be a string, or an alist with export extensions -and corresponding declarations. +and corresponding declarations. + +This declaration only applies when exporting to XHTML. :group 'org-export-html :type '(choice (string :tag Single declaration) @@ -872,8 +900,7 @@ Use utf-8 as the default value. :package-version '(Org . 8.0) :type 'coding-system) -(defcustom org-html-doctype - !DOCTYPE html PUBLIC \-//W3C//DTD XHTML 1.0 Strict//EN\ \http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\; +(defcustom org-html-doctype xhtml-strict Document type definition to use for exported HTML files. Can be set with the in-buffer HTML_DOCTYPE property or for publishing, with :html-doctype. @@ -962,7 +989,8 @@ You can also customize this for each buffer, using something like (const :format mathml) (boolean (defcustom org-html-mathjax-template - script type=\text/javascript\ src=\%PATH\ + script type=\text/javascript\ src=\%PATH\/script +script type=\text/javascript\ !--/*--![CDATA[/*!--*/ MathJax.Hub.Config({ // Only one of the two following lines, depending on user settings @@ -1035,7 +1063,7 @@
Re: [O] New maintainer
Hi Bastien, I'd like to thank you for the fabulous job you've done as maintainer. Best wishes, Sean On Thu, Apr 18, 2013 at 5:53 PM, Bastien b...@gnu.org wrote: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! :) -- Bastien
Re: [O] Taskjuggler export deals badly with first parent match
This patch works fine for me. Thanks I still have other issues in my move to the new exporter, but I am moving forward (then I am sorry if I report problems one after another). Regards, -- *Le ven., avril 19 2013, Nicolas Goaziou a écrit* Hello, Baptiste bate...@bat.fr.eu.org writes: I found ox-taskjuggler broken in /task_id/ identification when it is non trivial. Oops. It looks like I made a typo. Thank you for reporting it. Would the following patch solve the problem? Regards, -- : ~^v^~ Bat
Re: [O] Taskjuggler export deals badly with first parent match
This patch works fine for me. Thanks I still have other issues in my move to the new exporter, but I am moving forward (then I am sorry if I report problems one after another). Regards, -- *Le ven., avril 19 2013, Nicolas Goaziou a écrit* Hello, Baptiste bate...@bat.fr.eu.org writes: I found ox-taskjuggler broken in /task_id/ identification when it is non trivial. Oops. It looks like I made a typo. Thank you for reporting it. Would the following patch solve the problem? Regards, -- : ~^v^~ Bat --text follows this line--
Re: [O] Using helm only for org refiling
Hello, I use the following patch (against release_8.0) to refile with helm. Just set org-completion-handler to 'helm. 2013/4/18 Alan Schmitt alan.schm...@polytechnique.org Hello, I tried using helm (the successor to anything) for everything, and it was a bit too much. However, I really appreciated how it integrated with org refiling. I've been trying to figure out how to enable helm only for refiling, by binding C-c C-w in the org-mode-map to something, but I'm getting lost in helm's source code. I guess it's calling helm-org-headlines at some point, but I cannot find how it interacts with the usual refiling approach. If someone is using helm with refiling, I'd gladly use some help here. Thanks, Alan helm.patch Description: Binary data
Re: [O] Colorized TODO in Latex export?
Hi Johan and Suvayu, Suvayu Ali wrote: On Fri, Apr 19, 2013 at 09:46:06AM +0200, Johan Ekh wrote: I export minutes of meetings to latex and I would like to define colors for the TODO keywords, like they are shown in my emacs agenda buffer. How can I do this? A combination of filters and the todonotes package in LaTeX might work. If you find a solution, please let us know. This used to work, but seems not anymore. --8---cut here---start-8--- (defun org-latex-format-headline (todo todo-type priority text tags) Default format function for an headline. (concat (when todo (format \\colorbox{yellow}{\\textbf{\\textsc{\\textsf{%s todo)) (when priority (format \\framebox{\\#%c} priority)) text (when tags (format \\hfill{}\\fbox{\\textsc{%s}} (mapconcat 'identity tags :) --8---cut here---end---8--- Best regards, Seb -- Sebastien Vauban
Re: [O] New maintainer
Bastien b...@gnu.org wrote: Hi Bastien, I'm stepping down as the Org maintainer. Thank you for all the hard work you have done in maintaining Org-mode. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. +1 Charles -- Sent from Kaiten Mail. Please excuse my brevity.
Re: [O] New maintainer
Hi Bastien, Thank you for your hard work and efforts as org-mode-maintainer, Carsten accepted to step up, if the community agrees. nice, thank you Carsten! cheers -- Adolfo Benedetti M +31 614 706 176 2013/4/19 Charles Philip Chan cpc...@bell.net Bastien b...@gnu.org wrote: Hi Bastien, I'm stepping down as the Org maintainer. Thank you for all the hard work you have done in maintaining Org-mode. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. +1 Charles -- Sent from Kaiten Mail. Please excuse my brevity.
[O] New exporter and defgroup
Hi all The new exporter engine has changed the defcustom names but seems to have kept the names of the defgroups (at least in the case of taskjuggler). This is good as it allowed me to make some backward-incompatible changes. On the other hand when I do a M-x customize-group RET org-export-taskjuggler I get a list of both the old defcustom vars and the new ones. This is very confusing to the user as you appear to have the same cutomizable var twice in the group. Is this a problem with my setup or is this inherent in the new exporter. If the latter how can we deal with this? Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland
Re: [O] New maintainer
Am 18.04.2013 18:53, schrieb Bastien: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! :) Bastien, let me also thank you so much for your great work and patience answering so many questions! A lot of questions and ideas I had you simply answered by coding the solution - awesome! I think you did a very good job and I hope you will stay in the newsgroup in the future. Carsten, welcome back! Rainer
[O] Question concerning png - pdf - inline view
Hi I would like to have two things in my document: inline image display of my plots created in R as well as, upon export to pdf, include them as pdf (quality). So I have the following: #+header: :results graphics #+header: :file test1.png #+begin_src R plot(runif(100)) #+end_src which I can display in my org file inline, while #+header: :results graphics #+header: :file test2.pdf #+begin_src R plot(runif(100)) #+end_src I can't. Is there a way that I can have both? Am I missing a converter? Any suggestions on how I can achieve this? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug pgp9bZduaTSfK.pgp Description: PGP signature
[O] Use of attribute :parent in org-element.el
Hi List, while playing around a bit with two quite useful functions from org-element.el described here , | The library ends by furnishing `org-element-at-point' function, and | a way to give information about document structure around point | with `org-element-context'. ` a few questions arose. I used org-outside-org.org from Worg (http://orgmode.org/worg/org-tutorials/org-outside-org.html) as an example file, here is an excerpt of its tree-structure: ,-- | buffer: org-outside-org.org | 15:* Introduction | 46:* Org-mode everywhere | 50:** File Structuring | 54:*** Orgstruct | 94:*** Outline with Outshine [...] `-- Each of the headlines in this file has a property drawer like this: ,- | :PROPERTIES: | :CUSTOM_ID: file-structuring | :END: `- 1. Question wrt Attribute :parent (i) With point before the property-drawer of headline , | ** File Structuring ` evaluating this ,- | (format %s (org-element-at-point)) `- yields ,--- | (property-drawer (:begin 2381 :end 2438 :hiddenp outline | :contents-begin 2397 :contents-end 2429 :post-blank 0 :post-affiliated | 2381 :parent nil)) `--- (ii) With point before headline , | ** File Structuring ` evaluating ,- | (format %s (org-element-at-point)) `- yields ,- | (headline (:raw-value File Structuring :begin 2361 :end 11523 | :pre-blank 0 :hiddenp nil :contents-begin 2381 :contents-end 11522 | :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil | :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil | :quotedp nil :CUSTOM_ID file-structuring :CATEGORY worg :title File | Structuring)) `- The use of the :parent attribute is surprising for me. I would have expected something like ':parent org-mode everywhere' in the second example, i.e. the title of the 1st level subtree containing the 2nd level headline at point. I'm not sure what I would have expected in the first example. What is the parent of an element that is contained in a greater element that has a parent? Is it nil, or is it the parent of its containing greater element? -- cheers, Thorsten
[O] Fwd: org-mode and 'intangible text property
Hi, I have posted this to help-gnu-emacs mailing list, but was advised to org-mode specific mailing list and so am posting this here. After posting, I thought maybe the use of overlay property instead of text-property might be the way to go. But I would appreciate the opinion of the people in the know. Thank you. Original Message Subject: org-mode and 'intangible text property Date: Thu, 18 Apr 2013 19:07:48 +0900 From: ishik...@yk.rim.or.jp To: help-gnu-em...@gnu.org org-mode and 'intangible text property Hello, I have a question about org-mode.el. (sorry for the lengthy posting, I wanted to list the background of the issue in one e-mail.) I am a user of Emacs over the years (20+ years). I have been using outline mode and have come to realize that org-mode seems to offer additional benefits by reading blogs and others. However, when I tried to use org-mode, I hit a snug. I tried to input Japanese string using a Japanese input system written in Emacs Lisp called tamago/egg. But when I tried to type in, say, a first-level heading in org-mode, the string completely disappears (not even a trace of it) after I hit the return (to finalize the Japanese input.) The cause of the problem seems to be as follows: The use of 'intangible property of org-mode collided with the use of 'intangible property of the Japanese input method implemented in Emacs Lisp. Basically, the problem is that org-mode removes the 'intangible property set by egg/tamago Japanese input system without discrimination at all is what someone wrote in his blog. (org-mode seems to use 'intangible internally.) The Japanese input system, egg/tamago, was a rather popular system in late 1980 and 1990's. It now sees many competitive Japanese input systems, but there are emacs die hards who can't live without it when it comes to typing Japanese into Emacs buffer. Although egg/tamago is in strictly maintenance mode, it is difficult for me (and others who have grown up to use this input system figuratively speaking) to ditch this egg/tamago input system if I can avoid it. [No major update has been done in the last 4-5 years to tamago/egg and its major web site is now torn down. Only the packages that are in the major linux distributions, FreeBSD, NetBSD packaging systems are more or less used by many, with some patches floating around. For example, when emacs 23.4 appeared, finally we have to replace or use defalias to fix the missing last-command-char variable in egg/tamago package. There *ARE* people willing to maintain egg/tamago to keep it alive in the face of such issues for sure, mine included.] On the other hand, if org-mode is a great replacement for outline-mode, then I would certainly like to try it out (and still use egg/tamago for input if possible.) Org mode seems to use 'intangible text property one way or the other. igrep mode search within org subdirectory of lisp directory of emacs 24.3 turned up the following hits (shown at the end of this e-mail). One of the macro's found in org-mac.el is as follows. : org-maybe-intangible This is quoted a few lines below. The document string for this macro suggests that org-mode had an issue with flyspell.el due to the intangible text property use. But now the particular usage seems to be avoided by the introduction of macros. ;; FIXME: Slated for removal. Current Org mode does not support Emacs 22 (defmacro org-maybe-intangible (props) Add '(intangible t) to PROPS if Emacs version is earlier than Emacs 22. In Emacs 21, invisible text is not avoided by the command loop, so the intangible property is needed to make sure point skips this text. In Emacs 22, this is not necessary. The intangible text property has led to problems with flyspell. These problems are fixed in flyspell.el, but we still avoid setting the property in Emacs 22 and later. We use a macro so that the test can happen at compilation time. (if ( emacs-major-version 22) `(append '(intangible t) ,props) props)) HOWEVER there are still about a dozen references to 'intangible property in org-mode emacs-lisp code. I wonder if such avoidance as in the case of flyspell.el can be made for the conflict of usage of 'intangible with egg/tamago input routine written in Emacs-Lisp. Someone in Japan who faced this incompatibility problem of org-mode and egg/tamago input method stated that he (I assume he) substituted all the references to intangible in org-mode elisp code with org-intangible. Now, as far as he is concerned, the Japanese input now works, and he has not bumped into a case where cursor moves into an awkward (or should not happen) position in org-mode (which should have been avoided by the use of 'intangible property in org-mode). His drastic surgery may be the last straw if no alternative is available. (His blog in Japanese is available here: http://d.hatena.ne.jp/grandVin/20090129/1233226833 (dated January 2009) Also, it is quoted in an independent someone's emacs wiki
Re: [O] [babel] :results list
I'm on 8.0-pre release_8.0-pre-219-g9c8543. I get this: #+begin_src sh :results drawer list echo vino tinto echo vino rosso echo vino blanco #+end_src #+RESULTS: :RESULTS: - (vino tinto) - (vino rosso) - (vino blanco) :END: I tried playing with things but never ditched those parentheses (things like =:results output drawer list=, =:results output list=, and I think some other combinations). Then I did =$ git pull make clean make make doc= and re-tried. Now I get the same as you. Something changed between the branch above and what I just updated to, version 8.0 release_8.0-2-g77476c (but not that with the proper list behavior you would have wanted parentheses around each result and individual words in quotations. That seems wrong too). John On Fri, Apr 19, 2013 at 4:44 AM, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hello, The following code block: #+begin_src sh :results drawer list echo vino tinto echo vino rosso echo vino blanco #+end_src returns: #+results: :RESULTS: - vino tinto vino rosso vino blanco :END: while I was expecting: #+results: :RESULTS: - vino tinto - vino rosso - vino blanco :END: Am I assuming wrong, or badly using the header argument? Best regards, Seb -- Sebastien Vauban
[O] missing element in org-element.el
Hi List, comparing this , | (defconst org-element-all-elements | '(babel-call center-block clock comment comment-block diary-sexp drawer |dynamic-block example-block export-block fixed-width |footnote-definition headline horizontal-rule inlinetask item |keyword latex-environment node-property paragraph plain-list |planning property-drawer quote-block quote-section section |special-block src-block table table-row verse-block) | Complete list of element types.) ` to this ,-- | (defconst org-element-secondary-value-alist | '((headline . :title) | (inlinetask . :title) | (item . :tag) | (footnote-reference . :inline-definition)) | Alist between element types and location of secondary value.) `-- reveals that 'footnote-reference' is missing in the first list. -- cheers, Thorsten
Re: [O] New maintainer
On Thu, Apr 18, 2013 at 06:53:32PM +0200, Bastien wrote: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! Bastien, You've done an excellent job. Your patience has been incredible, and Org has prospered. Take a break, you deserve it! 8.0 looks amazing, and I'm excited to see what the community has created. Org certainly has the benefit of many talented coders. Thanks! -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: [O] missing element in org-element.el
Hello, Thorsten Jolitz tjol...@gmail.com writes: comparing this , | (defconst org-element-all-elements | '(babel-call center-block clock comment comment-block diary-sexp drawer |dynamic-block example-block export-block fixed-width |footnote-definition headline horizontal-rule inlinetask item |keyword latex-environment node-property paragraph plain-list |planning property-drawer quote-block quote-section section |special-block src-block table table-row verse-block) | Complete list of element types.) ` to this ,-- | (defconst org-element-secondary-value-alist | '((headline . :title) | (inlinetask . :title) | (item . :tag) | (footnote-reference . :inline-definition)) | Alist between element types and location of secondary value.) `-- reveals that 'footnote-reference' is missing in the first list. A `footnote-reference' is an object type (see `org-element-all-objects'), not an element: as such it doesn't belong to `org-element-all-elements'. `org-element-secondary-value-alist' is a list of elements and objects containing a secondary string. Regards, -- Nicolas Goaziou
Re: [O] Use of attribute :parent in org-element.el
Hello, Thorsten Jolitz tjol...@gmail.com writes: The use of the :parent attribute is surprising for me. I would have expected something like ':parent org-mode everywhere' in the second example, i.e. the title of the 1st level subtree containing the 2nd level headline at point. `org-element-at-point' and `org-element-context' return information about the close neighbourhood of point, which is the current section. In other words, each element at top level within the section get a nil :parent property. As a special case, when point is at a headline, each function returns the parsed headline, without any :parent property defined (it would be out of the scope of these functions). I'm not sure what I would have expected in the first example. What is the parent of an element that is contained in a greater element that has a parent? Is it nil, or is it the parent of its containing greater element? If you parse completely the buffer with `org-element-parse-buffer', you will see that genealogy for property drawer goes like this: property-drawer section headline headline org-data Regards, -- Nicolas Goaziou
Re: [O] missing element in org-element.el
Nicolas Goaziou n.goaz...@gmail.com writes: Thorsten Jolitz tjol...@gmail.com writes: comparing this , | (defconst org-element-all-elements | '(babel-call center-block clock comment comment-block diary-sexp drawer |dynamic-block example-block export-block fixed-width |footnote-definition headline horizontal-rule inlinetask item |keyword latex-environment node-property paragraph plain-list |planning property-drawer quote-block quote-section section |special-block src-block table table-row verse-block) | Complete list of element types.) ` to this ,-- | (defconst org-element-secondary-value-alist | '((headline . :title) | (inlinetask . :title) | (item . :tag) | (footnote-reference . :inline-definition)) | Alist between element types and location of secondary value.) `-- reveals that 'footnote-reference' is missing in the first list. A `footnote-reference' is an object type (see `org-element-all-objects'), not an element: as such it doesn't belong to `org-element-all-elements'. `org-element-secondary-value-alist' is a list of elements and objects containing a secondary string. Ok, I see, thanks. What about , | latex-or-entity | plain-link | text-markup ` in ,- | (defconst org-element-all-successors | '(export-snippet footnote-reference inline-babel-call inline-src-block |latex-or-entity line-break link macro plain-link radio-target |statistics-cookie sub/superscript table-cell target |text-markup timestamp) | Complete list of successors.) `- ? They seem to be neither elements nor objects - are they a kind of 'abstract categories' for some object types? And I must admit that I'm not sure about the exact meaning of 'successors'. You describe elements and objects in detail in the comment-section of org-element.el, but don't mention 'successors'. ,- | (defconst org-element-object-successor-alist | '((subscript . sub/superscript) (superscript . sub/superscript) | (bold . text-markup) (code . text-markup) (italic . text-markup) | (strike-through . text-markup) (underline . text-markup) | (verbatim . text-markup) (entity . latex-or-entity) | (latex-fragment . latex-or-entity)) | Alist of translations between object type and successor name. | Sharing the same successor comes handy when, for example, the | regexp matching one object can also match the other object.) `- The relation between object/successor is like concrete subclass(es)/abstract superclass? PS I hope I don't go on your nerves with my questions, but I'm trying to understand how you modeled an Org-file and its not all clear to me. -- cheers, Thorsten
Re: [O] [PATCH] export to various flavors of (X)HTML
On 19.04.2013 05:57, Eric Abrahamsen wrote: I'm starting a new thread for this since the previous discussion was buried in with something tangential. I'm not proud of some of the implementation (self-closing vs non-self-closing tags are ugly, and I wish org-html-html5-p and org-html-xhtml-p were variables, not functions), but there it is, it seems to work. If this is deemed okay I'll send a version of the patch with a proper commit message, and also updated documentation. I disagree with the minimized closing patch change. All versions of html accept the / idiom (with the extra space so that html4 only browsers don't break) for minimized tags (also /{elem}, e.g. hr/hr is, i believe, always valid). html5 certainly accepts valid xhtml as input. It would entirely break e.g, nxml-mode or xsl post-processing to make this change. Other things that don't need to be removed for html5: - CDATA escapes - xmns: .. xml:lang declarations (as long as you keep the html valid xml) As a positive side effect, backing out these changes would simplify the patch a lot :) The doctype (and fix to the text/javascript closing tag) changes look great. rick
Re: [O] Use of attribute :parent in org-element.el
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Thorsten Jolitz tjol...@gmail.com writes: The use of the :parent attribute is surprising for me. I would have expected something like ':parent org-mode everywhere' in the second example, i.e. the title of the 1st level subtree containing the 2nd level headline at point. `org-element-at-point' and `org-element-context' return information about the close neighbourhood of point, which is the current section. In other words, each element at top level within the section get a nil :parent property. As a special case, when point is at a headline, each function returns the parsed headline, without any :parent property defined (it would be out of the scope of these functions). I'm not sure what I would have expected in the first example. What is the parent of an element that is contained in a greater element that has a parent? Is it nil, or is it the parent of its containing greater element? If you parse completely the buffer with `org-element-parse-buffer', you will see that genealogy for property drawer goes like this: property-drawer section headline headline org-data I understand, thanks, so the whole info is only available when parsing the complete buffer. -- cheers, Thorsten
Re: [O] OAppeal to donors (Re: Release 8.0)
Jambunathan K kjambunat...@gmail.com writes: Donors, please pause before you make any donations. Thanks for making me pause. I probably would have thought I'll do that tomorrow and tomorrow would have never come. Now I've done it now. Maintaining a popular software component takes a huge amount of work. I know that. It's certainly not more important, I agree. It is, however, much more stressful. Especially to be a mediator in difficult conversations, the stress of packaging something incorrectly, getting things out on time and complete. It's not easy. Writing code isn't easy either, but I've always found it far far less stressful than overseeing an entire system. I'd be more than happy to donate money to others that have made such huge contributions of personal time toward a system that has truly turned my life around in the last few years. Kudos to everyone. -- Wes Hardaker My Pictures: http://capturedonearth.com/ My Thoughts: http://pontifications.hardakers.net/
[O] ox-taskjuggler : Correct a small typo and deal with Scheduled and deadline in task
Hi, hereafter a small typo correction, plus the capability to use DEADLINE: and SCHEDULED: in task (special export format for milestones). -- : ~^v^~ Bat ox-taskjuggler : Correct a small typo and deal with Scheduled and deadline in task diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el index 16f0e8d..113aa29 100644 --- a/contrib/lisp/ox-taskjuggler.el +++ b/contrib/lisp/ox-taskjuggler.el @@ -754,16 +754,18 @@ a unique id will be associated to it. (org-element-property :COMPLETE task))) (depends (org-taskjuggler-resolve-dependencies task info)) (effort (org-element-property :EFFORT task)) + (start (org-taskjuggler-get-start task)) + (end (org-taskjuggler-get-end task)) (milestone (or (org-element-property :MILESTONE task) (not (or (org-element-map (org-element-contents task) 'headline @@ -775,6 +777,14 @@ a unique id will be associated to it. (org-taskjuggler-get-id task info) (org-taskjuggler-get-name task)) ;; Add default attributes. + (and milestone + (cond + ((and start end) (format start %s\n maxend %s\n start end)) + ((and start) (format start %s\n start)) + ((and end) (format start %s\n end + (and start (not milestone) (format start %s\n start)) + (and end (not milestone) (format end %s\n end)) + (and depends (format depends %s\n (org-taskjuggler-format-dependencies depends task info))) @@ -790,7 +800,7 @@ a unique id will be associated to it. (let* ((minutes (org-duration-string-to-minutes effort)) (hours (/ minutes 60.0))) (format %.1fh hours - (and priority (format priority %s\n complete)) + (and priority (format priority %s\n priority)) (and milestone milestone\n) ;; Add other valid attributes. (org-taskjuggler--indent-string
Re: [O] New maintainer
You've done great work Bastien! And I look forward to Batman Returns! Bastien writes: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! :)
Re: [O] missing element in org-element.el
Thorsten Jolitz tjol...@gmail.com writes: What about , | latex-or-entity | plain-link | text-markup ` in ,- | (defconst org-element-all-successors | '(export-snippet footnote-reference inline-babel-call inline-src-block |latex-or-entity line-break link macro plain-link radio-target |statistics-cookie sub/superscript table-cell target |text-markup timestamp) | Complete list of successors.) `- ? They seem to be neither elements nor objects - are they a kind of 'abstract categories' for some object types? And I must admit that I'm not sure about the exact meaning of 'successors'. You describe elements and objects in detail in the comment-section of org-element.el, but don't mention 'successors'. I do, in the Objects section. Successors are functions used to find the next object of a given type. Some objects are so close that they can share the same successor. Hence `text-markup' is a successor shared by underline, code, verbatim, bold, italic and strike-through objects. See `org-element-object-successor-alist' for more information. Also, see comments above `org-element--parse-elements' to get information about the algorithm used for object research. I hope I don't go on your nerves with my questions, but I'm trying to understand how you modeled an Org-file and its not all clear to me. There are comments at the beginning of each section in the file: these should give you some answers. Don't hesitate to ask if they don't fulfill your needs. Regards, -- Nicolas Goaziou
Re: [O] OAppeal to donors (Re: Release 8.0)
On Fri, Apr 19, 2013 at 08:42:53AM -0700, Wes Hardaker wrote: Maintaining a popular software component takes a huge amount of work. I know that. It's certainly not more important, I agree. It is, however, much more stressful. Especially to be a mediator in difficult conversations, the stress of packaging something incorrectly, getting things out on time and complete. It's not easy. Writing code isn't easy either, but I've always found it far far less stressful than overseeing an entire system. I'd be more than happy to donate money to others that have made such huge contributions of personal time toward a system that has truly turned my life around in the last few years. Kudos to everyone. I'll also point out that while we understand many people make contributions to Org, we have to trust the maintainer in not only packaging and project management but in using any funds donated to the project in an appropriate manner. I've repeatedly donated to Org, and whether the money goes to server hosting, bonuses to specific contributors, or just a nice dinner out with his spouse, it's his choice. Thanks. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: [O] missing element in org-element.el
Nicolas Goaziou n.goaz...@gmail.com writes: There are comments at the beginning of each section in the file: these should give you some answers. Don't hesitate to ask if they don't fulfill your needs. Thanks, I have to study these section comments too. -- cheers, Thorsten
[O] APPT_WARNTIME not honored anymore in 8.0
Hi, Suppose I have the following entry: ** Karaoke 2012-09-21 Fri 20:00 +1w :PROPERTIES: :APPT_WARNTIME: 17 :END: I should get a notice 17mn before 20:00 that I need to go to karaoke. Now it does the default 90mn. It's a regression. I might have time next week to look into it. -- Forsake not an old friend; for the new is not comparable to him; a new friend is as new wine; when it is old, thou shalt drink it with pleasure. -- Ecclesasticus ch.9, v.10
Re: [O] Colorized TODO in Latex export?
Hi Seb, On Fri, Apr 19, 2013 at 01:28:58PM +0200, Sebastien Vauban wrote: Hi Johan and Suvayu, Suvayu Ali wrote: On Fri, Apr 19, 2013 at 09:46:06AM +0200, Johan Ekh wrote: I export minutes of meetings to latex and I would like to define colors for the TODO keywords, like they are shown in my emacs agenda buffer. How can I do this? A combination of filters and the todonotes package in LaTeX might work. If you find a solution, please let us know. This used to work, but seems not anymore. --8---cut here---start-8--- (defun org-latex-format-headline (todo todo-type priority text tags) Default format function for an headline. (concat (when todo (format \\colorbox{yellow}{\\textbf{\\textsc{\\textsf{%s todo)) (when priority (format \\framebox{\\#%c} priority)) text (when tags (format \\hfill{}\\fbox{\\textsc{%s}} (mapconcat 'identity tags :) --8---cut here---end---8--- I do not think this will work with the new exporter. A filter gets three arguments: contents, backend, and info. `contents' should be some LaTeX snippet as translated by ox-latex, backend is the latex symbol, and info is a plist (not sure what is in there :-p). Your function above doesn't conform to the above signature. You can take a look at http://orgmode.org/worg/exporters/filter-markup.html to get a clearer idea. I still have to go through it myself :-p. After you have devised a compatible filter function, you should be able to add it to org-export-filter-headline-functions. Hope this helps somehow, -- Suvayu Open source is the future. It sets us free.
Re: [O] New exporter and defgroup
Hi Christian, On Fri, Apr 19, 2013 at 02:52:46PM +0200, Christian Egli wrote: Hi all The new exporter engine has changed the defcustom names but seems to have kept the names of the defgroups (at least in the case of taskjuggler). This is good as it allowed me to make some backward-incompatible changes. On the other hand when I do a M-x customize-group RET org-export-taskjuggler I get a list of both the old defcustom vars and the new ones. This is very confusing to the user as you appear to have the same cutomizable var twice in the group. Is this a problem with my setup or is this inherent in the new exporter. If the latter how can we deal with this? I think I have seen this before. Those old variables come from the shadowed older version of Org bundled with Emacs. Not sure if this can be avoided. Can we have some sort of a check while loading Org that picks up these shadowed variables and deletes them? My lisp foo is too bad to know if this is even possible. Hope this helps, -- Suvayu Open source is the future. It sets us free.
Re: [O] APPT_WARNTIME not honored anymore in 8.0
Hi Ivan, Ivan Kanis ban...@kanis.fr writes: Suppose I have the following entry: ** Karaoke 2012-09-21 Fri 20:00 +1w :PROPERTIES: :APPT_WARNTIME: 17 :END: I should get a notice 17mn before 20:00 that I need to go to karaoke. Now it does the default 90mn. It's a regression. I can't reproduce this -- I assume you added the appointment with `org-agenda-to-appt', right? I might have time next week to look into it. I'll also keep an eye on this. -- Bastien
Re: [O] Colorized TODO in Latex export?
Hello, Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Fri, Apr 19, 2013 at 01:28:58PM +0200, Sebastien Vauban wrote: Hi Johan and Suvayu, Suvayu Ali wrote: On Fri, Apr 19, 2013 at 09:46:06AM +0200, Johan Ekh wrote: I export minutes of meetings to latex and I would like to define colors for the TODO keywords, like they are shown in my emacs agenda buffer. How can I do this? A combination of filters and the todonotes package in LaTeX might work. If you find a solution, please let us know. This used to work, but seems not anymore. --8---cut here---start-8--- (defun org-latex-format-headline (todo todo-type priority text tags) Default format function for an headline. (concat (when todo (format \\colorbox{yellow}{\\textbf{\\textsc{\\textsf{%s todo)) (when priority (format \\framebox{\\#%c} priority)) text (when tags (format \\hfill{}\\fbox{\\textsc{%s}} (mapconcat 'identity tags :) --8---cut here---end---8--- I do not think this will work with the new exporter. A filter gets three arguments: contents, backend, and info. `contents' should be some LaTeX snippet as translated by ox-latex, backend is the latex symbol, and info is a plist (not sure what is in there :-p). INFO contains all export options, the whole parse tree, etc. See The Communication Channel section in ox.el, or notes for back-end developers on Worg. Your function above doesn't conform to the above signature. You can take a look at http://orgmode.org/worg/exporters/filter-markup.html to get a clearer idea. I still have to go through it myself :-p. After you have devised a compatible filter function, you should be able to add it to org-export-filter-headline-functions. I think the OP wants to customize `org-latex-format-headline-function' instead of using a filter. Though, the problem he encounters isn't clear to me. Regards, -- Nicolas Goaziou
Re: [O] Carsten's Interview relates questions, esay insert images, attachemnt locations etc..
Hi Charles and Carsten sorry for the belated repsonse but i have been tied up at work with other projects. So going back to the original question, i have used your example code Charles and modified it to work on my linux box, though i have zero lisp (or any other programming) knowledge so im not sure its correct: ;;org screenshot (defun paste-clipboard-to-file (optional filename temp-dir) Take a screenshot using the crosshairs and saveit to FILENAME,if it is given or to a temp file in the TEMP-DIR directory. Then add an orgmode style link at point. (interactive) (let* ((temporary-file-directory (or temp-dir images)) (fname (or filename (make-temp-file img nil .jpg (call-process-shell-command (concat /usr/bin/scrot -s -d 2 fname)) (insert \n[[file: fname ]]) (org-display-inline-images))) ;; (global-set-key (kbd C-c p) 'paste-clipboard-to-file) there are still some question i have. the little function seems to work and i do get an inline image inside org bit it seems to me it only work on the current window/workspace, is that correct? how can i modify it catch a screenshot from a web browser, PDF, other workspace etc? -also can one insert a delete mechanism for files deleted from the inline buffer (with a confirmation ofc). the reason i ask is because alot of the times the first 'take' isnt correct and that leaves alot of junk in these folders that are hard to trace manually best wishes and thank you all for your help best Z
Re: [O] Superscripts and subscripts
Hello, Bastien b...@gnu.org writes: t...@tsdye.com (Thomas S. Dye) writes: With a recent git pull and #+OPTIONS: ^:{}, `C^{14}' is interpreted correctly but ` ^{14}C' is not, both in the Org buffer and in LaTeX export. The space before the caret appears to be the problem. Confirmed -- this was reported already once. I don't have a fix for this at the moment, hopefully Nicolas can have a look sometime. I made a non-whitespace character compulsory before the sub/superscript marker a while ago, in order to circumvent a parsing problem. Indeed, there is a parsing ambiguity between subscript and underline. Consider the following example: _example_ According to the syntax it can be either an underlined example string or a subscript example string followed by an underscore string. Both are valid interpretations. Of course, we could work around this with a new rule saying the longest match wins, which, in this case, is the underline. But it would be better to find a more elegant solution, one which would remove the sole ambiguity, AFAICT, in Org syntax. Suggestions welcome. Regards, -- Nicolas Goaziou
Re: [O] APPT_WARNTIME not honored anymore in 8.0
Bastien b...@gnu.org writes: Hi Ivan, Ivan Kanis ban...@kanis.fr writes: Suppose I have the following entry: ** Karaoke 2012-09-21 Fri 20:00 +1w :PROPERTIES: :APPT_WARNTIME: 17 :END: I should get a notice 17mn before 20:00 that I need to go to karaoke. Now it does the default 90mn. It's a regression. I can't reproduce this -- I assume you added the appointment with `org-agenda-to-appt', right? FWIW, neither can I. -- Nick
[O] Agenda to view chronology of time spent on tasks
Is there a way of using agenda to view time spent on tasks in chronological order, where multiple non-contiguous I track tasks and time spent on a per-day basis with the following two-level org usage: * 2013-04-19 Fri #+BEGIN: clocktable :maxlevel 2 :scope subtree #+CAPTION: Clock summary at [2013-04-19 Fri 11:18] | Headline | Time | | |++--| | *Total time* | *0:10* | | |++--| | 2013-04-19 Fri | 0:10 | | | \__ DONE email re: project foo || 0:10 | #+END: ** DONE jdoe re: status of project foo CLOSED: [2013-04-19 Fri 11:14] :LOGBOOK: CLOCK: [2013-04-19 Fri 10:20]--[2013-04-19 Fri 10:45] = 0:25 CLOCK: [2013-04-19 Fri 11:04]--[2013-04-19 Fri 11:17] = 0:13 :END: ** TODO org mode ask agenda question :LOGBOOK: CLOCK: [2013-04-19 Fri 11:17] :END: When things are busy with context switching, I need to go back and fix clock-in clock-out times and other details. A day calendar view would be very helpful in this chore. Any tools to do this? Thanks, Jeff
Re: [O] Superscripts and subscripts
Nicolas Goaziou writes: Of course, we could work around this with a new rule saying the longest match wins, which, in this case, is the underline. But it would be better to find a more elegant solution, one which would remove the sole ambiguity, AFAICT, in Org syntax. Suggestions welcome. How about {}^{14}C or {^{14}}C? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
[O] Issue with M-RET at end of folded headline
I'm getting really odd behavior after a fresh pull/make clean/make this morning. - M-x org-version Org-mode version 8.0 (release_8.0-2-g77476c @ /home/jwhendy/.elisp/org.git/lisp/) - emacs -Q - M-x load-file RET ~/emacs-min: ;; set load paths ;; set load dirs and global config options (add-to-list 'load-path ~/.elisp/org.git/lisp/) (add-to-list 'load-path ~/.elisp/org.git/contrib/lisp) - Test file: #+begin_src org * Test ** test blah blah blah #+end_src Steps to reproduce - fold **test (**test...) - place cursor after ... - M-RET - No apparent result - Unfold ** test and I get #+begin_src org * Test ** test ... #+end_src If I place cursor at end of **test and then press DELETE (so that it looks like **test...), I can TAB to unfold again and now I have: #+begin_src org * Test ** test * blah blah blah #+end_src Is this a bug or did I miss a change in Org-8.0? Thanks, John
Re: [O] Agenda to view chronology of time spent on tasks
Jeff, On Fri, Apr 19, 2013 at 06:43:34PM +, Jeff Kowalczyk wrote: Is there a way of using agenda to view time spent on tasks in chronological order, where multiple non-contiguous The agenda has log view, and you can enable inactive timestamps. That's a wonderful chronological view, but it doesn't go into a table. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: [O] Colorized TODO in Latex export?
Hello, Nicolas Goaziou wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Fri, Apr 19, 2013 at 01:28:58PM +0200, Sebastien Vauban wrote: Hi Johan and Suvayu, Suvayu Ali wrote: On Fri, Apr 19, 2013 at 09:46:06AM +0200, Johan Ekh wrote: I export minutes of meetings to latex and I would like to define colors for the TODO keywords, like they are shown in my emacs agenda buffer. How can I do this? If you find a solution, please let us know. This used to work, but seems not anymore. --8---cut here---start-8--- (defun org-latex-format-headline (todo todo-type priority text tags) Default format function for an headline. (concat (when todo (format \\colorbox{yellow}{\\textbf{\\textsc{\\textsf{%s todo)) (when priority (format \\framebox{\\#%c} priority)) text (when tags (format \\hfill{}\\fbox{\\textsc{%s}} (mapconcat 'identity tags :) --8---cut here---end---8--- I think the OP wants to customize `org-latex-format-headline-function' instead of using a filter. Though, the problem he encounters isn't clear to me. The only missing piece of code, to the above, is: --8---cut here---start-8--- ;; function for formatting the headline's text (setq org-latex-format-headline-function 'org-latex-format-headline) --8---cut here---end---8--- Best regards, Seb -- Sebastien Vauban
[O] bug with org-clone-subtree-with-time-shift?
Hi, it seems to me that org-clone-subtree-with-time-shift is not working correct with org-mode 8.0. Usually i could specify a time shift, but not anymore. Did i miss something? Ingmar Meissner P.S. By the way, thanks for all the good work on org-mode! Ingmar Meissner i...@ingmarmeissner.de
Re: [O] [babel] :results list
Hello John, Bastien, On Fri, Apr 19, 2013 at 4:44 AM, Sebastien Vauban wrote: The following code block: #+begin_src sh :results drawer list echo vino tinto echo vino rosso echo vino blanco #+end_src returns: #+results: :RESULTS: - vino tinto vino rosso vino blanco :END: Am I assuming wrong, or badly using the header argument? After updating just now to Org-mode version 8.0 (release_8.0-3-g3d994a @ d:/Users/fni/Public/Repositories/org-mode/lisp/), I get: #+begin_src sh :results drawer list echo vino blanco echo vino rosso echo vino tinto #+end_src #+results: | vino | blanco | | vino | rosso | | vino | tinto | that is, a table instead of a list... Best regards, Seb -- Sebastien Vauban
Re: [O] bug with org-clone-subtree-with-time-shift?
Ingmar Meissner i...@ingmarmeissner.de writes: Hi, it seems to me that org-clone-subtree-with-time-shift is not working correct with org-mode 8.0. Usually i could specify a time shift, but not anymore. Did i miss something? Hi Ingmar I had the same problem; it's not a bug, it still works, just the default behaviour has been changed for 8.0. The change is that the time-shift is no longer automatic. Now, before you type C-c C-x c you need to type C-u first, so that the whole command is C-u C-c C-x c, if you want the time shift. Otherwise, you get a plain clone with no time shift. (Before, you had to press extra keys to get a plain clone, now you have to press extra keys to get a time-shifted clone.) -- David
Re: [O] Superscripts and subscripts
Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou writes: Of course, we could work around this with a new rule saying the longest match wins, which, in this case, is the underline. But it would be better to find a more elegant solution, one which would remove the sole ambiguity, AFAICT, in Org syntax. Suggestions welcome. How about {}^{14}C or {^{14}}C? The LaTeX solution, which recognizes the superscript and subscript symbols in math mode, would only require a change in the Org documentation. This works: \(^{14}\)C. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] [babel] :results list
Sebastien Vauban wrote: After updating just now to Org-mode version 8.0 (release_8.0-3-g3d994a @ d:/Users/fni/Public/Repositories/org-mode/lisp/), I get: #+begin_src sh :results drawer list echo vino blanco echo vino rosso echo vino tinto #+end_src #+results: | vino | blanco | | vino | rosso | | vino | tinto | that is, a table instead of a list... I don't know what happened because, now, when re-running, I get: #+begin_src sh :results drawer list echo vino blanco echo vino rosso echo vino tinto #+end_src #+results: :RESULTS: - vino blanco - vino rosso - vino tinto :END: Excellent... Thanks. Best regards, Seb -- Sebastien Vauban
[O] Bug: org-refresh-category-properties: Invalid function: org-with-silent-modifications [8.0 (8.0-3-g7248fb-elpaplus @ /home/gcharron/.emacs.d/elpa/org-plus-contrib-20130418/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Can't display agenda or sparse tree on org 8.0; (installed via elpa) always reporting: org-indent-add-properties: Invalid function: org-with-silent-modifications or File mode specification error: (invalid-function org-with-silent-modifications) Emacs version and setup info: Emacs : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-03-14 on homer Package: Org-mode version 8.0 (8.0-3-g7248fb-elpaplus @ /home/gcharron/.emacs.d/elpa/org-plus-contrib-20130418/) current state: == (setq org-export-taskjuggler-target-version 3.0 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-log-done 'time org-protocol-protocol-alist '((outlook :protocol outlook :function org-protocol-outlook :kill-client t)) org-confirm-shell-link-function 'yes-or-no-p org-finalize-agenda-hook '(my-org-agenda-to-appt) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-agenda-sticky t org-export-date-timestamp-format %Y-%m-%d org-todo-setup-filter-hook '(org-choose-setup-filter) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-agenda-skip-scheduled-if-done t org-font-lock-hook '(org-eval-handle-snippets) org-velocity-search-method 'regexp org-agenda-custom-commands '((r Recurring Items tags-tree +isearch|+it|+to|TODO={TO_SCHEDULE\\|WAIT\\|TOMONITOR}|+refill) (n Next Items tags-tree TODO={NEXT}) (w . work + custom search) (wa agenda Work agenda all (quote (org-agenda-filter-preset (list +hittite (wt agenda Today (quote (org-agenda-filter-preset (list +hittite +today (wf agenda Focus (quote (org-agenda-filter-preset (list +hittite -farhad))) (quote (org-agenda-skip-function (and (equal J (org-entry-get nil PRIORITY)) (point-at-eol))) ) ) (wF agenda Farhad (quote (org-agenda-filter-preset (list +hittite +farhad (wd SMSC docs tags-tree +smsc_docs) (h . home + custom search) (ha agenda Home agenda all (quote (org-agenda-filter-preset (list -hittite -smsc +personnal))) (~/Dropbox/tasks/home.ics)) (hb tags +tobuy) (ht tags TODO=\TOBUY\+chandlery) (hc tags-todo +ct) (hs Sorted ct ((tags +ct+cuisine+TODO=\TOBUY\) (tags +ct+char+TODO=\TOBUY\) (tags +ct+boat+TODO=\TOBUY\) (tags +ct+camping+TODO=\TOBUY\) (tags +ct+elect+TODO=\TOBUY\) (tags +ct+peinture+TODO=\TOBUY\) (tags +ct+plomberie+TODO=\TOBUY\) (tags +ct+tools+TODO=\TOBUY\) (tags +ct+saison+TODO=\TOBUY\) (tags +ct-tools-cuisine-char-boat-camping-elect-peinture-plomberie-saison+TODO=\TOBUY\) ) nil (~/Dropbox/tasks/tobuy_ct.txt)) (hi Sorted Ikea ((tags-todo +ikea+cuisine) (tags-todo +ikea+elect) (tags-todo +ikea+curtains) (tags-todo +ikea+rangement) (tags-todo +ikea-cuisine-elect-curtains-rangement)) ) (hr Reno tobuy tags +reno+TODO=\TOBUY\) (hf Fast work tags-tree +personnal+Effort\0\+Effort=\1:00\+TODO={INPROGRESS\\|TODO\\|TO_SCHEDULE\\|NEXT}+DEADLINE\+1m\) (hm Mac work tags-tree +mac+TODO={INPROGRESS\\|TODO\\|TOBUY}+DEADLINE\+3m\) (hT Travaux Maison tags-tree
[O] Bug: `org-with-silent-modification' error in latest ELPA [8.0 (8.0-3-g7248fb-elpaplus @ /home/grml/.emacs.d/elpa/org-plus-contrib-20130418/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Hello, After installing latest org-plus-contrib from the Org ELPA repository and restarting Emacs, I was unable to export to LaTeX/PDF. I attempted the following: C-c e l o = org-refresh-category-properties: Invalid function: org-with-silent-modifications I could, however, see that `org-with-silent-modifications' was present. (C-h f was able to find the function, and I was able to navigate to its definition from the *Help* buffer link). User `popsch' in the Freenode #org-mode channel had the same trouble, and was able to resolve it by deleting all byte-compiled files from the package, then reloading Org. This worked for me too (delete all *.elc, then M-x org-reload). Thanks, WGG Emacs : GNU Emacs 24.3.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-13 on murphy, modified by Debian Package: Org-mode version 8.0 (8.0-3-g7248fb-elpaplus @ /home/grml/.emacs.d/elpa/org-plus-contrib-20130418/) current state: == (setq org-footnote-section nil org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-latex-format-headline-function 'org-latex-format-headline-default-function org-latex-default-class memoir-MSWordish org-src-fontify-natively t org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 2)) org-modules '(org-habit org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-timer-default-timer 25 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-agenda-diary-file ~/org/Diary.org org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-capture-templates '((D Diary entry (file+datetree ~/org/Diary.org) * %?\n %i\n %a) (C Clocked In entry (clock) * %?\n %i\n %a)) org-log-into-drawer t org-columns-default-format %40ITEM %10TODO %10Effort\n %20TAGS org-latex-classes '((memoir-MSWordish \\documentclass[12pt,article,oneside]{memoir}\n\\usepackage{times}\n\\usepackage{indentfirst}\n\\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}\n\\linespread{1.6} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) (beamer \\documentclass{beamer} org-beamer-sectioning)) org-src-tab-acts-natively t org-refile-use-outline-path 'file org-outline-path-complete-in-steps nil org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-completion-use-ido t org-use-speed-commands t org-agenda-include-diary t org-attach-store-link-p t org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) (lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)) ) turn-on-flyspell auto-fill-mode #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-agenda-mode-hook '(org-agenda-to-appt) org-from-is-user-regexp nil org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-files '(~/org) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-confirm-shell-link-function 'yes-or-no-p org-datetree-add-timestamp t ) -- BOFH
Re: [O] [babel] :results list
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: that is, a table instead of a list... Mhh... I really can't reproduce this :/ -- Bastien
[O] Bug: org-export-as doesn't work after update [8.0 (8.0-3-g7248fb-elpa @ /home/mike/.emacs.d/elpa/org-20130418/)]
I just updated my org-mode to the latest version via elpa. If I try M-x org-export-as-html I get the following message: Symbol's value as variable is void: org-export-html-special-string-regexps Export works if I do C-c C-e. Emacs : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-11-08 on lakoocha, modified by Debian Package: Org-mode version 8.0 (8.0-3-g7248fb-elpa @ /home/mike/.emacs.d/elpa/org-20130418/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )
Re: [O] [babel] :results list
Hi Sébastien, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: while I was expecting: #+results: :RESULTS: - vino tinto - vino rosso - vino blanco :END: It should work now. Thanks! -- Bastien
Re: [O] Bug: org-export-as doesn't work after update [8.0 (8.0-3-g7248fb-elpa @ /home/mike/.emacs.d/elpa/org-20130418/)]
Hello, Mike Vella vellam...@gmail.com writes: I just updated my org-mode to the latest version via elpa. If I try M-x org-export-as-html I get the following message: This function doesn't exist in Org 8.0. See HTML export commands from manual. Regards, -- Nicolas Goaziou
Re: [O] Bug: org-export-as doesn't work after update [8.0 (8.0-3-g7248fb-elpa @ /home/mike/.emacs.d/elpa/org-20130418/)]
Hi Nicolas, But I don't understand why it autocompletes with tab if it no longer exists as a command? I think this is confusing behaviour? Mike On 19 Apr 2013 22:34, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Mike Vella vellam...@gmail.com writes: I just updated my org-mode to the latest version via elpa. If I try M-x org-export-as-html I get the following message: This function doesn't exist in Org 8.0. See HTML export commands from manual. Regards, -- Nicolas Goaziou
[O] [babel] Purpose of :results raw
Hello, Now that :results drawer has been introduced, I wonder why we still have :results raw. As once stated in this ML: The sole purpose of raw results is to allow inserting an headline (I mean a real headline, not comma protected) in the buffer, because headlines cannot be contained in anything else than headlines. But drawer does the same. And drawer results can be replaced upon re-execution (unlike raw). So, is there still a use case for raw? Best regards, Seb PS- I could imagine that there would be a real use case if, for example, raw did not allow cycling on the (tabular) results, while drawer would. But it's not the case. -- Sebastien Vauban
Re: [O] Bug: org-export-as doesn't work after update [8.0 (8.0-3-g7248fb-elpa @ /home/mike/.emacs.d/elpa/org-20130418/)]
Mike Vella vellam...@gmail.com writes: Hi Nicolas, But I don't understand why it autocompletes with tab if it no longer exists as a command? I think this is confusing behaviour? You may have loaded old org-html.el from Org bundled with Emacs. Regards, -- Nicolas Goaziou
[O] Fwd: New maintainer
[I still can't learn to reply-all to these. :-( ] -- Forwarded message -- From: Gary Oberbrunner ga...@oberbrunner.com Date: Fri, Apr 19, 2013 at 9:02 PM Subject: Re: [O] New maintainer To: Christopher Allan Webber cweb...@dustycloud.org Thanks for the great work, Bastien! Carsten, you have big shoes to fill but we all have confidence. Thanks! As an open-source maintainer myself I know how much night-and-weekend work goes into it. On Fri, Apr 19, 2013 at 12:04 PM, Christopher Allan Webber cweb...@dustycloud.org wrote: You've done great work Bastien! And I look forward to Batman Returns! Bastien writes: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back! :) -- Gary -- Gary
[O] Bug: New keywords for org-agenda-sorting-strategy give wrong type argument error [8.0 (release_8.0-1-g5ef07d @ /home/rwl/src/org-mode/lisp/)]
Dear Org team, I think I have found a bug related to the new agenda sorting strategies. When I set: (setq org-agenda-sorting-strategy '(deadline-up)) ; or deadline-down, or timestamp-up/down, or scheduled-up/down, etc. ; the same problem occurs using the '((agenda deadline-up) ...) form it results in the following error: org-entries-lessp: Wrong type argument: stringp, nil and no entries are displayed in the agenda. Some crude debugging on my part suggests that this error is triggered when org-entries-lessp tries to compare the now line (i.e., the agenda item generated from org-agenda-current-time-string) against another item. I think the problem is actually in org-cmp-ts: string-match doesn't like getting nil as an argument. So maybe the problem is that the now line doesn't have the text properties corresponding to deadlines, timestamps, etc., such that get-text-property is returning nil? Hope that's helpful! Please let me know if I can help with further debugging. Best, Richard Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-01-08 on murphy, modified by Debian Package: Org-mode version 8.0 (release_8.0-1-g5ef07d @ /home/rwl/src/org-mode/lisp/) current state: == (setq org-todo-keyword-faces '((WAITING . orange)) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-custom-commands '((r Reading list tags-todo +reading) (S . STUDY context searches) (Sf todo FIND) (Sp todo PRINT) (Sr todo READ) (Sn todo NOTES) (St tags-todo +STUDY) (P tags-todo +CAMPUS) (D tags-todo +COMPUTER) (H tags-todo +HOME) (E tags-todo ERRAND|BUY) (F tags +FREETIME) (X tags-todo +EXERCISE)) org-agenda-files '(~/Documents/philosophy/dissertation/tasks.org ~/org/school.org ~/org/life.org ~/org/beer.org ~/org/food.org) org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-footnote-auto-label 'confirm org-list-empty-line-terminates-plain-lists t org-agenda-sorting-strategy '(deadline-up) ;; and others org-capture-before-finalize-hook '((lambda nil (add-bibliographic-data))) org-export-preprocess-hook '(ignoreheading-org-export-preprocess-hook) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '((sequence TODO INPROGRESS WAITING | DONE CANCELED) (sequence FIND PRINT READ NOTES | DONE CANCELED) (sequence PRIMARY SECONDARY | BOTTLED)) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-span 1 org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-refile-targets '((nil :maxlevel . 4)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-refile-use-outline-path t org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp \\Richard Lawrence\\ org-mobile-directory /media/nexus/mobileorg org-agenda-cmp-user-defined 'org-agenda-cmp-by-deadline org-modules '(org-habit org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail) org-metadown-hook '(org-babel-pop-to-session-maybe) )
[O] Blocking one user while subscribed to the digest
This is a specific question for Jambunathan K. I am a casual user of org, i.e., I depend heavily on a subset of org's features, but that subset is rather small and does not touch on the most complex org features which are the subject of most of this list's traffic. So, I have subscribed to the digest. I like to get announcements and this allows me to skim over the rest, without the overhead of deleting several dozen messages by hand every day. You have argued in the past that users who do not wish to read your rants should block your address in the mail client, and you seem convinced that this excuses you from typical email list etiquette. If this does so excuse you, then I suppose you must have a solution for digest readers. Do you? If not, then please take the [expletive deleted] politics off list. That's between you and the org maintainers. hjh
Re: [O] Changing the maintainer
Thank you to Bastien. Welcome to Carsten. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. There is NO hope without action. This means YOU.
Re: [O] Bug: New keywords for org-agenda-sorting-strategy give wrong type argument error [8.0 (release_8.0-1-g5ef07d @ /home/rwl/src/org-mode/lisp/)]
Indeed, the following patch seems to fix the issue for me, though I don't know enough about the code to know if this is clean/elegant/general enough: diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 631c6d0..c53c8c8 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -6989,9 +6989,9 @@ or \timestamp_ia\, compare within each of these type. When TYPE is the empty string, compare all timestamps without respect of their type. (let* ((def (if org-sort-agenda-notime-is-late 9901 -1)) -(ta (or (and (string-match type (get-text-property 1 'type a)) +(ta (or (and (string-match type (or (get-text-property 1 'type a) )) (get-text-property 1 'ts-date a)) def)) -(tb (or (and (string-match type (get-text-property 1 'type b)) +(tb (or (and (string-match type (or (get-text-property 1 'type b) )) (get-text-property 1 'ts-date b)) def))) (cond (( ta tb) -1) (( tb ta) +1 -- Best, Richard
[O] Does Org support Related or See Also Properties?
Does Org Mode have a way to identify that multiple events refer to the same event? It would be wonderful, for those of us with messy org files (multiple overlapping incoming data sources), if Org Mode had a way to to relate multiple events in a way that sums the details between events. For example, assuming I had two org files, customer.org and calendar.org (calendar.org being some form of exported ical-file): ~/customer.org: * TODO Meeting with Pete :PROPERTIES: :See: [[file:calendar.org:*Meet%20Pete][Meet Pete]] :END: ~/calendar.org: * Meet Pete SCHEDULED: 2013-04-19 Fri 09:30-10:00 When exported into an agenda, the consolidated org agenda would read: Friday 19 April 2013 customer: 09:00-09:30 Scheduled: TODO Meeting with Pete Are these wild dreams just dreams, or does Org Mode support such lovely magic? Nick pgpfXdBSqFueb.pgp Description: PGP signature
[O] Can't Sort with New, 8.0 Sort Methods
When attempting to use the new sorting methods (like ~scheduled-up~), I receive the following error messages when displaying the agenda (with =M-x org-agenda-list= or ~C-a a a~): : org-entries-lessp: Wrong type argument: stringp, nil To replicate this issue, try taking following steps with Emacs 23.4: : $ emacs -Q (some-file.org) : (add-to-list 'load-path /usr/share/emacs/site-lisp/org-8.0/lisp) : (add-to-list 'load-path /usr/share/emacs/site-lisp/org-8.0/contrib/lisp 't) : (require 'org) : M-x revert-file : M-x org-agenda-list : M-x customize-group org-agenda-sorting : (Change sorting strategy: time-up becomes scheduled-up) : (Save settings) : M-x org-agenda-list When displaying the list, you'll get this output: : org-entries-lessp: Wrong type argument: stringp, nil Can anyone else reproduce this issue? What am I missing here? Thanks for your time, Nick pgp298t1Sytys.pgp Description: PGP signature
Re: [O] [PATCH] export to various flavors of (X)HTML
Rick Frankel r...@rickster.com writes: On 19.04.2013 05:57, Eric Abrahamsen wrote: I'm starting a new thread for this since the previous discussion was buried in with something tangential. I'm not proud of some of the implementation (self-closing vs non-self-closing tags are ugly, and I wish org-html-html5-p and org-html-xhtml-p were variables, not functions), but there it is, it seems to work. If this is deemed okay I'll send a version of the patch with a proper commit message, and also updated documentation. Thanks for looking at this! I disagree with the minimized closing patch change. All versions of html accept the / idiom (with the extra space so that html4 only browsers don't break) for minimized tags (also /{elem}, e.g. hr/hr is, i believe, always valid). html5 certainly accepts valid xhtml as input. It would entirely break e.g, nxml-mode or xsl post-processing to make this change. The / style doesn't validate for html4, that's what I was going on. It certainly doesn't make my browser explode, but I wanted that little green checkmark! If we can live with that, that's fine, or I can try to come up with a less hacky way of handling closing tags -- a macro maybe. Other things that don't need to be removed for html5: - CDATA escapes - xmns: .. xml:lang declarations (as long as you keep the html valid xml) I'd be happy to leave the CDATA escapes in there, since it really doesn't seem to make any difference, and the implementation is ugly. I think I'm erring on the side of pedantic correctness. The xmns declaration, on the other hand, seems quite meaningless for anything that isn't xhtml (even if it doesn't actually break), and it's only a couple of lines of code to deal with, I'd rather keep that in there... Thanks again, Eric As a positive side effect, backing out these changes would simplify the patch a lot :) The doctype (and fix to the text/javascript closing tag) changes look great. rick
Re: [O] Carsten's Interview relates questions, esay insert images, attachemnt locations etc..
zeltak zeltak at gmail.com writes: Hi Charles and Carsten sorry for the belated repsonse but i have been tied up at work with other projects. So going back to the original question, i have used your example code Charles and modified it to work on my linux box, though i have zero lisp (or any other programming) knowledge so im not sure its correct: [snip code] If it captures a screenshot in a file and puts a link in your org file, then it is correct. there are still some question i have. the little function seems to work and i do get an inline image inside org bit it seems to me it only work on the current window/workspace, is that correct? how can i modify it catch a screenshot from a web browser, PDF, other workspace etc? This depends on how you navigate your window system, I think. On Mac OS X Clover-Tab lets me move between open applications without touching the mouse. When I get to the image I want to capture, I use the mouse to get the screenshot. IIRC, on KDE (linux) alt-tab cycles through open applications. I use this to select text from a terminal window and paste it into emacs (under X11). If you need the mouse to get to the view you want to capture, I think you will need some help from outside emacs. You need an application that lets you navigate a bit to get to the screen you need before setting off the screenshot. Maybe you can create a shell script that will allow you to navigate first, then capture the screenshot before exiting. I do not know of a way to do this purely within emacs. If you know how to put that script together, then call the script rather than 'scrot'. -also can one insert a delete mechanism for files deleted from the inline buffer (with a confirmation ofc). the reason i ask is because alot of the times the first 'take' isnt correct and that leaves alot of junk in these folders that are hard to trace manually In principal, you could put a confirmation query in the function, then unlink the file if you do not confirm it. But if elisp is a hurdle, a keyboard macro could do the trick. Figure out the keystrokes to navigate to the newest image file, then delete it, then get back to org. Then capture those keystrokes in a macro, save it, and you are good to go. See http://www.gnu.org/software/emacs/manual/html_node/emacs/ Keyboard-Macros.html HTH,
[O] Beamer export ignoring org-beamer-environments-extra?
Hi, I'm trying to use the (new) beamer exporter with Chinese characters. I've installed the CJK package, and I can render a very simple article-class document with Chinese characters, no problem. But I haven't been able to replicate that successful result by exporting an org file to LaTeX/beamer. The problem may be a general one concerning org-beamer-environments-extra. Any portion of the document containing Chinese characters should be enclosed within a CJK environment. Reading ox-beamer.el, I see that I can customize Org Beamer Environments Extra. After customizing, C-h v org-beamer-environments-extra shows me: ((CJK Z \\begin{CJK}%a%h \\end{CJK})) But: * One section ** One frame *** One block :B_CJK: :PROPERTIES: :BEAMER_env: CJK :BEAMER_envargs: gbsn :END: - One list item -- \section[One section]{One section} \label{sec-1} \begin{frame}[label=sec-1-1]{One frame} \begin{itemize} \item One list item \end{itemize} \end{frame} % Generated by Org mode 8.0-pre in Emacs 23.3.1. \end{document} Whoa, wait a minute... it has completely omitted the CJK environment! It appears that I've followed the format for the extra environment correctly. It's possible that I've done something wrong, but it could also be a bug. ?? Org-mode version 8.0-pre (release_8.0-pre-215-g8ccbc7 @ /home/dlm/share/org-mode.git/lisp/) hjh
Re: [O] Can't Sort with New, 8.0 Sort Methods
Hi Nick, I filed a bug report for this issue here: http://article.gmane.org/gmane.emacs.orgmode/70890 And mentioned a fix that works for me here: http://article.gmane.org/gmane.emacs.orgmode/70893 You could try my fix in the meantime, and let the list know if it helps. Best, Richard
Re: [O] [babel] Purpose of :results raw
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Now that :results drawer has been introduced, I wonder why we still have :results raw. As once stated in this ML: The sole purpose of raw results is to allow inserting an headline (I mean a real headline, not comma protected) in the buffer, because headlines cannot be contained in anything else than headlines. But drawer does the same. What makes you think drawers do the same? Drawers cannot contain headlines. Regards, -- Nicolas Goaziou
Re: [O] Superscripts and subscripts
Nicolas Goaziou writes: Of course, we could work around this with a new rule saying the longest match wins, which, in this case, is the underline. But it would be better to find a more elegant solution, one which would remove the sole ambiguity, AFAICT, in Org syntax. How did this work before? I never tried subscript after whitespace. But we had both superscript-after-whitespace and underlining-with-underscores working at the same time, without the ambiguity causing problems as far as I remember. Indeed, it's very difficult to think of a case where wrapping something in underscores should not mean underline because you'd want subscript or superscript before and underscore after. Though I'm sure there's an Org user out there with a use case. :) Achim Gratz strom...@nexgo.de writes: How about {}^{14}C or {^{14}}C? Works for me, I guess, if it has to be. Thomas S. Dye writes: The LaTeX solution, which recognizes the superscript and subscript symbols in math mode, would only require a change in the Org documentation. This works: \(^{14}\)C. Yep, but in non-latex backends, a superscript that's native to the backend would be a happier solution. Yours, Christian