Re: [PATCH] ob-plantuml: Add PlantUML block post-processing.

2021-05-02 Thread Nick Daly
Hi Bastien, Bastien writes: > Nick Daly writes: > >> +(org-babel-plantuml-post-process out-file) > > Note that I had to remove the line above from your second patch. > > Can you confirm it is not necessary for your second patch to work? Yes, I can confirm that

Re: plantuml, png and caching

2021-04-18 Thread Nick Daly
CS Suehs wrote: > Should I expect the setting on the BEGIN_SRC line to work? On v9.1.14, this works for me as expected: #+name: helloworld2-works-fine-on-9-1-14 #+BEGIN_SRC plantuml :cache yes :file helloworld2.png @startuml Hello --> World @enduml #+END_SRC It

Re: [PATCH] ob-plantuml: Add PlantUML block post-processing.

2021-04-13 Thread Nick Daly
Nick Daly writes: > Please see the attached patch that allows for post-processing of > PlantUML diagrams based on the exported file extension. If the above patch was too generic and heavy-weight for consideration, please see this alternative, simpler, patch. It just adds a flag that

Re: plantuml, png and caching

2021-04-13 Thread Nick Daly
CS Suehs writes: > Should I expect PlantUML source blocks and their resulting images to > be cached and respect `:cache true` ? Yes. > In my experience they regenerate every export, even with :cache true. Can you provide an example? This example caches correctly for me on v9.1.14.

[PATCH] ob-plantuml: Add PlantUML block post-processing.

2021-04-07 Thread Nick Daly
mails never appeared on the list. Thanks for your time, Nick >From 527610e8a415a45bffac53b9b508b472311627c3 Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Mon, 5 Apr 2021 21:48:03 -0500 Subject: [PATCH] ob-plantuml: Add PlantUML block post-processing. * lisp/ob-plantuml.el (org-babel-plan

Re: [PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-31 Thread Nick Daly
Hi Kyle, thank you again for your help and analysis. In summary, org-mode needs no patches, but inf-haskell's comint-prompt-regexp needs updates. I'll follow up with the inf-haskell maintainers. > inf-haskell used to set comint-prompt-regexp in the body of > inferior-haskell-mode... This

RE: emacs + org-mode in virtual machine/docker/...

2020-05-24 Thread Nick Daly
John Kitchin writes: > Has anyone had any success in creating or using any kind of virtual > machine that can work across platforms to run emacs+org-mode? Yes, just this spring. I was trying to design an experiment that could be replicated and expanded by any citizen scientist, with minimal

Re: [PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-23 Thread Nick Daly
Apologies, one last patch. On Sat, May 23, 2020 at 7:02 PM Nick Daly wrote: > : "^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: > \\*?[[:upper:]][\\._[:alnum:]]*\\)*\\( λ\\)?> " > > =comint-prompt-regexp='s variable documentation calls out much simpler > regexps > > :

Re: [PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-23 Thread Nick Daly
Hi Kyle, thanks for the thoughtful analysis. On Wed, May 20, 2020 at 12:51 AM Kyle Meyer wrote: > So it looks like the member call above is returning nil because the > prompt markers are corrupting the element. If that's the case, it seems > like the output cleansing should happen upstream of

Re: [PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-17 Thread Nick Daly
Hi Org Maintainers, Attached is an updated patch that makes output trimming work with blocks that do and don't produce results. The old patch creates a =let: Wrong type argument: arrayp, nil= error when evaluating blocks that don't produce output. This necessarily incorporates yesterday's

[PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-17 Thread Nick Daly
Hi Org Maintainers, Please see the attached patch to remove "Prelude> " and "Prelude| " line continuations from the block result output when parsing blocks that contain multi-line function declarations. This likely requires yesterday's patch to return value-type results from Haskell blocks.

Unnecessary Warnings Evaluating Haskell Blocks [patch]

2020-05-16 Thread Nick Daly
Hello Org Maintainers, This issue has been reproduced on org versions 9.1.14 and Git master, and comes with a patch. * Issue ob-haskell.el::org-babel-execute:haskell produces spurious error messages when running haskell blocks without =:results output= specified. If =:results= is not specified

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-26 Thread Nick Daly
Nick Daly wrote: Hi folks, I have a situation where I have many named code snippets currently available in external files, and would like to tangle them into an Org mode file. Eric Schulte schulte.e...@gmail.com writes: The following function works for me on a simple example file... Thank

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-26 Thread Nick Daly
Hi Bastien, Nick Daly wrote: Hi folks, I have a situation where I have many named code snippets currently available in external files, and would like to tangle them into an Org mode file. Bastien writes: I'm not the one who would undertake this, so my opinion on this should not matter

[O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-11 Thread Nick Daly
Hi folks, I have a situation where I have many named code snippets currently available in external files, and would like to tangle them into an Org mode file. Is it currently possible to tangle included files? If not, could that feature be added to a new version of Org mode? I've looked through

[O] Bug?: org-agenda-to-appt Munging Deadline Dates and Scheduled Times

2013-05-14 Thread Nick Daly
Hi all, please let me know if the attached minimal example doesn't come through for whatever reason. It looks like (org-agenda-to-appt) displays a todo item on its deadline date at the scheduled time, if the scheduled and deadline dates are different (and the deadline has no time). The expected

[O] Bug: Priority-Down Sort Method Prevents Further Sorting in Daily Agenda

2013-04-22 Thread Nick Daly
First, Bastien (and everybody), thanks for all the work done on the 8.0 release. It's wonderful, aside from the occasional bug :) Second, that occasional bug: Priority-down (and presumably, priority-up) in the org-agenda-sorting-strategy prevent further sorting from occurring in the weekly/daily

Re: [O] Batch execution and --script

2012-08-29 Thread Nick Daly
On Wed, Aug 29, 2012 at 10:47 AM, Marcelo de Moraes Serpa celose...@gmail.com wrote: Hey guys, Regarding this: http://orgmode.org/manual/Batch-execution.html I also had success using --script, as in: #!/Applications/Emacs.app/Contents/MacOS/Emacs --script In the top of a .el file. You can