[O] Bug: python code block single import line [9.0.9 (release_9.0.9-754-g940c90)]

2017-08-13 Thread Paul Stansell
Hello, When executing the python code block #+begin_src python :session python1 import numpy as np #+end_src I get this error in my python buffer Python 3.5.1 |Anaconda 2.5.0 (64-bit)| (default, Dec 7 2015, 11:16:01) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux Type "help",

Re: [O] Tracking Interruptions -- Work Flow Question

2017-08-13 Thread Bob Newell
Solutions to the interruption problem are definitely individual. In my case I simply tracked frequency of interruptions. I got from that the bottom line that I should not try to work at home--- a conclusion that I probably needed no software support to justify. When I switched to working at

Re: [O] Tracking Interruptions -- Work Flow Question

2017-08-13 Thread Tim Cross
One of the problems with the many recommendations for productivity techniques is that they can never really take account of the endless number of differences in workflows, working environments and personal preferences. For me, I found the GTD approach was geared more towards the procrastination

Re: [O] Tracking Interruptions -- Work Flow Question

2017-08-13 Thread Raymond Zeitler
Yes, I like your setup with org-capture.  I think I can overcome the problem of invoking the capture when someone pops in to complain that email is down, for example.  I would use either AutoHotKey (I'm on Windows) or bind a function key in Emacs to a taskerruption function for F2F issues.  One

Re: [O] Org-table alignment in Arabic

2017-08-13 Thread Uwe Brauer
>>> "jamdrug" == jamdrug writes: > Dear Sir/Madam, Hello > I am new to this email list about org-mode, first > of all thanks to all contributors of org-mode. I am here seeking > your help considering org-table and Arabic text, the issue is > described in this

Re: [O] Tracking Interruptions -- Work Flow Question

2017-08-13 Thread Raymond Zeitler
Yes I see your point.  Maybe it's too ambitious to determine productivity.  But knowing how much time is spent on the interruption (taskerruption) would be a good start. - Ray From: Eric Abrahamsen To: emacs-orgmode@gnu.org Sent: Saturday, August 12, 2017

[O] Bug: Explicit <6> table column width [9.0.9 (release_9.0.9-754-g940c90)]

2017-08-13 Thread Paul Stansell
Hello, I think there might be a something wrong when explicitly setting a width of a table column. For example, for this table |---+--| | | <6> | | 1 | one | | 2 | This is a long chunk of text | | 3 |

Re: [O] org-publish an org-mode outline

2017-08-13 Thread Bob Newell
Bob Newell writes: > #+BEGIN_EXAMPLE > * top > ** level 2 > *** level 3 > #+END_EXAMPLE Question answered in another thread, just to confirm: ",* top" etc. works as advertised. I missed that footnote about using a leading comma but the syntax is consistent with Emacs

Re: [O] [Feature Request] Provide a way to jump to noweb reference definition under point

2017-08-13 Thread Nicolas Goaziou
Hello, "Berry, Charles" writes: > However, there is a bug in either ~org-next-block~ or > ~org-babel-src-block-names~ that causes failure of > `org-babel-src-block-names' to pick up the first block when it starts > in the first line of a buffer or at ~(point-min)~. Fixed.

Re: [O] source block breaks when code looks like heading

2017-08-13 Thread Nicolas Goaziou
Hello, Uwe Koloska writes: > Am 08.08.2017 um 09:45 schrieb Nicolas Goaziou: >> You need to prepend a comma before the asterisks. See (info "(org)Literal >> examples"). > > This is not documented directly but only in a footnote describing how > `org-edit-special' handles

Re: [O] [Feature Request] Provide a way to jump to noweb reference definition under point

2017-08-13 Thread Berry, Charles
You want ,[ C-h k C-c C-v g ] | C-c C-v g runs the command org-babel-goto-named-src-block (found in | org-mode-map), which is an interactive autoloaded compiled Lisp | function in ‘ob-core.el’. | | It is bound to C-c C-v g. | | (org-babel-goto-named-src-block NAME) | | Go to a named

Re: [O] source block breaks when code looks like heading

2017-08-13 Thread Uwe Koloska
Am 08.08.2017 um 09:45 schrieb Nicolas Goaziou: > You need to prepend a comma before the asterisks. See (info "(org)Literal > examples"). This is not documented directly but only in a footnote describing how `org-edit-special' handles lines starting with special characters. What type of blocks

Re: [O] Org-table alignment in Arabic

2017-08-13 Thread Peter Neilson
On Fri, 11 Aug 2017 07:16:26 -0400, wrote: Dear Sir/Madam, I am new to this email list about org-mode, first of all thanks to all contributors of org-mode. I am here seeking your help considering org-table and Arabic text, the issue is described in this post of mine

Re: [O] babel, matlab export plot to png fails

2017-08-13 Thread John Kitchin
You need to get the contents of the png to get output. Maybe the type command will do that. E.g. Add as the last line: type testplot.png On Sun, Aug 13, 2017 at 1:34 AM Uwe Brauer wrote: > > Hi > > I would like to execute some matlab code in org file (using GNU emacs 26 > and

Re: [O] [PATCH] * doc/org.texi: Add org-babel-load-languages to Variable Index

2017-08-13 Thread Nicolas Goaziou
Hello, Chunyang Xu writes: > TINYCHANGE > --- > doc/org.texi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/doc/org.texi b/doc/org.texi > index 944c9c56e..032087fc2 100644 > --- a/doc/org.texi > +++ b/doc/org.texi > @@ -15541,6 +15541,7 @@ Org supports the

Re: [O] Bug: Babel result block '#+end_example' not indented [9.0.9 (release_9.0.9-748-g3359e0 @ /Users/xcy/src/org-mode/lisp/)]

2017-08-13 Thread Nicolas Goaziou
Hello, Chunyang Xu writes: > I find my last patch breaks at least ":result org", please see the newer > patch. Thank you for the report and the patch. I ended up applying a slightly different patch, however. Regards, -- Nicolas Goaziou

Re: [O] EXPORT_HTML_HEAD Issue

2017-08-13 Thread Scott Randby
On 08/13/2017 09:19 AM, Nicolas Goaziou wrote: > Hello, > > Scott Randby writes: > >> In the properties of a subtree, I have several :EXPORT_HTML_HEAD: >> lines. When I export to HTML, only the first of the lines exports to >> the header. I can get two lines to export to the

Re: [O] EXPORT_HTML_HEAD Issue

2017-08-13 Thread Nicolas Goaziou
Hello, Scott Randby writes: > In the properties of a subtree, I have several :EXPORT_HTML_HEAD: > lines. When I export to HTML, only the first of the lines exports to > the header. I can get two lines to export to the header by > using :EXPORT_HTML_HEAD: followed by a

Re: [O] Bug: Latex math mode not set in footnotes [9.0.9 (9.0.9-68-g492420-elpa @ /Home/ps/.emacs.d/elpa/org/)]

2017-08-13 Thread Nicolas Goaziou
Hello, Paul Stansell writes: > Hello, > > Latex math mode is not set in a footnote when exporting an org file to > tex or pdf. Below and attached is a simple example. > > Thanks > > ---cut here-- > * Example > > When exporting

[O] [PATCH] * doc/org.texi: Add org-babel-load-languages to Variable Index

2017-08-13 Thread Chunyang Xu
TINYCHANGE --- doc/org.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/org.texi b/doc/org.texi index 944c9c56e..032087fc2 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -15541,6 +15541,7 @@ Org supports the following languages for the @samp{src} code blocks: Additional

Re: [O] Tracking Interruptions -- Work Flow Question

2017-08-13 Thread Christophe Schockaert
Raymond Zeitler writes: > Does anyone schedule and "org-clock" interruptions? I really need to quantify > how much of a drain they are to my productivity. > I thought I'd include a generic "** TODO Interruption" in my todo.org (or an > inter.org file) and schedule it every day. Then I'd press

Re: [O] Tracking Interruptions -- Work Flow Question

2017-08-13 Thread Tim Cross
I'm not sure there is any *good* way to track interruptions. As pointed out by others, interruptions are not equal and the actual length of the interruption is not necessarily a good reflection of the actual impact to your productivity. I've found two things which have helped me. One has helped

Re: [O] Tracking Interruptions -- Work Flow Question

2017-08-13 Thread Michael Welle
Hello, Eric Abrahamsen writes: > Raymond Zeitler writes: > >> Does anyone schedule and "org-clock" interruptions? I really need to >> quantify how much of a drain they are to my productivity. >> >> I thought I'd include a generic "** TODO

[O] [Feature Request] Provide a way to jump to noweb reference definition under point

2017-08-13 Thread numbch...@gmail.com
For example I have an Org buffer like this: ```org #+NAME: define food-journal #+BEGIN_SRC clojure (def food-journal [{:month 1 :day 1 :human 5.3 :critter 2.3} {:month 1 :day 2 :human 5.1 :critter 2.0} {:month 2 :day 1 :human 4.9 :critter 2.1} {:month 2 :day 2 :human 5.0 :critter 2.5}

[O] babel, matlab export plot to png fails

2017-08-13 Thread Uwe Brauer
Hi I would like to execute some matlab code in org file (using GNU emacs 26 and the git version of org mode) and save the result of the plot command in a png file, so I tried #+begin_src matlab :session :exports both :file testplot.png t=[0:0.1:1]; y=sin(t); plot(t,y) print -dpng testplot.png

Re: [O] Bug: Babel result block '#+end_example' not indented [9.0.9 (release_9.0.9-748-g3359e0 @ /Users/xcy/src/org-mode/lisp/)]

2017-08-13 Thread Chunyang Xu
I find my last patch breaks at least ":result org", please see the newer patch. >From 4ef5b67af22469bf2591dda0b9b90db1f4df8617 Mon Sep 17 00:00:00 2001 From: Chunyang Xu Date: Sun, 13 Aug 2017 15:08:52 +0800 Subject: [PATCH] ob-core: Fix indentation * lisp/ob-core.el

[O] Bug: Babel result block '#+end_example' not indented [9.0.9 (release_9.0.9-748-g3359e0 @ /Users/xcy/src/org-mode/lisp/)]

2017-08-13 Thread Chunyang Xu
For example (noticing the last line '#+end_example' is not indented with two space) * test #+BEGIN_SRC sh :results output seq 10 #+END_SRC #+RESULTS: #+begin_example 1 2 3 4 5 6 7 8 9 10 #+end_example By reading the source code, I think 'indent-rigidly' doesn't

[O] Org table: reuse formula in non-rectangular range

2017-08-13 Thread Jarmo Hurri
Greetings. I have a situation where I need to use the same table formula all over the place in a table. The problem is that "all over the place" is not rectangular - if it were, this would be trivial. I can see two possible solutions, but I don't know if either of them is possible in Org. 1. A

Re: [O] Bug: Beamer export error

2017-08-13 Thread Jarmo Hurri
Rasmus writes: > It should be fixed by commit 323fc95b4. Thank you very much, seems to be in order again. Jarmo