Re: [O] noweb and :var statements

2019-10-06 Thread Ken Mankoff
Hi Sebastian, Thanks for your help. I was running with "-Q" but must have been making some other mistakes. It does work. As for your other email... I do know several tangles can go to the same file. And I may be using <> incorrectly, but I'm using it for the following reasons: 1) I'd like to

Re: [O] Shameless plug: blog series on how to use org mode features (PIM)

2019-10-06 Thread stardiviner
This is great, thanks for sharing! :) Karl Voit writes: > Hi! > > I created a series of my own blog articles on how I am using > features from Org mode. > > It's not related to the manual, it's related to "how to combine misc > features for everyday's work". > > Maybe you find a few tricks her

Re: [O] Feature request: add leading zeroes to align ordered lists with indexes of different length

2019-10-06 Thread stardiviner
This can use similar solution like ~org-num-mode~ which is already built-in of Org Mode. You can check it out. Might you can share it after you implemented an add-on. Davi Ramos writes: > I don't think it would be as visually pleasant, but I would be grateful for > it. > > On Sat, Jul 13, 20

Re: [O] [PATCH] ob-plantuml.el support for non-UML diagrams

2019-10-06 Thread stardiviner
Sounds great, is it merged now? Henrik Koschitzki writes: > Hello, > ob-plantuml encloses the body of PlantUML ( http://plantuml.com) diagram code > with @startuml/@enduml clauses. Recent versions of PlantUML support non-UML > diagrams > like gantt, mindmap and others that needs to be enclo

Re: [O] [Feature proposal] Add :description function to org-link-parameters

2019-10-06 Thread stardiviner
I propose this feature too. Hope can add this. Ihor Radchenko writes: > Hi, > > Wondering if anyone is interested in adding a new org-link property to > customise generating the link description. > > For now, there is global org-link-make-description-function, which is > shared among all the l

Re: [O] Feature Request: Use ~org-set-tags-command~ for ~%^g~ in capture

2019-10-06 Thread stardiviner
Samuel W. Flint writes: > Hello! > > Is there a way to use the ~org-set-tags-command~ function to complete > tags during capture? It currently uses whatever my normal completion > method is, but this means that I can't use the faster tag-selection > method that I'm used to otherwise. I'm look

Re: [O] Oas: a small addon to Org Mode to automatically close tasks with statistics

2019-10-06 Thread stardiviner
Interesting addon, I like this idea. :) I remember Org Mode has a similar option (can't figure out the option name). And also have some similar solution like this. Just they are depend on "task dependencies". I want to add some hooks on your code, but found this code is hard to read. I agree Ad

Re: [O] Inserting a link when setting a property

2019-10-06 Thread stardiviner
Rob Duncan writes: > I'd like to be able to use C-c C-l (org-insert-link) to specify a link when > setting a property value with C-c C-x p (org-set-property) but that key > sequence > isn't recognized in that mode. What's the best way to set things up so this > works? I think you have to add

Re: [O] [ANN] org-sidebar-tree: Sidebar tree-view buffer for outline navigation

2019-10-06 Thread stardiviner
This is really a helpful sidebar package. Thanks :) I like it very much. Hope can add an command to toggle it. I found I have to manually close it. Adam Porter writes: > Hi friends, > > I've published an easy-to-use version of a tool that I think Org has > long needed: a sidebar tree-view buf

Re: [O] noweb and :var statements

2019-10-06 Thread Sebastian Miele
I wrote: > [..] > > Please try it with emacs -Q. Maybe your config is broken. After starting emacs -Q you will have to M-x customize-variable RET org-babel-load-languages and add Python as a loaded language.

Re: [O] noweb and :var statements

2019-10-06 Thread Sebastian Miele
Ken Mankoff writes: > On 2019-10-06 at 21:52 +02, Sebastian Miele > wrote... >> I wrote: >> >>> [..] >>> >>> However, something like the following may suit your use case. (For the >>> header-args property see section 15.2 (Using Header Arguments) of the >>> manual.) >>> >>> * A Heading >>> :P

