[O] Spreadsheet: Conditionally apply formula to cell?

2016-03-19 Thread Loris Bennett
Hi, If I have | 1 | 2 | 13 | | | | 10 | #+TBLFM: $3=$1+$2+10 is there a way to suppress calculation of column 3 if, as in row 2, the entry in column 1 is empty? Cheers, Loris -- This signature is currently under construction.

Re: [O] Bug: CALL misbehavior with :results verbatim [8.3.4 (8.3.4-5-gdc68d2-elpaplus @ /Users/rossdonaldson/.emacs.d/elpa/org-plus-contrib-20160229/)]

2016-03-19 Thread Nicolas Goaziou
Hello, Ross Donaldson writes: > When the header argument ~:results verbatim~ is set in a #+PROPERTY, > the results of #+CALL blocks are surrounded by full quotes: Isn't it the point of the "verbatim" parameter? > * Good > #+name: first-demo > #+BEGIN_SRC sh > echo 5

Re: [O] args-out-of-range #

2016-03-19 Thread John Kitchin
I pushed a fix for this last night. I don't totally understand why it happens and the fix is to not run the advice in the agenda buffer. On Wednesday, March 16, 2016, Nicolas Goaziou wrote: > Hello, > > br...@uwaterloo.ca writes: > > > This message just

[O] Subject: Bug: Exception when trying to export inlined-code [8.3.4 (8.3.4-9-gfda14f-elpa @ /Users/vaknins9/.emacs.d/elpa/org-20160307/)]

