Re: [O] tables: sum columns only in certain ranges of rows

2016-07-07 Thread Michael Brand
Hi Uwe On Mon, Jul 4, 2016 at 9:12 PM, Uwe Brauer wrote: > Is the a simple way to tell a org-table that > it adds say two columns in a certain way $4=0.2*($2+$3) > but only for certain values of the row. I hoped that > a hline would help but it does not the row containing Taylor > is treated in

Re: [O] links-9.0 v3

2016-07-07 Thread Nicolas Goaziou
Hello, John Kitchin writes: > I think I have addressed these. Revised commits appended and at > https://github.com/jkitchin/org-mode/tree/link-9.0-v3. > > The new org-link-set-parameters function you suggested works fine as far > as I can tell. WDYT? That's great. I realized there's one gotcha

Re: [O] Adding [fragile] to a LaTeX Beamer slide

2016-07-07 Thread Florian Lindner
Am 06.07.2016 um 22:49 schrieb Nicolas Goaziou: > Hello, > > Florian Lindner writes: > >> How can I add a fragile option to the frame > > You can set :BEAMER_OPT property accordingly. Great, works: :PROPERTIES: :BEAMER_OPT: fragile :END: Just one more question, btw. When I used this property

[O] Bug? Date calculation in table fail with locale "de"

2016-07-07 Thread Ulrich J. Herter
Dear Orgers, Is this a bug? I'm trying to do some date calculations in a table, however, when on German language settings I'm getting the following: | <2016-07-07 Do> | <2016-07-08 Fr> | #ERROR | #+TBLFM: $3=$2-$1 Debugger output: Substitution history of formula Orig:   ? $xyz->  $2-$1 @r$c->  $

Re: [O] [ox-publish, patch] More flexible sitemaps

2016-07-07 Thread Rasmus
Hi, Sorry about the slow reply. Sometimes there's not enough time. Nicolas Goaziou writes: >> + (unless (or (file-directory-p file) (directory-name-p file)) > > What is `directory-name-p'? Oh, it's new in Emacs-25. Thanks for pointing that out! The following is about the index function,

[O] org-beamer: How to leave a block?

2016-07-07 Thread Florian Lindner
Hello, I have *** MATLAB vs. PETSc:B_quote: :PROPERTIES: :BEAMER_env: quote :END: some lengthy quote from the manual Now I want to put the "from the manual" below the quote environment, not inside, like that: \begin{frame} \begin{quote} %% MATLA

Re: [O] Problem with eldoc and Python

2016-07-07 Thread Fabrice Popineau
Here a 2 very small patches for contrib/lisp/org-eldoc.el Regards, Fabrice 2016-07-06 23:27 GMT+02:00 Nicolas Goaziou : > Fabrice Popineau writes: > > > The problem is that the byte code comes from Python mode. > > I solved the problem with this: > > > > $ diff -uw contrib/lisp/org-eldoc.el

Re: [O] Problem with eldoc and Python

2016-07-07 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > Here a 2 very small patches for contrib/lisp/org-eldoc.el Applied, with changes to commit messages. Thank you. Regards, -- Nicolas Goaziou

Re: [O] org-beamer: How to leave a block?

2016-07-07 Thread Nicolas Goaziou
Hello, Florian Lindner writes: > Hello, > > I have > > *** MATLAB vs. PETSc:B_quote: > :PROPERTIES: > :BEAMER_env: quote > :END: > some lengthy quote > > from the manual > > Now I want to put the "from the manual" below the quote environment, not

Re: [O] links-9.0 v3

