Re: bi-monthly steps.

2020-03-13 Thread Eric S Fraga
On Friday, 13 Mar 2020 at 00:47, Peter Neilson wrote: > I think the original question from Christian Hopps presumes the > meaning, "Every two months." Oh, I took it to mean bi-weekly. ;-) -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-412-ge18415

Re: bi-monthly steps.

2020-03-13 Thread Loris Bennett
Eric S Fraga writes: > On Friday, 13 Mar 2020 at 00:47, Peter Neilson wrote: >> I think the original question from Christian Hopps presumes the >> meaning, "Every two months." > > Oh, I took it to mean bi-weekly. ;-) Exactly. So "bi-monthly" just means "twice a week". I'm sure we can all agree

Re: bi-monthly steps.

2020-03-13 Thread Michal Politowski
Fortnightly :) Such a useful word. On Thu, 12 Mar 2020 18:55:16 -0400, Christian Hopps wrote: > could use semimonth then :) > > > On Mar 12, 2020, at 2:15 PM, Nick Dokos wrote: > > > > "Bi-monthly" is ambiguous: it can mean twice a month or it can mean > > once every two months and there is no

semimonthly steps [Re: bi-monthly steps.]

2020-03-13 Thread Christian Hopps
FWIW the code was actually unambiguous. :) I meant "semimonthly" or twice a month (i.e., like some people get paid: 1-15th, 16th-endofmonth). Thanks, Chris. Loris Bennett writes: Eric S Fraga writes: On Friday, 13 Mar 2020 at 00:47, Peter Neilson wrote: I think the original question fr

Re: bi-monthly steps.

2020-03-13 Thread Peter Neilson
On Fri, 13 Mar 2020 04:01:43 -0400, Michal Politowski wrote: Fortnightly :) Such a useful word. There are 24 semi-months in a year. There are roughly 26 fortnights. American English seem to allow the adverb semimonthly but generally avoids the British term fortnightly. There ought to be

Bug: ob-python mangles multiline :var values [9.3.6 (release_9.3.6-397-ga089600)]

2020-03-13 Thread Štěpán Němec
Recipe: --- emacs -Q M-x load-library RET ob-python RET M-x org-mode RET #+begin_src python :var text="a\nb\nc" return text #+end_src #+RESULTS: : a : b : c Commentary: --- ob-python seems to prepend a TAB character to every line except for the first one. Emacs : G

Automatic Capture of Heading Creation Time In Certain Files?

2020-03-13 Thread Tim Visher
Ohai, I would like to automatically have the results of a double prefixed call to `org-time-stamp-inactive` inserted as the body of new TODO entries. I suspect I can do this with Capture templates but every time I read that manual section it seems to have a lot more than I want. I'm also reasonabl

Can Org Mode tag support dash character "-"?

2020-03-13 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I found Org Mode tags does not support tag like "COVID-9", The dash character "-" is not supported. Can Org Mode support the dash char because it is very often used. - -- [ stardiviner ] I try to make every word tell the meaning what I wa

Re: Can Org Mode tag support dash character "-"?

2020-03-13 Thread Carsten Dominik
On Fri, Mar 13, 2020 at 3:08 PM stardiviner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > I found Org Mode tags does not support tag like "COVID-9", The dash > character "-" is not supported. > Can Org Mode support the dash char because it is very often used. > This is not a

[PATCH] Add NO-STATS switch to org-get-heading

2020-03-13 Thread Brice Waegeneire
* lisp/org-element.el (org-element-context): Handle headlines only containing a statistics cookie. * lisp/org.el (test-org/get-heading): Add regex capture group 6 for statistics cookie. (org-get-heading): Add NO-STATS argument, if non-nil, will not return the statistics cookie. * testing/lisp/test-

Re: [PATCH] Add NO-STATS switch to org-get-heading

2020-03-13 Thread Nicolas Goaziou
Hello, Brice Waegeneire writes: > * lisp/org-element.el (org-element-context): Handle headlines only > containing a statistics cookie. > * lisp/org.el (test-org/get-heading): Add regex capture group 6 for > statistics cookie. > (org-get-heading): Add NO-STATS argument, if > non-nil, will not ret

Re: [PATCH] Add NO-STATS switch to org-get-heading

2020-03-13 Thread Nicolas Goaziou
Nicolas Goaziou writes: > This assumes statistics cookie is always located at the end of the > title, before the tags. This is not required by the syntax. > > Syntax can evolve, but it could introduce many backward > incompatibilities, so it must be discussed first. Also, note that statistics co

Re: [PATCH] Add NO-STATS switch to org-get-heading

2020-03-13 Thread Brice Waegeneire
Hello Nicolas, On 2020-03-13 17:22, Nicolas Goaziou wrote: * lisp/org-element.el (org-element-context): Handle headlines only containing a statistics cookie. * lisp/org.el (test-org/get-heading): Add regex capture group 6 for statistics cookie. (org-get-heading): Add NO-STATS argument, if non-ni

Re: [PATCH] Add NO-STATS switch to org-get-heading

2020-03-13 Thread Adam Porter
Please don't add more arguments to org-get-heading. It used to have 2, then it had 4, and now you want to add a 5th. Every time the function's signature changes, it breaks code in third-party packages and user code in random places, which requires the addition of messy compatibility code and inte