Re: [O] ob-python newline & indentation behavior

2017-11-18 Thread Jack Kamm
Sorry, I should have mentioned my version info anyways. I have tested on emacs 25.3.1 and emacs 26.0.90, and org-mode versions 9.1.2 and 9.1.3 (current master). The same error occurs on all emacs and org-mode versions. However the error slightly differs between Python and IPython interpreters. IPy

[O] Bug: #+INCLUDE: :only-contents not recognized [9.1.2 (9.1.2-37-g3f8d67-elpa @ /home/data1/protected/.emacs.d/elpa/org-20171113/)]]

2017-11-18 Thread Jean Louis
I can see that if I use: #+INCLUDE: "~/Documents/Org/With-Ease.org" :only-contents t that the #+TITLE variable is then included in the main file, and is concatenated to the main title. I am exporting "visible only" and that is happening. That is not expected. If I try to export with subtree fr

Re: [O] ob-python newline & indentation behavior

2017-11-18 Thread Martin Alsinet
Sorry Jack, I overlooked the :session bit. Disregard my email please On Sat, Nov 18, 2017 at 10:27 PM Martin Alsinet wrote: > Hello Jack: > > What versions of emacs and org-mode are you using? > > I tried your example on Emacs 25.3.1 and org-mode 9.1.2-22 and I got "20" > as result > It has hap

Re: [O] ob-python newline & indentation behavior

2017-11-18 Thread Martin Alsinet
Hello Jack: What versions of emacs and org-mode are you using? I tried your example on Emacs 25.3.1 and org-mode 9.1.2-22 and I got "20" as result It has happened to me in the past that some bug I was seeing goes away just by updating org-mode. Regards, Martin On Sat, Nov 18, 2017 at 5:16 PM

Re: [O] Deletion immediately after insertion should leave org-mode tables unaltered but it doesn't

2017-11-18 Thread Ruy Exel
Hi Nicolas, This is indeed a good idea as it mimics the creation of a row in emacs text-mode with "C-o". Best wishes, Ruy On Sat, Nov 18, 2017 at 9:37 PM, Nicolas Goaziou wrote: > Hello, > > Ruy Exel writes: > > > Given a simple table such as > > > > | Name | Age | > > |---+-| > > |

Re: [O] Deletion immediately after insertion should leave org-mode tables unaltered but it doesn't

2017-11-18 Thread Nicolas Goaziou
Hello, Ruy Exel writes: > Given a simple table such as > > | Name | Age | > |---+-| > | John | 20 | > | Peter | 25 | > |---+-| > > place the cursor in the cell containing 'Age', insert two columns pressing > 'M-S-right' each time and, immediately after that, delete two column

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Nicolas Goaziou
Hello, Akater writes: > I got an impression that UNNUMBERED's children get cut off prior to > what user can do, UNNUMBERED headings are not cut off, at least not by "ox.el". > hence writing a simple backend won't help, and I'll have to patch org > (ox) source. Do you know for sure I'm wrong?

Re: [O] ob-python newline & indentation behavior

2017-11-18 Thread Jack Kamm
Thanks Kyle, and sorry for missing that recent related thread. I adapted your old patch to the current master branch. I also extended it to work for ":results value" (the original patch only worked for ":results output"). I did this by not writing the last line of the code block to the tmpfile, un

[O] Bug: Template Expansion with prompt-specific history [9.1.2 (9.1.2-37-g3f8d67-elpa @ /Users/ke/.emacs.d/elpa/org-20171113/)]

2017-11-18 Thread Karl Eichwalder
Template expansion no longer works as documented: %^{PROMPT} prompt the user for a string and replace this sequence with it. You may specify a default value and a completion table with %^{prompt|default|completion2|completion3...}. The arr

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Akater
On November 18, 2017 5:18:10 PM GMT+00:00, Nicolas Goaziou wrote: > I suggest to write a parse tree filter that does that >change to the tree. > I got an impression that UNNUMBERED's children get cut off prior to what user can do, hence writing a simple backend won't help, and I'll have to patch

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Akater
On November 18, 2017 5:18:10 PM GMT+00:00, Nicolas Goaziou >I see. I don't think UNNUMBERED should be able to modify the structure >of the document. I suggest to write a parse tree filter that does that >change to the tree. > >Regards, Please note: it is not UNNUMBERED that modifies the structure

Re: [O] Beginner installing org-mode 9.1.2 from git fails on homebrew emacs-mac