2016-07-07 Thread John Kitchin
> > That's great. I realized there's one gotcha left. > >>(let* ((option (org-element-property :search-option link)) >> (app (org-element-property :application link)) >> (dedicated-function >> - (nth 1 (assoc app org-l

Re: [O] links-9.0 v3

2016-07-07 Thread Nicolas Goaziou
John Kitchin writes: >> Here is the gotcha. `type' is "file", not "file+sys" or "file+emacs", >> so, when checking `dedicated-function' first, we cannot tell the >> difference between "file+sys" and "file+emacs". > > I don't follow this. Why can't these be three types? The type is "file". "sys"

Re: [O] Using property values in source code blocks

2016-07-07 Thread Charles C. Berry
On Wed, 6 Jul 2016, Joon Ro wrote: I have no idea what you are asking. [snip] I'm sorry if my explanation was not clear, but the original example I provided shows exactly what I wanted to do: And my response showed how to do it: you construct a src block with a noweb reference that p

Re: [O] Using property values in source code blocks

2016-07-07 Thread Joon Ro
> Date: Thu, 7 Jul 2016 08:48:03 -0700 > From: ccbe...@ucsd.edu > To: joon...@outlook.com > Subject: Re: [O] Using property values in source code blocks > CC: emacs-orgmode@gnu.org > > On Wed, 6 Jul 2016, Joon Ro wrote: > > > > > > > > >> I have no idea what you are asking. > >> > > [snip] >

Re: [O] tables: sum columns only in certain ranges of rows

2016-07-07 Thread Nick Dokos
Michael Brand writes: > Hi Uwe > > On Mon, Jul 4, 2016 at 9:12 PM, Uwe Brauer wrote: > >> Is the a simple way to tell a org-table that >> it adds say two columns in a certain way $4=0.2*($2+$3) >> but only for certain values of the row. I hoped that >> a hline would help but it does not the row

Re: [O] links-9.0 v3

2016-07-07 Thread John Kitchin
Let me preface my reply that I think your last suggestion: > (org-link-get-parameter (if app (concat type "+" app) type) :follow) Is the thing to do for this set of changes for now. I think it would wrap up this set of changes. I will send a new set of diffs that implement this shortly after th

Re: [O] links-9.0 v3

2016-07-07 Thread John Kitchin
Here are the new revisions that implement the previous solution you suggested and that incorporate the commit merges as far as I can see. WDYT? commit 290213ef3eee86175d5a6b15c7b6173afd0c1616 Author: John Kitchin Date: Tue Jul 5 10:38:42 2016 -0400 Update the contrib manual diff --git a/

[O] org-mode habit consistency graph not displaying

2016-07-07 Thread Brenda J. Butler
I have a question up at stackoverflow: https://stackoverflow.com/questions/38031463/org-mode-habit-consistency-graph-not-displaying Here is the content of the question and update: org-version 8.3.4 (elpa package, 20160530) emacs 24.4.1 (Debian package, Installed: 24.4+1-4.1~bpo70+1) When I

Re: [O] org-mode habit consistency graph not displaying

2016-07-07 Thread Josiah Schwab
Hello Brenda, > When I started using org-mode from elpa, the habit consistency graph > stopped showing. I was using a version of org-mode that comes with > debian before, with emacs 23 and the graph showed. When I upgraded to org 8.3, my org-habits did not display correctly, because the PROPERTY

Re: [O] org-mode habit consistency graph not displaying

2016-07-07 Thread Brenda Butler
Thanks for this answer. Unfortunately it didn't work for me. But when I have more time I will investigate further. This gives me a hint as to what (next-single-property-change (point-min) 'org-habit-p)) does and the environment it assumes. bjb On Thu, Jul 7, 2016 at 11:29 PM, Josiah Schwab w

[O] Computing dates in properties?

2016-07-07 Thread Jay Iyer
Hi, Is it possible to perform simple calculations in properties like in the example below? If so, please provide pointers. Thanks, -jay ** Headline 1 :PROPERTIES: :CUSTOM_ID: headline_1 :DATE: [2016-07-07 Thu] :END: ** Headline 2 :PROPERTIES: :CUSTOM_ID: headline_2 *:DATE: [date from headline 1

Re: [O] Bug: Table formula does not copy time interval correctly [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.0.94/lisp/org/)]

2016-07-07 Thread Rares Vernica
Michael Brand writes: > Hi Rares > > On Mon, Jul 4, 2016 at 6:28 PM, Rares Vernica wrote: > >> | [2016-07-03 Sun]--[2016-07-04 Mon] | 1d | d | >> | [2016-07-03 Sun]--[2016-07-05 Tue] | 2d | 2 d | >> #+TBLFM: $3=$2 > > A Calc formula interprets field values as a symbolic expressions to > calcul