Re: I would like invisible table in Org mode

2024-12-24 Thread Ihor Radchenko
Jean Louis writes: >> Yes, why not? >> If we make table fontification more granular in >> `org-set-font-lock-defaults' and apply a separate face to | separators >> in the table lines, that face could be set to `org-hide'. > > I think that Emacs' invisible face is actually hiding lines, so that >

Re: I would like invisible table in Org mode

2024-12-24 Thread Jean Louis
* Ihor Radchenko [2024-12-24 14:24]: > Jean Louis writes: > > > I would like native Org mode within Emacs to show me invisible table. > > > > Is that possible? > > Yes, why not? > If we make table fontification more granular in > `org-set-font-lock-defaults' and apply a separate face to | separ

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2024-12-24 Thread Morgan Smith
Hello! I have updated the patch with many improvements and tests. Ihor Radchenko writes: > Morgan Smith writes: > >> * lisp/org.el (org-tags-sort-hierarchy): New function. >> (org-tags-sort-function): Add new function to type. >> * testing/lisp/test-org.el (test-org/tags-sort-hierarchy): New t

Re: save email(gnus) in org format

2024-12-24 Thread General discussions about Org-mode.
> * Uwe Brauer via "General discussions about Org-mode. > [2024-12-20 20:12]: >> >> Hi >> >> Vanilla gnus offers to save single messages in the following format >> >> --8<---cut here---start->8--- >> * gnus-summary-save-in-rmail (Rmail format) >> * gnus-summa

Re: Form feed characters break odt export

2024-12-24 Thread Max Nikulin
On 21/12/2024 10:56, Max Nikulin wrote: On 21/12/2024 08:48, Joseph Turner wrote: https://github.com/bohonghuang/org-srs/pull/10#issuecomment-2557417871 In this specific context a workaround should be #+begin_comment ^L #+end_comment To avoid confusion of other contributors it should be mor

Re: org-mode git site seems unavailable

2024-12-24 Thread Bastien Guerry
Colin Baxter writes: > Not Before Thu, 19 Sep 2024 22:27:25 GMT > Not After Wed, 18 Dec 2024 22:27:24 GMT curl -vvI https://git.savannah.gnu.org/git/emacs/org-mode.git * SSL connection using TLSv1.2 / ECDHE-ECDSA-AES256-GCM-SHA384 * ALPN: server accepted http/1.1 * Server certificate: * subjec

Re: Form feed characters break odt export

2024-12-24 Thread Ihor Radchenko
Max Nikulin writes: > On 24/12/2024 18:04, Christian Moe wrote: >> I don't think it's specific to ODT or LibreOffice, it's the underlying >> XML 1.0 spec that "discourages" control characters and does not include >> #xC in the range of characters that XML processors must accept. > > Pandoc retain

Re: Form feed characters break odt export

2024-12-24 Thread Max Nikulin
On 24/12/2024 18:04, Christian Moe wrote: I don't think it's specific to ODT or LibreOffice, it's the underlying XML 1.0 spec that "discourages" control characters and does not include #xC in the range of characters that XML processors must accept. Pandoc retains "^L" in export to markdown, but

Re: [PATCH] org-protocol: Add void() to bookmarklets

2024-12-24 Thread Ihor Radchenko
Max Nikulin writes: >> Another variant from reddit is >> >> javascript:location.href='org-protocol://store-link?'+new >> URLSearchParams({url:location.href, title:document.title}); void(0); > > If you think that ";void(0)" variant is less prone to errors then I may > update my patch. I have no

Re: [PATCH] org-protocol: Add void() to bookmarklets

2024-12-24 Thread Max Nikulin
On 22/12/2024 19:42, Ihor Radchenko wrote: Max Nikulin writes: -javascript:location.href='org-protocol://store-link?' + - new URLSearchParams({url:location.href, title:document.title}); +javascript:void(location.href='org-protocol://store-link?' + + new URLSearchParams({url:location.h

Re: Form feed characters break odt export

2024-12-24 Thread Ihor Radchenko
Christian Moe writes: > I don't think it's specific to ODT or LibreOffice, it's the underlying > XML 1.0 spec that "discourages" control characters and does not include > #xC in the range of characters that XML processors must accept. > > Spec: https://www.w3.org/TR/REC-xml/#charsets > > Some dis

Re: org-mode git site seems unavailable

2024-12-24 Thread Colin Baxter
Hell Bastien, > Bastien writes: > Hi Colin, Colin Baxter writes: >> Doing a "git pull" for org-mode I get the following: >> >> fatal: unable to access >> 'https://git.savannah.gnu.org/git/emacs/org-mode.git/': server >> certificate verification failed. CAfile:

Re: [PATCH] ob-calc: Format vector and matrix results as Org table

2024-12-24 Thread Ihor Radchenko
Visuwesh writes: >> The change can be viewed as a bug fix since ob-calc previously did not >> conform to babel conventions, so I do not object changing the defaults. >> However, we need to inform the affected users and put the announcement >> into "breaking changes" section. We should also recomm

Re: org-mode git site seems unavailable

2024-12-24 Thread Bastien
Hi Colin, Colin Baxter writes: > Doing a "git pull" for org-mode I get the following: > > fatal: unable to access > 'https://git.savannah.gnu.org/git/emacs/org-mode.git/': server > certificate verification failed. CAfile: > /etc/ssl/certs/ca-certificates.crt CRLfile: none It works fine on my si

org-mode git site seems unavailable

2024-12-24 Thread Colin Baxter
Doing a "git pull" for org-mode I get the following: --8<---cut here---start->8--- fatal: unable to access 'https://git.savannah.gnu.org/git/emacs/org-mode.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Re: [PATCH] ob-calc: Format vector and matrix results as Org table

2024-12-24 Thread Visuwesh
[செவ்வாய் டிசம்பர் 24, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> Attached patch formats vector and matrix results from a Calc source >> block as Org table. To test, try >> ... >> now. The patch passes the old tests, and I added three new tests to >> check the correctness of this conve

Re: [PATCH] Testing: Add tests for `org-tags-sort-function'

