Re: [O] How do you organize a project and its related sub-tasks

2017-06-18 Thread Eric S Fraga
On Sunday, 18 Jun 2017 at 20:45, Narendra Joshi wrote: > Hi, > > I am curious about how people organize a project and its sub-tasks. For > example, say building a website. Do you make the task a TODO task and > then have TODO tasks under it? I don't like that the project appears in > my org-agenda

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread numbch...@gmail.com
I also think Org-mode table src block content to override file is dangerous. I have another idea. Append src block content to end of file. I have a sceniro: File `dotfile-1.org`: ``` * SSH config 1 #+BEGIN_SRC conf :tangle "~/.ssh/config" fragment 1 #+END_SRC ``` File `dotfile-2.org`: ``` * SS

[O] How to use noweb reference with argument in other languages?

2017-06-18 Thread numbch...@gmail.com
I found noweb reference with argument `<>` issue. This can work: ```org #+NAME: f1 #+BEGIN_SRC emacs-lisp :var x=7 :results value (+ x x) #+END_SRC #+RESULTS: f1 : 14 #+NAME: f2 #+BEGIN_SRC emacs-lisp :var x=7 :results value (+ x 2) #+END_SRC #+RESULTS: f2 : 9 #+name: intermediate #+call:

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread Chunyang Xu
"Charles C. Berry" writes: [...] > It sounds like you are re-inventing version control and wanting it to be > implemented in org-babel-tangle. > > `org-babel-tangle' can do a lot of work to assemble the files that result > from tangling. Modifying `org-babel-tangle' to do what you ask would

[O] org-indent-mode shows "noise" in the left-hand margin when using some themes

2017-06-18 Thread Forrest Sedgwick
Hello, 1. Open the attached org file using emacs -Q org-indent-text.org I have emacs version "GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10) of 2017-04-22" and thus org version 8.2.10 2. Change to a built-in dark theme: (load-theme 'tsdh-dark) 3. SHIFT-TAB a bit, everything lo

Re: [O] Just sharing another orgmode use: usability tests

2017-06-18 Thread Eduardo Mercovich
Hi Eric. The standard clocking task mechanism will do it fine. Great. However, since there are many multiple small observations along one task, maybe a capture template is a bit overdo... I find that capturing is a lightweight activity. It all depends on what you expect to have to do.

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-18 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: > There is absolutely no drawback in using lexical binding. Since Emacs > 24.1, it _is_ the default for Elisp: every Elisp file created activates > it, the other binding being for compatibility with older libraries. Maybe I miss something: when I create a fil

[O] How do you organize a project and its related sub-tasks

2017-06-18 Thread Narendra Joshi
Hi, I am curious about how people organize a project and its sub-tasks. For example, say building a website. Do you make the task a TODO task and then have TODO tasks under it? I don't like that the project appears in my org-agenda as a separate thing along with its sub-tasks. How do you handle th

Re: [O] Bibliograph:ref.bib vs. \printbibliograpy (WAS: Re: > Citations with org-ref in apa style)

2017-06-18 Thread John Kitchin
Try this to get the heading you want. It seems to work for me. # https://tex.stackexchange.com/questions/17445/how-can-i-change-the-references-to-reference-in-the-thebibliography-environm # This makes the bibliography section title empty and un-numbered #+latex: \renewcommand{\bibsection}{\subsec

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-18 Thread Nicolas Goaziou
Bastien Guerry writes: > I agree it's good to have lexical scoping, but I don't consider Elisp > to be lexical scopped -- I consider Elisp to let the user pick up the > constraints he wants, with dynamic binding still being the default. Not at all. Lexical binding is still the way to go. If you

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-18 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: > Bastien Guerry writes: > >> Still: when it is not used, why adding it? > > We are not adding it since it is in the file by default; you removed > it :) I guess it is in the file by default because the odds are good that lexical scoping will be actually use

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread Charles C. Berry
On Sun, 18 Jun 2017, Chunyang Xu wrote: Nicolas Goaziou writes: [...] I don't think it is a good idea to have file that can be both edited manually, and auto-generated (i.e., tangled). Or, to put it differently, the idea behind tangling is that you only handle the code block, not the file it

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread Chunyang Xu
Nicolas Goaziou writes: [...] > I don't think it is a good idea to have file that can be both edited > manually, and auto-generated (i.e., tangled). Or, to put it differently, > the idea behind tangling is that you only handle the code block, not the > file itself. I still think overriding exis

[O] Org-mode table/links -> mediawiki

2017-06-18 Thread Sharon Kimble
I'm at the stage of building an org-mode table to be exported to mediawiki and its going to be the front page of my DrugFacts site. So far I'm here - --8<---cut here---start->8--- | *Illegal* | *Category's* |*Legal*

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-18 Thread Nicolas Goaziou
Hello, Bastien Guerry writes: > Still: when it is not used, why adding it? We are not adding it since it is in the file by default; you removed it :) This is an odd question, however. The thing is: how is Emacs-lisp scoping, dynamic or lexical? We ought not consider it to be both throughout th

Re: [O] How to export LaTeX amsmath align bmatrix to ODT?

2017-06-18 Thread Eric S Fraga
On Saturday, 17 Jun 2017 at 23:13, ed...@openmail.cc wrote: > What is an ECM and how do I produce it? (this is a honest question). Sorry: French for minimal but complete example so that others can try to reproduce the problem. See the FAQ: http://orgmode.org/worg/org-faq.html -- : Eric S Fraga

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-18 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: > I'm not sure to understand commit > a023d670eceb9121ef6a511b108fd82265e6d6a8. In particular, why did > you remove lexical binding? It really should be active in every > library, and is the default when you create a new one. I didn't know lexical binding wa

[O] Automatically Concluding a Habit.

2017-06-18 Thread Malcolm Purvis
I have a habit that I'd like to perform every day or so in the lead up to an event, but after the event date I would like to be marked permanently done and never again appear in the agenda. Is there a way to do this automatically? I've tried with a combination of scheduled and deadlines, but the

Re: [O] Add an optional HOLD argument to "n" Org macro

2017-06-18 Thread Kaushal Modi
Hello Nicolas, On Sun, Jun 18, 2017, 3:16 AM Nicolas Goaziou wrote: > > As I said, I was only nitpicking. Feel free to fix it, or not. > OK, thanks for confirming. I'll leave out this edit then. > -- Kaushal Modi

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread Nicolas Goaziou
Hello, Chunyang Xu writes: > Currently 'C-c C-v C-t' ('org-babel-tangle') simply overrides existing > tangle-file, I would like org to ask me what to do? such as > > a) yes (override) > b) no (don't override) > c) show the diff then ask again > > In addition, if there is no diff (i.e., having th

Re: [O] Add an optional HOLD argument to "n" Org macro

2017-06-18 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > Thanks. I pushed the patch, but I missed making the when -> and change. Do > you want me to fix that in another commit? Though, functionally they are > the same, and 'make test' is passing. As I said, I was only nitpicking. Feel free to fix it, or not. Regards, -