2017-11-18 Thread Umbromancer
Thanks for putting me on the right track. I would not find that out by my self (+1 for the /etc/paths file too!). That was in fact the problem, somewhere /usr/local/bin/emacs is being called which has an outdate cl-lib. I installed both emacs-mac and emacs-plus via homebrew and was able to success

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Nicolas Goaziou
Hello, Akater writes: > On November 17, 2017 10:09:55 PM GMT+00:00, Nicolas Goaziou > wrote: >> >>OOC, what is the output you expect from your initial example? >> > > in LaTeX: > > * section-one > blah > * unnumbered-header > :PROPERTIES: > :UNNUMBERED: > :SKIP-OUTLINE-LEVEL: > :END: > ** sect

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Akater
On November 17, 2017 10:09:55 PM GMT+00:00, Nicolas Goaziou wrote: > >OOC, what is the output you expect from your initial example? > in LaTeX: * section-one blah * unnumbered-header :PROPERTIES: :UNNUMBERED: :SKIP-OUTLINE-LEVEL: :END: ** section-two blah ** section-three blah * section-four bl

Re: [O] ob-python newline & indentation behavior

2017-11-18 Thread Kyle Meyer
Hello, Jack Kamm writes: > ob-python newline & indentation behavior in :session is very ugly and > possibly broken. For example, consider the following code block: [...] > There is a 2 year old patch that fixes this behavior but has not yet > been incorporated: > https://lists.gnu.org/archiv

[O] Deletion immediately after insertion should leave org-mode tables unaltered but it doesn't

2017-11-18 Thread Ruy Exel
Given a simple table such as | Name | Age | |---+-| | John | 20 | | Peter | 25 | |---+-| place the cursor in the cell containing 'Age', insert two columns pressing 'M-S-right' each time and, immediately after that, delete two columns with "M-S-left". One would expect the tabl

Re: [O] Bug: linum-mode + org-indent-mode cursor movement problems [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2/lisp/org/)]

2017-11-18 Thread Kaushal Modi
On Fri, Nov 17, 2017, 6:20 PM Tom Schutter wrote: > But how long will we wait for Emacs 26? > The release is "imminent" as the first pretest is already out. Adding of new features to Emacs 26 has been stopped for a while now. So now only bug fixes and doc improvements happen. I have been buildi

[O] ob-python newline & indentation behavior

2017-11-18 Thread Jack Kamm
ob-python newline & indentation behavior in :session is very ugly and possibly broken. For example, consider the following code block: #+BEGIN_SRC python :session :results output foo = 0 for _ in range(10): foo += 1 foo += 1 print(foo) #+END_SRC Ideally this would print "20"

Re: [O] where is org-table-toggle-column-visibility

2017-11-18 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > I am still running an old git version of org mode, > which I installed because there was a new function > org-table-toggle-column-visibility which is very important to me. > > However I thought of trying out the official 9.1.3 version. > > However, in that version ei

Re: [O] Stable 9.1.3 demands explicit empty string in (file) as capture target

2017-11-18 Thread Nicolas Goaziou
Hello, Umbromancer writes: > Yes, you are right about the docs, alas many features are > undocumented. If you think documentation is lacking somewhere, please report it. Regards, -- Nicolas Goaziou0x80A93738

Re: [O] Bug: linum-mode + org-indent-mode cursor movement problems [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2/lisp/org/)]

2017-11-18 Thread Nicolas Goaziou
Hello, Tom Schutter writes: > But how long will we wait for Emacs 26? I don't know. It could be less long than waiting for someone to fix it, though. Anyway, I think the issue is on the Emacs C-side of code. Try playing with (vertical-motion '(2.0 . -1)) and (vertical-motion '(2.0 . 1)

[O] Bug: Org-mode easy templates stopped working after org-mode update [9.1.2 (release_9.1.2-190-g9cac9d @ /home/renato/.emacs.d/el-get/org-mode/lisp/)]

2017-11-18 Thread Renato Candido
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ---

[O] Bug: linum-mode + org-indent-mode cursor movement problems [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2/lisp/org/)]

2017-11-18 Thread Tom Schutter
If both linum-mode (or nlinum-mode) and org-indent-mode are enabled, then moving the cursor to the previous line using causes it to jump horizontally to the right. The jump matches the current indentation. I would expect the cursor to remain in the same column. Load linum.org (contents belo

Re: [O] [PATCH]: Fix ob-haskell.el to work with custom ghci prompts

2017-11-18 Thread Doro Rose
Nicolas Goaziou writes: > Hello, > > Doro Rose writes: > >> In summary, yes I'm accessing user settings but in a rather >> noninvasive way. Unfortunately I can't think of a more elegant way to >> do this. > > Let's put it differently then. Isn't it the job of the user, who changed > their prompt

[O] where is org-table-toggle-column-visibility

2017-11-18 Thread Uwe Brauer
Hi I am still running an old git version of org mode, which I installed because there was a new function org-table-toggle-column-visibility which is very important to me. However I thought of trying out the official 9.1.3 version. However, in that version either the function is gone, still not

Re: [O] Stable 9.1.3 demands explicit empty string in (file) as capture target

2017-11-18 Thread Umbromancer
Yes, you are right about the docs, alas many features are undocumented. But I must say I really haven't used org-mode in sufficient depth to say how long this glitch has been there... thank you On Fri, Nov 17, 2017 at 10:24 PM, Nicolas Goaziou wrote: > Hello, > > Umbromancer writes: > >> This ma