2024-12-24 Thread Ihor Radchenko
Morgan Smith writes: > I've polished the patch slightly but it's almost identical to what I > submitted before. There is one remaining issue as you can see above but > I'm trying my best to ignore it. I believe this patch can be applied > before the issue is fixed. I would like this patch to b

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-24 Thread Tor-björn Claesson
Excellent! I'll finish the citation follower prototype, so we know what kind of shape we are aiming for:) Merry christmas! Torbjörn Den tis 24 dec. 2024 09.17Juri Linkov skrev: > > What I am leaning towards now (although, I hope that more ideas can > > still surface in this thread), is simply r

Re: I would like invisible table in Org mode

2024-12-24 Thread Ihor Radchenko
Jean Louis writes: > I would like native Org mode within Emacs to show me invisible table. > > Is that possible? Yes, why not? If we make table fontification more granular in `org-set-font-lock-defaults' and apply a separate face to | separators in the table lines, that face could be set to `org

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-12-24 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Please see the attached patch! Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d1b77a6c57 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at <

Re: Form feed characters break odt export

2024-12-24 Thread Christian Moe
(re-sending to include the list, apologies, recent mu4e ui changes keep tripping me up) Ihor Radchenko writes: > Joseph Turner via "General discussions about Org-mode." > writes: > >> I can export the following Org content to a .odt file, but the exported >> file cannot be opened ("Read Error.

Re: [PATCH] Add next-error support to org-lint report buffer

2024-12-24 Thread Ihor Radchenko
Malcolm Purvis writes: > Years of muscle memory have made me expect that the output of > linter tools can be processed with `next-error' (C-x `). This > isn't the case with org-lint. This patch hooks the org linter > report into the next-error infrastructure. Thanks for the patch! Unfortuna

Re: [PATCH] ob-calc: Format vector and matrix results as Org table

2024-12-24 Thread Ihor Radchenko
Visuwesh writes: > Attached patch formats vector and matrix results from a Calc source > block as Org table. To test, try > ... > now. The patch passes the old tests, and I added three new tests to > check the correctness of this conversion. Thanks! etc/ORG-NEWS entry seems to be displaced. I

Re: Fwd: 29.3; right-to-left export

2024-12-24 Thread Ihor Radchenko
Avraham Pinkas writes: > hello > here is an example file > when exporting to .odt, the resulting file (included)makes visibility in > doc-view-mode or libreoffice get stuck (on libreoffice, the first page > shows & libreoffice gets stuck). > thank you > avraham Confirmed. I can also reproduce wi

Re: The less ambiguous math delimiters in tables

2024-12-24 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: > P.S. I know about '\vert' in LaTeX. But, I was not able to figure out how to put \(\|\vec{u}\|\) into a table. [The \| sequence typesets as || but with different spacing than \vert\vert.] Rudy -- "Logic is a science of the necessary laws of thought, without whic

Re: [BUG] Org mode freeze in combination with recovery notification [9.7.11 (release_9.7.11 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/)]

2024-12-24 Thread Ihor Radchenko
Ihor Radchenko writes: > Is there any chance you can provide a way to reproduce the problem? > I tried installing https://github.com/snosov1/toc-org and activating it > in one of my Org files, but I did not encounter any issues. No additional information for over a month. Closing. Canceled. (I c

Re: The less ambiguous math delimiters in tables

2024-12-24 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Org still struggles with | within \(...\) in tables, > > such as > > | \(|x|\) | > > Is this a feature or a bug? It is a syntax limitation. Org parser is outer-inner - the table row is parsed first. So, | are unconditionally used as table delimiters, *before* verbat

The less ambiguous math delimiters in tables

2024-12-24 Thread Rudolf Adamkovič
We know that \(...\) math delimiters are superior to $...$ in that they remove parsing ambiguities. So, I updated my notes to the new delimiters, but Org still struggles with | within \(...\) in tables, such as | \(|x|\) | Is this a feature or a bug? I was hoping to reap the benefi

Re: [PATCH] Add yank-media handler for LibreOffice Calc tables

2024-12-24 Thread Ihor Radchenko
Visuwesh writes: > Updated patch attached below. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7a9a060fde -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at

Re: [BUG] Cannot tangle src block in capture buffer [9.7.6]

2024-12-24 Thread Ihor Radchenko
Derek Chen-Becker writes: > ... Where would be the best place to put the > `org-base-buffer-file-name` function? org-macs.el -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2024-12-24 Thread Ihor Radchenko
Paul Stansell writes: >> >> May it be that you often have multiple Emacs processes running >> simultaneously and killed by signal? > > I do typically have multiple Emacs processes running simultaneously, but > I'm not aware that I kill Emacs processes, I either quit Emacs with C-x > C-c, or I cli