Re: [O] noweb and :var statements

2019-10-06 Thread Sebastian Miele
Ken Mankoff writes: > Hi Sebastian, > > I'm not getting the results I expect from your MWE either. Perhaps I > gave too much code and asked X when what I really want is Y. I think > I've distilled it to this: > > What is the most elegant Org way to get a table into a Python array? I do not kno

Re: [O] noweb and :var statements

2019-10-06 Thread Ken Mankoff
On 2019-10-06 at 21:52 +02, Sebastian Miele wrote... > I wrote: > >> [..] >> >> However, something like the following may suit your use case. (For the >> header-args property see section 15.2 (Using Header Arguments) of the >> manual.) >> >> * A Heading >> :PROPERTIES: >> :header-args: :var tabl

Re: [O] noweb and :var statements

2019-10-06 Thread Ken Mankoff
Hi Sebastian, I'm not getting the results I expect from your MWE either. Perhaps I gave too much code and asked X when what I really want is Y. I think I've distilled it to this: What is the most elegant Org way to get a table into a Python array? I can code it directly: #+BEGIN_SRC python <>

Re: [O] noweb and :var statements

2019-10-06 Thread Sebastian Miele
I wrote: > [..] > > However, something like the following may suit your use case. (For the > header-args property see section 15.2 (Using Header Arguments) of the > manual.) > > * A Heading > :PROPERTIES: > :header-args: :var table=table_foo > :END: > > #+NAME: table_foo > | foo | > |-| > |

Re: [O] noweb and :var statements

2019-10-06 Thread Sebastian Miele
Hi Ken! Ken Mankoff writes: > I'm having with noweb and variables. Can someone explain what I'm > doing wrong? For example, if I have this table: > > #+NAME: table_foo > | foo | > |-| > | 42 | > | 100 | > > And I want to import it into Python and use it, I can do that like this: > > #+NAME:

Re: [O] helm problem on MELPA ?

2019-10-06 Thread Joseph Vidal-Rosset
The helm problem on MELPA is solved.. Many thanks for this quick and good work ! Best wishes, Jo. Le dim. 6 oct. 2019 à 19:30, Joseph Vidal-Rosset a écrit : > > Hi everybody, > > After an upgrade, I meet a problem that is probably a helm problem on > MELPA. Here are the warnings: > > Error (use

[O] helm problem on MELPA ?

2019-10-06 Thread Joseph Vidal-Rosset
Hi everybody, After an upgrade, I meet a problem that is probably a helm problem on MELPA. Here are the warnings: Error (use-package): Cannot load helm-bibtex Error (use-package): Cannot load helm-projectile Error (use-package): org-ref/:catch: Cannot open load file: Aucun fichier ou dossier de c

[O] noweb and :var statements

2019-10-06 Thread Ken Mankoff
Hi Org list, I'm having with noweb and variables. Can someone explain what I'm doing wrong? For example, if I have this table: #+NAME: table_foo | foo | |-| | 42 | | 100 | And I want to import it into Python and use it, I can do that like this: #+NAME: import #+BEGIN_SRC python :var table

[O] Handling of org-edit-src-content-indentation

2019-10-06 Thread Sebastian Miele
Dear fellows! GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) of 2019-08-29 Org mode version 9.2.6 (release_9.2.6-544-gd215c3 @ /home/w/borg/emacs/org/lisp/) The variable org-edit-src-content-indentation has a default value of 2. Buffer-local values for that variable current

Re: [O] [RFC] Replace lambda functions added to org-mode-hook with named funcs

2019-10-06 Thread stardiviner
I propose one vote for this too. This give user better understanding. Some times I check out the variable org-mode-hook's value for troubleshooting, the meaningful function names can help me read quickly. Phil Sainty writes: > On Fri, Oct 5, 2018, 6:42 AM Nicolas Goaziou wrote: >> Kaushal Mod