Re: ox-html Incorrectly (?) Puts HTML Into the `` Tag

2021-04-20 Thread Jens Lechtenboerger
On 2021-04-20, Tim Visher wrote: > I guess regardless it sounds like if I were to go to the trouble of making > a patch for this it would be good to make sure that it was behind an option > and probably defaulting to the current HEAD behavior of including the ASCII > markup with an option to

Re: List of ob-* maintainers

2021-04-20 Thread Kyle Meyer
Thomas S. Dye writes: > Aloha Kyle, > > Thanks for this. I think the Worg list might be useful to > indicate which languages don't have maintainers. Or, is the > information in the source files sufficient? I don't know, but adding the information to the Worg table sounds fine to me. Thanks.

Re: stability of toc links

2021-04-20 Thread Samuel Wales
hi, > I don't know what "tec's fix" is, i was referring to: Message ID<87v9dbelky@gmail.com> in this thread. [and other posts in this thread related to it.] the problem as i see it is link stability in generated output. On 4/20/21, Nicolas Goaziou wrote: > Hello, > > Samuel

Re: Using backticks for the inline code delimeter?

2021-04-20 Thread Tim Cross
Matt Price writes: > On Wed., Mar. 31, 2021, 3:22 p.m. Timothy, wrote: > > autofrettage writes: > > > Quick and Dirty: Bind key '`' to ~ in Emacs? > > > > (I guess it is clear I haven't thought about the consequences.) > > You can add that just to the Org-mode map. That wouldn't be too

Re: ox-html Incorrectly (?) Puts HTML Into the `` Tag

2021-04-20 Thread Tim Visher
Thanks so much for getting back to me, Jens. On Tue, Apr 20, 2021 at 12:59 AM Jens Lechtenboerger < jens.lechtenboer...@wi.uni-muenster.de> wrote: > On 2021-04-19, Kyle Meyer wrote: > > > Tim Visher writes: > > > >> Unfortunately, the title now is essentially the exact text of the org > >>

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-20 Thread Nicolas Goaziou
Hello, Maxim Nikulin writes: > Surprisingly there are still cases when the old approach works better: > > (let ((s (org-sort-remove-invisible > "A /wrapping [[https://orgmode.org/?a=b=d#e][link]] emphasis/"))) > (set-text-properties 0 (length s) nil s) > s) > "A wrapping

Re: Using backticks for the inline code delimeter?

2021-04-20 Thread John Kitchin
I have used an approach like the one here https://endlessparentheses.com/define-context-aware-keys-in-emacs.html to make context aware key-bindings. Matt Price writes: > On Wed., Mar. 31, 2021, 3:22 p.m. Timothy, wrote: > >> >> autofrettage writes: >> >> > Quick and Dirty: Bind key '`' to ~

Re: [PATCH] org-table-import: Make it more smarter for interactive use

2021-04-20 Thread Utkarsh Singh
Hi, On 2021-04-20, 15:40 +0200, Nicolas Goaziou wrote: > For the problem we're trying to solve, this sounds like over-engineering > to me. Do we want so badly to guess a separator? Earlier I took is as an assignment to learn Elisp but now I don't think we should increase complexity this much.

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-20 Thread Maxim Nikulin
On 20/04/2021 20:57, Nicolas Goaziou wrote: Maxim Nikulin writes: (org-sort-remove-invisible "A") #("A" 0 1 (:parent (#("A" 0 1 ... This is a string. Thank you, from second attempt I have managed to strip text properties. Since the intended usage of return value is sorting key, would

[PATCH] ob-sql: blocks without :engine get stuck in org-edit-src-code on indent

2021-04-20 Thread Ivan Sokolov
user-error in sql-set-product interrupts normal execution flow in org-indent-line for sql blocks without :engine. Provided patch is not the best solution, but I do not have the time or inclination to mess around with anything outside of the org-mode itself. >From

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-20 Thread Nicolas Goaziou
Hello, Maxim Nikulin writes: > Maybe first variant deserves to be committed while discussion of a > better option is in progress. I'd rather not, since we're currently considering a somewhat different path. The problem has been there for ages anyway. > I can not even determine what type of

Re: [PATCH] Startup option to separate macros arguments with an alternative string

2021-04-20 Thread Juan Manuel Macías
Hi Nicolas Nicolas Goaziou writes: > Even though Org syntax partly is, I don't think parameterizable syntax > is a way to go. I'd rather have less variables controlling it. (I'm > looking at you `org-list-allow-alphabetical', and > `org-plain-list-ordered-item-terminator'.) Thanks for your

Re: Bug: Incorrect duration format example in comments in 'org-duration.el' [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2021-04-20 Thread Nicolas Goaziou
Hello, Johnson writes: > I'm contributing to an org file python parser to correctly parse durations. > > I found the comments in org-duration.el > (https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-duration.el#L31 >

Re: [PATCH] org-table-import: Make it more smarter for interactive use

2021-04-20 Thread Nicolas Goaziou
Hello, Utkarsh Singh writes: > At first I was also reluctant in creating a new function but decided to > do so because: > > + org-table-convert-region is currently doing two thing 'guessing the > separator' and 'converting the region'. I thought it was a good idea to > separate out function

Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry

2021-04-20 Thread Cheong Yiu Fung
Hi, > OK. Then what about a shorter `ancestors-full'? That sounds better, I will use this one. > Also, could you provide tests for it in `test-org/show-set-visibility'? Sure, I'll see how to do it and submit a patch later. Yiufung On Tue, Apr 20, 2021, at 9:15 PM, Nicolas Goaziou wrote: >

Re: wip-cite status question and feedback

2021-04-20 Thread Matt Price
As a user, is there any way I can participate at this point? I'm not in a position to contribute code tight now but really do want to have this feature as soon as possible. It's going to improve my students' lives quite a bit. > > >

Re: Using backticks for the inline code delimeter?

2021-04-20 Thread Matt Price
On Wed., Mar. 31, 2021, 3:22 p.m. Timothy, wrote: > > autofrettage writes: > > > Quick and Dirty: Bind key '`' to ~ in Emacs? > > > > (I guess it is clear I haven't thought about the consequences.) > > You can add that just to the Org-mode map. That wouldn't be too bad, > there's always C-q. >

Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry

2021-04-20 Thread Nicolas Goaziou
Hello, "Cheong Yiu Fung" writes: > Yes, but that would work only for one entry. My main use case is to > first filter tree by `org-sparse-tree', then export all filtered > contents with `visible-only' option. If I am to use `ancestors' view > and move point within each entry one by one to

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-20 Thread Maxim Nikulin
On 20/04/2021 00:50, Nicolas Goaziou wrote: Maxim Nikulin writes: On 19/04/2021 23:08, Nicolas Goaziou wrote: + ;; Space role in sorting. + ;; Test would fail for locales with ignored space, e.g. en_US, it works + ;; in C and currently rare locales having significant space

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-20 Thread Maxim Nikulin
Hi, On 19/04/2021 23:08, Nicolas Goaziou wrote: In my opinion, a more severe limitation comes from sequential regexp-based approach. Consider stripping markers from 1. "a =b *c* d= e" 2. "*b* /i/" Fair enough. Here comes another, more involved, attempt. Maybe first variant deserves to be

Re: ox-html Incorrectly (?) Puts HTML Into the `` Tag

2021-04-20 Thread Jens Lechtenboerger
On 2021-04-19, Kyle Meyer wrote: > Tim Visher writes: > >> Unfortunately, the title now is essentially the exact text of the org >> heading, which is awkward in terms of readability for a general audience >> (and probably for SEO etc.). I know I said in my original message that I >> think

Bug: Incorrect duration format example in comments in 'org-duration.el' [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2021-04-20 Thread Johnson
I'm contributing to an org file python parser to correctly parse durations. I found the comments in org-duration.el (https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-duration.el#L31 ), mentioning that

Re: stability of toc links

2021-04-20 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > thank you. i use export. e.g. export a subtree to html and paste > into blogger. i don't use publish. > > for me [and some others on this thread iirc] tec's fix looks good, > fwiw. it would not proliferate custom id or id, and would fix both. Note that I

Re: Concerns about community contributor support

2021-04-20 Thread Jean Louis
* David Masterson [2021-04-20 00:59]: > What is the current status of having a BNF (or...?) parser for Org > files? In particular, the parser rules that could then be adopted by > tools that use Org files on other systems (iPhone, Android, ...)? Given > the availability of parser generators

Re: [PATCH] ob-tangle.el: Speed up tangling

2021-04-20 Thread Tom Gillespie
Hi Sébastien, The temp -> rename approach is good, but you should probably use make-temp-file to create the file to reduce the risk of collisions/race conditions. For example as (make-temp-file (concat file-name ".tangling")). I think that the location of condition-case is ok, but I wonder

Re: Concerns about community contributor support

2021-04-20 Thread Tom Gillespie
Hi Tim, David, and Gustav, I am fairly certain that with only a few exceptions it is possible to specify a context free grammar for org syntax, followed by a second pass that deals specifically with markup and a few other forms, notably the reassembly of things like plain lists. The fact that