Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-01-27 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Let $r_i$ denote the \(i\)-th rotation of $t$ with a suffix of $\ell|t|$ > characters deleted, for […] > > Me, if I could, I would pay money for this feature, for it would allow > me to use $$ consistently, focusing on mathematics instead of markup > idiosyncrasies of "

Re: Missing the second '}'

2022-01-27 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > John Kitchin writes: > depending on the file, you may be able to use M-x check-parens. I say > depending on the file because it matters how the open/close > marker syntax is defined in the file. I was able to use M-x check-parens on 3 passes to

[BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Thuna
Currently org-protocol-store-link assumes FNAME to be in the old-style. Changing the nil in line 467 of org-protocol.el to (listp fname) fixes the issue.

Re: [BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Max Nikulin
On 27/01/2022 06:02, Thuna wrote: Currently org-protocol-store-link assumes FNAME to be in the old-style. Changing the nil in line 467 of org-protocol.el to (listp fname) fixes the issue. Could you, please, describe your actual problem? I have tried emacsclient 'org-protocol://store-link?

Re: [BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Thuna
> Could you, please, describe your actual problem? Currently, org-protocol-store-link, as a function, fails to work for new-style links. Doing the following: 1. M-: (org-protocol-store-link "url=U&title=T") 2. M-x org-insert-link and accepting the suggestions for the link and the description i

Re: [BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Max Nikulin
On 27/01/2022 22:13, Thuna wrote: Could you, please, describe your actual problem? Currently, org-protocol-store-link, as a function, fails to work for new-style links. Doing the following: 1. M-: (org-protocol-store-link "url=U&title=T") 2. M-x org-insert-link and accepting the suggestions

Re: [BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Thuna
> See the last paragraph of the docstring: > >> FNAME should be a property list. If not, an old-style link of the > ^^ >> form URL/TITLE can also be used." > > You pass a string for *new* URI style. I see, it seems I have misunderstood the documentation then. M

Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-01-27 Thread Sébastien Miquel
Hi, Tom Gillespie writes: The change is local and minor. We can't know that. I meant that the change to the syntax would be minor and local, with respect to the linked syntax document. #+begin_src org I spent $20 on food and was paid$-10 dollars by friends so I am down $10. #+end_src [...] #

Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-01-27 Thread autofrettage
Rudolf wrote: > Further, \(\) brings 100% more characters than $$, resulting in more noise in > the sentence. Now where did I put my APL keyboard... Cheers Rasmus

Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-01-27 Thread Sébastien Miquel
Hi, Ihor Radchenko writes: We can theoretically make a change to support "-", but then it will be logical to support $i$th as well. (If we don't some users will still be confused after trying to write $i$th and then not getting the expected results). I disagree.  1. The $…$- pattern is also us

Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-01-27 Thread Tim Cross
Ihor Radchenko writes: > Rudolf Adamkovič writes: > >> Let $r_i$ denote the \(i\)-th rotation of $t$ with a suffix of $\ell|t|$ >> characters deleted, for […] >> >> Me, if I could, I would pay money for this feature, for it would allow >> me to use $$ consistently, focusing on mathematics inst