Re: [O] table formula help...

2014-12-05 Thread Thomas S. Dye
Aloha Eric, One approach would normalize the =counts= table= and use a SQL query to generate the payments table. #+name: counts | id | Piece | N| Unit | Translator | | 1 | foo | 84 | line | bar| | 2 | baz | 6633 | char | foobar | The query would sum over =N= conditional o

Re: [O] [RFC] Change property drawer syntax

2014-12-05 Thread Puneeth Chaganti
On Sat, Dec 6, 2014 at 5:01 AM, Nicolas Goaziou wrote: > Hello, > > Puneeth Chaganti writes: > >> It looks the commit 8d8ad983823c63b13fd6b471ce9db8c2f95e3808 broke >> generation of org sparse trees, when searching with properties that >> are not all uppercase. > > Could you provide an ECM? I've

[O] table formula help...

2014-12-05 Thread Eric Abrahamsen
I never seem to use the spreadsheet unless it's some horribly complicated thing I don't know how to calculate... Can someone lend me a hand? I'm calculating payment rates for contributors (actually translators) to a magazine. I've got two tables: The first is essentially a table of contents, list

[O] How to export strings froom options to JS variables?

2014-12-05 Thread Marcin Borkowski
Hi all, I have this near the beginning my Org file: #+ATTR_COOL: How cool is that! I want it to be exported to something like var how_cool = 'How cool is that!' There is a problem, hovever, what happens if some clever kid exploited it, putting things like apostrophes into the string: #+ATTR_C

Re: [O] [PATH] Speedups to org-table-recalculate