2016-03-19 Thread Shlomi Vaknin
Hey, I am a heavy org-mode user, and I absolutely love it! One of my org-files stopped being exportable at some point. I managed to trace it to something to do with inline source blocks (of course it might not be the root cause..) I am getting an exception (Wrong type argument:

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread Ken Mankoff
On 2016-03-19 at 19:27, John Kitchin wrote: > Thanks! That is a nice function. > > I adapted it to make Tab work in python mode blocks. This might already do that: (setq org-src-tab-acts-natively nil) -k.

Re: [O] org-mode on Windows Emacs doesn't offer html export

2016-03-19 Thread Lawrence Bottorff
Thanks for the advice. Yes, a stripped-down org file did work. Will troubleshoot till the culprit sinister is found. On Fri, Mar 18, 2016 at 9:46 AM, Fabrice Popineau < fabrice.popin...@supelec.fr> wrote: > > > 2016-03-18 14:35 GMT+01:00 Lawrence Bottorff : > >> Yes, thanks

Re: [O] %? has no effect for org-agenda-prefix-format

2016-03-19 Thread Christophe Schockaert
Markus Heller writes: > Excerpt from describe-variable org-agenda-prefix-format: > > If the first character after `%' is a question mark, the entire field > will only be included if the corresponding value applies to the current > entry. [...] > > [...] > Here's the definition of

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread John Kitchin
Thanks! That is a nice function. I adapted it to make Tab work in python mode blocks. Curiously though, this: (define-key org-mode-map (kbd "") '(menu-item "org-mode-ret" nil :filter (lambda ( _) (when (and

Re: [O] No text in pdf output

2016-03-19 Thread John Kitchin
looks like a LaTeX compiling issue maybe. Your file works fine and as expected for me. Your tex file also builds fine. Can you build it manually? Guido Van Hoecke writes: > Oops, forgot the files > > On 19 March 2016 at 22:26, Guido Van Hoecke wrote: > >> Hi, >> >> Had some

Re: [O] Problem with src_ruby inline code and []

2016-03-19 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > On Tue, 15 Mar 2016, William Denton wrote: > >> I was updating and exporting a file where I use Ruby to do some basic >> arithmetic on tables, and noticed that inline code blocks where I reference >> an array aren't working. >> > > ECM: >

Re: [O] long delay after selecting capture template

2016-03-19 Thread Eric Abrahamsen
Allan Streib writes: > Hi, > > When I want to capture a task I hit C-c c and then t to select the task > template. > > Between striking the t key and seeing the template rendered, there is a > delay of several seconds (sometimes up to 10 seconds). No errors are > logged and

Re: [O] No text in pdf output

2016-03-19 Thread Guido Van Hoecke
Oops, forgot the files On 19 March 2016 at 22:26, Guido Van Hoecke wrote: > Hi, > > Had some strane problem when setting up org mode in a LXLE (Ubuntu > 14.04.3 LTS) VirtualBox running an a W10 host. > > I attach a small test.org file, the test.tex and test.pdf files that are

[O] No text in pdf output

2016-03-19 Thread Guido Van Hoecke
Hi, Had some strane problem when setting up org mode in a LXLE (Ubuntu 14.04.3 LTS) VirtualBox running an a W10 host. I attach a small test.org file, the test.tex and test.pdf files that are produced. The pdf file does not show any test, althought the tex file sems to be ok (I'm a complete

Re: [O] A small fix in `org-read-date-analyze'

2016-03-19 Thread Marcin Borkowski
On 2016-03-17, at 23:12, Nicolas Goaziou wrote: > Hello, > > Marcin Borkowski writes: > >>> I attach a simple patch to enhance handling of two-digit years in >>> `org-read-date-analyze'. (I have the FSF papers signed.) >> >> A better version (sorry for

Re: [O] A small fix in `org-read-date-analyze'

2016-03-19 Thread Nicolas Goaziou
Hello, Marcin Borkowski writes: >> I attach a simple patch to enhance handling of two-digit years in >> `org-read-date-analyze'. (I have the FSF papers signed.) > > A better version (sorry for the noise). Thank you. Is it a TINYCHANGE or did you sign FSF papers? Regards,

[O] long delay after selecting capture template

2016-03-19 Thread Allan Streib
Hi, When I want to capture a task I hit C-c c and then t to select the task template. Between striking the t key and seeing the template rendered, there is a delay of several seconds (sometimes up to 10 seconds). No errors are logged and the template eventually displays and everything is normal.

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread Eric S Fraga
On Saturday, 19 Mar 2016 at 14:03, John Kitchin wrote: > sure, that is true. I am still surprised that "uncommenting" adds a # which > in org is a comment. actually that seems to happen everywhere in the > org-file! Ah, yes, sorry: I'm so used to commenting doing the right thing (comment if not

Re: [O] Bug: Bulk reschedule with reschedule logging on fails [8.3.4 (8.3.4-5-gdc68d2-elpaplus @ /home/tyria/.emacs.d/elpa/org-plus-contrib-20160229/)]

2016-03-19 Thread Nicolas Goaziou
Hello, Allen Li writes: > I can think of three reasonable options: > > 1. Prompt for a note, then apply it to all affected items. > 2. Prompt for a note, then apply it only to items that are already >scheduled (and hence rescheduled). > 3. Don't attempt to add a

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread Ken Mankoff
On 2016-03-19 at 13:20, Eric S Fraga wrote: > On Saturday, 19 Mar 2016 at 12:44, John Kitchin wrote: >> I noticed that you try to uncomment a region in a src block a # gets >> inserted! >> >> #+BEGIN_SRC emacs-lisp >> ; test >> #+END_SRC >> >> >> If you select ; test and run

[O] No results when combining :session *R* with print.xtable

2016-03-19 Thread Stephan Lindner
Hi, I encounter the following problem (org version 8.3.2): When I have the following R source code block in my org file: #+BEGIN_SRC R :exports results :results replace output latex :eval export library(xtable) print(xtable(matrix(c(1,2,3), nrow=1)), only.contents=TRUE,

Re: [O] ox-latex doesn't handle doi: links right

2016-03-19 Thread Eric S Fraga
On Thursday, 17 Mar 2016 at 07:47, Vladimir Alexiev wrote: > A link like doi:10.1109/ICMEW.2015.7169818 is resolved in org to > http://dx.doi.org/10.1109/ICMEW.2015.7169818. > (I mean that if I click to the link, I go to that URL) > > However, ox-latex makes merely this: >

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread John Kitchin
sure, that is true. I am still surprised that "uncommenting" adds a # which in org is a comment. actually that seems to happen everywhere in the org-file! John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread Eric S Fraga
On Saturday, 19 Mar 2016 at 12:44, John Kitchin wrote: > I noticed that you try to uncomment a region in a src block a # gets > inserted! > > #+BEGIN_SRC emacs-lisp > ; test > #+END_SRC > > > If you select ; test and run uncomment-region you get this: > > #+BEGIN_SRC emacs-lisp > # ; test >

[O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread John Kitchin
I noticed that you try to uncomment a region in a src block a # gets inserted! #+BEGIN_SRC emacs-lisp ; test #+END_SRC If you select ; test and run uncomment-region you get this: #+BEGIN_SRC emacs-lisp # ; test #+END_SRC It also does that in Python. Any ideas why? -- Professor John Kitchin

Re: [O] OS X quick-access to Emacs

2016-03-19 Thread Ken Mankoff
On 2016-03-15 at 10:55, Ken Mankoff wrote: > I've created a BitBar plugin for quick-access to Emacs, such as a new > *scratch* buffer or a new "Compose Email" buffer. I thought these > might be useful to others, hence this post. One last follow-up to this. The following

Re: [O] Finding TODOs without SCHEDULED and DEADLINE?

2016-03-19 Thread Christophe Schockaert
Martin writes: > Hi there, > > I would like to create an agenda view for all my TODO elements in my > agenda files where I didn't set any SCHEDULED or DEADLINE marks. > > How can I do that? > Thanks, > Martin Hi Martin, I would do that with a "tags-todo" entry: ((agenda "" (tags-todo

[O] html email newsletter with org-mime

2016-03-19 Thread Jérémie Juste
Hello, I was trying to create an html email newletter using org-mime-html-buffer along with gnus. The results are quite good, but it's still a bit costly to add some html attributes. I usually do the following in org-mode

Re: [O] Patch for ox-confluence.el

2016-03-19 Thread Paul Schorfheide
Thanks for the feedback, Nicolas. I wasn't familiar with defcustom. I made the two edits and attached an updated patch. I would be happy to maintain the file in org-mode for now and look into moving it into ELPA. Thanks Paul Schorfheide On Thu, Mar 17, 2016 at 6:23 AM Nicolas Goaziou

Re: [O] export to markdown: a simpler version which is more suited for github etc

2016-03-19 Thread Grant Rettke
On Sat, Mar 12, 2016 at 12:21 PM, Uwe Brauer wrote: > So the question is simply this could the converter be configured to use > a simpler conversion? Have you tried http://orgmode.org/cgit.cgi/org-mode.git/plain/contrib/lisp/ox-gfm.el ? It was made for Github and friends; we

Re: [O] org-mode on Windows Emacs doesn't offer html export

2016-03-19 Thread Lawrence Bottorff
Yes, thanks Eric. Got latest-greatest 8.3. I did a (require 'ox-html) and (require 'ox-latex) and the options did show up. Not sure why my Linux side had these and the Windows side did not. But still I get this error: org-latex-compile: PDF file

Re: [O] long delay after selecting capture template

2016-03-19 Thread Eric Abrahamsen
Allan Streib writes: > Eric Abrahamsen writes: > >> I guess I would `toggle-debug-on-quit', then call capture, and while >> you're waiting for it to return, hit "C-g". That ought to pop up a >> backtrace, and you can see what code was being executed

Re: [O] ox-koma-letter: org-latex--insert-compiler not found

2016-03-19 Thread Jérémie Juste
On Sat, Mar 19, 2016 at 11:50 AM, Eric S Fraga wrote: > On Saturday, 19 Mar 2016 at 08:38, Jeremie Juste wrote: > > Hello, > > > > I'm trying trying org KOMA-Script letter exporter, but I get the > > following error: concat: > > > > Symbol's function definition is void:

[O] A small fix in `org-read-date-analyze'

2016-03-19 Thread Marcin Borkowski
Hi, I attach a simple patch to enhance handling of two-digit years in `org-read-date-analyze'. (I have the FSF papers signed.) Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University >From

Re: [O] Finding TODOs without SCHEDULED and DEADLINE?

2016-03-19 Thread Martin
Christophe Schockaert writes: > > > ((agenda "" > (tags-todo "-SCHEDULED={.}-DEADLINE={.}/TODO"))) > Thanks very much, with that information I could create the agenda I wanted to have. - Martin -- Lösungen statt Diagnosen

Re: [O] Is this (error (error ...)) form intentional?

2016-03-19 Thread Kyle Meyer
Marcin Borkowski writes: > From org.el: > > (defun org-back-to-heading ( invisible-ok) > "Call `outline-back-to-heading', but provide a better error message." > (condition-case nil > (outline-back-to-heading invisible-ok) > (error (error "Before first headline at

Re: [O] Publishing multiple projects

2016-03-19 Thread Nick Dokos
Michael Welle writes: > Hello, > > Giuseppe Lipari writes: > >> Hello, >> >> I usually define each project into a separate project.el file, and I use a >> batch scripts for publishing, something like this: >> >> publish.sh: >> - >> emacs --batch -l

Re: [O] Publishing multiple projects

2016-03-19 Thread Giuseppe Lipari
Hello, I usually define each project into a separate project.el file, and I use a batch scripts for publishing, something like this: publish.sh: - emacs --batch -l batch_project.el --kill - And my project.el - (add-to-list 'load-path "~/elisp/org-mode/lisp") (add-to-list 'load-path

Re: [O] args-out-of-range #

2016-03-19 Thread Nicolas Goaziou
Hello, br...@uwaterloo.ca writes: > This message just started appearing today when I open an agenda view > "C-c a a". It is not obvious to me what I am doing or have done > differently, and I would appreciate some advice how to diagnose the > problem: > Emacs: 24.5.1 > Orgmode: 8.3.4-5 (20160229

[O] ox-koma-letter: org-latex--insert-compiler not found

2016-03-19 Thread Jeremie Juste
Hello, I'm trying trying org KOMA-Script letter exporter, but I get the following error: concat: Symbol's function definition is void: org-latex--insert-compiler. I could not find the function org-latex--insert-compiler. Do you have a clue about this? Best regards, Jeremie

[O] org-mode on Windows Emacs doesn't offer html export

2016-03-19 Thread Lawrence Bottorff
Yes, the title sums it up. I've just ported my .emacs.d, org stuff, etc. from my Linux to my work Windows 10, and I can't get the export to offer html or latex. Even org-export-html-to-html doesn't work, gives error message org-latex-compile: PDF file

Re: [O] Bug: CALL misbehavior with :results verbatim [8.3.4 (8.3.4-5-gdc68d2-elpaplus @ /Users/rossdonaldson/.emacs.d/elpa/org-plus-contrib-20160229/)]

2016-03-19 Thread Ross Donaldson
Nicolas -- > Isn't it the point of the "verbatim" parameter? I didn't think so, no. Certainly, it doesn't behave this way in any other context, nor does the documentation make me think it should. > What did you expect instead? I expect the results of a call block to be the same as from

Re: [O] org-mode on Windows Emacs doesn't offer html export

2016-03-19 Thread Eric S Fraga
On Friday, 18 Mar 2016 at 14:12, Lawrence Bottorff wrote: > Yes, Eric, that's probably the case . . . and I just don't have my latex > ducks in a row yet. I've been spoiled on Linux -- things just working. . . Indeed. I'm lucky in that I don't have to venture out of the Linux world very often,

[O] %? has no effect for org-agenda-prefix-format

2016-03-19 Thread Markus Heller
Excerpt from describe-variable org-agenda-prefix-format: If the first character after `%' is a question mark, the entire field will only be included if the corresponding value applies to the current entry. This is useful for fields which should have fixed width when present, but zero width when

[O] Multiple header-args of same name in babel

2016-03-19 Thread Tiago Natel de Moura
Hello, What's the best way to split long header arguments in multiple lines? What I want to achieve is the same as the babel :var argument, but for other header (:imports). For example, with :var I can do: #+HEADER: :var a=1 #+HEADER: :var b=2 #+HEADER: :var c=3 #+BEGIN_SRC go fmt.Printf("%d",

[O] faster auto-completion suggestions in org-mode

2016-03-19 Thread Jérémie Juste
Hello, I'm using auto-complete in org mode but I notice that there is more delay in the completion in org-mode than in text mode for example. I tried to customize auto-complete by reducing the delay to a maximum but it didn't improve in org-mode. Do

Re: [O] A small fix in `org-read-date-analyze'

2016-03-19 Thread Nicolas Goaziou
Hello, Marcin Borkowski writes: > Papers signed. OK. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] ox-koma-letter: org-latex--insert-compiler not found

2016-03-19 Thread Eric S Fraga
On Saturday, 19 Mar 2016 at 08:38, Jeremie Juste wrote: > Hello, > > I'm trying trying org KOMA-Script letter exporter, but I get the > following error: concat: > > Symbol's function definition is void: org-latex--insert-compiler. > > I could not find the function org-latex--insert-compiler. > Do

[O] How to do for all clocks in the region or subtree?

2016-03-19 Thread Marcin Borkowski
Hi list, I have a function which does on a clock the point is on. I want to call it for every clock in the region if it is active, and if not, then for every clock in the current subtree. Here's what I have: --8<---cut here---start->8--- (defun

[O] Is this (error (error ...)) form intentional?

2016-03-19 Thread Marcin Borkowski
>From org.el: --8<---cut here---start->8--- (defun org-back-to-heading ( invisible-ok) "Call `outline-back-to-heading', but provide a better error message." (condition-case nil (outline-back-to-heading invisible-ok) (error (error "Before first

Re: [O] Spreadsheet: Conditionally apply formula to cell?

2016-03-19 Thread Christian Moe
Hi, Yes, there is. See the manual on logical operations in "Formula syntax for Calc", which gives an example for almost exactly the same thing. | 1 | 2 | 13 | | | || #+TBLFM: $3=if("$1" == "nan" || "$2" == "nan", string(""), $1+$2+10);E Yours, Christian Loris Bennett writes: > Hi,

Re: [O] [PATCH] (fixed) ox-confluence.el: Do not generate filled paragraphs

2016-03-19 Thread Nicolas Goaziou
Hello, "M. P. Ashton" writes: > Thanks for looking this over. Let me know what would be an acceptable > change if any. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] org-show-context-detail with ispell

2016-03-19 Thread Nicolas Goaziou
Hello, gongzhitaao writes: > org-show-context-detail works pretty good with isearch, i.e., revealing > context when searching in the folded section. But for ispell, it does not > reveal the context when checking spelling in the folded section. Are there > any ways

[O] Patch for ox-confluence.el

2016-03-19 Thread Paul Schorfheide
Hi: I made a small change to ox-confluence.el to support additional language name mappings. Can someone please review it? Thanks Paul Schorfheide 0001-Add-org-confluence-lang-alist.patch Description: Binary data

Re: [O] org-src-fontification buffers

2016-03-19 Thread Kyle Meyer
Alan Schmitt writes: > Hello, > > I'm having an issue with a buffer that is created by org for > fontification that wants to be saved, although it's temporary. In my > case, it's org-src-fontification:coq-mode, but it seems the problem > happens for other

Re: [O] html jsMath

2016-03-19 Thread Joseph Vidal-Rosset
2016-03-18 16:31 GMT+01:00 John Kitchin : > Try adding this to the top: > > #+HTML_HEAD: #+HTML_HEAD:src=" >

Re: [O] A small fix in `org-read-date-analyze'

2016-03-19 Thread Marcin Borkowski
On 2016-03-17, at 12:52, Marcin Borkowski wrote: > Hi, > > I attach a simple patch to enhance handling of two-digit years in > `org-read-date-analyze'. (I have the FSF papers signed.) A better version (sorry for the noise). Best, -- Marcin Borkowski

Re: [O] A proposed enhancement in entering timestamps

2016-03-19 Thread Eric S Fraga
On Friday, 18 Mar 2016 at 17:51, Marcin Borkowski wrote: > I'm now reading org-read-date-analyze to be able to enable US military > format for hours (e.g., 2100 instead of 21:00). This is potentially > very useful (at least for me), since I'll be able to enter the hour with > one hand (colon is

[O] A proposed enhancement in entering timestamps (was: A small fix in `org-read-date-analyze')

2016-03-19 Thread Marcin Borkowski
On 2016-03-18, at 14:34, Nicolas Goaziou wrote: > Hello, > > Marcin Borkowski writes: > >> Papers signed. > > OK. Applied. Thank you. Great, thanks! (This is my first contribution to Org-mode!) I'm now reading org-read-date-analyze to be able to

Re: [O] Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)]

2016-03-19 Thread Nicolas Goaziou
Hello, Damien Pollet writes: > Hi. When invoking org-capture to add an entry to my journal, Emacs > sometimes complains that "symbols's function definition is void: > org-find-property". Very much like in this report: > >

Re: [O] Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)]

2016-03-19 Thread Damien Pollet
On 16 Mar 2016, at 22:26, Nicolas Goaziou wrote: >> Package: Org-mode version 8.2.10 (release_8.2.10 @ >> /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/) > > The above looks supicious. "org-plus-contrib-20160314" should provide > Org 8.3.4 instead of 8.2.10,

[O] Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)]

2016-03-19 Thread Damien Pollet
Hi. When invoking org-capture to add an entry to my journal, Emacs sometimes complains that "symbols's function definition is void: org-find-property". Very much like in this report: https://lists.gnu.org/archive/html/emacs-orgmode/2016-02/msg00267.html M-x describe-function does not find that

[O] Using property macro with argument (or subtree-specific macro)

2016-03-19 Thread Joon Ro
Hi, Is there any way to use argument with property macro? For example, * test:PROPERTIES::HIDDEN: @@latex:\iffalse $1 \fi@@:END: {{{property(HIDDEN(string))}}} I don't think currently it is possible, but it would be great if this is possible, or we can have subtree-specific macro replacement.