Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Paul Eggert
On 03/10/2016 07:33 AM, Kaushal Modi wrote: Shouldn't this be handled by `substitute-command-keys' already? The fix looks like a hack. I don't think this has anything to do with substitute-command-keys. That function simply returns a string. Right, 'message' and

Re: [O] org export to latex tables, with hlines and |

2016-03-10 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > IIUC you want to put a rule after every row in the table? If that's the > case, the straightforward way to do it is to explicitly put the rule in > your table: > |/|<>| > | | | > |-+--| > Otherwise you can use

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kyle Meyer
Kaushal Modi writes: [...] > - (message > + (message "%s" > (substitute-command-keys "\\\ > Edit formulas, finish with `\\[org-ctrl-c-ctrl-c]' or > `\\[org-edit-special]'. \ > See menu for more commands.") There are a few other places in Org

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
Good point. I will submit a new patch later today. On Thursday, March 10, 2016, Kyle Meyer wrote: > Kaushal Modi > writes: > > [...] > > > - (message > > + (message "%s" > > (substitute-command-keys "\\\ > > Edit

Re: [O] Org-crypt encrypting PROPERTIES?

2016-03-10 Thread Nicolas Goaziou
Hello, "Daniel E. Doherty" writes: > I am trying to use org-crypt to encrypt certain headings, but when I invoke > org-crypt-entry on an entry with properties, it encrypts the properties as > well. From the manual, "Org-crypt will encrypt the text of an entry, but not > the

Re: [O] "atomic knowledge" modeling tool

2016-03-10 Thread Samuel Loury
Eric S Fraga writes: > On Sunday, 6 Mar 2016 at 20:26, Samuel Loury wrote: >> Samuel Loury writes: >> >> [...] >> >>> I will clean the *elc files and send another report. I will also >>> deactivate the advises not to pollute the results. >> >> Actually,

Re: [O] org-agenda error

2016-03-10 Thread Nicolas Goaziou
Hello, Peter Salazar 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

Re: [O] org export to latex tables, with hlines and |

2016-03-10 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > When I use > orgtab radio tables in latex files with orgtbl minor mode enabled > the following template > > > > '(orgtbl-radio-table-templates >(quote > ((latex-mode "% BEGIN RECEIVE ORGTBL %n > % END RECEIVE ORGTBL %n > \\begin{comment} >

Re: [O] Org is exporting to tex an asterisk between "section" and "{"

2016-03-10 Thread Nicolas Goaziou
Hello, Eduardo Mercovich writes: > Being a total newbie I can't say that the resulting syntax is incorrect > (is it?), but at least in the case of latex, *not expressing this > specific option creates a non-functional latex file*. > > Shouldn't the exporter take care of

Re: [O] Bug: Smart quotes for LaTeX export broken in tables [8.3.4 (8.3.4-9-gfda14f-elpa @ elpa/org-20160307/)]

2016-03-10 Thread Nicolas Goaziou
Hello, Philipp Middendorf writes: > I noticed that when exporting to LaTeX using smart quotes, the smart > quotes will be inserted in normal paragraphs but not inside tables. A > minimal example is as follows: > > #+LANGUAGE: de > #+OPTIONS: ':t > #+LATEX_HEADER:

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > Can someone please review and commit this patch. > > It basically prints the "C-c '" binding correctly in the echo area, using > straight quote instead of curly quote (matters in emacs 25.x). The details > are in the commit log below. Thank

[O] Bug: can not evaluate any code blocks after enabling additional languages [8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/)]

2016-03-10 Thread Rainer M Krug
* Configuration Org-mode version 8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/) GNU Emacs 25.0.92.1 (x86_64-apple-darwin15.3.0, NS appkit-1404.34 Version 10.11.3 (Build 15D21)) of 2016-03-07 init.el: , | (setq package-user-dir (concat

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-10 Thread Nicolas Goaziou
Hello, Allen Li writes: > When bulk rescheduling TODO items with org-log-reschedule set to 'note, > only the first marked item will get rescheduled. I have reproduced this > on a fresh clone of the Git repo with a minimal config. > > Here is the *Messages* snippet: >

Re: [O] org-babel C math.h issue

2016-03-10 Thread Nicolas Goaziou
Hello, Oz Ben-Ami writes: > A minimal working example, attached, includes the following snippet: > > #+BEGIN_SRC C :includes '( ) :flags -lm > int i=9; > printf("%d\n",(int)sqrt(i)); > #+END_SRC FWIW, I get #+BEGIN_SRC C :includes '( ) :flags -lm int i=9;

Re: [O] Org is exporting to tex an asterisk between "section" and "{"

2016-03-10 Thread Eric S Fraga
On Tuesday, 8 Mar 2016 at 09:30, Eduardo Mercovich wrote: [...] > Being a total newbie I can't say that the resulting syntax is incorrect > (is it?), but at least in the case of latex, *not expressing this > specific option creates a non-functional latex file*. > > Shouldn't the exporter take

Re: [O] Best way to create blog for company web site with Orgmode

2016-03-10 Thread Eric S Fraga
On Thursday, 10 Mar 2016 at 08:37, Alan Schmitt wrote: [...] > Note that I suck at design and CSS, but I think this is orthogonal to > the matter at hand ;) Orthogonal but key: I use org to generate a static web site which includes a quasi-blog. The org side is all about content and meaning

Re: [O] Org-crypt encrypting PROPERTIES?

2016-03-10 Thread Eric S Fraga
On Wednesday, 9 Mar 2016 at 09:35, Bingo wrote: >I can confirm this (tried in org 8.3.0 many months ago). For me, > org-mobile-push and pull were adding properties every time. I'd love a > resolution too. I gave up on this and pulled all encrypted entries out of my normal agenda/notes files

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

2016-03-10 Thread Nicolas Goaziou
Hello, Shlomi Vaknin writes: > I managed to make another non-working example (should I make > a gif showing what I see?): > > --- > - src_elisp{3} {{{results(=3=)}}} > > * B > - src_elisp{3} {{{results(=3=)}}} > - > - > - >

Re: [O] C-c ! org-time-stamp-inactive ?

2016-03-10 Thread Nicolas Goaziou
Hello, K writes: > Kyle Meyer kyleam.com> writes: > >> >> Hello, >> >> Luke Crook balooga.com> writes: >> >> > For me, C-c ! has suddenly become unbound and no longer inserts >> > an inactive timestamp. Has this changed in the base org-mode, or >> > most likely is this

Re: [O] Bug: can not evaluate any code blocks after enabling additional languages [8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/)]

2016-03-10 Thread Rainer M Krug
Sorry for tp: Additional info: Works under Org-mode version 8.3.4 (8.3.4-dist @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/) Rainer M Krug writes: > * Configuration > Org-mode version 8.3.4 (release_8.3.4-639-gd5a603 @ >

Re: [O] org export to latex tables, with hlines and |

2016-03-10 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > IIUC you want to put a rule after every row in the table? If that's the > case, the straightforward way to do it is to explicitly put the rule in > your table: > |/|<>| > | | | > |-+--| Thanks, right, but

Re: [O] Bug: can not evaluate any code blocks after enabling additional languages [8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/)]

2016-03-10 Thread Nicolas Goaziou
Hello, Rainer M Krug writes: > Debugger entered--Lisp error: (void-function org-babel-get-header) This looks like a mixed installation. This function was removed in development version and code base doesn't use it anymore. It was still called in a few Babel libraries within

Re: [O] Bug: can not evaluate any code blocks after enabling additional languages [8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/)]

2016-03-10 Thread Rainer M Krug
Nicolas Goaziou writes: > Hello, > > Rainer M Krug writes: > >> Debugger entered--Lisp error: (void-function org-babel-get-header) > > This looks like a mixed installation. This function was removed in > development version and code base doesn't use it

Re: [O] org-babel C math.h issue

2016-03-10 Thread Anssi Saari
Oz Ben-Ami writes: > A minimal working example, attached, includes the following snippet: > > #+BEGIN_SRC C :includes '( ) :flags -lm > int i=9; > printf("%d\n",(int)sqrt(i)); > #+END_SRC I get the same problem, Ubuntu 14.04.3 LTS, GNU Emacs 24.3.1, Org-mode version 8.2.10.

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
Here's the updated patch (MINUS the help-echo fix): >From 238ccdfc8bbdeb53196392a4dff96478a19cb5a5 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 9 Mar 2016 01:18:58 -0500 Subject: [PATCH] Fix the single quote printed in the message MIME-Version: 1.0 Content-Type:

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
I am unable to figure out how to escape the ` and ' in the help-echo text property. I tried the below: diff --git a/lisp/org-table.el b/lisp/org-table.el index 0a25772..749baca 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -794,10 +794,10 @@ When nil, simply write \"#ERROR\" in

Re: [O] org-babel C math.h issue

2016-03-10 Thread Nick Dokos
Oz Ben-Ami writes: > Hi, > > I'm a new org user, and I'm sorry if I'm missing something obvious. When > executing a C code snippet with > org-babel, that contains a math function, I get the famous "undefined > reference" errors. I tried adding > ":flags -lm", but that

Re: [O] org export to latex tables, with hlines and |

2016-03-10 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: >> Hello, >> Uwe Brauer writes: > > >> IIUC you want to put a rule after every row in the table? If that's the >> case, the straightforward way to do it is to explicitly put the rule in >> your table: > >>

Re: [O] Bug: can not evaluate any code blocks after enabling additional languages [8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/)]

2016-03-10 Thread Rainer M Krug
Kyle Meyer writes: > Rainer M Krug writes: > >> Nicolas Goaziou writes: >> >>> Hello, >>> >>> Rainer M Krug writes: >>> Debugger entered--Lisp error: (void-function org-babel-get-header) >>> >>> This looks like a

Re: [O] C-c ! org-time-stamp-inactive ?

2016-03-10 Thread K
Nicolas Goaziou nicolasgoaziou.fr> writes: > > Hello, > > K limist.com> writes: > > > Kyle Meyer kyleam.com> writes: > > > >> > >> Hello, > >> > >> Luke Crook balooga.com> writes: > >> > >> > For me, C-c ! has suddenly become unbound and no longer inserts > >> > an inactive timestamp.

Re: [O] org export to latex tables, with hlines and |

2016-03-10 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > IIUC you want to put a rule after every row in the table? If that's the > case, the straightforward way to do it is to explicitly put the rule in > your table: > |/|<>| > | | | > |-+--| > Otherwise you can use

Re: [O] org-babel C math.h issue

2016-03-10 Thread John Kitchin
I get the right answer on a Mac with org-mode version 8.2.10 Anssi Saari writes: > Oz Ben-Ami writes: > >> A minimal working example, attached, includes the following snippet: >> >> #+BEGIN_SRC C :includes '( ) :flags -lm >> int i=9; >> printf("%d\n",(int)sqrt(i)); >>

Re: [O] Bug: can not evaluate any code blocks after enabling additional languages [8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/)]

2016-03-10 Thread Kyle Meyer
Rainer M Krug writes: > Nicolas Goaziou writes: > >> Hello, >> >> Rainer M Krug writes: >> >>> Debugger entered--Lisp error: (void-function org-babel-get-header) >> >> This looks like a mixed installation. This function was removed in

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kyle Meyer
Nicolas Goaziou writes: >> Fix the quote style when in the "C-c '" key-binding that is printed in the >> echo via the substitute-command-keys function. In emacs 25.x, a straight >> quote is rendered as a right-curly quote by default. > > Shouldn't this be handled by

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
> > Shouldn't this be handled by `substitute-command-keys' already? The fix > looks like a hack. I don't think this has anything to do with substitute-command-keys. That function simply returns a string. So the below 2 forms display the exact same thing: "C-c ’" (note the curved right quote) by

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Paul Eggert
On 03/10/2016 09:47 AM, Kaushal Modi wrote: How can I make the help-echo property display the ` and ' verbatim, without curving them? Help strings are considered documentation, so you need to escape special characters in help-echo property strings the same way you'd escape them in doc

Re: [O] org-export-babel-evaluate and header arguments

2016-03-10 Thread Anthony Cowley
Charles C. Berry writes: > On Wed, 9 Mar 2016, Anthony Cowley wrote: > >> >> If I have org-export-babel-evaluate set to nil, source blocks are not >> evaluated on export. However, if a source block has a :var header >> argument that calls another source block, I am prompted if the callee >>

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kyle Meyer
Kaushal Modi writes: > Below is now the latest patch = previous patch + help-echo straight quote > fix. Thanks for expanding this to the other cases. I'm not having any luck getting this to apply to maint. Could you send it either as an attachment or directly with git

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
On Thu, Mar 10, 2016 at 8:39 PM, Paul Eggert wrote: > Help strings are considered documentation, so you need to escape special > characters in help-echo property strings the same way you'd escape them in > doc strings. Something like this: > > (let* ((str1 "\nhello") >

Re: [O] org-export-babel-evaluate and header arguments

2016-03-10 Thread Charles C. Berry
On Thu, 10 Mar 2016, Anthony Cowley wrote: Charles C. Berry writes: On Wed, 9 Mar 2016, Anthony Cowley wrote: If I have org-export-babel-evaluate set to nil, source blocks are not evaluated on export. However, if a source block has a :var header argument that calls another source block, I

Re: [O] Bug: can not evaluate any code blocks after enabling additional languages [8.3.4 (release_8.3.4-639-gd5a603 @ /Users/rainerkrug/.emacs.d/elpa/25.0/org-20151005/)]

2016-03-10 Thread Kyle Meyer
Rainer M Krug writes: > OK - thanks. This is solved now. But now I am stuck with the following, > where again, org-element-cache-reset is in the emacs packed org-mode, > while orgmode() is in the git version, and the changed org-set-local() > causes an error. Any suggestions?

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
I'll try to provide a working patch tomorrow. Yes, my FSF copyright assignment is on file. About the periods after commit descriptions, I will ensure that all sentences other than the summary line end with a period. About the patch not merging, I am surprised why that happened because I first

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kyle Meyer
Kaushal Modi writes: > About the patch not merging, I am surprised why that happened because I > first rebased to > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=e69e18dd71bdf0c9bae9546bf026a1123b9a8c53 > and then created the patch. I redo the steps using git

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-10 Thread Allen Li
The TODO items need to be scheduled first (since it's the REschedule that is causing it). Can you try: * TODO A SCHEDULED: <2016-01-01 Mon> * TODO B SCHEDULED: <2016-01-01 Mon> Nicolas Goaziou writes: > Hello, > > Allen Li writes: > >> When

Re: [O] org-babel C math.h issue

2016-03-10 Thread Anssi Saari
Nick Dokos writes: > You can test that that's the case: put your program into a file, say foo.c, > and > execute > > gcc -o foo.out -lm foo.c > > Does that give you undefined references? Does for me. gcc --version says gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 So is it gcc