2014-12-05 Thread Nicolas Goaziou
Nathaniel Flath writes: > Sorry, that was incorrect - real patches attached. Thanks. > +(defun org-table-message-once-per-second (t1 &rest args) > + "If there has been more than one second since T1, display message. > +ARGS are passed as arguments to the 'message' function. Returns > +current

Re: [O] Bug: header-args:C++ doesn't work

2014-12-05 Thread Nicolas Goaziou
Hello, Puneeth Chaganti writes: > I was helping out "ablephar`" on IRC and they found that setting a > file property `header-args:C++` does not work. > > After some edebug magic, I discovered that org has a feature that lets > you append property values! (Not the best way to discover a great > f

Re: [O] demoting a heading inserts spaces in column-0 text

2014-12-05 Thread Nicolas Goaziou
Hello, Daniel Clemente writes: > There was a change (cba2f0a2a3024ae5bf71e1a12ba99778a92902a2, Sat > Nov 8 14:35:24 2014 +0100) which made :CLOCK: etc entries shift to > the right when the tree is being shifted to the right („demoted“, > e.g. using M-S-Right). > > > But now it changes fr

Re: [O] [RFC] Change property drawer syntax

2014-12-05 Thread Nicolas Goaziou
Hello, Puneeth Chaganti writes: > It looks the commit 8d8ad983823c63b13fd6b471ce9db8c2f95e3808 broke > generation of org sparse trees, when searching with properties that > are not all uppercase. Could you provide an ECM? > The fix seems to be just removing the conversion of key to upcase in >

Re: [O] clock gone error, fixing it issues, and K does not clock out

2014-12-05 Thread Samuel Wales
i got it to occur by sorting a different tree later in the file. it occurs even after undo. On 11/18/14, Samuel Wales wrote: > maint. > > when i am clocking something, when i clock out, it says byte-code: > Clock start time is gone. > > the only way i have found to deal with it is to cancel. m

[O] org-id-open misses invisible entries

2014-12-05 Thread Eric Danan
Hello, I apologize if this remark is useless or inappropriate, I am quite new to emacs and org-mode. I noticed that the function org-id-open in org-id.el does not jump to the target entry if it is invisible. I tested that inserting (widen) before (goto-char m) in the function's defun fixes this is

Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-05 Thread Marco Wahl
Hi Benjamin, > None of my events which are scheduled with org-diary-class sexp entries > seem to get pushed with (org-agenda-to-appt) (for triggering alarms > etc.). Is this simply a limitation of sexp org-diary-class? Is there > are workaround, or would it be better to simply schedule such even

[O] :colnames behavior

2014-12-05 Thread Nick Dokos
In this example, setting :colnames to no produces column names in the evaluated result - setting it to yes (or defaulting to nil) takes out the column names. That seems to be the opposite of what is intended - it also contradicts the manual[fn:1] afaict. --8<---cut here---

[O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-05 Thread Benjamin Slade
None of my events which are scheduled with org-diary-class sexp entries seem to get pushed with (org-agenda-to-appt) (for triggering alarms etc.). Is this simply a limitation of sexp org-diary-class? Is there are workaround, or would it be better to simply schedule such events as (infinitely) rep

Re: [O] shrink latex table to fit beamer slide

2014-12-05 Thread Andreas Leha
Hi Zhihao, Zhihao Ding writes: > Thanks a lot Andreas. Is there a way to globally > shrink/resize table for latex export without having > to define column width like this > “:align p{1cm} p{0.5cm} p{1cm}” ? > I am hopting to do something like width=\textwidth > and leave the rest to org for fi

Re: [O] shrink latex table to fit beamer slide

2014-12-05 Thread Zhihao Ding
Thanks a lot Andreas. Is there a way to globally shrink/resize table for latex export without having to define column width like this “:align p{1cm} p{0.5cm} p{1cm}” ? I am hopting to do something like width=\textwidth and leave the rest to org for finding suitable font sizes. Zhihao > On 5

Re: [O] [RFC] Change property drawer syntax

2014-12-05 Thread Puneeth Chaganti
Hi Nicolas, It looks the commit 8d8ad983823c63b13fd6b471ce9db8c2f95e3808 broke generation of org sparse trees, when searching with properties that are not all uppercase. The fix seems to be just removing the conversion of key to upcase in `org-entry-properties'. Since the comparison with specia

[O] BUG: table variable passing broken

2014-12-05 Thread Andreas Leha
Hi, This issue is still open. And I do not seem to be able to find this thread on gmane for some reason. So, I resend the last message as a summary. EDIT: I just tried to answer to that thread but the message again did not come through. So, another try (with a slightly adapted title). Best, A

Re: [O] shrink latex table to fit beamer slide

2014-12-05 Thread Andreas Leha
Hi Zhihao, Zhihao Ding writes: > Dear Org experts, > > I am trying to fit a slightly wide latex table into a beamer > slide in org. Below is my current solution and I was wondering > if anyone can offer some advice on improving it. > > #+begin_scriptsize > #+ATTR_LATEX: :align p{1

[O] demoting a heading inserts spaces in column-0 text

2014-12-05 Thread Daniel Clemente
There was a change (cba2f0a2a3024ae5bf71e1a12ba99778a92902a2, Sat Nov 8 14:35:24 2014 +0100) which made :CLOCK: etc entries shift to the right when the tree is being shifted to the right („demoted“, e.g. using M-S-Right). But now it changes from this: some :CLOCK: CLOC

[O] shrink latex table to fit beamer slide

2014-12-05 Thread Zhihao Ding
Dear Org experts, I am trying to fit a slightly wide latex table into a beamer slide in org. Below is my current solution and I was wondering if anyone can offer some advice on improving it. #+begin_scriptsize #+ATTR_LATEX: :align p{1cm} p{0.5cm} p{1cm} | | |

Re: [O] "#+BEGIN_SRC mail" and org-src-fontify-natively

2014-12-05 Thread Nicolas Goaziou
Hello, Andrea Rossetti writes: > Hello Org users, > > when I start emacs -Q and do the following recipe: > > 1) open the test file "prova.org" (see attach) > 2) confirm at the file-local variable prompt, by typing "y" > 3) quit with C-x C-c > > then Emacs unexpectedly asks for a confirm to sa