Re: Babel: parse error when output contains opening bracket

2020-06-29 Thread Jarmo Hurri
ian martins writes: > Since you recommend it, I will try submitting a patch for java. Excellent. > I still want to share the haxe integration. What is the best way to do > that? What does "haxe integration" mean here? All the best, Jarmo

Re: org-tempo and

2020-06-29 Thread Samuel Wales
thank you. it does work, if you get rid of your entire alist first. that is, it doesn't just seem to look up the car and expand it, but rather seems to require the whole list to be what it wants. so you cannot fix one at a time. i tried to fix one at a time because i wasn't sure which

Re: org-tempo and

2020-06-29 Thread Kyle Meyer
Samuel Wales writes: > On 6/29/20, Kyle Meyer wrote: >> would map to this (untested): >> >> ("b" . "src sh :results verbatim output") > > thanks. i tried that too. it gave an error so i assumed it was > invalid syntax. should i report it as a bug? Yes, please provide a minimal

Re: org-tempo and

2020-06-29 Thread Samuel Wales
On 6/29/20, Kyle Meyer wrote: > would map to this (untested): > > ("b" . "src sh :results verbatim output") thanks. i tried that too. it gave an error so i assumed it was invalid syntax. should i report it as a bug?

Re: org-tempo and

2020-06-29 Thread Kyle Meyer
Samuel Wales writes: [...] > i tried what is intended to now be on c-c ,. this brought up a warning: > > Please update the entries of `org-structure-template-alist'. > > it tells me to update a bunch of entries includign this one: > > ("b" "#+begin_src sh :results verbatim output\n?#+end_src"

Re: [PATCH] allow for multiline headers

2020-06-29 Thread Mario Frasca
On 29/06/2020 13:36, Nicolas Goaziou wrote: IMO, Org Plot should be very basic, and complexity should go into Babel code blocks, which are more capable. IMO, we are keeping org-plot artificially basic.  But you know what?  I'm just happy with my additions, my point was to share them with the

Re: org-tempo and

2020-06-29 Thread Samuel Wales
On 6/29/20, Samuel Wales wrote: > TAB or the new function, would bring up the warning which was not > obviously fixable. is not* -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html

Re: org-tempo and

2020-06-29 Thread Samuel Wales
my understanding is that adding to org-modules and requiring are functionally equivalent, at least in my use case. for me, the problem is that expanding, whether via the familiar < q TAB or the new function, would bring up the warning which was not obviously fixable. -- The Kafka Pandemic What

Re: org-tempo and

2020-06-29 Thread tomas
On Mon, Jun 29, 2020 at 01:15:04PM -0700, Samuel Wales wrote: > i used to do > > > to get a quote block. > > an upgrade to maint brought the org-tempo thing, which i know was a > long discussion whose resolution i completely forgot about. > > i'm ok with either old or new. i will fix

Re: a related bug Re: Breaking line inside list item

2020-06-29 Thread Samuel Wales
quite frequent for me [most of the time], but i don't know what triggers it. i am not able to narrow it down. On 6/29/20, Nicolas Goaziou wrote: > Hello, > > Samuel Wales writes: > >> i think it is worth pointing out a separate bug in case this code is >> code is modified. >> >> with m-x

org-tempo and

2020-06-29 Thread Samuel Wales
i used to do

Re: a related bug Re: Breaking line inside list item

2020-06-29 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > i think it is worth pointing out a separate bug in case this code is > code is modified. > > with m-x org-insert-item or m-ret: > > - zsdfasdfas > - asdfasdfa. asdfasdfasdf. asdfasdfasdfasdasd ,n ,mn > s,dfn ,amsdn f,a. |asdasdf,a sdfasd fsdnjkfanksda

a related bug Re: Breaking line inside list item

2020-06-29 Thread Samuel Wales
i think it is worth pointing out a separate bug in case this code is code is modified. with m-x org-insert-item or m-ret: - zsdfasdfas - asdfasdfa. asdfasdfasdf. asdfasdfasdfasdasd ,n ,mn s,dfn ,amsdn f,a. |asdasdf,a sdfasd fsdnjkfanksda d.ssa dkfasn df. what i expect is this: -

Re: Breaking line inside list item

2020-06-29 Thread Nicolas Goaziou
Sébastien Miquel writes: > I meant to go from > >  - Cogito, >    - ergo > sum > > to > >  - Cogito, >    - ergo >    sum Structurally, this is weird. You are splitting a paragraph in two parts, and sending the latter one into another item. I think you can use regular Emacs commands,

Re: [PATCH] allow for multiline headers

2020-06-29 Thread Nicolas Goaziou
Mario Frasca writes: > again, my idea is that we're describing something new, and I'm > wondering what lisp construct could be used to describe a table like > this one: > > | h1 | h2 | h3 | > |++| > | 11 | 12 | 13 | > | 21 | 22 | 23 | > | 31 | 32 | 33 | > |++| > | a1 | a2

question on user-error reference leading out of table

2020-06-29 Thread Mario Frasca
Hi, I need some help understanding how to use org-mode/org-table for references leading outside my table. I have a series of daily figures, and I am computing the series of running sums.  column one is the daily data, column two is the running sum of the preceding 14 values from column 1.

Re: [PATCH] allow for multiline headers

2020-06-29 Thread Mario Frasca
Hi Nicolas, sorry for not explaining it clearly.  see, I'm considering from the point of view of a user, who organizes a table in terms of logical units, like a header, one or more body blocks, and a summary line.  these concepts are not yet all supported by the org-table code, and again,

Re: Breaking line inside list item

2020-06-29 Thread Kévin Le Gouguec
Sébastien Miquel writes: >> There is RET or C-j, depending on your settings. > > C-j (~org-return-indent~) does work, thank you. Just a heads-up: the next version of org-mode (9.4) will obey electric-indent-mode, which is a global minor mode that is turned on by default. When this mode is

Re: Breaking line inside list item

2020-06-29 Thread Sébastien Miquel
There is RET or C-j, depending on your settings. C-j (~org-return-indent~) does work, thank you. I'm not sure what you mean here. Regards, I meant to go from  - Cogito,    - ergo sum to  - Cogito,    - ergo    sum But I don't really care about that use case anyway. Hello,

Re: [PATCH] allow for multiline headers

2020-06-29 Thread Nicolas Goaziou
Hello, Mario Frasca writes: > not only this … it could also be like (:header HEADER :body BODY :body > BODY), that is, repeating block. I'm not sure about what you mean. > I don't know, just doubting how to be more general. > > in practice, I'm thinking of the case when I have a header, a

Re: Breaking line inside list item

2020-06-29 Thread Nicolas Goaziou
Hello, Sébastien Miquel writes: > Is there a binding or functionality to go from this, (where | is the > cursor position): > >  - Cogito, |ergo sum. > > To this: > >  - Cogito, >    |ergo sum. There is RET or C-j, depending on your settings. > In the case of nested list, a way to cycle the

Breaking line inside list item

2020-06-29 Thread Sébastien Miquel
Hi, Is there a binding or functionality to go from this, (where | is the cursor position):  - Cogito, |ergo sum. To this:  - Cogito,    |ergo sum. Pressing enter + tab (calls ~indent-for-tab-command~) doesn't work : the line is indented to the dash instead. Although

Re: Smart processing of http(s) links

2020-06-29 Thread Christian Heinrich
I'm not sure if this is of interest to you, but I like org-cliplink to insert links with their titles. Maybe you can look at their source to build your own if it doesn't work for you? On Sun, 2020-06-28 at 13:43 -0700, Ag Ibragimov wrote: > I want to make something like this: > > Whenever I I

Re: Smart processing of http(s) links

2020-06-29 Thread Bonface M. K.
Ag Ibragimov writes: > Oh cool. This is exactly what I needed: > > I was able to build this: > > #+begin_src emacs-lisp > (defun get-gh-item-title (uri include-number?) > "Based on given github URI for (pull request or an issue), > returns its title" > (when (string-match