Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Nicolas Goaziou
Kaushal Modi writes: > OK to push this after that change? Sure, go ahead. Thank you. Regards,

Re: [O] Status line change?

2017-06-22 Thread Kyle Meyer
Kyle Meyer writes: > That change seems to have unintentionally reversed the visibility check, > which should be > > -- >8 -- > diff --git a/lisp/org.el b/lisp/org.el > index 1e6d00973..d9b6489ff 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -12681,7 +12681,7 @@ (defun org-todo (&optional ar

Re: [O] Status line change?

2017-06-22 Thread Kyle Meyer
Russell Adams writes: > On Thu, Jun 22, 2017 at 08:27:41PM -0400, Kyle Meyer wrote: >> Testing with 9.0.5 and 9.0.9, I see a "TODO state changed to DONE" >> message in the echo area, which I think is what you're referring to. >> Not sure what the issue would be. You could check if you see the >

Re: [O] Status line change?

2017-06-22 Thread Russell Adams
On Thu, Jun 22, 2017 at 08:27:41PM -0400, Kyle Meyer wrote: > Russell Adams writes: > > > Since I recently upgraded my Org from an ancient v7 to 9.0.5, I noticed > > that when I use C-c C-t to change a headline to > > DONE that I no longer see a message on the status bar indicating it was > > ch

Re: [O] Status line change?

2017-06-22 Thread Kyle Meyer
Russell Adams writes: > Since I recently upgraded my Org from an ancient v7 to 9.0.5, I noticed that > when I use C-c C-t to change a headline to > DONE that I no longer see a message on the status bar indicating it was > changed. The lack of feedback makes me often go > up to the headline to c

[O] Status line change?

2017-06-22 Thread Russell Adams
Since I recently upgraded my Org from an ancient v7 to 9.0.5, I noticed that when I use C-c C-t to change a headline to DONE that I no longer see a message on the status bar indicating it was changed. The lack of feedback makes me often go up to the headline to confirm that it changed. I couldn'

[O] :noweb from external file

2017-06-22 Thread edgar
Hello, I would like to know if someone knows how I can achieve something like this (importing a block of code from another file): Definition of the original code: ../dir1/file1.org == #+NAME: py-numpy #+CAPTION: Loading Numpy and Matplotlib onto Python. #+BEGIN_SRC p

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Kaushal Modi
On Thu, Jun 22, 2017 at 3:58 PM Nicolas Goaziou wrote: > > A quick update.. the attached patch has minor formatting fixes over the > > previous one. > > Thank you. It looks good. > > However, I think we can write Noweb, i.e., without quotes, like Emacs, > Org or MobileOrg. Quotes impedes reading

Re: [O] org-protocol documentation

2017-06-22 Thread Nicolas Goaziou
Hello, Mario Martelli writes: > I’ve incorporated the org-protocol documentation into org.texi. > > https://github.com/mgmart/org-mode/commit/31dd3cc13034c8501d8526e25086152a0e6538dd > > So as to ease the rev

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > A quick update.. the attached patch has minor formatting fixes over the > previous one. Thank you. It looks good. However, I think we can write Noweb, i.e., without quotes, like Emacs, Org or MobileOrg. Quotes impedes reading process, IMO. WDYT? Regards, -- Ni

Re: [O] org-protocol documentation

2017-06-22 Thread Mario Martelli
I’ve incorporated the org-protocol documentation into org.texi. https://github.com/mgmart/org-mode/commit/31dd3cc13034c8501d8526e25086152a0e6538dd In a separate branch you could see the history of changes to th

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Kaushal Modi
A quick update.. the attached patch has minor formatting fixes over the previous one. Please use this patch for review. Thanks. On Thu, Jun 22, 2017 at 3:01 PM Kaushal Modi wrote: > Hello, > > Thanks. My comments are below, and the updated patch is attached. > -- Kaushal Modi 0001-Improve-

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Kaushal Modi
Hello, Thanks. My comments are below, and the updated patch is attached. In addition to your suggestion: - Replaced ``Noweb'' with ``noweb'' every where. I am still bugged by the inconsistency that some places have ``noweb'' while some places have just noweb (no quotes). Or would replacing all o

Re: [O] org table toggle narrowing and true column hiding

2017-06-22 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > Googling showed me that the question has been asked 2 years ago, so I > repeat it just in case: > > Any plans to implement true column hiding for org tables? What is true column hiding? What is the question you are referring to? > In a org mode buffer (not here in a

[O] [SOLVED] Re: Mouse-over on bibliographic citation

2017-06-22 Thread Sharon Kimble
John Kitchin writes: > Can you add this to your org-file, run it and tell me what the output is: > > #+BEGIN_SRC emacs-lisp > (org-ref-find-bibliography) > #+END_SRC > > Also run M-x org-ref to see what bibliography org-ref thinks it is > using in that file. There were some recent changes to > (o

Re: [O] rounding (up)

2017-06-22 Thread Uwe Brauer
>>> "John" == John Kitchin writes: > #+BEGIN_SRC emacs-lisp > (list (custom-round 0.4875 2 'floor) (custom-round 0.975 2 'floor)) > #+END_SRC Thanks I will have a look into that code.

Re: [O] Bug in org-insert-link

2017-06-22 Thread Nicolas Goaziou
Hello, Dieter Faulbaum writes: > "Normally" you are right (sorry for the noise) but I have anniversary > entries like this: > > %%(org-anniversary 1950 12 31) > [[bbdb:B%C3%A4rbel%20M%C3%BCnsterfr%C3%A4%C3%9F][Bärbel]] wird %d OK. The issue was different. It is now fixed. Thank you. Regards

Re: [O] problem with babel call with post action

2017-06-22 Thread Eric S Fraga
Helps if I attached the file... -- : Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-551-g92e8c8 A small example in which the ~call~ statement below fails with error message: Successfully reloaded Org #+begin_example Org mode version 9.0.9 (release_9.0.9-551-g92e8c8 @ /home/ucecesf/git/org-mo

Re: [O] problem with babel call with post action

2017-06-22 Thread Eric S Fraga
On Thursday, 22 Jun 2017 at 07:30, Nicolas Goaziou wrote: [...] > I don't understand it either. Could you edebug `org-babel-read-table', > or post an ECM? Anyway, this seems unrelated to babel call parsing. Hi Nicolas, I'm not au fait with using edebug. Will try to learn it (about time, probab

Re: [O] org-cdlatex is driving me nuts

2017-06-22 Thread Carsten Dominik
On Thu, Jun 22, 2017 at 8:07 AM, Rasmus wrote: > Guy Mayraz writes: > > > (ii) change the org-cdlatex math > > symbol to something totally obscure that wouldn't interfere with my > normal > > work? > > For what it is worth, option (ii) can be archived with something like this, > > (with-eval-aft

Re: [O] rounding (up)

2017-06-22 Thread Marco Wahl
Uwe Brauer writes: > Hi > > It seems that org-table (and the underlying calc implementation) round > down not up. > > > Please consider > > | 3.25 | 0.4875 | > | 6.5 | 0.975 | > > #+TBLFM: $2=$1*0.15; > > > | 3.25 | 0.49 | > | 6.5 | 0.97 | > > #+TBLFM: $2=$1*0.15;%.2f > > Is there a way to obt

Re: [O] Mouse-over on bibliographic citation

2017-06-22 Thread John Kitchin
Can you add this to your org-file, run it and tell me what the output is: #+BEGIN_SRC emacs-lisp (org-ref-find-bibliography) #+END_SRC Also run M-x org-ref to see what bibliography org-ref thinks it is using in that file. There were some recent changes to (org-ref-find-bibliography) that might be

Re: [O] org-cdlatex is driving me nuts

2017-06-22 Thread Rasmus
Guy Mayraz writes: > (ii) change the org-cdlatex math > symbol to something totally obscure that wouldn't interfere with my normal > work? For what it is worth, option (ii) can be archived with something like this, (with-eval-after-load 'org (define-key org-cdlatex-mode-map "`" nil) (org-de

Re: [O] rounding (up)

2017-06-22 Thread John Kitchin
It appears Emacs uses Banker's rounding (http://wiki.c2.com/?BankersRounding): #+BEGIN_SRC emacs-lisp (list (round 4.5) (round 5.5)) #+END_SRC #+RESULTS: | 4 | 6 | Here is some lightly tested code to get different styles of rounding: #+BEGIN_SRC emacs-lisp (defun custom-round (number &optional

Re: [O] Mouse-over on bibliographic citation

2017-06-22 Thread Sharon Kimble
John Kitchin writes: > this is a bug in the current org-mode 9.0.8. You have to revert it to org > 9.0.7 for now. It has been fixed, but I am not sure when it will show up. Thanks for this John. I can confirm that with today's release of 'org-mode plus contribs' the desired over effect has ret

Re: [O] Controlling new line characters during tangle

2017-06-22 Thread Giacomo M
Ok, rudimentary elisp knowledge seems to help here: #+BEGIN_SRC emacs-lisp (defun jack/dos2unix-post-tangle-hook ()   (set-buffer-file-coding-system 'unix 't)   (save-buffer)   ) (add-hook 'org-babel-post-tangle-hook 'jack/dos2unix-post-tangle-hook

Re: [O] org-protocol documentation

2017-06-22 Thread Mario Martelli
I’m about to incorporate the new style URIs into the documentation. During my tests somehow the open-source protocol does not work for me. I assume a bug around Line 527 in org-protocol.el (let* ((base-url (plist-get (cdr prolist) :base-url)) —> (wsearch (regexp-quote base-u

Re: [O] org-cdlatex is driving me nuts

2017-06-22 Thread Guy Mayraz
O.k. Thanks! It turns out the fault was in my desktop file, which had cdlatex mode listed in all my org files. Cheers, Guy Guy Mayraz | Lecturer (assistant professor) | Department of Economics | University of Melbourne Tel: +61 3 9035 8141 | Mobile: +61 422 893 184 On 22 June 2017 at 17:09, Ni

Re: [O] empty cells in columns should be left emtpy when manipulating columns

2017-06-22 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > One possibility: > | 3.25 | 0.4875 | > | || > | 2.25 | 0.3375 | > #+TBLFM: $2=if("$1" == "nan", string(""), $1*0.15);E Great but how can I round? #+TBLFM: $2=if("$1" == "nan", string(""), $1*0.15;%.1f);E And

Re: [O] empty cells in columns should be left emtpy when manipulating columns

2017-06-22 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > Please consider this > > | 3.25 | 0.4875 | > | | 0. | > | 2.25 | 0.3375 | > > #+TBLFM: $2=$1*0.15 > > How can I avoid the entry 0. ? One possibility: | 3.25 | 0.4875 | | || | 2.25 | 0.3375 | #+TBLFM: $2=if("$1" == "nan", string

Re: [O] problem with babel call with post action

2017-06-22 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > I think it's a symptom of being lazy and spending way too much time on > codes to make life easier... as in "The tale of the man who was too > lazy to fail" by Robert Heinlein [1]. Thank you for the reference. I hadn't heard about this novel before. >> I improved

[O] rounding (up)

2017-06-22 Thread Uwe Brauer
Hi It seems that org-table (and the underlying calc implementation) round down not up. Please consider | 3.25 | 0.4875 | | 6.5 | 0.975 | #+TBLFM: $2=$1*0.15; | 3.25 | 0.49 | | 6.5 | 0.97 | #+TBLFM: $2=$1*0.15;%.2f Is there a way to obtain | 3.25 | 0.49 | | 6.5 | 0.98 | #+TBLFM: $2=$1*0

[O] empty cells in columns should be left emtpy when manipulating columns

2017-06-22 Thread Uwe Brauer
Please consider this | 3.25 | 0.4875 | | | 0. | | 2.25 | 0.3375 | #+TBLFM: $2=$1*0.15 How can I avoid the entry 0. ? I could insert ** Giving | 3.25 | 0.4875 | | ** | #ERROR | | 2.25 | 0.3375 | #+TBLFM: $2=$1*0.15 But this is cumbersome, any other possibilities? Thanks Uwe B

Re: [O] org-cdlatex is driving me nuts

2017-06-22 Thread Nicolas Goaziou
Hello, Guy Mayraz writes: > Org-cdlatex is automatically enabled on all org files This is not true. You may want to check your configuration files. Regards, -- Nicolas Goaziou

[O] org-cdlatex is driving me nuts

2017-06-22 Thread Guy Mayraz
Org-cdlatex is automatically enabled on all org files, and it overrides the back quote symbol, which I like using for back quote. I know how to disable org-cdlatex in the current buffer, but that's not a good solution given the number of org buffers I use. Can I (i) shift the default to org-cdlatex

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > I have attached a patch (rebased off maint) that attempts at clarifying how > certain aspects of noweb work based on my experience, with few complete > examples. Thank you. Some comments follow. > Note: I had to also revert a little bit of wording change that was

Re: [O] org-table export to ods/xlsx etc

2017-06-22 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga writes: > On Wednesday, 21 Jun 2017 at 13:01, Uwe Brauer wrote: >> Debugger entered--Lisp error: (error "Cannot convert from csv format >> to xlsx format?") > What does (org-odt-do-reachable-formats "csv") return? Ha thanks I had to set (add-to-list 'org-