Re: [O] [BUG] Re: header argument :noweb-ref seems can't be resolved

2017-12-19 Thread Berry, Charles
> On Dec 19, 2017, at 11:00 AM, Nicolas Goaziou wrote: > > Since :noweb-ref is the only property that absolutely needs to be > retrieved from definition, another option would be to write a specific > function for that. > > It implies some duplicated efforts with `org-babel-get-src-block-info',

Re: [O] possible to store a link to a specific entry in the *texinfo* file?

2017-12-19 Thread Yasushi SHOJI
Hi, I'm sorry that I miss read your question. No, org-store-link, or org-info-store-link to be precise, doesn't support storing the index you just used or you are on. I'm not sure how to figure out what a user is trying to store is either the current node or the index. You can, however, write

Re: [O] possible to store a link to a specific entry in the *texinfo* file?

2017-12-19 Thread Yasushi SHOJI
Hi, On Tue, Dec 19, 2017 at 9:57 AM, Shiyao MA wrote: > However, org-store-link stores to the node : Stored: > info:elisp#Defining Minor Modes > Instead of the exact entry. I'm not sure what version of Org mode you are using but at least Org 8.3 supports info index as well as info node in the sa

[O] How to include diary anniversary entries into default org-agenda?

2017-12-19 Thread stardiviner
I have an org-mode file: #+begin_src org ,* Anniversary ,** my first child anniversary %%(diary-anniversary 10 26 2017) ,** Funeral Arrangement ,*** kk %%(diary-anniversary 12 8 2007) #+end_src How to include and show them in default org-agenda day view by configuring org-mode?

Re: [O] [RFC] Dog food, anyone?

2017-12-19 Thread Thomas S. Dye
Aloha Jonathan, Jonathan Leech-Pepin writes: >> >>Just to prevent miscommunication, I wasn't criticizing your work when >>I wrote I had improved the back-end. >> > > I didn’t take it as criticism, when I’d started working on it the new export > engine was still in it’s infancy and a lot of the w

Re: [O] [RFC] Dog food, anyone?

2017-12-19 Thread Jonathan Leech-Pepin
Hello, On December 19, 2017 6:11:21 PM EST, Nicolas Goaziou wrote: >Hello, > >Jonathan Leech-Pepin writes: > >> As Thomas mentioned I had originally written the exporter. > >I know. You are credited as the author of ox-texinfo.el. Did I mention >otherwise? > It had partially sounded like you

Re: [O] [0] ob-rust, support for rust code blocks

2017-12-19 Thread Nicolas Goaziou
Hello, Andrés Saraos Luna writes: > As a toy project I've written a simple ob-rust, mainly in order to > prepare some simple demos using rust. Thank you. There is another "ob-rust.el" at . Would it make sense to join efforts with its author? > Since I'm

Re: [O] [RFC] Dog food, anyone?

2017-12-19 Thread Nicolas Goaziou
Hello, Jonathan Leech-Pepin writes: > As Thomas mentioned I had originally written the exporter. I know. You are credited as the author of ox-texinfo.el. Did I mention otherwise? > I'd done my best to get it to work with the majority of the org.texi > however there were certain features that

Re: [O] Scheme code evaluation in fresh Emacs

2017-12-19 Thread Nicolas Goaziou
Neil Jerram writes: > On 19/12/17 19:30, Nicolas Goaziou wrote: >> I think it would be worth notifying upstream about it, if you have some >> spare time. > > Sure, but which upstream do you mean? Geiser. Maybe geiser-default-implementation should autoload geiser-impl or some such.

Re: [O] [RFC] Dog food, anyone?

2017-12-19 Thread Jonathan Leech-Pepin
Hello Nicolas On 17 December 2017 at 05:34, Nicolas Goaziou wrote: > Hello, > > The task started by Thomas S. Dye a couple years ago is now complete. > The "manual.org" file in "contrib/" directory is an up-to-date, > sometimes enhanced, version of the Org manual. Org can now eat its own > dog f

Re: [O] [RFC] Dog food, anyone?

2017-12-19 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > "Thomas S. Dye" writes: > >> I find the en-dash with spaces more aesthetically pleasing, too. > > Unfortunately, Emacs manual thoroughly uses em-dash. We have to bite the > bullet, IMO. > > I will change " -- " into "---" if there is no objecti

Re: [O] Scheme code evaluation in fresh Emacs

2017-12-19 Thread Neil Jerram
On 19/12/17 19:30, Nicolas Goaziou wrote: Hello, Neil Jerram writes: When I try to evaluate Scheme code in an Emacs where I haven't yet done any Geiser/Scheme work, I get an error about geiser-default-implementation being undefined.  The attached patch fixes that, but I am not sure if it is t

Re: [O] master: org-complete-expand-structure-template gone?

2017-12-19 Thread Uwe Brauer
> Uwe Brauer writes: > $ git log --grep=org-complete-expand-structure-template thanks this was the command I was looking for I tried git log | grep org-complete-expand-structure-template Which was less powerful > There's been a lot of back-and-forth on the list about this. I frankly

Re: [O] Scheme code evaluation in fresh Emacs

2017-12-19 Thread Nicolas Goaziou
Hello, Neil Jerram writes: > When I try to evaluate Scheme code in an Emacs where I haven't yet > done any Geiser/Scheme work, I get an error about > geiser-default-implementation being undefined.  The attached patch > fixes that, but I am not sure if it is the most minimal fix possible.  > WDYT

Re: [O] [RFC] Dog food, anyone?

2017-12-19 Thread Nicolas Goaziou
Hello, "Thomas S. Dye" writes: > I find the en-dash with spaces more aesthetically pleasing, too. Unfortunately, Emacs manual thoroughly uses em-dash. We have to bite the bullet, IMO. I will change " -- " into "---" if there is no objection. > Agreed. This is one of the first things we might

Re: [O] Error message triggered by fill.

2017-12-19 Thread Nicolas Goaziou
Hello, Richard Fieldsend writes: > However, I have hit a problem which only occurs in org-mode. On my laptop > and one of my desktop PCs the org-mode stuff works fine. But on my main > work machine when I have an org file I can add text, but when a line gets > long enough to word-wrap to the ne

Re: [O] [BUG] Re: header argument :noweb-ref seems can't be resolved

2017-12-19 Thread Nicolas Goaziou
Hello, "Berry, Charles" writes: > I guess I was unclear. There are two ways to fix this. > > 1) let bind org-babel-current-src-block-location in > org-babel-expand-noweb-references in the loop that scans for > noweb-ref'ed src blocks. This fixes the bug, but contradicts the > docstring for o-b-c

[O] Scheme code evaluation in fresh Emacs

2017-12-19 Thread Neil Jerram
When I try to evaluate Scheme code in an Emacs where I haven't yet done any Geiser/Scheme work, I get an error about geiser-default-implementation being undefined.  The attached patch fixes that, but I am not sure if it is the most minimal fix possible.  WDYT? Best wishes - Neil >From adceb0

Re: [O] [BUG] Re: header argument :noweb-ref seems can't be resolved

2017-12-19 Thread Berry, Charles
> On Dec 18, 2017, at 11:31 PM, stardiviner wrote: > > Confirmed. I don't know how to fix this problem, so maybe report to Org-mode > ML is the better way. (I changed the message title by prepend [BUG]) I guess I was unclear. There are two ways to fix this. 1) let bind org-babel-current-src-

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-12-19 Thread Matt Price
On Tue, Dec 19, 2017 at 5:04 AM, Rasmus wrote: > Matt Price writes: > > > On Wed, Nov 8, 2017 at 9:08 AM, Bastien Guerry wrote: > > > >> Hi Kaushal, > >> > >> Kaushal Modi writes: > >> > >> > I am suggesting to have a minor mode that simply binds "<" to do the > >> > template insertion (only w

Re: [O] master: org-complete-expand-structure-template gone?

2017-12-19 Thread Nick Dokos
Uwe Brauer writes: > Hi > > I just pulled the actual master (the last time I did this was in July). > It seems that the function org-complete-expand-structure-template is > gone. > > Is this true? If so > > - what is the substitute. > > - what is the rationale to break backward compatib

Re: [O] master: org-complete-expand-structure-template gone?

2017-12-19 Thread Rasmus
Uwe Brauer writes: > Hi > > I just pulled the actual master (the last time I did this was in July). > It seems that the function org-complete-expand-structure-template is > gone. > > Is this true? If so > > - what is the substitute. org-tempo.el and ‘org-insert-structure-template’. It’s st

[O] master: org-complete-expand-structure-template gone?

2017-12-19 Thread Uwe Brauer
Hi I just pulled the actual master (the last time I did this was in July). It seems that the function org-complete-expand-structure-template is gone. Is this true? If so - what is the substitute. - what is the rationale to break backward compatibility? - couldn't there be a fil

Re: [O] org dev repo?

2017-12-19 Thread Eric S Fraga
On Tuesday, 19 Dec 2017 at 11:03, Nick Dokos wrote: [...] > git clone http://orgmode.org/org-mode.git > > still worked as of yesterday (albeit slowly: be patient). "git pull" with git: does not work but with http: does work, but slowly as Nick says. -- Eric S Fraga via Emacs 27.0.50, Org relea

Re: [O] org dev repo?

2017-12-19 Thread Uwe Brauer
> Uwe Brauer writes: > git clone http://orgmode.org/org-mode.git > still worked as of yesterday (albeit slowly: be patient). Right, I really had to be patient.

Re: [O] org dev repo?

2017-12-19 Thread Nick Dokos
Uwe Brauer writes: > Hi > > I have cloned successfully the devoloper version of org in the past via > http://orgmode.org/org-mode.git > > Now it seem to need ages to pull > > I tried according to http://orgmode.org/worg/dev/ > > > git clone orgm...@orgmode.org:org-mode.git > > But obtained > ,---

Re: [O] use a src block's result as input of another src block report error: the input device is not a TTY

2017-12-19 Thread Neil Jerram
Remove the -it options, which I believe you don't need for executing a simple command like pwd. (-it is what you use to execute a shell or other interactive command in a container, and requires there to be a tty.) Best wishes - Neil On 19 December 2017 12:59:19 GMT+00:00, "numbch...@gmail.com

[O] Error message triggered by fill.

2017-12-19 Thread Richard Fieldsend
Hi All, Recently I declared Emacs bankruptcy and rebuilt my initialisation files from the ground up. For a while now I have managed my initialisation files by having everything in a folder (~/emacsLisp) which contains the .emacs file which calls a series of 'themed' initialisation files for things

[O] specify different agenda item colors for different custom agenda views

2017-12-19 Thread Rainer Stengele
Hi all, I cannot seem to find a way how to customise colors in custom org agenda blocks. I have 2 agenda views, both drawing from different set of org files. I would like to have different org-agenda-done faces for the 2 views. Can anyone give me a hint please. Thank you. Regards, Rainer

[O] use a src block's result as input of another src block report error: the input device is not a TTY

2017-12-19 Thread numbch...@gmail.com
Here is my example: #+NAME: get-container-name #+begin_src shell :results output echo $(docker ps --format="{{.Names}}") #+end_src #+RESULTS: get-container-name : elastic_thompson #+begin_src shell :var container_name=get-container-name :noweb yes docker exec -it $container_name pwd # docker exe

Re: [O] ox-publish export subtree scopes?

2017-12-19 Thread Rasmus
Narendra Joshi writes: > Kaushal Modi writes: > >> On Tue, Dec 5, 2017 at 7:31 AM Rasmus wrote: >> >> If you have any suggestions on how to improve ox-publish to >> better suit >> please share them. >> >> >> Hello Rasmus, >> >> I'd like to make the ox-publish based exporting working

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-19 Thread Rasmus
Eric Abrahamsen writes: > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Kaushal Modi writes: >>> On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote: > The only way it’s "bad" is in the sense it limits the flexibility of > snippets, like " I can no longer have "> >> I don'

Re: [O] run shell command after publishing project

2017-12-19 Thread Rasmus
Hi, Matt Price writes: > I'm setting up a new workflow using Kauhsal's ox-hugo. I keep all my > course materials in a few org files & publish to hugo-flavoured markdown. > My source materials live in one git repo, and my website in another. After > exporting any of my my courses to the local h

[O] org dev repo?

2017-12-19 Thread Uwe Brauer
Hi I have cloned successfully the devoloper version of org in the past via http://orgmode.org/org-mode.git Now it seem to need ages to pull I tried according to http://orgmode.org/worg/dev/ git clone orgm...@orgmode.org:org-mode.git But obtained , | | Cloning into 'org-mode'... | Permiss

Re: [O] Git repository error

2017-12-19 Thread Achim Gratz
Nick Dokos writes: > You might not have given it enough time. Here, it takes a long time, > but it completes: > > $ time git clone http://orgmode.org/org-mode.git > Cloning into 'org-mode'... Yes, http:// works (if slowly), but git:// is really flakey and mostly doesn't during the last few days at

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-12-19 Thread Rasmus
Matt Price writes: > On Wed, Nov 8, 2017 at 9:08 AM, Bastien Guerry wrote: > >> Hi Kaushal, >> >> Kaushal Modi writes: >> >> > I am suggesting to have a minor mode that simply binds "<" to do the >> > template insertion (only when that is typed at BOL with optional >> > leading whitespace, or i

[O] [UPDATE] Re: ob-clojure evaluate error when Org-mode buffer has ns clojure code

2017-12-19 Thread stardiviner
I got new update on this issue. I think it is caused by `(clojure-find-ns)`. Here is my found: I created a simple clojure project for used by all org-babel-clojure src blocks. ```elisp (progn   (find-file (expand-file-name "~/.emacs.d/Org-mode/ob-clojure/src/ob_clojure/core.clj"))   (cider-j