Re: [O] How do you store web pages for reference?
By the way, you can definitely save a PDF with links if you prefer that. I use DevonThink, and I use this snippet to save a PDF of a webpage, complete with links. javascript:window.location='x-devonthink://createPDF?title='+encodeURIComponent(document.title)+'='+encodeURIComponent(window.location)+'='+encodeURIComponent(document.referrer)+'=No='+window.innerWidth; On Mon, Jan 16, 2017 at 3:48 AM, Alan Schmitt < alan.schm...@polytechnique.org> wrote: > Hello, > > I'm looking for a workflow that allows me to save a web page for > reference, ideally from Firefox. I know of org-protocol-capture-html > (https://github.com/alphapapa/org-protocol-capture-html), which is > perfect for pure-text pages, but I'm also looking for a solution for > images-heavy pages. I've tried to simply save the page to PDF, but it > does not preserve the links. > > Do you have suggestions? > > Thanks, > > Alan > > -- > OpenPGP Key ID : 040D0A3B4ED2E5C7 > Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-12: 404.48, 2015-12: 401.85 >
Re: [O] HTML presentations using org-html-slideshow?
Excellent. Let me know what you think! On Wed, Mar 8, 2017 at 3:52 AM, Julian M. Burgos <julian.bur...@hafogvatn.is > wrote: > Thanks for the head up. I will check it out. > > Peter Salazar writes: > > > If anyone's interested, there's a new working version of > > org-html-slideshow that's compatible with org-mode 9.x available here: > > https://github.com/aiba/org-html-slideshow. > > > > On Mon, Mar 6, 2017 at 10:04 AM, Peter Salazar <cycleofs...@gmail.com> > > wrote: > > > >> Hi everyone, > >> > >> I've been using the excellent org-html-slideshow ( > >> https://github.com/relevance/org-html-slideshow) to generate HTML > slides > >> from org-mode, and it's been working well for me for years. > >> > >> It generates HTML slides from org-mode using the org-mode heading > >> hierarchy. Tag any heading with the org-tag :slide: and that heading and > >> its contents automatically become their own slide once you export to > HTML > >> using org-export-dispatch. > >> > >> I prefer org-html-slideshow to org-reveal since it allows me the ability > >> to easily customize the look and feel of slides—by creating a custom > >> slide—simply by adding an org-tag. So if I tag an org-heading with the > tag > >> :fullscreenslide: for example (so that the heading looks like * Heading > >> :slide:fullscreenslide:), it will then export that slide to HTML with > >> class="fullscreenslide" — and I can then use CSS to customize the look > and > >> feel of all slides with that class. > >> > >> Org-html-slideshow also offers a great Presenter View, which opens in a > >> separate tab in your browser, and displays your speaker notes, the > current > >> slide, and the next slide. Unfortunately, org-html-slideshow is no > longer > >> being actively developed, and a recent update to org-mode has broken the > >> way Presenter View functions. Somehow with the new org-mode updates, the > >> "next slide" view in Presenter Notes mode no longer advances correctly. > The > >> "next slide" slide gets stuck in a loop of 4-5 slides, and just repeats > >> those few slides. It does not reliably show you what the next slide is > >> going to be. > >> > >> I notice that the output from example.org when I export to HTML is > fairly > >> different from the example.html that's in the repo. Something in those > >> differences is breaking the ability of Presenter Notes to advance to the > >> next slide: > >> https://gist.github.com/incandescentman/dca040c750a3e9e7e687942d69ebd5 > 3f > >> > >> Anyone else using org-html-slideshow? Does anyone have any thoughts on > how > >> to get this working again? Thanks! > >> > > > -- > Julian Mariano Burgos, PhD > Hafrannsóknastofnun, rannsókna- og ráðgjafarstofnun hafs og vatna/ > Marine and Freshwater Research Institute > Skúlagata 4, 121 Reykjavík, Iceland > Sími/Telephone : +354-5752037 > Bréfsími/Telefax: +354-5752001 > Netfang/Email: julian.bur...@hafogvatn.is >
Re: [O] HTML presentations using org-html-slideshow?
If anyone's interested, there's a new working version of org-html-slideshow that's compatible with org-mode 9.x available here: https://github.com/aiba/org-html-slideshow. On Mon, Mar 6, 2017 at 10:04 AM, Peter Salazar <cycleofs...@gmail.com> wrote: > Hi everyone, > > I've been using the excellent org-html-slideshow ( > https://github.com/relevance/org-html-slideshow) to generate HTML slides > from org-mode, and it's been working well for me for years. > > It generates HTML slides from org-mode using the org-mode heading > hierarchy. Tag any heading with the org-tag :slide: and that heading and > its contents automatically become their own slide once you export to HTML > using org-export-dispatch. > > I prefer org-html-slideshow to org-reveal since it allows me the ability > to easily customize the look and feel of slides—by creating a custom > slide—simply by adding an org-tag. So if I tag an org-heading with the tag > :fullscreenslide: for example (so that the heading looks like * Heading > :slide:fullscreenslide:), it will then export that slide to HTML with > class="fullscreenslide" — and I can then use CSS to customize the look and > feel of all slides with that class. > > Org-html-slideshow also offers a great Presenter View, which opens in a > separate tab in your browser, and displays your speaker notes, the current > slide, and the next slide. Unfortunately, org-html-slideshow is no longer > being actively developed, and a recent update to org-mode has broken the > way Presenter View functions. Somehow with the new org-mode updates, the > "next slide" view in Presenter Notes mode no longer advances correctly. The > "next slide" slide gets stuck in a loop of 4-5 slides, and just repeats > those few slides. It does not reliably show you what the next slide is > going to be. > > I notice that the output from example.org when I export to HTML is fairly > different from the example.html that's in the repo. Something in those > differences is breaking the ability of Presenter Notes to advance to the > next slide: > https://gist.github.com/incandescentman/dca040c750a3e9e7e687942d69ebd53f > > Anyone else using org-html-slideshow? Does anyone have any thoughts on how > to get this working again? Thanks! >
Re: [O] how to export to HTML using old-style numbered div ID's?
Thank you so much for the responses! In fact I did try filing a bug report to the org-html-slideshow developers, but the project is no longer under active development and I never heard back. Fortunately, I was able to convince a friend who's a ClojureScript expert to take a look. He forked the org-html-slideshow project and updated the code to be compatible with the new org-mode export, as well as adding a bunch of extra features like a play/pause keystroke for HTML5 videos and YouTube videos. So if anyone's interested in HTML presentations, a new and improved version of org-html-slideshow that's compatible with org-mode 9.x is available at: https://github.com/aiba/org-html-slideshow. Thanks everyone! On Tue, Mar 7, 2017 at 2:55 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > Nick Dokos <ndo...@gmail.com> writes: > > > Peter Salazar <cycleofs...@gmail.com> writes: > > > >> Hi everyone, > >> > >> I figured out that the problem I've been having with > >> org-html-slideshow > >> (https://github.com/relevance/org-html-slideshow) is that it relies > >> on the old-style numbered anchors that org-mode used to generate for > >> div ID's in HTML export—the ones that looked like "sec-1-2". > >> > >> Example: > >> > >> > >> > >> > >> As you know, the new 8.x org-mode HTML exporter generates this instead: > >> > >> > >> > >> > >> This output confuses org-html-slideshow, preventing it from > >> correctly advancing the slides in the presenter view. > >> > >> Does anyone know how can I direct org-mode 8.x to generate div tags > >> with the old-style numbered anchors like it used to? > > > > The LaTeX exporter *does* have such a capability, through the > > variable org-latex-prefer-user-labels, > > Not exactly. The variable above allows overriding the default naming > scheme whenever the user provides additional information. However, > AFAIU, the OP wants to alter the default scheme, without any user > interaction. > > This is not possible. I suggest to report it as a bug to > org-html-slideshow developers so they can update it. > > > Regards, > > -- > Nicolas Goaziou > >
[O] how to export to HTML using old-style numbered div ID's?
Hi everyone, I figured out that the problem I've been having with org-html-slideshow ( https://github.com/relevance/org-html-slideshow) is that it relies on the old-style numbered anchors that org-mode used to generate for div ID's in HTML export—the ones that looked like "sec-1-2". Example: As you know, the new 8.x org-mode HTML exporter generates this instead: This output confuses org-html-slideshow, preventing it from correctly advancing the slides in the presenter view. Does anyone know how can I direct org-mode 8.x to generate div tags with the old-style numbered anchors like it used to? Thanks! -- Forwarded message ------ From: Peter Salazar <cycleofs...@gmail.com> Date: Mon, Mar 6, 2017 at 10:04 AM Subject: HTML presentations using org-html-slideshow? To: org-mode <emacs-orgmode@gnu.org> Hi everyone, I've been using the excellent org-html-slideshow ( https://github.com/relevance/org-html-slideshow) to generate HTML slides from org-mode, and it's been working well for me for years. It generates HTML slides from org-mode using the org-mode heading hierarchy. Tag any heading with the org-tag :slide: and that heading and its contents automatically become their own slide once you export to HTML using org-export-dispatch. I prefer org-html-slideshow to org-reveal since it allows me the ability to easily customize the look and feel of slides—by creating a custom slide—simply by adding an org-tag. So if I tag an org-heading with the tag :fullscreenslide: for example (so that the heading looks like * Heading :slide:fullscreenslide:), it will then export that slide to HTML with class="fullscreenslide" — and I can then use CSS to customize the look and feel of all slides with that class. Org-html-slideshow also offers a great Presenter View, which opens in a separate tab in your browser, and displays your speaker notes, the current slide, and the next slide. Unfortunately, org-html-slideshow is no longer being actively developed, and a recent update to org-mode has broken the way Presenter View functions. Somehow with the new org-mode updates, the "next slide" view in Presenter Notes mode no longer advances correctly. The "next slide" slide gets stuck in a loop of 4-5 slides, and just repeats those few slides. It does not reliably show you what the next slide is going to be. I notice that the output from example.org when I export to HTML is fairly different from the example.html that's in the repo. Something in those differences is breaking the ability of Presenter Notes to advance to the next slide: https://gist.github.com/incandescentman/dca040c750a3e9e7e687942d69ebd53f Anyone else using org-html-slideshow? Does anyone have any thoughts on how to get this working again? Thanks! diff --git a/example.html b/example.html index 2dd0b5e..49ba097 100755 --- a/example.html +++ b/example.html @@ -3,199 +3,73 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;> http://www.w3.org/1999/xhtml; lang="en" xml:lang="en"> + + + Example Presentation - - - - - <!--/*--><![CDATA[/*><!--*/ - .title { text-align: center; } - .todo { font-family: monospace; color: red; } - .done { color: green; } - .tag{ background-color: #eee; font-family: monospace; -padding: 2px; font-size: 80%; font-weight: normal; } - .timestamp { color: #bebebe; } - .timestamp-kwd { color: #5f9ea0; } - .right { margin-left: auto; margin-right: 0px; text-align: right; } - .left { margin-left: 0px; margin-right: auto; text-align: left; } - .center { margin-left: auto; margin-right: auto; text-align: center; } - .underline { text-decoration: underline; } - #postamble p, #preamble p { font-size: 90%; margin: .2em; } - p.verse { margin-left: 3%; } - pre { -border: 1px solid #ccc; -box-shadow: 3px 3px 3px #eee; -padding: 8pt; -font-family: monospace; -overflow: auto; -margin: 1.2em; - } - pre.src { -position: relative; -overflow: visible; -padding-top: 1.2em; - } - pre.src:before { -display: none; -position: absolute; -background-color: white; -top: -10px; -right: 10px; -padding: 3px; -border: 1px solid black; - } - pre.src:hover:before { display: inline;} - pre.src-sh:before{ content: 'sh'; } - pre.src-bash:before { content: 'sh'; } - pre.src-emacs-lisp:before { content: 'Emacs Lisp'; } - pre.src-R:before { content: 'R'; } - pre.src-perl:before { content: 'Perl'; } - pre.src-java:before { content: 'Java'; } - pre.src-sql:before { content: 'SQL'; } - - table { border-collapse:collapse; } - td, th { vertical-align:top; } - th.right { text-align: center; } - th.left { text-align: center; } - th.center { text-align: center; } - td.right { text-align: right; } - td.left { text-align: left; } - td.center { text-align: center; } - dt { font-weight: bold; } - .footpara:nt
[O] HTML presentations using org-html-slideshow?
Hi everyone, I've been using the excellent org-html-slideshow ( https://github.com/relevance/org-html-slideshow) to generate HTML slides from org-mode, and it's been working well for me for years. It generates HTML slides from org-mode using the org-mode heading hierarchy. Tag any heading with the org-tag :slide: and that heading and its contents automatically become their own slide once you export to HTML using org-export-dispatch. I prefer org-html-slideshow to org-reveal since it allows me the ability to easily customize the look and feel of slides—by creating a custom slide—simply by adding an org-tag. So if I tag an org-heading with the tag :fullscreenslide: for example (so that the heading looks like * Heading :slide:fullscreenslide:), it will then export that slide to HTML with class="fullscreenslide" — and I can then use CSS to customize the look and feel of all slides with that class. Org-html-slideshow also offers a great Presenter View, which opens in a separate tab in your browser, and displays your speaker notes, the current slide, and the next slide. Unfortunately, org-html-slideshow is no longer being actively developed, and a recent update to org-mode has broken the way Presenter View functions. Somehow with the new org-mode updates, the "next slide" view in Presenter Notes mode no longer advances correctly. The "next slide" slide gets stuck in a loop of 4-5 slides, and just repeats those few slides. It does not reliably show you what the next slide is going to be. I notice that the output from example.org when I export to HTML is fairly different from the example.html that's in the repo. Something in those differences is breaking the ability of Presenter Notes to advance to the next slide: https://gist.github.com/incandescentman/dca040c750a3e9e7e687942d69ebd53f Anyone else using org-html-slideshow? Does anyone have any thoughts on how to get this working again? Thanks! diff --git a/example.html b/example.html index 2dd0b5e..49ba097 100755 --- a/example.html +++ b/example.html @@ -3,199 +3,73 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;> http://www.w3.org/1999/xhtml; lang="en" xml:lang="en"> + + + Example Presentation - - - - - - + + - -/* -@licstart The following is the entire license notice for the -JavaScript code in this tag. - -Copyright (C) 2012 Free Software Foundation, Inc. - -The
Re: [O] HTML blocks not exporting correctly
Thanks! On Mon, Nov 7, 2016 at 6:42 PM, Kaushal Modi <kaushal.m...@gmail.com> wrote: > Please see the very beginning of ORG-NEWS/Release Notes > > - http://orgmode.org/cgit.cgi/org-mode.git/tree/etc/ORG-NEWS?h=maint#n26 > - http://orgmode.org/Changes.html#orgf3f9c91 > > On Mon, Nov 7, 2016 at 6:25 PM Peter Salazar <cycleofs...@gmail.com> > wrote: > >> Since upgrading to org-mode 9.0, I am unable to export HTML blocks. When >> I export to HTML, the contents of HTML blocks export literally, rather than >> as rendered HTML. >> >> So for instance, I have an org-mode file containing this: >> >> #+BEGIN_HTML >> http://orgmode.org;>link >> #+END_HTML >> >> When I export to HTML, I get an HTML file that has the literal text "> HREF="http://orgmode.org;>link" rather than creating a hyperlink. >> >> Is there a fix for this? Thanks! >> > -- > > Kaushal Modi >
[O] HTML blocks not exporting correctly
Since upgrading to org-mode 9.0, I am unable to export HTML blocks. When I export to HTML, the contents of HTML blocks export literally, rather than as rendered HTML. So for instance, I have an org-mode file containing this: #+BEGIN_HTML http://orgmode.org;>link #+END_HTML When I export to HTML, I get an HTML file that has the literal text "http://orgmode.org;>link" rather than creating a hyperlink. Is there a fix for this? Thanks!
Re: [O] how to org-refile to a target within the current file?
Here's the solution: (defun my-org-files-list () (delq nil (mapcar (lambda (buffer) (buffer-file-name buffer)) (org-buffer-list 'files t On Wed, May 4, 2016 at 1:20 PM, Peter Salazar <cycleofs...@gmail.com> wrote: > Hello, I use org-refile quite a bit, but for my use-case, I want to refile > my org-mode subtrees not to an org-agenda file, but to the current file or > another file I'm currently visiting. > > I had a way of doing this that was working correctly, but now has stopped > working. I'm not sure what I changed that broke it. > > Here's the code I'm using for org-refile: > > (setq org-outline-path-complete-in-steps nil) ; Refile in a single go > (setq org-completion-use-ido nil) > (setq org-refile-use-outline-path t) ; Show full paths for refiling > (setq org-refile-allow-creating-parent-nodes (quote confirm)) ; allow > refile to create parent tasks with confirmation > > (defun my-org-files-list () > (mapcar (lambda (buffer) >(buffer-file-name buffer)) >(org-buffer-list 'files t))) > > (setq org-refile-targets '((my-org-files-list :maxlevel . 3))) > > Again, this used to work. But now when I run org-refile, I get this: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > get-file-buffer(nil) > org-find-base-buffer-visiting(nil) > org-get-agenda-file-buffer(nil) > org-refile-get-targets(nil (#("this" 0 4 (fontified t face > org-level-1 > org-refile-get-location("Refile subtree \"this\" to" nil confirm nil) > org-refile(nil) > call-interactively(org-refile record nil) > command-execute(org-refile record) > execute-extended-command(nil "org-refile") > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) > > Any suggestions on how to fix this? Thanks! > >
[O] how to org-refile to a target within the current file?
Hello, I use org-refile quite a bit, but for my use-case, I want to refile my org-mode subtrees not to an org-agenda file, but to the current file or another file I'm currently visiting. I had a way of doing this that was working correctly, but now has stopped working. I'm not sure what I changed that broke it. Here's the code I'm using for org-refile: (setq org-outline-path-complete-in-steps nil) ; Refile in a single go (setq org-completion-use-ido nil) (setq org-refile-use-outline-path t) ; Show full paths for refiling (setq org-refile-allow-creating-parent-nodes (quote confirm)) ; allow refile to create parent tasks with confirmation (defun my-org-files-list () (mapcar (lambda (buffer) (buffer-file-name buffer)) (org-buffer-list 'files t))) (setq org-refile-targets '((my-org-files-list :maxlevel . 3))) Again, this used to work. But now when I run org-refile, I get this: Debugger entered--Lisp error: (wrong-type-argument stringp nil) get-file-buffer(nil) org-find-base-buffer-visiting(nil) org-get-agenda-file-buffer(nil) org-refile-get-targets(nil (#("this" 0 4 (fontified t face org-level-1 org-refile-get-location("Refile subtree \"this\" to" nil confirm nil) org-refile(nil) call-interactively(org-refile record nil) command-execute(org-refile record) execute-extended-command(nil "org-refile") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) Any suggestions on how to fix this? Thanks!
Re: [O] org-agenda error
Update: I fixed the org-agenda problem. Turns out the problem was that I'd created my own custom defun called org-today, and it was interfering with org-agenda. The helm-org-in-buffer-headings error is still occurring. Thanks for any thoughts. On Tue, Mar 15, 2016 at 7:58 PM, Peter Salazar <cycleofs...@gmail.com> wrote: > Unfortunately, that's not the case (that helm-org-in-buffer-headings) is > called in a non-org buffer. It happens whenever I call it from within any > org-file. I also tried calling it from within a short, minimal org-file > with just a few headings of various levels, and I get the same error. > > The error, once again, is this: > http://i.imgur.com/FoTiwoq.png > > And again, the error I get when I call org-agenda is this: > http://pastebin.com/wCBgAQLp > > > On Thu, Mar 10, 2016 at 3:21 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> > wrote: > >> Hello, >> >> Peter Salazar <cycleofs...@gmail.com> writes: >> >> > Any thoughts on that? I'm not sure if it's related, but I also get >> errors >> > when I try to call helm-org-in-buffer-headings. Somehow the backtrace >> gets >> > immediately erased, so here's a screenshot: >> > http://i.imgur.com/FoTiwoq.png >> >> From the above, it looks like `helm-org--get-candidate-in-file' is >> erroneously called from a non-Org buffer (here, "*Backtrace*"). Outside >> Org, `org-complex-heading-regexp' is nil, hence the result. >> >> Regards, >> >> -- >> Nicolas Goaziou >> > >
Re: [O] org-agenda error
Unfortunately, that's not the case (that helm-org-in-buffer-headings) is called in a non-org buffer. It happens whenever I call it from within any org-file. I also tried calling it from within a short, minimal org-file with just a few headings of various levels, and I get the same error. The error, once again, is this: http://i.imgur.com/FoTiwoq.png And again, the error I get when I call org-agenda is this: http://pastebin.com/wCBgAQLp On Thu, Mar 10, 2016 at 3:21 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > Peter Salazar <cycleofs...@gmail.com> writes: > > > Any thoughts on that? I'm not sure if it's related, but I also get errors > > when I try to call helm-org-in-buffer-headings. Somehow the backtrace > gets > > immediately erased, so here's a screenshot: > > http://i.imgur.com/FoTiwoq.png > > From the above, it looks like `helm-org--get-candidate-in-file' is > erroneously called from a non-Org buffer (here, "*Backtrace*"). Outside > Org, `org-complex-heading-regexp' is nil, hence the result. > > Regards, > > -- > Nicolas Goaziou >
Re: [O] org-agenda error
Any thoughts on that? I'm not sure if it's related, but I also get errors when I try to call helm-org-in-buffer-headings. Somehow the backtrace gets immediately erased, so here's a screenshot: http://i.imgur.com/FoTiwoq.png On Mon, Mar 7, 2016 at 10:40 AM, Peter Salazar <cycleofs...@gmail.com> wrote: > Well that's interesting. When I do C-u M-x org-reload and then call > org-agenda, it displays correctly with no error. > > How do I debug? I already went into my config files and commented out all > the code containing the word org-agenda, but the error still happens. > > > On Mon, Mar 7, 2016 at 6:09 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> > wrote: > >> Hello, >> >> Peter Salazar <cycleofs...@gmail.com> writes: >> >> > I'm suddenly getting "byte-code: Wrong type argument: >> number-or-marker-p, >> > nil" when I try to call org-agenda. This happens even when >> org-agenda-files >> > is set to nil. Here's the backtrace. Any thoughts on how I can track >> down >> > the source of the problem? >> >> Could you provide the backtrace running un-compiled Org? It is just >> a matter of calling C-u M-x org-reload. >> >> Regards, >> >> -- >> Nicolas Goaziou >> > >
Re: [O] org-agenda error
Well that's interesting. When I do C-u M-x org-reload and then call org-agenda, it displays correctly with no error. How do I debug? I already went into my config files and commented out all the code containing the word org-agenda, but the error still happens. On Mon, Mar 7, 2016 at 6:09 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > Peter Salazar <cycleofs...@gmail.com> writes: > > > I'm suddenly getting "byte-code: Wrong type argument: number-or-marker-p, > > nil" when I try to call org-agenda. This happens even when > org-agenda-files > > is set to nil. Here's the backtrace. Any thoughts on how I can track down > > the source of the problem? > > Could you provide the backtrace running un-compiled Org? It is just > a matter of calling C-u M-x org-reload. > > Regards, > > -- > Nicolas Goaziou >
[O] org-agenda error
Hey everyone, I'm suddenly getting "byte-code: Wrong type argument: number-or-marker-p, nil" when I try to call org-agenda. This happens even when org-agenda-files is set to nil. Here's the backtrace. Any thoughts on how I can track down the source of the problem? Thanks! Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) calendar-gregorian-from-absolute(nil) byte-code("\206) \203(\n\203 ;\203\306\307\n #\202%\n\203$\306\310\n\"\202%\311\206)\f\312\313!\210 \2064@\211;\203B\314\315\316\317 #!\320\321!\210\322\321!\210\323A\206WB\206WC!A\324 D \206dDE\325AE\"\211F\326=\204{F\327=\205}GG\330\316\331\"\211HIG\203\224F\326W\203\231E\202\277\332\333E!!JGKJKZLEL\334W\203\271\326\202\272\334L\\Z+\211MCN\334OP?QRS\316\211TU\316\211VW\316\211XY\316\211LZ\316\211[\\\316\211]^\316_\335\336`D \336ADa\257bFS\334cdcdW\203*N@TNBNcT\211c\202*N\237\211N@ ]Ne\337e!@)\206B\334T^\340N@ fg\341g!fL*\210\342`fg\341g!fL*\210\343\323A!fg\341g!fL*\210h\204\362N@iNe\337e!@)j\344i!k\344j!l`Tm\203\262\345\346m!\316\347\350$\351\261\210\202\340\352A!\353jiZ\354W\203\333klU\203\321\306\355k\"\202\334\306\356kl#\202\334\357\360\261\210,\361T`S\347\350\362\317F#\210\363T!\210N\211AN\242\211L\203\374\333L!Y`TLDU\211\\\204 Z\204&LEU\203&`Z\2023Z\2033[\2043`[HI\316WI\211AI\242\211X\203N\364\365\215\210\202:n\203i\317o\366\367!\210\370Y!V\371WV\"W)W\204sp\203\362OTOq;\203\211\372q\373Y!\"\202\216qY!\351\261\210\374T`S\347\375Y!$\210\374T`S\362\317$\210\374T`S\376\317$\210\374T`S\377O$\210\\\203\310\374T`S\324\317$\210\201yWF\\#\211W\203\343\201zW\321\"\351\261\210\374T`S\201{L$\210\374T`S\377O$\210\202\362r\203U]\203U\330\316\331\"\346s!\316tu\201|u\201}\"u\201~u\201]#u\201~u\201\200^#u\201~u\201\201\321#u\201\202\201\203u\"\211tc\210+eb\210v\204b\201\204 \210\201\205e!\203r\201\205d!\204\237dSb\210\201\206\201\207!\210\201\205Z\206\211\201\210!\204\237Z\206\225\201\210b\210\201\206\201\210!\210Z\206\247\201\210b\210\361ed\201\211\321\201\212` AE\201\213b\201\214w\257#\210S\201\215=\203\325\201\216 \210\201\217 \210\317x\201\220\357!.\207" [org-agenda-buffer-tmp-name org-agenda-sticky org-keys org-match org-agenda-buffer-name start-day format "*Org Agenda(%s:%s)*" "*Org Agenda(%s)*" "*Org Agenda(a)*" org-agenda-prepare "Day/Week" time-to-days org-read-date nil t org-compile-prefix-format agenda org-set-sorting-strategy org-agenda-ndays-to-span org-today org-agenda-span-to-ndays 7 14 org-agenda-files ifmode calendar-day-of-week calendar-gregorian-from-absolute 0 org-agenda-list quote last org-starting-day make-local-variable org-arg-loc org-agenda-current-span org-days-to-iso-week org-add-props copy-sequence face org-agenda-structure "\n" org-agenda-span-name "-agenda" 350 " (W%02d)" " (W%02d-W%02d)" "" ":\n" add-text-properties ...] 12) org-agenda-list(nil) call-interactively(org-agenda-list) byte-code("\306 \307 \232\203\310\202\n \311\306\312\313 \"\"\314 \"p@\315\316 !A\306\211BC\306\211DE\306\211FGH\204`\317\320!\203K\204Q\321\322\323\306#\210\306IJ\306\211\223\210K\306\211\223\210\321\324\325\306#\210\321\324\326\306#\210pLM\204\202\327!\211G@MGANO\203\215\330\331M\"H\204\330N\203\330\321\322\323AC#\210N\332=\203\272pIJ\333 \306\223\210K\334 \306\223\210\202\330N\335=\203\330\212pI\336\337!\210J`\306\223\210K\340\337!\306\223\210)\341M \"\211B\203\342B89\204\364\343\342B8!\203\342B8D\344\345B8!E\346B8FO\203#E;\203\330\347ME#\206\"\330\331M\"\321\324\325F#\210D\350=\2039\351F\352\"\202\237D\353=\203H\351F\354\"\202\237D\355=\203W\351F\356\"\202\237D\357=\203f\351F\360\"\202\237D\361=\203u\351F\362\"\202\237D\363=\203\204\351F\364\"\202\237D\365=\203\223\351F\366\"\202\237D\367=\203\242\351F\370\"\202\237D\371=\203\264\372 \210\351F\373\"\202\237D\374=\203\306\372 \210\351F\375\"\202\237D\376=\203\330\372 \210\351F\377\"\202\237\343D!\203\351\351F\201S\"\202\237\201TD!\203\374\351F\201U\"\202\237\201V\201WD\"\202\237\201XBA@ B\211AA\262\"\202\237M\201Y\232\203-\f\201Z\303!\202\237M\201[\232\203@\201\\\201]!\202\237M\201^\232\203S\201\\\201_!\202\237M\201`\232\203y\201_P\206g\201aPQPR\201\\Q!+\202\237M\201b\232\203\214\201\\\201c!\202\237M\201d\232\203\262\201cP\206\240\201ePQPR\201\\Q!+\202\237M\201f\232\203\305\201\\\201g!\202\237M\201h\232\203\353\201gP\206\331\201iPQPR\201\\Q!+\202\237M\201j\232\203\376\201\\\201k!\202\237M\201l\232\203\201g\306\201m\"\210\201n\201o\201p\337\211$\202\237M\201q\232\203_\201r\201s!\204:\201V\201t!\210N?\205\237\321\322\323AC#\210\201uPPQP
Re: [O] "Capture"-like browser plugin?
For those of you on OSX, there's also an Alfred workflow for org-capture: https://github.com/jjasghar/alfred-org-capture org-capture from within any app with one keystroke... On Fri, Sep 18, 2015 at 5:50 PM, Samuel Waleswrote: > fwiw my x logs contain some lines like these: > > Waiting for Emacs... > Waiting for Emacs...*ERROR*: Capture abort: (end-of-file) > >
[O] help debugging org-element crashes?
Hey everyone, I'm finding my Emacs crashing a lot; other times I get errors like these which I assume are related to the crashes: http://pastebin.com/Tncs79r0 http://pastebin.com/jfdEYwVk I mean total Emacs crashes, where I have to force quit Emacs itself. It's happened in various org-mode situations including: - pasting text from OSX clipboard - promoting/demoting org-headings - moving subtree up or down (i.e. using org-metadown org org-metaup) My details: Mac OSX Yosemite 10.10.5 GNU Emacs 24.5.1 (x86_64-apple-darwin14.5.0, Carbon Version 157 AppKit 1348.17) Org-mode version 8.3.1 (8.3.1-129-ga7c8d2-elpaplus @ org-plus-contrib-20150921/) I've tried reinstalling org-plus-contrib... I have also enabled org-element-debug. Any suggestions on how I can track this down and fix it? Thanks!
Re: [O] subscript on a table caption
What do you see if you do C-h v org-export-latex-emphasis-alist and org-html-text-markup-alist? Anything about subscript? On Mon, Aug 24, 2015 at 9:54 AM, Johannes Rainer johannes.rai...@gmail.com wrote: dear all! I have a strange problem now with org-mode (I don't know whether I had that with previous org-versions because I never paid attention): any _ I have in a caption is automatically formatted as a subscript, independently of using #+OPTIONS: ^:nil or #+OPTIONS: ^:{}. Is there any other way I can force org-mode to export captions as-is? For plain text it works nicely, but not for caption (and export to latex or html). The test org-file I used contains the following: #+TITLE:TestTest #+OPTIONS: ^:nil - * Test tables just in plain text: bla_blu, bla\_blu; both works nicely. #+CAPTION: Some bla bla and an underscore: bla_blu. The same escaped: bla\_blu. Doesn't work for either of them; blu is always used as subscript. || agegp | alcgp |tobgp | ncases | ncontrols | |+---+---+--++---| | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 | 40.00 | | 2 | 25-34 | 0-39g/day |10-19 | 0.00 | 10.00 | | 3 | 25-34 | 0-39g/day |20-29 | 0.00 | 6.00 | --- The _ in the plain text are exported as expected, but not the caption. I'm using org-mode 8.3.1 (release_8.3.1-166-g5bfdfc) any suggestions?
[O] how can I use plain-text URLs in org-mime?
Hi Eric and others, I'm using org-mime-htmlize to send email, but I'm having trouble with plain-text links (i.e. not org-mode formatted links with square brackets, but URLs by themselves) and with image links (again, not org-mode format). Say I have an org-mode file with this subtree: , | | * foo | http://google.com | | http://i.imgur.com/kJn0xNs.jpg | ` These work as desired when I org-export to HTML. The URL gets converted to a clickable a href anchor, and the image gets displayed as an img src image. How do I get this same behavior in org-mime? When I try to email this same content using message-mode and org-mime-htmlize, I get this: Lisp error: (args-out-of-range 0 0) get-text-property(0 face) org-activate-plain-links The full debug: https://gist.github.com/c06c92fb223dacb694c1 Thanks!
Re: [O] Collaborative Team Project Management with Orgmode?
So what would it take to make Gnorb work with org-contacts and mu4e? I know Gnorb works with Gnus, but in my opinion, Gnorb's ability to automatically catch and identify incoming emails isn't as useful as its other features. In other words, if using Gnorb with mu4e required the user to manually flag an incoming email through a function like add-message-to-gnorb, Gnorb would still retain 99% of its usefulness. The most useful functionality, as John Kitchin noted, would be to capture information from a mu4e email reply, and process it and incorporate it back into an org-mode file. On Sun, Aug 23, 2015 at 12:39 PM, Eric Abrahamsen e...@ericabrahamsen.net wrote: John Kitchin jkitc...@andrew.cmu.edu writes: unless those services have some kind of API, and you have the desire to implement it in emacs, you might be out of luck. I am trying to figure out a way to do collaborative work via email, where I am the project coordinator. The idea is to use my email.el code to send headlines to people I need information or action from, and then to have them reply to the email. Then, I would have some easy way to get information out of the reply back to the heading (e.g. TODO state change, info etc...). Probably I would embed some org-id link in the email, and train the users not to delete it. This is only a half-baked idea so far. It would integrate org-contacts, mu4e, and org-mode in my setup. Sounds exactly like Gnorb! Except org-contacts instead of BBDB, and mu4e instead of Gnus :( depending in your role in the project, you might get something like that to work too. Tory S. Anderson writes: I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] Valid use cases for lists?
Agreed, plain-text lists are definitely preferable! On Fri, Aug 21, 2015 at 2:39 PM, Rasmus ras...@gmx.us wrote: Peter Salazar cycleofs...@gmail.com writes: Export isn't a good reason to use lists over headings, since you can always export headings as li lists if you want to, e.g. by setting number of heading levels in export options. This doesn't mean plain text lists aren't useful in org, it just means you don't need them to get lists in your export format. Semantically, lists are nicer. Compare this is your org file. * A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines - A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines Which one do you prefer? -- With monopolies the cake is a lie!
Re: [O] Help testing orgmode connection to interactive web environment
In Chrome: The show/hide button doesn't seem to do anything. Clicking CLICKING THIS LINK gives elisp links not supported. Edits don't seem to stick. On Sat, Aug 22, 2015 at 4:42 PM, Bill Burdick bill.burd...@gmail.com wrote: Sorry -- I should have mentioned that it only supports Chromium/Chrome at the moment! On Sat, Aug 22, 2015 at 11:04 PM David A. Gershman gersh...@dagertech.net wrote: I'm not sure what is supposed to happen, but I went to the link, allowed Javascript for the textcraft.org domain (via NoScript), and still just got a blue screen with the title Loading Leisure..nothing else happened. I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied). On 08/22/2015 07:49 AM, Bill Burdick wrote: Hi there! I'm working on an open-source web-based platform for interactive editable documents that uses orgmode format, called Leisure. I have minor mode that connects it to Emacs orgmode buffers so that edits are mirrored between them. I've been working on this for quite a while and I'm putting together an announcement document but I still wouldn't call it robust or complete, yet. My goal is to put together a video and make an announcement soon but I want to make sure I have covered a reasonable amount of orgmode and also have a reasonable amount of neato functionality, so I'm looking for brave souls who: - use orgmode regularly - want an editable web representation that updates as they edit in Emacs - won't mind some exciting adventures - don't mind dirtying their hands with software that's still a bit buggy Anyone think they might be interested in helping me test this thing and giving me their impressions? If you'd like to see what I have, so far, you can view the rough, unpolished version of my Emacs-to-Leisure document (subject to drastic change). At this point, this link is in flux so your mileage may vary: http://textcraft.org/newLeisure/?load=elisp/README.org -- Bill Burdick
Re: [O] Valid use cases for lists?
Export isn't a good reason to use lists over headings, since you can always export headings as li lists if you want to, e.g. by setting number of heading levels in export options. This doesn't mean plain text lists aren't useful in org, it just means you don't need them to get lists in your export format. On Wed, Aug 19, 2015 at 3:55 PM, Rasmus ras...@gmx.us wrote: Chris Patti cpa...@gmail.com writes: I'm guessing I'm missing something obvious here, and that's why I'm asking. Export. List are used everywhere. -- The right to be left alone is a human right
Re: [O] 8.3 hangs
Same here. On Sat, Aug 15, 2015 at 4:10 PM, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: Hi all, Eric Abrahamsen e...@ericabrahamsen.net writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Samuel Wales samolog...@gmail.com writes: i am still getting a lot of hangs in 8.3. most often, it is when i do a subtree sort. i keep trying element debug mode, but it has magical bug preventing abilities. org-show-entry is another place where the bug occurs. it is part of recreating a more folded state after undoing a sort. once it was like Debugger entered--Lisp error: (quit) org-element--cache-compare avl-tree--do-delete avl-tree--do-delete avl-tree--do-delete avl-tree--do-delete avl-tree--do-delete avl-tree-delete org-element--cache-process-request org-element--cache-sync(#buffer executive.org 31756) org-element-at-point() org-cycle-hide-drawers(children) org-show-entry() anybody else getting these hangs? I don't. However, as explained already, what triggers the hang is unimportant. Once cache is corrupted, many actions can trigger a freeze. What matters is the root of the corruption. I still get hangs from time to time, and `kill -12 $(pidof emacs)' always shows flyspell-mode in the mix. I never get hangs without flyspell-mode. I think this has been mentioned before, but I don't know if anyone went any farther with it. I still get hangs! Same here. Regards, Andreas
Re: [O] Stable releases
Here here. I agree that the new clarified COMMENT vs. :noexport: functionality makes more sense. And thanks to Nicolas and everyone else for their amazing work. On Wed, Aug 12, 2015 at 9:39 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Scott Randby sran...@gmail.com writes: When I started using 8.3, I discovered that the behavior of commented headlines had been changed---a change with which I disagree, a change I could not find in the release notes, and one which forces me to alter a huge number of files. It seems I missed the discussion about commented headlines on the mailing list. This is due to my limited knowledge of elisp and programming in general, a gap which makes it difficult for me to follow the more technical discussions on the mailing list. While it has been explained to me that the change is a feature, I consider it to be a serious bug since it is not backwards compatible. I think this change is good. COMMENT status of headlines was muddy before. The only information about them was the following excerpt (from Org 8.2.9's manual) Also entire subtrees starting with the word ‘COMMENT’ will never be exported. which can mean many things. You extrapolated this definition to one of its possible meanings, but your definition, AFAIU, was :noexport: tags's. Now there is a clearer definition of a COMMENT headline, and a clear distinction between COMMENT and :noexport:. Note that you don't have to alter any of your files. The following function can do it for you on the fly, before each export. You can also used it to effectively alter your files automatically for you. (defun my-comment-to-noexport (backend) (interactive) (goto-char (point-min)) (while (re-search-forward ^\\*+.*\\( COMMENT\\) nil t) (when (save-match-data (org-in-commented-heading-p t)) (replace-match nil nil nil 1) (org-set-tags-to (cons noexport (org-get-tags)) (add-hook 'org-export-before-processing-hook #'my-comment-to-noexport) I admit it could have been notified in ORG-NEWS. Another issue I had with 8.3 is the deletion of the org-latex-with-hyperref variable, something I could not find in the release notes (maybe I missed it). I understand that having Org insert \hypersetup{...} details is the most desirable situation, but I fail to see the harm in keeping org-latex-with-hyperref for those of us who needed it in the past. Yes, I figured out a fix, but this is a fix that forces me to stick with an outmoded way of doing things, and so I consider this deletion to be a bug. I'm not sure to understand. What is wrong with setting `org-latex-hyperref-template' to the empty string? This change was introduced in Feb 2014. It is a step forward since we move from an opt-in/opt-out to a full customizable template. I overlooked the fact that this replacement wasn't signaled in ORG-NEWS, tho. I will try to be more careful for next release. I do understand that all software has bugs, and that everyone working on Org is doing so voluntarily (thank you so much for your wonderful work). But I was very surprised to find that the evaluation of table formulas didn't work in 8.3.1. I could see something like this happening in the development version, but it is somewhat mysterious to me how such a bug could make its way into a stable release. I introduced these changes a short time (three days) before release. I made an announcement[fn:1] in order to warn there could be some hiccups in that area. It may be obnoxious for you, but no bug was reported before release. Another example is the recent columns view bug report[fn:2]. The faulty commit was pushed 2 months ago. Yet no one during development phase complained about column view being broken. Even a feature freeze period wouldn't have helped in that case. You can't really avoid small glitches after a release. I guess what I want to know, and maybe there is no answer, is how long should I wait before upgrading to a stable release? Org is by far the most important piece of software I use (I hate it when I can't use Org), and bugs (which I know can't be avoided) make it hard, even impossible, for me to get my real work done. If there is a way for me to minimize encountering bugs, I will appreciate a description of that way. I suggest to only do regularly minor updates (e.g. 8.3.1 - 8.3.2). For major updates, make sure you have some time to spare for bug reporting. I think we are usually pretty responsive when it comes to bugs. Regards, [fn:1] http://permalink.gmane.org/gmane.emacs.orgmode/99415 [fn:2] http://permalink.gmane.org/gmane.emacs.orgmode/99865 -- Nicolas Goaziou
Re: [O] couple questions about simple todo
This is great! It should be in the tutorial or something. I'm printing it out to keep. On Wed, Aug 12, 2015 at 12:45 AM, Eric Abrahamsen e...@ericabrahamsen.net wrote: scraw...@gmail.com writes: On Wed, Aug 12, 2015 at 10:27:29AM +0800, Eric Abrahamsen wrote: My take on what you've shown here is that you've got it a bit backwards. Apologies if you've tried many things and you settled on this on purpose, but it looks like you're trying to organize the Org file to look like the Agenda. It took me a while to get used to this, too. I think you'll find the Org tools work better if you forget about what the file itself looks like, and just look at the Agenda. So your Org file would look like: * All to Do [1/1] ** finished iron the cat 2015-08-11 Tue And the Agenda will show you everything under its proper date heading. I've got scheduling Org files I hardly ever look at directly: todos go in with capture, and are examined, resolved and archived via the Agenda. It can be freeing, once you let the file itself go! I think you may be on to something. I use org every day, but I've been using it for longer than I'd like to admit in underpowered and goofy ways. I get inspired by power-user setups, go for it, get swamped by complexity, throw up my hands. I'm trying something new here by going as dead-simple as I can. I can always add stuff as the need arises. I need to keep things reaaly easy while still doing things the org way. I'll try to use an active timestamp and just try to remain calm. Oh, and while all the property drawers and options lines and everything are really cool and useful, all the junk that can fill up a buffer can sure get ugly and distracting. So I can avoid looking at all that? Sure, in principle you don't need that stuff at all! It depends on what you're using Org for, but if you're really trying to start simple and build up, then ignore properties etc for now. Starting off simple probably means just dumping all your TODOs under one heading. Use timestamps for events (going to the doctor), SCHEDULED for tasks you plan to do at a certain time (iron the cat above should probably have been a schedule, not a timestamp), and DEADLINE for tasks that need to be done by a certain time. An event should have a timestamp, but not a SCHEDULED or DEADLINE. A task should have one or both of SCHEDULED and DEADLINE (having both would mean this has to be done by tomorrow morning, and I'm working on it this afternoon). Use two todo keywords: TODO and DONE. Then just stay in the Agenda. Use t to change todo status, and , C-c C-s and C-c C-d to manipulate the times. Nearly everything you want to do can be done using Agenda commands -- read that section of the manual a couple of times, and don't go to the file unless you have to. Stick with that until you really start to feel the need for more complexity. That might be more todo keywords, or maybe tag filtering. Or customizing how things are shown in the Agenda. My guess is you'll be able to go pretty far with just the above setup. Good luck, Eric
Re: [O] switch M-RET and C-RET in org mode with no sucess
Glad to be of help! On Wed, Aug 12, 2015 at 11:33 AM, Xebar Saram zelt...@gmail.com wrote: Thx Peter that did the trick, never know when to use RET or return :) z On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar cycleofs...@gmail.com wrote: Maybe try using return instead of RET? Something like this: (define-key org-mode-map (kbd C-return) 'org-insert-heading) On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram zelt...@gmail.com wrote: Hi guys im trying to switch between C-RET and M-RET (i use M-ret alot more but C-RET is much more accessible for me :)) but i dont seem to have any success in doing so this is what i have so far (with-eval-after-load org (define-key org-mode-map (kbd C-RET) 'org-insert-heading) (define-key org-mode-map (kbd M-RET) 'org-insert-heading-respect-content) ) any ideas what im doing wrong? after reloading emacs C-RET still defaults to org-insert-heading-respect-content best Z
Re: [O] Babel error on init with 8.3.1
Thanks for all the help! I figured out that the problem wasn't with the installation, but that Emacs was calling org (i.e. the built-in version) before org-plus-contrib was being loaded. At least I think that's what the problem was. What I know for sure is that placing the line (add-to-list 'load-path .emacs.d/elpa/org-plus-contrib-20150810/) at the very beginning of my init file made that error message go away, and now Emacs and org-plus-contrib appear to launch successfully. However, I'm still getting errors when I do org-refile. Doing org-refile triggers this error: Debugger entered--Lisp error: (wrong-type-argument stringp nil) get-file-buffer(nil) org-find-base-buffer-visiting(nil) org-get-agenda-file-buffer(nil) org-refile-get-targets(nil (#(ferry 0 5 (fontified t line-prefix nil wrap-prefix #( 0 2 (face org-indent)) face org-level-1 org-refile-get-location(Refile subtree \ferry\ to nil confirm nil) org-refile(nil) #subr call-interactively(org-refile nil nil) ad-Advice-call-interactively(#subr call-interactively org-refile) apply(ad-Advice-call-interactively #subr call-interactively org-refile) call-interactively(org-refile) org-self-insert-command(1) #subr call-interactively(org-self-insert-command nil nil) ad-Advice-call-interactively(#subr call-interactively org-self-insert-command nil nil) apply(ad-Advice-call-interactively #subr call-interactively (org-self-insert-command nil nil)) call-interactively(org-self-insert-command nil nil) command-execute(org-self-insert-command) I don't think this is an issue with installation, because it still happens after I do org-reload or C-u org-reload. Does anyone know how I can debug this? Thanks! On Tue, Aug 11, 2015 at 11:35 AM, Cook, Malcolm m...@stowers.org wrote: What about when you try exactly per: http://stackoverflow.com/questions/31855904/emacs-sees-the-directory-with-the-new-org-mode-version-but-loads-the-old-versio?answertab=active#tab-top does the “confirm success” step work? *From:* Peter Salazar [mailto:cycleofs...@gmail.com] *Sent:* Monday, August 10, 2015 7:14 PM *To:* Cook, Malcolm m...@stowers.org *Cc:* Ryan Schuetzler rsch...@gmail.com; emacs-orgmode@gnu.org *Subject:* Re: [O] Babel error on init with 8.3.1 Thanks. Tried that, but then when I launch regular Emacs with my init file, I still get this error: https://gist.github.com/512c4934d5351a47b2a1 Any other ideas? On Mon, Aug 10, 2015 at 7:18 PM, Cook, Malcolm m...@stowers.org wrote: Try that recipe again but without the org-reload. That is forcing org to load. You don’t WANT org loaded when you build it again inside the package manager. *From:* Peter Salazar [mailto:cycleofs...@gmail.com] *Sent:* Monday, August 10, 2015 4:30 PM *To:* Cook, Malcolm m...@stowers.org *Cc:* Ryan Schuetzler rsch...@gmail.com; emacs-orgmode@gnu.org *Subject:* Re: [O] Babel error on init with 8.3.1 Update: the install of org-plus-contrib was eventually successful, but it seems that my attempt to launch a GUI version Emacs -Q didn't work. Here's what I did: $ open -a /Applications/Emacs.app --args --no-init C-u M-x org-reload package-list-packages select and delete org-plus-contrib package-install org-plus-contrib But then when I quit and launch Emacs without the --no-init argument, I still get: Debugger entered--Lisp error: (void-variable org-planning-line-re) org-element--current-element(168330 element planning nil) ...which I think means org-plus-contrib was not successfully upgraded. Any thoughts? Thanks! On Mon, Aug 10, 2015 at 4:43 PM, Peter Salazar cycleofs...@gmail.com wrote: I'm trying to do this for my other install of Emacs (which uses Spacemacs) and now I'm running into problems. I'm using GUI Emacs on Mac OSX (from brew install --with-cocoa --srgb emacs). When I do open -a /Applications/Emacs.app --args --no-init --eval (progn (require 'package) (add-to-list 'package-archives '(\org\ . \ http://orgmode.org/elpa/\;)) (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib)) it never gets pastContacting host: orgmode.org:80. It just shows that message indefinitely... When I try eval-ing package.el first, I get package-desc-reqs accessing a non-package-desc and I can't install org-plus-contrib. Any suggestions? On Mon, Aug 10, 2015 at 1:08 PM, Cook, Malcolm m...@stowers.org wrote: Hi – here is my more detailed variation that just got upvoted at stackoverflow for resolving essentially the same problem: http://stackoverflow.com/questions/31855904/emacs-sees-the-directory-with-the-new-org-mode-version-but-loads-the-old-versio *From:* emacs-orgmode-bounces+mec=stowers@gnu.org [mailto: emacs-orgmode-bounces+mec=stowers@gnu.org] *On Behalf Of *Cook, Malcolm *Sent:* Monday, August 10, 2015 9:32 AM *To:* 'Ryan Schuetzler' rsch...@gmail.com; emacs-orgmode@gnu.org *Subject:* Re
Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?
Like Fabrice, I also still process my email using the Gmail web interface. The only reason I want email within Emacs is so I can compose replies in a proper editor with all my keybindings. I tried Chrome's Edit with Emacs, but it loses line breaks when it sends the output from Emacs back to Gmail. So I prefer to write replies within Emacs. Since I only need a small fraction of my emails to go through Emacs, I set up mbsync to pull only my starred messages: Channel gmail-starred Master :gmail-remote:[Gmail]/Starred Slave :gmail-local:starred Create Both Expunge Both SyncState * If this is of interest to you I can share my setup. On Tue, Aug 11, 2015 at 8:23 AM, Peter Davis p...@pfdstudio.com wrote: Fabrice Popineau fabrice.popin...@supelec.fr writes: On this thread, I will report quite a different user experience. I have been a long time user of emacs and Gnus (Emacs since 1987). I have been using (ding) Gnus under Windows NT in the late 90's and up to about 2010. But now, I process my mail using the GMail browser interface. The reasons are mostly due to : - emacs is slow, chrome displays email more precisely and more quickly - emacs is not multi-threaded, hence it may get stuck processing stuff. Using the browser to process mail allows me not to be disturbed when I'm writing documents or programming using Emacs. I'll keep and eye on the solutions that have been reported here though. Interesting. I use a variety of email clients, mainly browser-based ones (GMail, Fastmail), Thunderbird, and gnus. I keep gnus in the arsenal for three main reasons: 1) I can do everything quickly without having to move my hands from the keyboard. If there isn't already a shortcut for what I want, I can add one. 2) I need a decent editor for replies. I have not found a browser-based client that has this. 3) To bring this somewhat back on topic, I've recently discovered org capture, and I love the fact that I can capture a note with a link to a specific email message. That last feature alone is reason enough for me. FWIW, I'm on a Mac, and I generally use Gnu emacs for editing, programming, etc., and use Aquamacs for running gnus. This avoids any latency problems, etc. -pd
Re: [O] switch M-RET and C-RET in org mode with no sucess
Maybe try using return instead of RET? Something like this: (define-key org-mode-map (kbd C-return) 'org-insert-heading) On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram zelt...@gmail.com wrote: Hi guys im trying to switch between C-RET and M-RET (i use M-ret alot more but C-RET is much more accessible for me :)) but i dont seem to have any success in doing so this is what i have so far (with-eval-after-load org (define-key org-mode-map (kbd C-RET) 'org-insert-heading) (define-key org-mode-map (kbd M-RET) 'org-insert-heading-respect-content) ) any ideas what im doing wrong? after reloading emacs C-RET still defaults to org-insert-heading-respect-content best Z
Re: [O] Babel error on init with 8.3.1
I'm trying to do this for my other install of Emacs (which uses Spacemacs) and now I'm running into problems. I'm using GUI Emacs on Mac OSX (from brew install --with-cocoa --srgb emacs). When I do open -a /Applications/Emacs.app --args --no-init --eval (progn (require 'package) (add-to-list 'package-archives '(\org\ . \ http://orgmode.org/elpa/\;)) (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib)) it never gets pastContacting host: orgmode.org:80. It just shows that message indefinitely... When I try eval-ing package.el first, I get package-desc-reqs accessing a non-package-desc and I can't install org-plus-contrib. Any suggestions? On Mon, Aug 10, 2015 at 1:08 PM, Cook, Malcolm m...@stowers.org wrote: Hi – here is my more detailed variation that just got upvoted at stackoverflow for resolving essentially the same problem: http://stackoverflow.com/questions/31855904/emacs-sees-the-directory-with-the-new-org-mode-version-but-loads-the-old-versio *From:* emacs-orgmode-bounces+mec=stowers@gnu.org [mailto: emacs-orgmode-bounces+mec=stowers@gnu.org] *On Behalf Of *Cook, Malcolm *Sent:* Monday, August 10, 2015 9:32 AM *To:* 'Ryan Schuetzler' rsch...@gmail.com; emacs-orgmode@gnu.org *Subject:* Re: [O] Babel error on init with 8.3.1 When you “ updated org through the package manager in Emacs,” I believe you need to make sure org has not been loaded at all. My practice is to exec `emacs –Q`, immediately update with package manager, then quit and restart emacs without the –Q. Let us know…. *From:* emacs-orgmode-bounces+mec=stowers@gnu.org [ mailto:emacs-orgmode-bounces+mec=stowers@gnu.org emacs-orgmode-bounces+mec=stowers@gnu.org] *On Behalf Of *Ryan Schuetzler *Sent:* Friday, August 07, 2015 9:41 AM *To:* emacs-orgmode@gnu.org *Subject:* [O] Babel error on init with 8.3.1 On startup with the latest 8.3 release I now get an error: Invalid function: org-babel-header-args-safe-fn I updated org through the package manager in Emacs, and I'm using it on Windows 10. Below is my full org configuration, but I've found that when I comment out the following section of my init, I don't receive any errors: (add-hook 'org-babel-after-execute-hook 'bh/display-inline-images 'append) (setq org-babel-results-keyword results) (defun bh/display-inline-images () (condition-case nil (org-display-inline-images) (error nil))) (org-babel-do-load-languages (quote org-babel-load-languages) (quote ((emacs-lisp . t) (latex . t) (R . t) (dot . t) (python . t) (org . t (setq org-confirm-babel-evaluate nil) FULL Config: Emacs : GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-07-11 on KAEL Package: Org-mode version 8.3.1 (8.3.1-elpa @ c:/Users/Ryan/dotfiles/.emacs.d/elpa/org-20150805/) current state: == (setq org-export-backends '(ascii html icalendar latex md odt) org-agenda-tags-todo-honor-ignore-options t org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-babel-results-keyword results 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-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) (htmlize-output-type (quote cc))) org-agenda-custom-commands '((N Notes tags NOTE ((org-agenda-overriding-header Notes) (org-tags-match-list-sublevels t))) (h Habits tags-todo STYLE=\habit\ ((org-agenda-overriding-header Habits) (org-agenda-sorting-strategy (quote (todo-state-down effort-up category-keep ) ( Agenda ((agenda nil) (tags REFILE ((org-agenda-overriding-header Tasks to Refile) (org-tags-match-list-sublevels nil)) ) (tags-todo -CANCELLED/! ((org-agenda-overriding-header Stuck Projects) (org-agenda-skip-function (quote bh/skip-non-stuck-projects)) (org-agenda-sorting-strategy (quote (category-keep ) (tags-todo -HOLD-CANCELLED/! ((org-agenda-overriding-header Projects) (org-agenda-skip-function (quote bh/skip-non-projects)) (org-tags-match-list-sublevels (quote indented)) (org-agenda-sorting-strategy (quote (category-keep ) (tags-todo -CANCELLED/!NEXT ((org-agenda-overriding-header (concat Project Next Tasks (if bh/hide-scheduled-and-waiting-next-tasks (including WAITING and SCHEDULED tasks)) ) ) (org-agenda-skip-function (quote bh/skip-projects-and-habits-and-single-tasks)) (org-tags-match-list-sublevels t) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks)
Re: [O] Babel error on init with 8.3.1
Update: the install of org-plus-contrib was eventually successful, but it seems that my attempt to launch a GUI version Emacs -Q didn't work. Here's what I did: $ open -a /Applications/Emacs.app --args --no-init C-u M-x org-reload package-list-packages select and delete org-plus-contrib package-install org-plus-contrib But then when I quit and launch Emacs without the --no-init argument, I still get: Debugger entered--Lisp error: (void-variable org-planning-line-re) org-element--current-element(168330 element planning nil) ...which I think means org-plus-contrib was not successfully upgraded. Any thoughts? Thanks! On Mon, Aug 10, 2015 at 4:43 PM, Peter Salazar cycleofs...@gmail.com wrote: I'm trying to do this for my other install of Emacs (which uses Spacemacs) and now I'm running into problems. I'm using GUI Emacs on Mac OSX (from brew install --with-cocoa --srgb emacs). When I do open -a /Applications/Emacs.app --args --no-init --eval (progn (require 'package) (add-to-list 'package-archives '(\org\ . \ http://orgmode.org/elpa/\;)) (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib)) it never gets pastContacting host: orgmode.org:80. It just shows that message indefinitely... When I try eval-ing package.el first, I get package-desc-reqs accessing a non-package-desc and I can't install org-plus-contrib. Any suggestions? On Mon, Aug 10, 2015 at 1:08 PM, Cook, Malcolm m...@stowers.org wrote: Hi – here is my more detailed variation that just got upvoted at stackoverflow for resolving essentially the same problem: http://stackoverflow.com/questions/31855904/emacs-sees-the-directory-with-the-new-org-mode-version-but-loads-the-old-versio *From:* emacs-orgmode-bounces+mec=stowers@gnu.org [mailto: emacs-orgmode-bounces+mec=stowers@gnu.org] *On Behalf Of *Cook, Malcolm *Sent:* Monday, August 10, 2015 9:32 AM *To:* 'Ryan Schuetzler' rsch...@gmail.com; emacs-orgmode@gnu.org *Subject:* Re: [O] Babel error on init with 8.3.1 When you “ updated org through the package manager in Emacs,” I believe you need to make sure org has not been loaded at all. My practice is to exec `emacs –Q`, immediately update with package manager, then quit and restart emacs without the –Q. Let us know…. *From:* emacs-orgmode-bounces+mec=stowers@gnu.org [ mailto:emacs-orgmode-bounces+mec=stowers@gnu.org emacs-orgmode-bounces+mec=stowers@gnu.org] *On Behalf Of *Ryan Schuetzler *Sent:* Friday, August 07, 2015 9:41 AM *To:* emacs-orgmode@gnu.org *Subject:* [O] Babel error on init with 8.3.1 On startup with the latest 8.3 release I now get an error: Invalid function: org-babel-header-args-safe-fn I updated org through the package manager in Emacs, and I'm using it on Windows 10. Below is my full org configuration, but I've found that when I comment out the following section of my init, I don't receive any errors: (add-hook 'org-babel-after-execute-hook 'bh/display-inline-images 'append) (setq org-babel-results-keyword results) (defun bh/display-inline-images () (condition-case nil (org-display-inline-images) (error nil))) (org-babel-do-load-languages (quote org-babel-load-languages) (quote ((emacs-lisp . t) (latex . t) (R . t) (dot . t) (python . t) (org . t (setq org-confirm-babel-evaluate nil) FULL Config: Emacs : GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-07-11 on KAEL Package: Org-mode version 8.3.1 (8.3.1-elpa @ c:/Users/Ryan/dotfiles/.emacs.d/elpa/org-20150805/) current state: == (setq org-export-backends '(ascii html icalendar latex md odt) org-agenda-tags-todo-honor-ignore-options t org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-babel-results-keyword results 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-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) (htmlize-output-type (quote cc))) org-agenda-custom-commands '((N Notes tags NOTE ((org-agenda-overriding-header Notes) (org-tags-match-list-sublevels t))) (h Habits tags-todo STYLE=\habit\ ((org-agenda-overriding-header Habits) (org-agenda-sorting-strategy (quote (todo-state-down effort-up category-keep ) ( Agenda ((agenda nil) (tags REFILE ((org-agenda-overriding-header Tasks to Refile) (org-tags-match-list-sublevels nil)) ) (tags-todo -CANCELLED/! ((org-agenda-overriding-header Stuck Projects) (org-agenda-skip-function (quote bh/skip-non-stuck-projects)) (org-agenda-sorting-strategy (quote (category-keep ) (tags-todo -HOLD
Re: [O] Babel error on init with 8.3.1
Thanks. Tried that, but then when I launch regular Emacs with my init file, I still get this error: https://gist.github.com/512c4934d5351a47b2a1 Any other ideas? On Mon, Aug 10, 2015 at 7:18 PM, Cook, Malcolm m...@stowers.org wrote: Try that recipe again but without the org-reload. That is forcing org to load. You don’t WANT org loaded when you build it again inside the package manager. *From:* Peter Salazar [mailto:cycleofs...@gmail.com] *Sent:* Monday, August 10, 2015 4:30 PM *To:* Cook, Malcolm m...@stowers.org *Cc:* Ryan Schuetzler rsch...@gmail.com; emacs-orgmode@gnu.org *Subject:* Re: [O] Babel error on init with 8.3.1 Update: the install of org-plus-contrib was eventually successful, but it seems that my attempt to launch a GUI version Emacs -Q didn't work. Here's what I did: $ open -a /Applications/Emacs.app --args --no-init C-u M-x org-reload package-list-packages select and delete org-plus-contrib package-install org-plus-contrib But then when I quit and launch Emacs without the --no-init argument, I still get: Debugger entered--Lisp error: (void-variable org-planning-line-re) org-element--current-element(168330 element planning nil) ...which I think means org-plus-contrib was not successfully upgraded. Any thoughts? Thanks! On Mon, Aug 10, 2015 at 4:43 PM, Peter Salazar cycleofs...@gmail.com wrote: I'm trying to do this for my other install of Emacs (which uses Spacemacs) and now I'm running into problems. I'm using GUI Emacs on Mac OSX (from brew install --with-cocoa --srgb emacs). When I do open -a /Applications/Emacs.app --args --no-init --eval (progn (require 'package) (add-to-list 'package-archives '(\org\ . \ http://orgmode.org/elpa/\;)) (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib)) it never gets pastContacting host: orgmode.org:80. It just shows that message indefinitely... When I try eval-ing package.el first, I get package-desc-reqs accessing a non-package-desc and I can't install org-plus-contrib. Any suggestions? On Mon, Aug 10, 2015 at 1:08 PM, Cook, Malcolm m...@stowers.org wrote: Hi – here is my more detailed variation that just got upvoted at stackoverflow for resolving essentially the same problem: http://stackoverflow.com/questions/31855904/emacs-sees-the-directory-with-the-new-org-mode-version-but-loads-the-old-versio *From:* emacs-orgmode-bounces+mec=stowers@gnu.org [mailto: emacs-orgmode-bounces+mec=stowers@gnu.org] *On Behalf Of *Cook, Malcolm *Sent:* Monday, August 10, 2015 9:32 AM *To:* 'Ryan Schuetzler' rsch...@gmail.com; emacs-orgmode@gnu.org *Subject:* Re: [O] Babel error on init with 8.3.1 When you “ updated org through the package manager in Emacs,” I believe you need to make sure org has not been loaded at all. My practice is to exec `emacs –Q`, immediately update with package manager, then quit and restart emacs without the –Q. Let us know…. *From:* emacs-orgmode-bounces+mec=stowers@gnu.org [ mailto:emacs-orgmode-bounces+mec=stowers@gnu.org emacs-orgmode-bounces+mec=stowers@gnu.org] *On Behalf Of *Ryan Schuetzler *Sent:* Friday, August 07, 2015 9:41 AM *To:* emacs-orgmode@gnu.org *Subject:* [O] Babel error on init with 8.3.1 On startup with the latest 8.3 release I now get an error: Invalid function: org-babel-header-args-safe-fn I updated org through the package manager in Emacs, and I'm using it on Windows 10. Below is my full org configuration, but I've found that when I comment out the following section of my init, I don't receive any errors: (add-hook 'org-babel-after-execute-hook 'bh/display-inline-images 'append) (setq org-babel-results-keyword results) (defun bh/display-inline-images () (condition-case nil (org-display-inline-images) (error nil))) (org-babel-do-load-languages (quote org-babel-load-languages) (quote ((emacs-lisp . t) (latex . t) (R . t) (dot . t) (python . t) (org . t (setq org-confirm-babel-evaluate nil) FULL Config: Emacs : GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-07-11 on KAEL Package: Org-mode version 8.3.1 (8.3.1-elpa @ c:/Users/Ryan/dotfiles/.emacs.d/elpa/org-20150805/) current state: == (setq org-export-backends '(ascii html icalendar latex md odt) org-agenda-tags-todo-honor-ignore-options t org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-babel-results-keyword results 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-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) (htmlize
Re: [O] Babel error on init with 8.3.1
Did that, same error. When I run $ emacs -Q and then immediately do org-version, I get: Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/org/) Same thing if I run emacs -Q --eval '(setq user-emacs-directory ~/Downloads/tmp/emacsd/)' -l ~/Downloads/tmp/emacsd/scratch.el Is this part of the problem, or is that part OK? On Mon, Aug 10, 2015 at 9:36 PM, Kyle Meyer k...@kyleam.com wrote: Peter Salazar cycleofs...@gmail.com wrote: Thanks. Tried that, but then when I launch regular Emacs with my init file, I still get this error: https://gist.github.com/512c4934d5351a47b2a1 Any other ideas? Maybe the builtin Org is being loaded before your elpa version. (In the backtrace you posted from your startup, I see a find-file call with an Org file.) What does org-version say? On Mon, Aug 10, 2015 at 7:18 PM, Cook, Malcolm m...@stowers.org wrote: Try that recipe again but without the org-reload. That is forcing org to load. You don’t WANT org loaded when you build it again inside the package manager. Yes, I agree that it is better to install in a clean session without Org loaded. The idea behind the other recipe is that, if an Org install with compilation issues is already loaded, it loads the uncompiled files from the new Org version. This seems to help in my tests. 1. emacs -Q --eval '(setq user-emacs-directory /tmp/emacsd/)' -l /tmp/scratch.el , /tmp/scratch.el | (require 'package) | (add-to-list 'package-archives '(org . http://orgmode.org/elpa/;) t) | (package-initialize) ` 2. Load the builtin Org. 3. Go to list-packages and install 'org-20150810'. This results in many compilation issues (see end of message). 4. C-u M-x org-reload 5. Uninstall and then reinstall with package-list-packages. This gets rid of all compilation issues except org-gnus.el:305:1:Warning: the following functions might not be defined at runtime: gnus-summary-goto-subject, gnus-summary-select-article, gnus-activate-group, gnus-group-read-group, gnus-summary-goto-article, gnus-group-jump-to-group If I instead run #1-3, restart Emacs and then run #5, I get ob-C.el:118:34:Warning: `(c cpp)' is a malformed function ob-C.el:118:34:Warning: `(c cpp)' is a malformed function In org-babel-C-val-to-C-type: ob-C.el:310:45:Warning: `t' called as a function In org-babel-C-utility-header-to-C: ob-C.el:387:8:Warning: `(c cpp)' is a malformed function In org-babel-C-header-to-C: ob-C.el:413:33:Warning: `(c cpp)' is a malformed function ob-C.el:413:33:Warning: `(c cpp)' is a malformed function In end of data: ob-C.el:440:1:Warning: the following functions are not known to be defined: case, c, cpp, d, t in addition to the org-gnus-related message above. If I run the same test as above but don't trigger an Org load before installing 'org-20150810' (i.e., #1 and then #3), there are no compilation issues. , Compilation issues when installing 'org-20150810' with 8.2.10 loaded | In org-babel-C-execute: | ob-C.el:118:34:Warning: `(c cpp)' is a malformed function | ob-C.el:118:34:Warning: `(c cpp)' is a malformed function | | In org-babel-C-val-to-C-type: | ob-C.el:310:45:Warning: `t' called as a function | | In org-babel-C-utility-header-to-C: | ob-C.el:387:8:Warning: `(c cpp)' is a malformed function | | In org-babel-C-header-to-C: | ob-C.el:413:33:Warning: `(c cpp)' is a malformed function | ob-C.el:413:33:Warning: `(c cpp)' is a malformed function | | In end of data: | ob-C.el:440:1:Warning: the following functions are not known to be defined: case, c, cpp, | d, t | ob-R.el:72:11:Warning: reference to free variable `org-babel-safe-header-args' | | In end of data: | ob-R.el:470:1:Warning: the following functions are not known to be defined: | org-babel-header-args-safe-fn, org-babel-graphical-output-file | | In org-babel-get-src-block-info: | ob-core.el:266:30:Warning: org-babel-named-src-block-regexp-for-name called | with 0 arguments, but requires 1 | | In org-babel-set-current-result-hash: | ob-core.el:1268:8:Warning: function org-babel-set-current-result-hash used to | take 1 argument, now takes 2 | | In org-babel-exp-src-block: | ob-exp.el:133:59:Warning: reference to free variable | `org-babel-exp-reference-buffer' | | In org-babel-exp-process-buffer: | ob-exp.el:157:8:Warning: function org-babel-exp-process-buffer used to take 0 | arguments, now takes 1 | | In org-babel-exp-do-export: | ob-exp.el:328:50:Warning: org-babel-exp-code called with 2 arguments, but | accepts only 1 | ob-exp.el:331:39:Warning: org-babel-exp-code called with 2 arguments, but | accepts only 1 | | In org-babel-exp-code: | ob-exp.el:375:8:Warning: function org-babel-exp-code used to take 1 argument, | now takes 2 | ob-exp.el:383:21:Warning
Re: [O] wrong type argument listp... org-element-set-contents
Sure, I'll try that. I'm not quite sure how to figure out what argument org-export-dispatch takes. Something like this? (org-reload (org-export-dispatch 'html)) On Sat, Aug 8, 2015 at 3:29 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Peter Salazar cycleofs...@gmail.com writes: I'm getting a strange error whenever I try to export an org file, and I'm not sure how to track down the cause. It seemed to start when I upgraded to org 8.3.1, but it's hard to tell because this is the first time I've exported anything in a week or so. The error says: (wrong-type-argument listp #(Test document 0 13 (:parent (#1 org-element-set-contents(#(Test document 0 13 (:parent (#0 I was able to figure out that the error only occurs when I have an org file with document data, e.g. a line like: #+TITLE: Test document When I remove that line as well as #+AUTHOR etc, then it exports fine. With that line it, it won't export to HTML, LaTeX, or text. Any suggestions on how to figure out what part of my configuration is causing the problem? Here's the complete Backtrace: https://gist.github.com/fe45c4d42d52f0ce0e42 I cannot reproduce the problem. Could you provide a backtrace using an uncompiled Org? (i.e., using `org-reload' with an argument). Regards, -- Nicolas Goaziou
Re: [O] wrong type argument listp... org-element-set-contents
Yes! That worked. What does this mean? I tried going to package-list-packages and uninstalling and reinstalling org, but that didn't help. What's my next step? On Sat, Aug 8, 2015 at 9:27 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Peter Salazar cycleofs...@gmail.com writes: Sure, I'll try that. I'm not quite sure how to figure out what argument org-export-dispatch takes. Something like this? (org-reload (org-export-dispatch 'html)) I meant C-u M-x org-reload. Then regular export (e.g., C-c C-e l L). Regards,
Re: [O] wrong type argument listp... org-element-set-contents
Yes, that worked! Thank you so much! On Sat, Aug 8, 2015 at 11:59 AM, Kyle Meyer k...@kyleam.com wrote: Peter Salazar cycleofs...@gmail.com wrote: Yes! That worked. What does this mean? I tried going to package-list-packages and uninstalling and reinstalling org, but that didn't help. What's my next step? On Sat, Aug 8, 2015 at 9:27 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Peter Salazar cycleofs...@gmail.com writes: Sure, I'll try that. I'm not quite sure how to figure out what argument org-export-dispatch takes. Something like this? (org-reload (org-export-dispatch 'html)) I meant C-u M-x org-reload. Then regular export (e.g., C-c C-e l L). Nicolas might have a better suggestion of what to do next, but I think it means the state of your Emacs session was interfering with the correct compilation. Since 'C-u M-x org-reload' forced an uncompiled reload, you could try uninstalling/installing the package again. Or you try Ista's snippet[1] for installing in a fresh session: Since it doesn't work for you I suggest removing org-plus-contrib (or org), starting emacs with 'emacs -Q' and running something like (require 'package) (add-to-list 'package-archives '(org . http://orgmode.org/elpa/;) t) (package-initialize) (package-install 'org-plus-contrib) ;; or (package-install 'org) [1] http://permalink.gmane.org/gmane.emacs.orgmode/99708 -- Kyle
Re: [O] wrong type argument listp... org-element-set-contents
Yes. In my case, I installed org-plus-contrib. On Sat, Aug 8, 2015 at 1:09 PM, Kyle Meyer k...@kyleam.com wrote: Peter Salazar cycleofs...@gmail.com wrote: Yes, that worked! Thank you so much! Great. Just for future reference, these were the steps that worked? - C-u M-x org-reload - Uninstall and then reinstall from package-list-packages menu. -- Kyle
[O] wrong type argument listp... org-element-set-contents
I'm getting a strange error whenever I try to export an org file, and I'm not sure how to track down the cause. It seemed to start when I upgraded to org 8.3.1, but it's hard to tell because this is the first time I've exported anything in a week or so. The error says: (wrong-type-argument listp #(Test document 0 13 (:parent (#1 org-element-set-contents(#(Test document 0 13 (:parent (#0 I was able to figure out that the error only occurs when I have an org file with document data, e.g. a line like: #+TITLE: Test document When I remove that line as well as #+AUTHOR etc, then it exports fine. With that line it, it won't export to HTML, LaTeX, or text. Any suggestions on how to figure out what part of my configuration is causing the problem? Here's the complete Backtrace: https://gist.github.com/fe45c4d42d52f0ce0e42 Thanks!
Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?
I also just installed notmuch, in addition to mu4e, and so far I quite like notmuch. The interface so far is a little more intuitive (with mu4e, for instance, I kept getting tripped up hitting r to reply to a message and finding that it's bound to something else). I did get offlineimap working, but I decided to switch to mbsync, which is also working quite well. Let me know if you need pointers on setting it up. On the topic of Emacs email, does anyone know how to set message-citation-line-function so that replying doesn't quote/cite the original message at all? On Thu, Aug 6, 2015 at 7:51 PM, Ramon Diaz-Uriarte rdia...@gmail.com wrote: You have received several great answers already, but my 2 cents here. I've used mu4e with offlineimap[1] for about three years now, and I am reasonably happy with it. I particularly like the search capabilities (which I now often complement with helm-mu). Setting it up was not particularly hard (and how to configure for gmail was just a matter of following the documentation), and I do not recall experiencing any of the issues you mention (I had a few others, but they have disappeared over versions). Before that, I used wanderlust with offlineimap, and I also liked it a lot (I think I got this to work from emacs-fu, the blog of mu4e's author). Initial configuration wasn't really harder than mu4e (I think I quickly found how to configure gmail by googling around). In fact, if you are used to the gmail way of doing things, wanderlust might be more familiar; for example, placing the same email in several folders, or however you want to call them, or being shown the folder structure with options to collapse/expand easily. Now, I actually prefer mu4e's approach most of the time and don't care much about the folder structure (I search and find; no need to try to recall where I filed a message). Actually, to me, overall, wanderlust just seemed easier to use[2], and many of the defaults made a lot more sense to me (i.e., with wanderlust I had to google around less to find how to do what I wanted and I added less code to my .emacs). That said, I haven't made any serious change to my mu4e configuration in over two years, I think, so it is well amortized. I switched to mu4e because I was using wanderlust but searching for/within emails with mu so I figured I might just do the full switch; as well, development and activity around mu4e seemed, well, much more active. In terms of checking email with gmail from other devices (tablet, phone): I very rarely do so, but when I've needed to I've never had an issue while using wanderlust + offlineimap or mu4e + offlineimap. Things work the way I expect (changes in gmail if checked from my tablet show up in my computer and viceversa). Of course, checking email from multiple computers has no problems whatsoever. Finally, even if setting email with emacs was not a half hour thing, I am really glad I did so [3]. Best, R. [1] Offlineimap is slow, and has other issues. I searched for alternatives two or three years ago, and did not find anything convincing (e.g., see this resignated summary http://blog.ezyang.com/2012/08/offlineimap-sucks/ from a few years ago). After Titus' answer, I might give mbsync a try, since now encrypted passwords are supported, etc. [2] This is, of course, just my experience (or my incompetence). For example, with mu4e I had to search around to find how to get a reasonable way to add the date of the original message to the reply or forward but it worked just fine for me with wanderlust. I still struggle with address completion and blacklist in mu4e whereas address completion in wanderlust with BBDB always did exactly what I wanted. Or when I started using mu4e I missed a lot from wanderlust the C-c C-j that allows you to choose account to send from. In all fairness this is also available for mu4e (http://www.djcbsoftware.nl/code/mu/mu4e/Multiple-accounts.html) but requires you to add some extra code. [3] Why? I find the web interface of gmail slow to navigate, cumbersome, and bloated. I also used kmail which was, well, OK, but it was not the editor/environment I use for everything else (for a while, I used kmail but used emacsclient for email writing) and searching was not what it is with mu4e or helm-mu. On Thu, 06-08-2015, at 14:43, Xebar Saram zelt...@gmail.com wrote: Hi list I know this is a bit off topic but im desperately looking for some advice regarding email through emacs. i have tried a bunch of them over the last month (gnus, mu4e, wanderlust, rmail,mew and maybe other i forget). I had various levels of success with each one to setup (it was never easy) but i ended up sorta settling on mu4e. the problem is that mu4e never managed to work properly for me (headers were not updating when new mail arrived, reply was broken etc) so i had to give up What i want is basically pretty simple. an easy to setup
Re: [O] Change in ox export for #+DATE keywords
As I mentioned, I'm getting that same error, not just with #+DATE but also with #+TITLE, #+AUTHOR, etc. Any one of these is sufficient to break export for me. On Fri, Aug 7, 2015 at 3:59 PM, Alex Bennée alex.ben...@linaro.org wrote: Hi, I've been using org-mode as a source for my presentations but exporting broke today following an ELPA update. It seems the line: #+DATE: KVM Forum 2015 Is no longer acceptable. I think this changed as of: ae9db17482a183e5613428c3abf1c691f86b4ac0 I'm not quite sure what the new parse is expecting. If I change it to a datestamp I see breakage on other lines like the title: apply: Wrong type argument: listp, #(My presentation title 0 26 (:parent (#0))) So what form am I meant to be using for these options and why the change? -- Alex Bennée
[O] how to pass variables (such as to-address) to org-mime?
To Eric and the org-list, Question about org-mime. When sending email, I'd like to instruct org-mime to pull certain variables from my org-mode subtrees. For example, how can I instruct org-mime to pull the to email address from the subtree? So that, for example, my org-mode subtree could look something like this and org-mime would pull the email address automatically? --- * test of org-mime #+EMAIL-TO: t...@gnu.org #+EMAIL-CC: emacs-orgmode@gnu.org Hey man, This is a test of org-mime. Best, Peter - It would be great to do the same thing for cc, bcc, custom signatures, etc. Has anyone hacked together anything like this?
[O] how to org-refile-region?
Is there a way to automatically refile highlighted text under an org-heading? i.e. to cut the highlighted text and automatically paste it under the heading of my choice? You could call it org-refile-region. Similar to org-refile, but to refile not the entire subtree, but only the highlighted region under any heading in the current document. Ideally this would offer me only headings in the current document. Here's a start: http://stackoverflow.com/questions/25256304/in-emacs-org-mode-how-to-refile-highlighted-text-under-an-org-heading Thanks!
Re: [O] how to org-refile-region?
Again, ideally this functionality would be independent of the org-agenda files used by org-refile, so as to avoid displaying irrelevant headings as possible targets. Currently this is doable by doing: 1. select text 2. cut 3. other-window 4. navigate to desired target heading 5. paste text 6. other window The proposed new function would make this much more efficient: 1. select text 2. org-refile-region 3. choose target The most useful form of this would allow you to choose a target from among any currently open documents. My use case involves selecting text from one buffer and refiling it from among org-headings in another buffer, i.e. moving text from a source document displayed in one window and refiling to targets within the hierarchy of a target document displayed in another window, like so: http://i.imgur.com/E729fCQ.png Does anyone have ideas for how to implement? On Wed, Aug 13, 2014 at 5:28 PM, Peter Salazar cycleofs...@gmail.com wrote: Is there a way to automatically refile highlighted text under an org-heading? i.e. to cut the highlighted text and automatically paste it under the heading of my choice? You could call it org-refile-region. Similar to org-refile, but to refile not the entire subtree, but only the highlighted region under any heading in the current document. Ideally this would offer me only headings in the current document. Here's a start: http://stackoverflow.com/questions/25256304/in-emacs-org-mode-how-to-refile-highlighted-text-under-an-org-heading Thanks!
[O] org todos on paper?
I keep meeting people who say they started getting more things done more efficiently once they started printing out their tasks lists, so they can have the experience of seeing the list on paper and, more importantly, the satisfaction of crossing an item off on the page. Does anyone have a workflow they're happy with that involves printing out their org-mode todo lists?
Re: [O] [ANN] Firefox extension for org-protocol and org-capture
I'm having the same issue as Nick: the command line invocation works, but the button in Firefox has no effect. I changed the emacs binary path to /usr/bin/aquamacs On Fri, Feb 21, 2014 at 12:48 PM, Nick Dokos ndo...@gmail.com wrote: Olivier Schwander olivier.schwan...@chadok.info writes: Le 21 Feb 2014 16:43, Rasmus a écrit: So what do I do after installing it? I get a new button but nothing happens when I click it. Do you have emacs server and org-protocol enabled ? Something like this in your .emacs: (server-start) (require 'org-protocol) If not, you should add these two lines and maybe have a look on worg: http://orgmode.org/worg/org-contrib/org-protocol.html You can also test manually in a shell with: emacsclient org-protocol://capture://example.com/Example/ (It is exactly what does the add-on) My emacsclient is is /usr/local/bin - I changed that in the addon's preferences panel.The command line invocation works fine for me - the button in FF (26.0 fwiw) does not: nothing happens. I uninstalled and reinstalled the addon a couple of times, restarted FF: no go. Is there a way to debug the FF end of the equation? Nick
Re: [O] copy title text string from #+TITLE field?
Thanks. I do need it only on export, but even so, it doesn't seem to be working: http://i.imgur.com/1tMGaHz.png Again, it's inside an HTML code block. Not sure if there's a way to make it work inside that block? #+BEGIN_HTML ... div class=page-header h1{{{title}}}/h1 /div ... #+END_HTML {{{title}}} should do it. See (info (org) Macro replacement) Actually, I'm not sure it will do: macro replacement takes place during export, so it may or may not be enough, depending on what you really want to do.
Re: [O] external setup file for org-html-preamble?
Yes! That solved it. Thank you! On Mon, Feb 10, 2014 at 4:10 AM, Bastien b...@gnu.org wrote: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: However, when I try to export to HTML, I get Invalid format string You need to replace % with %% in the preamble string. HTH, -- Bastien
[O] external setup file for org-html-preamble?
Hello, I'm exporting my org-mode files to HTML. I've been using: # Local Variables: # org-html-preamble: # End: to insert a custom HTML preamble and postamble for my org files for HTML export. Just now for simplicity, I'm trying to move the preamble and postamble to an external setup file. In my org-mode file, I now have #+SETUPFILE: setup.org and my setup.org file looks like this: http://ix.io/apQ However, when I try to export to HTML, I get Invalid format string Can anyone spot the problem in my setup file? http://ix.io/apQ Thanks!
Re: [O] external setup file for org-html-preamble?
Yes! That was exactly it! Thank you. On Sun, Feb 9, 2014 at 5:33 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Peter Salazar cycleofs...@gmail.com writes: Just now for simplicity, I'm trying to move the preamble and postamble to an external setup file. In my org-mode file, I now have #+SETUPFILE: setup.org and my setup.org file looks like this: http://ix.io/apQ However, when I try to export to HTML, I get Invalid format string Can anyone spot the problem in my setup file? http://ix.io/apQ You need to escape % in the first BIND value. See `org-html-preamble-format' docstring. Regards, -- Nicolas Goaziou
[O] copy title text string from #+TITLE field?
Next question: is there a way to take the text from the #+TITLE: field of an org file and insert it, as text, somewhere else within the file (i.e. inside an HTML block)? I can't do this manually because my various org files all use an #+INCLUDE: reference to the same org file, which contains some HTML blocks. For each different org file, I'd like to copy the title text string from #+TITLE field and insert it inside an H1/H1 field in an HTML block in the included file. Is this possible? Thanks!
Re: [O] using lightbox plugins in HTML export
Good idea, that would be great! On Thu, Jan 23, 2014 at 2:33 AM, Bastien b...@gnu.org wrote: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: Thanks for the response. That ATTR_HTML comes in very handy. I made one adjustment to your code, and it totally worked! Amazing! Here it is in full: #+ATTR_LaTeX: :width 300px #+ATTR_HTML: :rel lightbox :href image.png [[file:image.png]] Glad it works. Actually, it would be nice to have org-html-images-default-attributes the same way we have org-html-table-default-attributes (And for other backends too, why not.) -- Bastien
Re: [O] best way of customizing generated css to match bootstrap css
Great, keep me posted! I'm interested in other ways to incorporate javascript/jQuery plugins into org HTML export (dynamic navigation, lightbox and image handling, etc). So far I've incorporated Tocify, lightbox, and inline modal footnotes. Let me know what you come up with! On Fri, Jan 24, 2014 at 2:46 PM, Mehul Sanghvi mehul.sang...@gmail.comwrote: Thanks. That helps a lot and gives me some other ideas as well. cheers, mehul On Fri, Jan 24, 2014 at 12:00 AM, Peter Salazar cycleofs...@gmail.comwrote: Here you go. https://github.com/petersalazar/org-tocify Again, it's not very bootstrapish aside from Toficy, which uses Bootstrap colors and fonts. That said, I have found using Tocify's auto-generated dynamic table of contents quite helpful. Tocify is by Greg Franco and is here: http://gregfranko.com/jquery.tocify.js/ On Wed, Jan 22, 2014 at 4:17 PM, Mehul Sanghvi mehul.sang...@gmail.comwrote: Peter, Do you have an example of an org file in which you use it ? cheers, mehul On Wed, Jan 22, 2014 at 3:41 PM, Peter Salazar cycleofs...@gmail.comwrote: I've had success exporting org to HTML and using it with http://gregfranko.com/jquery.tocify.js/ - which automatically generates a dynamically updating table of contents based on HTML headings and uses a Bootstrap theme and Bootstrap CSS. On Wed, Jan 22, 2014 at 3:35 PM, Mehul Sanghvi mehul.sang...@gmail.com wrote: On Sat, Apr 6, 2013 at 5:37 AM, Marc Seibert o...@foogu.de wrote: Hi, After using jekyll and o-blog a while I just fiddled around more in depth with org-publishing. I must say it is starting to convince me to stop using to wrapp my org generated html files with a wrapper like jekyll etc. Org-publishing seems to have all I need to do it directly. But I need an advice how to get better integration with twitter bootstrap css which I realy like. I know there is HTML_CONTAINER_CLASS etc. but I don't want to define the class and the id once for every heading, table etc. What would be the best option for setting this globally? Should I edit org-htmlize.el or something like this or is there a way of defining the different class names with an easier way? Regards Marc Seibert I find myself in the same situation, having gone through both o-blog and jekyll previously. Were you able to find a solution ? What was it ? Is there anyone using anything else than the CSS that ogr-mode uses ? -- Mehul N. Sanghvi email: mehul.sang...@gmail.com -- Mehul N. Sanghvi email: mehul.sang...@gmail.com -- Mehul N. Sanghvi email: mehul.sang...@gmail.com
Re: [O] best way of customizing generated css to match bootstrap css
Here you go. https://github.com/petersalazar/org-tocify Again, it's not very bootstrapish aside from Toficy, which uses Bootstrap colors and fonts. That said, I have found using Tocify's auto-generated dynamic table of contents quite helpful. Tocify is by Greg Franco and is here: http://gregfranko.com/jquery.tocify.js/ On Wed, Jan 22, 2014 at 4:17 PM, Mehul Sanghvi mehul.sang...@gmail.comwrote: Peter, Do you have an example of an org file in which you use it ? cheers, mehul On Wed, Jan 22, 2014 at 3:41 PM, Peter Salazar cycleofs...@gmail.comwrote: I've had success exporting org to HTML and using it with http://gregfranko.com/jquery.tocify.js/ - which automatically generates a dynamically updating table of contents based on HTML headings and uses a Bootstrap theme and Bootstrap CSS. On Wed, Jan 22, 2014 at 3:35 PM, Mehul Sanghvi mehul.sang...@gmail.comwrote: On Sat, Apr 6, 2013 at 5:37 AM, Marc Seibert o...@foogu.de wrote: Hi, After using jekyll and o-blog a while I just fiddled around more in depth with org-publishing. I must say it is starting to convince me to stop using to wrapp my org generated html files with a wrapper like jekyll etc. Org-publishing seems to have all I need to do it directly. But I need an advice how to get better integration with twitter bootstrap css which I realy like. I know there is HTML_CONTAINER_CLASS etc. but I don't want to define the class and the id once for every heading, table etc. What would be the best option for setting this globally? Should I edit org-htmlize.el or something like this or is there a way of defining the different class names with an easier way? Regards Marc Seibert I find myself in the same situation, having gone through both o-blog and jekyll previously. Were you able to find a solution ? What was it ? Is there anyone using anything else than the CSS that ogr-mode uses ? -- Mehul N. Sanghvi email: mehul.sang...@gmail.com -- Mehul N. Sanghvi email: mehul.sang...@gmail.com
Re: [O] best way of customizing generated css to match bootstrap css
I've had success exporting org to HTML and using it with http://gregfranko.com/jquery.tocify.js/ - which automatically generates a dynamically updating table of contents based on HTML headings and uses a Bootstrap theme and Bootstrap CSS. On Wed, Jan 22, 2014 at 3:35 PM, Mehul Sanghvi mehul.sang...@gmail.comwrote: On Sat, Apr 6, 2013 at 5:37 AM, Marc Seibert o...@foogu.de wrote: Hi, After using jekyll and o-blog a while I just fiddled around more in depth with org-publishing. I must say it is starting to convince me to stop using to wrapp my org generated html files with a wrapper like jekyll etc. Org-publishing seems to have all I need to do it directly. But I need an advice how to get better integration with twitter bootstrap css which I realy like. I know there is HTML_CONTAINER_CLASS etc. but I don't want to define the class and the id once for every heading, table etc. What would be the best option for setting this globally? Should I edit org-htmlize.el or something like this or is there a way of defining the different class names with an easier way? Regards Marc Seibert I find myself in the same situation, having gone through both o-blog and jekyll previously. Were you able to find a solution ? What was it ? Is there anyone using anything else than the CSS that ogr-mode uses ? -- Mehul N. Sanghvi email: mehul.sang...@gmail.com
Re: [O] using lightbox plugins in HTML export
Hey Bastien, Thanks for the response. That ATTR_HTML comes in very handy. I made one adjustment to your code, and it totally worked! Amazing! Here it is in full: #+ATTR_LaTeX: :width 300px #+ATTR_HTML: :rel lightbox :href image.png [[file:image.png]] Thanks! On Mon, Jan 20, 2014 at 6:19 AM, Bastien b...@gnu.org wrote: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: Alternatively, how do I specify the LaTeX image on one line, and the HTML image as an a href rel=lightbox on a different line, such that the link doesn't appear in the LaTeX export and the image doesn't get duplicated in the HTML export? #+ATTR_LaTeX: :width 300px #+ATTR_HTML: :rel lightbox [[file:image.png]] HTH, -- Bastien
[O] in LaTeX, how to start page numbering after TOC?
In export to LaTeX/PDF, has anyone had success in suppressing page numbering on the cover page and the Table of Contents, such that the first text section appears as Page 1? I tried adding this at the beginning of my document, but it had no effect: #+LATEX_CMD: \cleardoublepage #+LATEX_CMD: \pagestyle{headings} #+LATEX_CMD: \setcounter{page}{1} #+LATEX_CMD: \pagenumbering{arabic}
Re: [O] using lightbox plugins in HTML export
Alternatively, how do I specify the LaTeX image on one line, and the HTML image as an a href rel=lightbox on a different line, such that the link doesn't appear in the LaTeX export and the image doesn't get duplicated in the HTML export? Thanks! On Wed, Jan 15, 2014 at 1:32 AM, Peter Salazar cycleofs...@gmail.comwrote: Does anyone know of a lightbox-style plug-in that will work with org-mode HTML export that will automatically, on click, expand images to fill the screen, i.e. one doesn't require me to manually add an href and rel=lightbox manually to each image? (Most lightbox-style plugins require you to not just include IMG tags, but to wrap them in something like a href=img/image-1.jpg rel=lightbox/a) Alternatively, is there a way to direct org to automatically add href and rel=lightbox to all images on HTML export in a way that won't break LaTeX export? Thanks!
Re: [O] wide images in LaTex and HTML export
Thanks! That works great, though I'm finding that setting the width manually gets it wider than \pagewidth: #+begin_center #+ATTR_LATEX: :height 10in :options angle=90 [[./profit-and-loss-monthly.jpg]] #+end_center On Mon, Jan 13, 2014 at 10:03 AM, John Hendy jw.he...@gmail.com wrote: On Mon, Jan 13, 2014 at 2:27 AM, Peter Salazar cycleofs...@gmail.com wrote: Has anyone had success recently working with wide images? I have source documents and I'm trying to export to both LaTeX/PDF and HTML. Working from the manual, my image links look like this (the wide dimension becomes height when rotated): #+ATTR_LATEX: :height 9in :options angle=90 :float t [[file:./image-files/cash-flow-(monthly).jpg]] On the LaTeX/PDFs, the image is still coming out pretty small. Is there an easy way to get it to suppress the page header and ignore the top margin so I can get more room to work with? Here's some ideas on the LaTeX side; I don't use HTML nearly as much... Do you have anything setting margins in your header? I can't stand the default LaTeX margins, so every one of my article-style documents has the following header: #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry} You can also ditch the title/date with this line: #+BIND: org-latex-title-command Note that to use this, you need the following in your config (or at least to customize it to prompt the user if using #+bind is okay): (setq org-export-allow-bind-keywords t) Lastly, you can remove the footer (centered page number) with setting an empty pagestyle: \pagestyle{empty} Putting it all together, see what you think of this result (I get a pretty big image, with just the heading and the image). #+begin_src example #+options: toc:nil #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry} #+BIND: org-latex-title-command \pagestyle{empty} * test #+begin_center #+attr_latex: :width \textwidth [[./tux.png]] #+end_center #+end_src I downloaded this image as tux.png (same directory as the test file): http://post.putorius.net/images/originaltux.png Hope that helps a bit, John For HTML export, the image comes out wider than the screen on my MacBook 13-inch. Has anyone had success using a lightbox-style plugin with org HTML export? Ideally I wouldn't have to use image links with a rel tag, which would break the LaTeX images. For HTML export, does anyone have a way to automatically turn all images into lightbox-style image links that would expand to full screen on click? (Or maybe even a jQuery way to expand images on click without even using href links? But again, something that would do this to all images in the document, ideally without the need to hand-tag each image.) Thanks!
[O] using lightbox plugins in HTML export
Does anyone know of a lightbox-style plug-in that will work with org-mode HTML export that will automatically, on click, expand images to fill the screen, i.e. one doesn't require me to manually add an href and rel=lightbox manually to each image? (Most lightbox-style plugins require you to not just include IMG tags, but to wrap them in something like a href=img/image-1.jpg rel=lightbox/a) Alternatively, is there a way to direct org to automatically add href and rel=lightbox to all images on HTML export in a way that won't break LaTeX export? Thanks!
[O] wide images in LaTex and HTML export
Has anyone had success recently working with wide images? I have source documents and I'm trying to export to both LaTeX/PDF and HTML. Working from the manual, my image links look like this (the wide dimension becomes height when rotated): #+ATTR_LATEX: :height 9in :options angle=90 :float t [[file:./image-files/cash-flow-(monthly).jpg]] On the LaTeX/PDFs, the image is still coming out pretty small. Is there an easy way to get it to suppress the page header and ignore the top margin so I can get more room to work with? For HTML export, the image comes out wider than the screen on my MacBook 13-inch. Has anyone had success using a lightbox-style plugin with org HTML export? Ideally I wouldn't have to use image links with a rel tag, which would break the LaTeX images. For HTML export, does anyone have a way to automatically turn all images into lightbox-style image links that would expand to full screen on click? (Or maybe even a jQuery way to expand images on click without even using href links? But again, something that would do this to all images in the document, ideally without the need to hand-tag each image.) Thanks!
[O] sending HTML e-mail
What's the state of the art in sending lightly formatting e-mail in HTML format? Is org-mime still the best way? This doesn't seem to be working for me. I'm doing this: (setq load-path (cons ~/org/contrib load-path)) (setq load-path (cons ~/org/contrib/lisp load-path)) and this: (require 'org-mime) but when I call org-mime-subtree, I get this: Symbol's function is void: org-export-string (For reference: OSX 10.9.1 / Aquamacs 2.5 / Emacs 23.4.1 / org-mode 8.2.4
Re: [O] sending HTML e-mail
Yes, that works! But now I'm getting a different error: Debugger entered--Lisp error: (file-error Opening input file No such file or directory /Users/peter/Documents/ http://img2u.info/ckgni/i/g9c7948fd.jpg;) i.e. it seems to be prepending my default directory path to external image URLs. On Sat, Jan 11, 2014 at 10:16 PM, Eric Schulte schulte.e...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: What's the state of the art in sending lightly formatting e-mail in HTML format? Is org-mime still the best way? This doesn't seem to be working for me. I'm doing this: (setq load-path (cons ~/org/contrib load-path)) (setq load-path (cons ~/org/contrib/lisp load-path)) and this: (require 'org-mime) but when I call org-mime-subtree, I get this: Symbol's function is void: org-export-string (For reference: OSX 10.9.1 / Aquamacs 2.5 / Emacs 23.4.1 / org-mode 8.2.4 You must have an old version of Org-mime loaded. The current version in the Org-mode git repo (available at [1]) does not call the org-export-string function. Best, Footnotes: [1] http://orgmode.org/w/?p=org-mode.git;a=blob;f=contrib/lisp/org-mime.el;h=b0007ac8af3ba17cd5cce84ff34ea59f5c32526f;hb=HEAD -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
Re: [O] heading numbering in LaTeX export?
That appears to work perfectly. Thank you so much! If I have 5 levels of heading, should I do it like this? #+LATEX_HEADER: \setcounter{secnumdepth}{0} #+LATEX_HEADER: \setcounter{tocdepth}{5} On Sun, Sep 8, 2013 at 1:54 AM, Nick Dokos ndo...@gmail.com wrote: Peter Salazar cycleofs...@gmail.com writes: Thank you! That solution is very promising indeed. I see why it's quick and dirty though - it appears to be generation section numbers, but just making the numbers invisible, so that the headings are not flush with the left margin: http://i.imgur.com/G6drpmf.png Is there a solution to that, or is that just the way it is? Here is a cleaner way: #+LATEX_HEADER: \setcounter{secnumdepth}{0} #+LATEX_HEADER: \setcounter{tocdepth}{3} -- Nick
Re: [O] heading numbering in LaTeX export?
Ah, I see. Cool, then I will stick to {tocdepth}{3}. Thanks again! On Sun, Sep 8, 2013 at 7:47 AM, Nick Dokos ndo...@gmail.com wrote: Peter Salazar cycleofs...@gmail.com writes: That appears to work perfectly. Thank you so much! If I have 5 levels of heading, should I do it like this? #+LATEX_HEADER: \setcounter{secnumdepth}{0} #+LATEX_HEADER: \setcounter{tocdepth}{5} Yes, although IMO the TOC will be too busy with that many levels. But to each his/her own... -- Nick
Re: [O] heading numbering in LaTeX export?
Thanks for the responses! John: Oh yes, of course. Sorry about that. inimal org file and config files are here. I had to make the org file long enough to make several pages, so the header displays. Here you go: https://github.com/petersalazar/org-troubleshooting Rasmus: #+OPTIONS: num:0 is what I started from. When I do that, the resulting PDF has no Table of Contents, and the header displays the section title as Contents. The same thing happens with #+LATEX: \setcounter{secnumdepth}{0}. Richard: Your idea about #+LATEX_HEADER: \renewcommand{...} sounds very promising! I'd love to know what the exact command is! I don't need section numbers ever, so my desire is to turn off numbering forever, but still have an intact Table of Contents and header. Thanks guys! On Fri, Sep 6, 2013 at 4:30 PM, John Hendy jw.he...@gmail.com wrote: On Fri, Sep 6, 2013 at 2:43 PM, Peter Salazar cycleofs...@gmail.com wrote: I have a LaTeX template I created for use with org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me except for one thing: it only works when I have heading numbering turned on. When I turn numbering off in org-mode, by adding this line to my org-mode file... #+OPTIONS: num:nil ...LaTeX no longer recognizes my headings as headings. This creates two problems: 1. The Table of Contents is blank. 2. The \leftmark in the heading shows up as Contents instead of showing up as the title of the section. How do I modify these org-mode preferences such that my I can turn heading numbering off in org-mode while still correctly generating a Table of Contents and adding my section title to the header? I'm sorry, but I don't know enough about LaTeX to make a minimum representation of this. I have no idea where the problem is. At the very least, can you provide a minimal org file? This is over my head with xelatex and all that customization, but I think people are going to at least need: - minimal emacs config (reproducible version that produces the problem, not just the latex stuff) - a .org file that produces the issue you're experiencing (even with just a couple headlines and the words blah blah blah or what have you as the text John Here are the org-mode preferences in question: http://pastebin.com/62Nugpsg Thanks!
Re: [O] heading numbering in LaTeX export?
Thank you! That solution is very promising indeed. I see why it's quick and dirty though - it appears to be generation section numbers, but just making the numbers invisible, so that the headings are not flush with the left margin: http://i.imgur.com/G6drpmf.png Is there a solution to that, or is that just the way it is? Thanks again. On Sun, Sep 8, 2013 at 12:05 AM, Nick Dokos ndo...@gmail.com wrote: Peter Salazar cycleofs...@gmail.com writes: Thanks for the responses! John: Oh yes, of course. Sorry about that. inimal org file and config files are here. I had to make the org file long enough to make several pages, so the header displays. Here you go: https://github.com/petersalazar/org-troubleshooting Rasmus: #+OPTIONS: num:0 is what I started from. When I do that, the resulting PDF has no Table of Contents, and the header displays the section title as Contents. The same thing happens with #+LATEX: \setcounter{secnumdepth}{0}. Richard: Your idea about #+LATEX_HEADER: \renewcommand{...} sounds very promising! I'd love to know what the exact command is! The quick-and-dirty solution is --8---cut here---start-8--- #+LATEX_HEADER: \renewcommand{\thesection}{} #+LATEX_HEADER: \renewcommand{\thesubsection}{} #+LATEX_HEADER: \renewcommand{\thesubsubsection}{} --8---cut here---end---8--- That's enough for the default secnumdepth of 3, but if you make that bigger, you'll have to make it even dirtier: --8---cut here---start-8--- #+LATEX_HEADER: \renewcommand{\theparagraph}{} #+LATEX_HEADER: \renewcommand{\thesubparagraph}{} --8---cut here---end---8--- There is probably a cleaner way, but that would require cleverness and I don't have any right now. BTW, this turns off section numbers in the TOC as well, not just in the body of the document. -- Nick
[O] heading numbering in LaTeX export?
I have a LaTeX template I created for use with org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me except for one thing: it only works when I have heading numbering turned on. When I turn numbering off in org-mode, by adding this line to my org-mode file... #+OPTIONS: num:nil ...LaTeX no longer recognizes my headings as headings. This creates two problems: 1. The Table of Contents is blank. 2. The \leftmark in the heading shows up as Contents instead of showing up as the title of the section. How do I modify these org-mode preferences such that my I can turn heading numbering off in org-mode while still correctly generating a Table of Contents and adding my section title to the header? I'm sorry, but I don't know enough about LaTeX to make a minimum representation of this. I have no idea where the problem is. Here are the org-mode preferences in question: http://pastebin.com/62Nugpsg Thanks!
[O] how to change appearance of org-mode files on Github?
Github supports org-mode files, and has a renderer that parses .org files and converts them to HTML form. Headings appear in larger font, org tables are converted to graphical HTML tables, etc. Is there a way to control the way .org files appear on Github? I tried adding some export options in the usual manner #+OPTIONS: H:2 toc:t but the options are not reflected. Is this possible? If not, what's the best way to automatically push to the web the most version of a locally stored org-mode file without having to Export to HTML every time I make a change?
[O] change styling in code block HTML export?
When I export an org-mode file to HTML, my code blocks don't have curly quotes and don't convert --- to —. I know this is by design but I want to change it. I have (setq org-export-with-smart-quotes t) set in my .emacs, which works correctly in the rest of my exported document—but code blocks receive their own styling. Can I change the export styling of my code blocks so that they do observe curly quotes and em dashes? In fact, is there a way to disable the switch that makes code blocks into code blocks, so I can just style them manually using CSS to my liking on HTML export? Thanks!
Re: [O] problems with latex custom classes in new exporter
Brilliant. That worked perfectly. Thank you! On Sat, May 11, 2013 at 10:37 PM, Nick Dokos ndo...@gmail.com wrote: Peter Salazar cycleofs...@gmail.com writes: I use a LaTeX custom class which I hired someone to create for me, which I load as a preference file latex.el: http://pastebin.com/SW0Xqe2h (the custom class is called ilija). It worked perfectly up to org 7.9.4. But now my PDF documents are coming out all garbled: http://i.imgur.com/hys33MS.png Here's the Org PDF LaTeX Output: http://pastebin.com/rQmkzBYa I don't really know how to interpret all those errors, except that I do notice this: Package hyperref Error: Wrong driver option `xetex', (hyperref)because XeTeX is not detected. Again, it was working before I upgraded to 8.0.2, and it still works perfectly when I load org-7.9.4 instead of org-8.0.2. Reference: OSX 10.8.3, Aquamacs 2.4 / Emacs 23.3.50.1 / org-8.0.2. The old org-latex-to-pdf-process variable (which you are initializing in your latex.el file) has been renamed to org-latex-pdf-process. I presume that you are not touching the latter, so it's left at default, so the exporter ends up invoking pdflatex instead of xelatex. You probably want to duplicate the setting in latex.el so that it will continue working in both 8.0 and 7.9.4, rather than eliminating the old one: --8---cut here---start-8--- (setq org-latex-to-pdf-process '(xelatex -interaction nonstopmode %f xelatex -interaction nonstopmode %f)) ;; for multiple passes (setq org-latex-pdf-process '(xelatex -interaction nonstopmode %f xelatex -interaction nonstopmode %f)) ;; for multiple passes --8---cut here---end---8--- or just: --8---cut here---start-8--- (setq org-latex-pdf-process org-latex-to-pdf-process) --8---cut here---end---8--- (Untested). -- Nick
[O] problems with latex custom classes in new exporter
OK, I took the plunge and upgraded to org-8.0 and tried the new exporter. The HTML export works fine! However, I'm having trouble exporting to PDF via LaTeX. I use a LaTeX custom class which I hired someone to create for me, which I load as a preference file latex.el: http://pastebin.com/SW0Xqe2h (the custom class is called ilija). It worked perfectly up to org 7.9.4. But now my PDF documents are coming out all garbled: http://i.imgur.com/hys33MS.png Here's the Org PDF LaTeX Output: http://pastebin.com/rQmkzBYa I don't really know how to interpret all those errors, except that I do notice this: Package hyperref Error: Wrong driver option `xetex', (hyperref)because XeTeX is not detected. Again, it was working before I upgraded to 8.0.2, and it still works perfectly when I load org-7.9.4 instead of org-8.0.2. Reference: OSX 10.8.3, Aquamacs 2.4 / Emacs 23.3.50.1 / org-8.0.2. Any ideas? Thanks in advance! Best, Peter
[O] make footnotes appear as tooltips on HTML export?
Hey everyone, I had a thought. So, I export most of my org files to both HTML and PDF. I was thinking that for HTML, the behavior of putting footnotes at the end of the document, as you would for a printed page, is a bit outdated. In a printed document, you put the footnotes at the end because you have to. But with HTML, it doesn't really make sense to make the user click through to the bottom of the document in order to discover the footnote content. It would be more in keeping with the spirit of hypertext to create a tooltip that the user could hover over and view the content instantly inline. This is trivial to implement using CSS3: http://www.webdesignerdepot.com/2012/11/how-to-create-a-simple-css3-tooltip/ and only slightly more complicated using jQuery: http://www.chillwebdesigns.co.uk/chilltip I was thinking about trying to create a way for org-mode to automatically create tooltips from footnotes, but I'm a beginner, so before I take a crack at it, I thought I would ask: has anyone already done this? Or, does anyone have ideas about how to easily automate this behavior using org export to HTML? Best, Peter
Re: [O] block quotes in prose?
Excellent! Thank you so much! :-) On Sat, Feb 23, 2013 at 4:54 AM, Bastien b...@altern.org wrote: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: What about John Hendy's suggestion of finding a face I like, and then adding ^ text... to the list of things org fontifies with that style? ('In other words, add ^ text regexp to the existing hunt for lines that start with #+ in order to get src code fontification applied.') Is this feasible? Use this somewhere in your configuration: (font-lock-add-keywords 'org-mode '((^\\(:+\\) 1 (compose-region (match-beginning 1) (match-end 1) ? ) nil))) M-x org-mode RET in an org-mode buffer if you evaluate this sexp after you visited the file, otherwise the change will not be visible. HTH, -- Bastien
Re: [O] block quotes in prose?
Bastien, thanks for the response and the explanation. Looks like getting org-mode recognize the prefix as a demarcator of a code block isn't the right approach then. What about John Hendy's suggestion of finding a face I like, and then adding ^ text... to the list of things org fontifies with that style? ('In other words, add ^ text regexp to the existing hunt for lines that start with #+ in order to get src code fontification applied.') Is this feasible? If so, how would I go about doing this? Sorry for the newbie question. I'm looking in org-faces, and I don't see anywhere where I can specify the prefix characters org looks for... John Hendy wrote: The easiet would be to find a face you like and just add ^ text... to the existing list of things org already fontifies with that style. In other words, add ^ text regexp to the existing hunt for lines that start with #+ in order to get src code fontification applied. On Mon, Feb 11, 2013 at 10:54 AM, Bastien b...@altern.org wrote: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: Now the question is: How do I make org-mode recognize the prefix as a demarcator of a code block, so that my document remains readable as Markdown? You can't -- using : as the prefix for fixed-width regions is hardcoded. If we allow to customize this, it will lower the exchangeability of .org files between users (this exchangeability is already quite low due to the many options user have.) Best, -- Bastien
Re: [O] block quotes in prose?
I think an easy workaround would be to define block quotes as code blocks instead. putting the : as a prefix before a paragraph automatically fontifies it and places it in another color. This allows me to work in org-mode with visual highlighting of block quotes as desired. Now the question is: How do I make org-mode recognize the prefix as a demarcator of a code block, so that my document remains readable as Markdown? Thanks! On Wed, Jan 23, 2013 at 12:03 AM, John Hendy jw.he...@gmail.com wrote: On Tue, Jan 22, 2013 at 6:13 PM, Peter Salazar cycleofs...@gmail.com wrote: 1. What's the best way to demarcate block quotes in org-mode? I'd like a way to demarcate them that makes it visually clear at a glance that it's a block quote and not regular text. I would prefer not to have to put them inside #+BEGIN_QUOTE and #+END_QUOTE references, because I'd rather not have any content in my buffer that distracts me from my actual writing. In Markdown-Mode, for instance, I just prefix a block quote with a and the line automatically changes color: http://i.imgur.com/AUsYJ.png Org-mode is infinitely more powerful than Markdown-Mode, so I'd just like a way to work with lots of prose and block quotes in org-mode that will be easy and visually pleasing. I'm primarily concerned about how it appears in the org-mode editor, not in export. Looking around, at least some of this appears defined in /path/to/org-src/lisp/org-faces.el. I don't know enough elisp to tell you how to make Org treat text... the same as #+begin_quote. Perhaps you could figure out where the face change is for lines like #+latex: and #+begin_src, as they both change the face of the text immediately after (no need for an #+end_ command to tell Org to go back to the default face). You might be able to add ^ text to the list of face-sensitive regexps to look for (using ^ as symbol for beginning of line). ETA: after some more grepping, it looks like you could add something in two places: 1) org-faces.el Search the file for defface and make a new face. I've not done this, but you can definitely copy/yank some existing definitions and tweak to your liking. 2) org.el Find a matching fontify function to see how the fontification is done. They look pretty complicated... but perhaps it's possible to tweak one to fontify ^ text Perhaps the easiest would be to find a face you like and just add ^ text... to the existing list of things org already fontifies with that style. In other words, add ^ text regexp to the existing hunt for lines that start with #+ in order to get src code fontification applied. 2. It would also be cool to find a way to make bulleted lists appear in a different color if possible, or a workaround to simulate this. As in? - item 1 - item 2 I'm sure that's possible, too. Can't imagine this will become global, but you could surely create your own git branch if you figure out how or someone tells you how. Good luck! John Thanks!
Re: [O] block quotes in prose?
This is awesome, thank you. I'll play around with it! On Wed, Jan 23, 2013 at 7:44 AM, Bastien b...@altern.org wrote: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: 1. What's the best way to demarcate block quotes in org-mode? (setq org-fontify-quote-and-verse-blocks t) This uses the org-quote face, which inherits its properties from the org-block face -- M-x customize-face RET org-quote RET to customize the org-quote face. 2. It would also be cool to find a way to make bulleted lists appear in a different color if possible, or a workaround to simulate this. You can play around with this (highlight-regexp (org-item-re)) or (highlight-regexp (org-item-re) 'org-quote) or (highlight-regexp org-list-full-item-re 'org-quote) ... But this is hackish, temporary and half-satisfactory. HTH, -- Bastien
[O] block quotes in prose?
1. What's the best way to demarcate block quotes in org-mode? I'd like a way to demarcate them that makes it visually clear at a glance that it's a block quote and not regular text. I would prefer not to have to put them inside #+BEGIN_QUOTE and #+END_QUOTE references, because I'd rather not have any content in my buffer that distracts me from my actual writing. In Markdown-Mode, for instance, I just prefix a block quote with a and the line automatically changes color: http://i.imgur.com/AUsYJ.png Org-mode is infinitely more powerful than Markdown-Mode, so I'd just like a way to work with lots of prose and block quotes in org-mode that will be easy and visually pleasing. I'm primarily concerned about how it appears in the org-mode editor, not in export. 2. It would also be cool to find a way to make bulleted lists appear in a different color if possible, or a workaround to simulate this. Thanks!
Re: [O] exporting clock-in and clock-out times
OK, I see a folder called contrib, but the documentation doesn't say anything about a new exporter. Inside contrib is a folder called elisp, which has org-export.el and export-export-generic.el. Is that the new exporter? How do I install it? On Sat, Nov 10, 2012 at 5:38 PM, Nicolas Goaziou n.goaz...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: Oh cool. How do I install the new exporter? I don't use git. You can use package.el, for example and install org-plus-contrib package (new exporter is in contrib/ directory). See: http://orgmode.org/elpa.html Regards,
Re: [O] exporting clock-in and clock-out times
Wait, I was wrong—adding the c:t OPTION actually did not solve the problem. I forgot I had converted my clock-in and clock-out to plain text in an attempt to work around the problem, so it appeared to work only because it was plain text. Apologies. So. I still have the same problem, namely: How to get my clock-in and clock-out times to appear in HTML export? My specs: GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4 Org-mode version 7.9.2 (7.9.2-dist @ /Users/peter/elisp/org-7.9.2/lisp/) OS X 10.8.2 Thanks! On Fri, Nov 9, 2012 at 5:31 AM, Giovanni Ridolfi giovanni.rido...@yahoo.itwrote: Da: Peter Salazar cycleofs...@gmail.com Inviato: Venerdì 9 Novembre 2012 10:50 Hi, Peter, I'm exporting to HTML and trying to get my clock-in and clock-out times to export as well, but it's not working. My org file looks like this: #+OPTIONS: d:t timestamp:t * foo CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] = 0:01 foo. FIRST : always, please, always. Please, always, did I already say always? please always send: Org-version, Emacs version Operatig System and in this case, dealing with the exporter, if you used the new or the old exporter. Here: Org-mode version 7.9.2 (854ddf6 @ c:/Users/ridolfi/programs/emacs-o/org/lisp/) GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN 1. I can export the clock line *IF* I have a property drawer: #+OPTIONS: d:t timestamp:t * foo CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] = 0:01 :PROPERTIES: :END: foo. -+HTML 1 foo CLOCK: 11/09/12 ven 03:58– 11/09/12 ven 03:59 = 0:01 PROPERTIES foo. 2 byeARCHIVE -+ so this is a quick and dirty solution. 2. Otherwise I cannot get the clock line in the HTML file: - without (i.e. commenting out) the :PROPERTIES: drawer - with the new exporter (with or without propertiies) cheers, Giovanni
Re: [O] exporting clock-in and clock-out times
Oh cool. How do I install the new exporter? I don't use git. My specs: GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4 Org-mode version 7.9.2 (7.9.2-dist @ /Users/peter/elisp/org-7.9.2/lisp/) OS X 10.8.2 On Sat, Nov 10, 2012 at 5:33 AM, Nicolas Goaziou n.goaz...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: Wait, I was wrong—adding the c:t OPTION actually did not solve the problem. I forgot I had converted my clock-in and clock-out to plain text in an attempt to work around the problem, so it appeared to work only because it was plain text. Apologies. I was talking about the new exporter, where it should work. Regards,
[O] exporting clock-in and clock-out times
I'm exporting to HTML and trying to get my clock-in and clock-out times to export as well, but it's not working. My org file looks like this: * foo CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] = 0:01 foo. #+OPTIONS: d:t timestamp:t --- But the clock-in and clock-out times do not appear—nor does the calculated time in between. Any thoughts? Thanks!
Re: [O] exporting clock-in and clock-out times
Thanks! The c:t OPTION worked like a charm! Is there a way to get clock items to display in 12-hour format? At least in the HTML export? On Fri, Nov 9, 2012 at 5:38 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Giovanni Ridolfi giovanni.rido...@yahoo.it writes: 2. Otherwise I cannot get the clock line in the HTML file: [...] - with the new exporter (with or without propertiies) You may want to use `org-export-with-clocks', or the c:t OPTION item. Regards, -- Nicolas Goaziou
Re: [O] exporting clock-in and clock-out times
Great! And how should I specify org-time-stamp-custom-formats in order to display 12-hour times? Default is this, which displays 24-hour times: (%m/%d/%y %a . %m/%d/%y %a %H:%M) On Fri, Nov 9, 2012 at 12:04 PM, Nicolas Goaziou n.goaz...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: Is there a way to get clock items to display in 12-hour format? At least in the HTML export? You could use `org-display-custom-times' variable, with `org-time-stamp-custom-formats' set accordingly. Note that if you don't want to toggle the custom time display globally, you still can trigger it during export with bind keyword: #+BIND: org-display-custom-times t Regards,
Re: [O] exporting clock-in and clock-out times
Perfect! Worked perfectly! Thank you! On Fri, Nov 9, 2012 at 12:50 PM, Nicolas Goaziou n.goaz...@gmail.comwrote: Peter Salazar cycleofs...@gmail.com writes: Great! And how should I specify org-time-stamp-custom-formats in order to display 12-hour times? Default is this, which displays 24-hour times: (%m/%d/%y %a . %m/%d/%y %a %H:%M) According to `format-time-string' docstring, something like: (%m/%d/%y %a . %m/%d/%y %a %I:%M %p) Regards,
Re: [O] error in orgstruct-mode
-properties ...) (org-file-tags ...) (org-use-sub-superscripts ...) (org-ds-keyword-length ...) (org-drawer-regexp ...) (org-not-done-keywords ...) (org-todo-regexp ...) (org-not-done-regexp ...) (org-todo-line-regexp ...) (org-complex-heading-regexp ...) (org-complex-heading-regexp-format ...) (org-todo-line-tags-regexp ...) (org-deadline-regexp ...) (org-deadline-time-regexp ...) (org-deadline-line-regexp ...) (org-scheduled-regexp ...) (org-scheduled-time-regexp ...) (org-closed-time-regexp ...) (org-keyword-time-regexp ...) (org-keyword-time-not-clock-regexp ...) (org-maybe-keyword-time-regexp ...) (org-all-time-keywords ...) (org-latex-and-specials-regexp ...) (org-font-lock-keywords ...) (org-table-may-need-update ...) (indent-region-function ...) (org-target-link-regexp ...) (fill-paragraph-function ...) (normal-auto-fill-function ...) (comment-line-break-function ...) (comment-use-syntax ...) (comment-start ...) (comment-start-skip ...) (comment-insert-comment-function ...) (comment-region-function ...) ...) (call-interactively (quote org-insert-heading))) eval((let ((auto-fill-function ...) (indent-line-function ...) (paragraph-start ...) (auto-fill-inhibit-regexp ...) (paragraph-separate ...) (outline-regexp ...) (outline-level ...) (org-todo-kwd-alist ...) (org-todo-key-alist ...) (org-todo-key-trigger ...) (org-todo-keywords-1 ...) (org-done-keywords ...) (org-todo-heads ...) (org-todo-sets ...) (org-todo-log-states ...) (org-file-properties ...) (org-file-tags ...) (org-use-sub-superscripts ...) (org-ds-keyword-length ...) (org-drawer-regexp ...) (org-not-done-keywords ...) (org-todo-regexp ...) (org-not-done-regexp ...) (org-todo-line-regexp ...) (org-complex-heading-regexp ...) (org-complex-heading-regexp-format ...) (org-todo-line-tags-regexp ...) (org-deadline-regexp ...) (org-deadline-time-regexp ...) (org-deadline-line-regexp ...) (org-scheduled-regexp ...) (org-scheduled-time-regexp ...) (org-closed-time-regexp ...) (org-keyword-time-regexp ...) (org-keyword-time-not-clock-regexp ...) (org-maybe-keyword-time-regexp ...) (org-all-time-keywords ...) (org-latex-and-specials-regexp ...) (org-font-lock-keywords ...) (org-table-may-need-update ...) (indent-region-function ...) (org-target-link-regexp ...) (fill-paragraph-function ...) (normal-auto-fill-function ...) (comment-line-break-function ...) (comment-use-syntax ...) (comment-start ...) (comment-start-skip ...) (comment-insert-comment-function ...) (comment-region-function ...) ...) (call-interactively (quote org-insert-heading org-run-like-in-org-mode(org-insert-heading) (if (org-context-p (quote headline) (quote item) (and orgstruct-is-++ t ...)) (org-run-like-in-org-mode (quote org-insert-heading)) (let (orgstruct-mode) (call-interactively ...))) orgstruct-hijacker-command-106(1) call-interactively(orgstruct-hijacker-command-106 nil nil) On Fri, Oct 19, 2012 at 9:13 PM, Nick Dokos nicholas.do...@hp.com wrote: Peter Salazar cycleofs...@gmail.com wrote: Thanks. I tried upgrading my version of org to 7.9.2, but then whenever I launched Aquamacs, I got this message: Wrong type argument: integer-or-marker-p, nil I couldn't save or do anything, so I went back to the old version. Anyone know the solution to the Wrong type argument: integer-or-marker-p, nil? Presumably something incompatible in your org initialization. Does aquamacs allow for --debug-init? If not, then do the aquamacs equivalent of -q, turn on debug-on-error, load your org initialization by hand and send the backtrace. Nick
Re: [O] error in orgstruct-mode
Oops. Here's the full backtrace. Anyone have any thoughts? Help! Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) byte-code(\203 \306\202 \307\310!\210m\203\311\312\306\\210\313\314!\203!\311\315\306\\210\316\306w\210i\211\nV\2032\311\315\317\\210 \nW\203=\311\312\317\\210\320 \204G\311\312\306\\210\321\310!\310\224\310\225|\210\310\224b\210\322\f T\211\\211c\210G GZ\323!\210\306\212\203{b\210n\203\203\324\202\204\325\326\324`\\\*U\203\227\\\306\207 [bobp ind1 ind old fmt n nil beginning-of-line 2 throw exit looking-at [ ]*$ next t org-at-item-p match-string format org-shift-item-indentation 1 0 count-lines new delta pos line col] 5) byte-code(\300\301\215\210\202 [next (byte-code \203 \306\202 \307\310!\210m\203\311\312\306\\210\313\314!\203!\311\315\306\\210\316\306w\210i\211\nV\2032\311\315\317\\210 \nW\203=\311\312\317\\210\320 \204G\311\312\306\\210\321\310!\310\224\310\225|\210\310\224b\210\322\f T\211\\211c\210G GZ\323!\210\306\212\203{b\210n\203\203\324\202\204\325\326\324`\\\*U\203\227\\\306\207 [bobp ind1 ind old fmt n nil beginning-of-line 2 throw exit looking-at [ ]*$ next t org-at-item-p match-string format org-shift-item-indentation 1 0 count-lines new delta pos line col] 5)] 2) org-renumber-ordered-list(1) org-maybe-renumber-ordered-list() org-insert-item() org-insert-heading(nil) call-interactively(org-insert-heading) (let ((auto-fill-function ...) (indent-line-function ...) (paragraph-start ...) (auto-fill-inhibit-regexp ...) (paragraph-separate ...) (outline-regexp ...) (outline-level ...) (org-todo-kwd-alist ...) (org-todo-key-alist ...) (org-todo-key-trigger ...) (org-todo-keywords-1 ...) (org-done-keywords ...) (org-todo-heads ...) (org-todo-sets ...) (org-todo-log-states ...) (org-file-properties ...) (org-file-tags ...) (org-ds-keyword-length ...) (org-drawer-regexp ...) (org-not-done-keywords ...) (org-todo-regexp ...) (org-not-done-regexp ...) (org-todo-line-regexp ...) (org-complex-heading-regexp ...) (org-complex-heading-regexp-format ...) (org-nl-done-regexp ...) (org-todo-line-tags-regexp ...) (org-looking-at-done-regexp ...) (org-deadline-regexp ...) (org-deadline-time-regexp ...) (org-deadline-line-regexp ...) (org-scheduled-regexp ...) (org-scheduled-time-regexp ...) (org-closed-time-regexp ...) (org-keyword-time-regexp ...) (org-keyword-time-not-clock-regexp ...) (org-maybe-keyword-time-regexp ...) (org-planning-or-clock-line-re ...) (org-latex-and-specials-regexp ...) (org-font-lock-keywords ...) (org-table-may-need-update ...) (comment-start-skip ...) (fill-paragraph-function ...) (adaptive-fill-regexp ...) (adaptive-fill-function ...) (org-target-link-regexp ...) (comment-padding ...) (outline-isearch-open-invisible-function ...) (org-indent-mode ...) (org-after-demote-entry-hook ...) ...) (call-interactively (quote org-insert-heading))) eval((let ((auto-fill-function ...) (indent-line-function ...) (paragraph-start ...) (auto-fill-inhibit-regexp ...) (paragraph-separate ...) (outline-regexp ...) (outline-level ...) (org-todo-kwd-alist ...) (org-todo-key-alist ...) (org-todo-key-trigger ...) (org-todo-keywords-1 ...) (org-done-keywords ...) (org-todo-heads ...) (org-todo-sets ...) (org-todo-log-states ...) (org-file-properties ...) (org-file-tags ...) (org-ds-keyword-length ...) (org-drawer-regexp ...) (org-not-done-keywords ...) (org-todo-regexp ...) (org-not-done-regexp ...) (org-todo-line-regexp ...) (org-complex-heading-regexp ...) (org-complex-heading-regexp-format ...) (org-nl-done-regexp ...) (org-todo-line-tags-regexp ...) (org-looking-at-done-regexp ...) (org-deadline-regexp ...) (org-deadline-time-regexp ...) (org-deadline-line-regexp ...) (org-scheduled-regexp ...) (org-scheduled-time-regexp ...) (org-closed-time-regexp ...) (org-keyword-time-regexp ...) (org-keyword-time-not-clock-regexp ...) (org-maybe-keyword-time-regexp ...) (org-planning-or-clock-line-re ...) (org-latex-and-specials-regexp ...) (org-font-lock-keywords ...) (org-table-may-need-update ...) (comment-start-skip ...) (fill-paragraph-function ...) (adaptive-fill-regexp ...) (adaptive-fill-function ...) (org-target-link-regexp ...) (comment-padding ...) (outline-isearch-open-invisible-function ...) (org-indent-mode ...) (org-after-demote-entry-hook ...) ...) (call-interactively (quote org-insert-heading org-run-like-in-org-mode(org-insert-heading) (if (org-context-p (quote headline) (quote item) (and orgstruct-is-++ t ...)) (org-run-like-in-org-mode (quote org-insert-heading)) (let (orgstruct-mode) (call-interactively ...))) orgstruct-hijacker-command-106(1) call-interactively(orgstruct-hijacker-command-106 nil nil) On Thu, Oct 18, 2012 at 12:52 PM, Peter Salazar cycleofs...@gmail.comwrote: I'm using Aquamacs in markdown-mode with orgstruct-mode turned on. When I start a numbered list: 1. foo ...at the end of that line, I want to automatically generate the next
Re: [O] error in orgstruct-mode
Thanks. I tried upgrading my version of org to 7.9.2, but then whenever I launched Aquamacs, I got this message: Wrong type argument: integer-or-marker-p, nil I couldn't save or do anything, so I went back to the old version. Anyone know the solution to the Wrong type argument: integer-or-marker-p, nil? On Fri, Oct 19, 2012 at 6:54 PM, Nick Dokos nicholas.do...@hp.com wrote: Peter Salazar cycleofs...@gmail.com wrote: Oops. Here's the full backtrace. Anyone have any thoughts? Help! org-maybe-renumber-ordered-list() org-insert-item() org-insert-heading(nil) call-interactively(org-insert-heading) Well, org-maybe-renumber-ordered-list was removed by this commit: , | commit 15928db323904fe8c892d7289a0cdda89cde8694 | Author: Nicolas Goaziou n.goaz...@gmail.com | Date: Mon Aug 30 13:55:44 2010 +0200 | | Implement new list definition | | ... | * org-list.el (org-maybe-renumber-ordered-list): function removed. ` so maybe it's time to upgrade. Nick
[O] error in orgstruct-mode
I'm using Aquamacs in markdown-mode with orgstruct-mode turned on. When I start a numbered list: 1. foo ...at the end of that line, I want to automatically generate the next number on the list, so I hit OPTION-RETURN but instead of generating a 2. on the next line, I get this error: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) byte-code(\203 This used to work fine in markdown-mode with orgstruct-mode turned on... Backtrace: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) byte-code(\203
Re: [O] send org subtree as e-mail?
Wow, that worked perfectly. Thank you! On Tue, Apr 3, 2012 at 7:09 AM, Eric Schulte eric.schu...@gmx.com wrote: Peter Salazar cycleofs...@gmail.com writes: I frequently compose e-mails as subtrees of my org files. I'd like to be able to e-mail the contents of these subtrees, maybe by first viewing the subtree in an indirect buffer. My org files look like this: * e-mails ** note to person about blah To: per...@blah.com Subject: ADD people 7 times more likely to be creative --text follows this line-- Dear Person, Blah blah blah. Best, Peter I can open the subtree in an indirect buffer, but I can't e-mail the contents as they appear because I get Invalid header line. If I delete the org-header, I can successfully send the e-mail. But then I need to undelete the header afterward. How can I send the contents of a subtree as an e-mail without first having to delete the header? Thanks, Peter Checkout the `org-mime-subtree' subtree command. It converts the current subtree to an email, pulling email headers from subtree properties, specifically MAIL_SUBJECT or subtree heading - subject MAIL_TO - TO MAIL_CC - CC MAIL_BCC - BCC MAIL_FMT - determines the format of the email (e.g., org, ascii or html) so your example above would be ** note to person about blah :PROPERTIES: :MAIL_TO: per...@blah.com :MAIL_SUBJECT: ADD people 7 times more likely to be creative :END: Dear Person, Blah blah blah. Best, Peter Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte/
[O] send org subtree as e-mail?
I frequently compose e-mails as subtrees of my org files. I'd like to be able to e-mail the contents of these subtrees, maybe by first viewing the subtree in an indirect buffer. My org files look like this: * e-mails ** note to person about blah To: per...@blah.com Subject: ADD people 7 times more likely to be creative --text follows this line-- Dear Person, Blah blah blah. Best, Peter I can open the subtree in an indirect buffer, but I can't e-mail the contents as they appear because I get Invalid header line. If I delete the org-header, I can successfully send the e-mail. But then I need to undelete the header afterward. How can I send the contents of a subtree as an e-mail without first having to delete the header? Thanks, Peter
[O] include Markdown files?
Hey everyone, How hard would it be to add Markdown to the list of file formats supported by #+INCLUDE? Thanks, Peter
Re: [O] Sending and archiving emails with capture...
Awesome. How do you get it to ignore the org star header (** Email) on the first line? I'd like to be able to open existing org subtrees in an indirect buffer—ideally in mail-mode—and then mail-send the contents of the buffer. When I try this at home, I get Invalid header line. On Thu, Mar 15, 2012 at 5:52 PM, Jos'h Fuller Jos'h.ful...@arcproductions.com wrote: Hi! I tried it and I get Heading not found on level 1: Emails Sorry, I forgot to say that you need to make a heading in your org-default-notes-file (whatever that is) called Emails: * Tasks * Done * Emails The emails will be filed under there, like this: :* Emails :** Email 2012-03-15 Thu 15:20 : :From: Me m...@me.com :To: y...@you.com :Subject: Testing! :--text follows this line-- :This is a test... : : ___ : :Signature! See if that fixes it! Jos'h Fuller, Production Programmer p: 416.682.5200 x5395 | f: 416.682.5209 | Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4 | www.arcproductions.com
Re: [O] Mail composed using emacs --- saving a copy in an org file.
I thought of this too. But the problem is that when opening an indirect buffer under an org tree entry, or even opening a capture buffer, the org star heading appears at the top of the buffer. Whereas to send e-mail, at least using the mail-send command I've been using, the e-mail header (recipient, subject header, etc) needs to be at the very top of the buffer. You could always enter the e-mail headers, send the e-mail, then delete them again. But there must be a better solution. On Thu, Mar 15, 2012 at 1:34 PM, Jos'h Fuller Jos'h.ful...@arcproductions.com wrote: Hi! You could try doing something with org-capture and the org-capture-templates so that you would be creating your email from the start as an org tree entry under the appropriate location. You can override the org-capture-before-finalize hook (see org-capture.el) to send the mail when you're done typing in the indirect buffer and hit C-c C-c (or org-capture-finalize). I have org-capture set up so I can use it immediately from anywhere in Emacs with the C-cc keys: (define-key global-map \C-cc 'org-capture) That combined with a suitable template and the hook override might give you what you're looking for. Hope this helps! Jos'h Fuller, Production Programmer p: 416.682.5200 x5395 | f: 416.682.5209 | Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4 | www.arcproductions.com -Original Message- From: emacs-orgmode-bounces+jos'h.fuller=arcproductions@gnu.org [mailto:emacs-orgmode-bounces+jos'h.fuller=arcproductions@gnu.org] On Behalf Of Alan E. Davis Sent: Thursday, March 15, 2012 1:24 PM To: org-mode Subject: [O] Mail composed using emacs --- saving a copy in an org file. I am partial to just opening a mail buffer and writing email in Emacs. Just that. However, it would be great to save a copy in an org file. An emacs FAQ suggests sending a BCC or FCC to oneself. What I want is a copy stored in an org-mode subtree, with a convenient headline indicating the name of the recipient and the date. So far, I haven't gotten my head around the idea of using BABEL, and I still like text for email. My experiments with GNUS have not been very successful. So far. I apologize for the naive level of this and some of my other questions. Though I may not be getting the maximum usefulness of all of org-mode's features, those features I do use are awesome. Thank you. Alan Davis
Re: [O] Sending and archiving emails with capture...
Amazing. I tried it and I get Heading not found on level 1: Emails I must missing a step? On Thu, Mar 15, 2012 at 5:22 PM, Jos'h Fuller Jos'h.ful...@arcproductions.com wrote: Hi! Assuming I've got everything set up correctly and this email makes it to the list, this is in response to Alan E. Davis' question about sending an email from Emacs and saving a copy in org-mode. I make the assumption here that your Emacs is set up to properly send emails using the ~mail~ command. Also note that my ~org-capture-templates~ setup has more than just an email template. Install the lines below just after your org-mode install. To use: - Invoke org-capture from any buffer with C-cc. - Choose the Mail template ([m] key). - Enter the recipient's address, then [enter]. - Enter the mail subject, then [enter]. - Your cursor is positioned at the start of the email. - Write your email. - C-c C-c sends it on its way! This is very crude and could certainly be improved. However, perhaps it's a reasonable starting point! Jos'h -- snip! ;; Capture Setup (setq org-capture-templates (quote ((m Mail entry (file+olp org-default-notes-file Emails) ** Email %T From: Your Name yourn...@yourcompany.com To: %^{Send mail to} Subject: %^{Subject} --text follows this line-- %? ___ This is a signature...) (t todo entry (file org-default-notes-file) * TODO %?\n%U\n%a\n %i :clock-in t :clock-resume t) (n note entry (file org-default-notes-file) * %? :NOTE:\n%U\n%a\n %i :clock-in t :clock-resume t) (h Habit entry (file org-default-notes-file) * NEXT %?\n%U\n%a\nSCHEDULED: %t .+1d/3d\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n %i (defun my-finalize-capture () This is run from the org-capture-before-finalize hook just before the indirect buffer is closed. If the current local capture is a 'Mail' message, I extract it and send it on it's way. Because I am cautious, I extract the text from the org buffer and put it into a private temporary buffer before sending it as an email. This may not be the best way to do this... (message * Running custom finalize hook...) (if (string= Mail (org-capture-get :description)) (save-excursion (goto-char (org-capture-get :begin-marker t)) (next-line) ; Skip past org slug line. (let* ((msg (buffer-substring (point) (org-capture-get :end-marker t (with-temp-buffer (insert msg) (mail-send) )) )) ) (add-hook 'org-capture-before-finalize-hook 'my-finalize-capture) (define-key global-map \C-cc 'org-capture) ___ Jos'h Fuller, Production Programmer Arc Productions Ltd. p: 416.682.5237 | f: 416.682.5209 | http://www.arcproductions.com 230 Richmond Street East | Toronto, ON M5A 1P4 |
[O] extra whitespace on first page of LaTeX PDF
I'm using xelatex org-latex-to-pdf-process to convert org-mode to PDF. I wanted a page break after the Table of Contents so I modified my org-export-latex-classes and added: \\makeatletter \\g@addto@macro\\@cfttocfinish{\\clearpage} \\makeatother But now I have lots of extra whitespace on the page after the Table of Contents, before the first text appears. Has anyone run into this before? Thanks, Peter
Re: [O] org-mode as an accountability system?
Thank you all for your suggestions. I'm going to work on incorporating them into my system. I'll let you know how it turns out! On Mon, Mar 5, 2012 at 6:44 AM, Darlan Cavalcante Moreira darc...@gmail.com wrote: Also, if you have anything in your agenda that you don't want to send to him you can use tags to restrict what is shown in the agenda before you copy/export it. -- Darlan At Sun, 4 Mar 2012 14:08:40 + (UTC), Memnon Anon gegendosenflei...@googlemail.com wrote: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: My committed actions for a day consist of: a) TODOs for the projects I'm working on b) random errands that need to be done that day c) daily habits (e.g. meditating, exercising) I don't believe org-agenda can support me in doing this, because I require: a) a way to quickly enter the random tasks for that day (without having to schedule each one for today) b) more importantly: a way to record, store, and e-mail my list of which tasks I've done and not done at the end of the night I am not sure why you don't use the agenda, there really should be no need to compile this data manually. Flow: - Enter your task with capture. This *is* a quick way, and you should be able to setup a binding that schedules the new task to today by default. Put the tasks wherever they should live in your org cosmos. - At the beginning of the day, start your agenda for today. Copy and paste it, export it to html, whatever. Send it to your college. - Work through your tasks. If you can't finish a task, don't mark it didnotdo, but simple reschedule it for tomorrow; the change will be reflected in your log drawer. - At the end of the day, or early next day, start the agenda and use org-agenda-log-mode, probably with C-u. - `C-u l' should show you all there is, given it is properly configured: Task you finished, tasks you did not finish and hence rescheduled for later, even your sections (teaching, habits, random tasks) can be reflected with categories. Just copy and paste it in your email and you are done. Macro question: Is there a better way to manage my accountability system, rather than doing it manually? Again, I don't see a way to do it using agenda. hth Memnon
[O] org tables
Hey everyone, Is there a way to get org to wrap text within a table cell? I want to be able to enter long text entries into cells without expanding column width. Also, is there a way to merge cells—say, three cells vertically? Finally, orgtbl-mode is broken in markdown-mode. Does anyone know a solution? Thanks, Pater
[O] org-mode as an accountability system?
I have an accountability partner with whom I exchange daily committed actions. Every morning, I e-mail him a list of the tasks I commit to completing that day. When I complete a task, I mark it DONE. If I don't complete a task that day, I mark it @didnotdo and manually cut and paste it to the next day. Every night, I send him a report of which actions I did and which ones I did not do. (I find I get so much more done since I started making daily commitments to someone other than myself.) My committed actions for a day consist of: a) TODOs for the projects I'm working on b) random errands that need to be done that day c) daily habits (e.g. meditating, exercising) I don't believe org-agenda can support me in doing this, because I require: a) a way to quickly enter the random tasks for that day (without having to schedule each one for today) b) more importantly: a way to record, store, and e-mail my list of which tasks I've done and not done at the end of the night So instead I've been creating a list of TODOs for each day manually. My questions: 1. Given that I'm creating my daily task list manually, is there an easy way, when I mark a task @didnotdo, to automatically move it to the next day's list and change its state to @todo? 2. I'd still like to be able to create outlines for my documents and add TODO items inline as I think of them. Is there a way to get org to gather these scattered TODOs and place them in my manually-created daily TODO list, rather than in the agenda? Macro question: Is there a better way to manage my accountability system, rather than doing it manually? Again, I don't see a way to do it using agenda. Thanks for any help. Peter P.S. If it's helpful, here's a typical list I might send my accountability partner in the morning: 2012-02-16 Thu * habits ** @todo - morning practice [0/3] - [ ] e-mail committed actions - [ ] stretch for 10 minutes - [ ] meditate ** @todo - evening practice [0/2] - [ ] sit-ups - [ ] e-mail report assessing day's committed actions * committed actions ** teaching *** current semester @todo - e-mail students [0/2] * @todo - e-mail Liz * @todo - e-mail Jean @todo - appointment with Claire 4pm *** next semester finish proposal * @todo - send proposal to editor * @todo - write syllabus ** random tasks *** @todo - renew prescriptions *** @todo - clean room *** @todo - go over Nicole notes *** @todo - call Andy *** @todo - jog with Heidi 3pm A typical report at the end of the night might look like this: 2012-02-16 Thu * habits ** DONE - morning practice [3/3] - [X] e-mail committed actions - [X] stretch for 10 minutes - [X] meditate ** @todo - evening practice [1/2] - [ ] sit-ups - [X] e-mail report assessing day's committed actions * committed actions ** teaching *** current semester @todo - e-mail students [2/2] * DONE - e-mail Liz * DONE - e-mail Jean @todo - appointment with Claire 4pm *** next semester finish proposal * @didnotdo - send proposal to editor * DONE - write syllabus ** random tasks *** DONE - renew prescriptions *** @didnotdo - clean room *** @didnotdo - go over Nicole notes *** @postponed - call Andy *** DONE - jog with Heidi 3pm
Re: [O] org-mode as an accountability system?
Hi Thorsten, Thanks for the thoughts. Clarification: I send my accountability partner a summary of MY committed actions for the day for him to review. We dont' collaborate, and he does not touch or change my tasks. (Although he does send me a list of his own tasks, and how well he did each day.) It's important to send the tasks by e-mail so I know he'll see them right away (and that will keep me accountable). If I send him a link, I know he may or may not view the file if and when he has time. As for using Agenda and hitting to move a task to the next day, there are two problems with this: 1. this does not change the state of a @didnotdo task to @todo 2. for habits (using the format SCHEDULED: 2012-03-03 Sat +1d), if I miss a day and then try to mark a habit DONE today, it stamps the habit done for the day I missed, rather than stamping it done today and recording that I did not do it on the day I was supposed to do it. On Sat, Mar 3, 2012 at 1:56 PM, Thorsten quintf...@googlemail.com wrote: Peter Salazar cycleofs...@gmail.com writes: Hi Peter, without claiming being an expert org-mode user, I had the following thoughts when reading your post: I have an accountability partner with whom I exchange daily committed actions. Every morning, I e-mail him a list of the tasks I commit to completing that day. Why sending per email? Why not getting a free private(!) git repo (1GB) at assembla.com and cooperatively work on one or several org file(s) in that repo? When I complete a task, I mark it DONE. If I don't complete a task that day, I mark it @didnotdo and manually cut and paste it to the next day. Every night, I send him a report of which actions I did and which ones I did not do. (I find I get so much more done since I started making daily commitments to someone other than myself.) If you both work on the same file using git, the current state of affairs will always be clear, as well as who did what at what time (and pushed it to the repo). 1. Given that I'm creating my daily task list manually, is there an easy way, when I mark a task @didnotdo, to automatically move it to the next day's list and change its state to @todo? When I have a TODO task in the agenda that I did not complete today, I just change the date to tomorrow in the agenda using ''. If you don't do that, it will appear anyway in the agenda as overdue task. -- cheers, Thorsten