Re: WORG Patch 1/2 for Org Protocol Page

2025-06-03 Thread Max Nikulin
On 03/06/2025 02:10, Charles Choi wrote: Amended patch for archive of org-annotation-helper.org per Max Nikulin feedback. --- /dev/null +++ b/archive/org-contrib/org-annotation-helper.org --- a/org-contrib/org-annotation-helper.org +++ b/org-contrib/org-annotation-helper.org

Re: [macOS] WORG Patch 2/2 for Org Protocol Page

2025-06-03 Thread Max Nikulin
On 31/05/2025 08:09, Charles Choi wrote: Interim snapshot of rewrite of Org Protocol page. This is still WIP, but intended to illustrate direction of changes to this document. Since it is major rewrite, subthreads for specific topics may be convenient. I have added "macOS" to the subject of th

Re: Link to an email in thunderbird from org-mode

2025-06-03 Thread Max Nikulin
On 28/05/2025 22:29, Max Nikulin wrote: On 27/05/2025 16:32, Christian Moe wrote: However, from the Reddit thread I see that Message-ID can be added as a custom message header in the Thunderbird view and simply copied by right-click, At least in Thunderbird-128 there is a "show all he

Re: [WORG] Help test style/accessibility change

2025-06-02 Thread Max Nikulin
Hi, A couple of loosely related points first. Top margin for TOC can be reduced now since up/home links are not above it any more. Postamble has min-width property and may cause horizontal scrollbar in narrow browser window. Since the sponsor block is not always visible any more, it might

Re: WORG Patch 1/2 for Org Protocol Page

2025-06-02 Thread Max Nikulin
On 31/05/2025 08:07, Charles Choi wrote: --- a/org-contrib/org-annotation-helper.org +++ b/archive/org-contrib/org-annotation-helper.org I know, it is convention to move obsolete documents to archive, however I do not like it since it may break external links and bookmarks. I am not sure if t

Re: Link to an email in thunderbird from org-mode

2025-05-29 Thread Max Nikulin
On 29/05/2025 02:42, Christoph wrote: On 5/28/25 17:29, Max Nikulin wrote: and there's also an add-on (still working?) to add a button to easily copy it. https://addons.thunderbird.net/en-us/thunderbird/addon/copy-message-id/ I have checked it. Yes it is working on thunderbird 138.

Re: Link to an email in thunderbird from org-mode

2025-05-28 Thread Max Nikulin
On 27/05/2025 16:32, Christian Moe wrote: Christoph writes: the thunderbird addons thunderlink and cb_thunderlink do not work anymore for thunderbird 138. [...] I'm copying Bruno Barbier and Max Nikulin, who contributed to that discussion and the FAQ update about cb_thunderlink. Th

Re: [BUG] Double slash in body text not captured in Org Protocol [9.7.30 (9.7.30-84f18c @ /Users/cchoi/.config/emacs/elpa/org-9.7.30/)]

2025-05-24 Thread Max Nikulin
On 15/05/2025 05:08, Charles Choi wrote: emacsclient"org-protocol://capture?body=org-protocol://" Ihor wrote about `server--process-filter-1', but another issue is usage of `string-split' to find "org-protocol:..." in the argument. As a result, when slashes are not encoded as %2F, org-p

Re: [BUG] Double slash in body text not captured in Org Protocol [9.7.30 (9.7.30-84f18c @ /Users/cchoi/.config/emacs/elpa/org-9.7.30/)]

2025-05-19 Thread Max Nikulin
On 19/05/2025 00:31, Ihor Radchenko wrote: Charles Choi writes: Double slash in body text not captured in Org Protocol URL emacsclient "org-protocol://capture?body=org-protocol://" ... Only one slash appears in the resulting Org Capture window. This is because `server--process-filter-1'

Re: Towards a new TeX font management

2025-04-24 Thread Max Nikulin
On 23/04/2025 23:08, Pedro Andres Aranda Gutierrez wrote: +++ b/lisp/org.el - '(;; amsmath before fontspec for lualatex and xetex -("" "amsmath" t ("lualatex" "xetex")) Does it mean that you are going to remove amsmath even for pdflatex? P.S. I was confused concerning mathspec be

Re: Towards a new TeX font management

2025-04-24 Thread Max Nikulin
On 23/04/2025 22:36, Pedro Andres Aranda Gutierrez wrote: Subject: [PATCH] Use the same packages as pandoc Preparing the font management infrastructure, align with pandoc * lisp/org.el: org-latex-default-packages-alist use the same packages as pandoc. It seems a well-accepted standard for fonts

Re: Fwd: [PATCH]: Add font specifications when exporting to LaTeX

2025-04-22 Thread Max Nikulin
On 21/04/2025 18:07, Pedro Andres Aranda Gutierrez wrote: I could try to go for something like: (defvar org-latex-font-fallback-alist   '(("main . '(("emoji" . "Noto Color Emoji:mode-harf")                ("han"   . "Noto CJK JP:")                ("kana"  . "Noto CJK JP:")))     ("sans". '((

Re: [PATCH]: Add font specifications when exporting to LaTeX

2025-04-18 Thread Max Nikulin
On 18/04/2025 15:13, Pedro Andres Aranda Gutierrez wrote: I think that trying to address all mappings out-of-the-box is not very realistic and would add too much noise. Just necessary mappings (for specific document) instead of all ones should not be perceived as noise. luaotfload.add_f

Re: Help request ... was Re: [PATCH]: Add font specifications when exporting to LaTeX

2025-04-17 Thread Max Nikulin
On 15/04/2025 12:49, Pedro Andres Aranda Gutierrez wrote: Calling out to the list to see if someone can help more scripts integrate and show. I have currently running the Latin-x, Greek, Cyrillics, some UTF-8 (see my original file in this thread) and Emoticons. Sanskrit/Devanagari fonts not

Re: [PATCH]: Add font specifications when exporting to LaTeX

2025-04-17 Thread Max Nikulin
On 13/04/2025 14:56, Ihor Radchenko wrote: Max Nikulin writes: This list looks like a set of fallback variants for primary font, not as options to try when some characters are missed. Perhaps it may be reasonable to have predefined configuration for widely used fonts like Noto, freefonts

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-15 Thread Max Nikulin
On 16/04/2025 02:03, Leo Butler wrote: On Tue, Apr 15 2025, Max Nikulin wrote: I have found unicode-math-input.sty that may handle your specific example in PdfLaTeX. At first glance it is more powerful than utf8x, but it does not allow e.g. text Greek α. It forces math mode for it. Thanks for

Re: org-get-x-clipboard code may be outdated

2025-04-15 Thread Max Nikulin
On 13/04/2025 23:38, Ihor Radchenko wrote: Max Nikulin writes: Notice that code of `gui--selection-value-internal' and `org-get-x-clipboard' uses different set of targets and `window-system' variants. [...] From quick skimming, it does not look like there is any actual differ

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-15 Thread Max Nikulin
On 15/04/2025 02:47, Leo Butler wrote: I experience problems typesetting mathematical expressions. I cannot find anything as good as the unicode-math package for lualatex. Consider generating a preview of this fragment using pdflatex versus lualatex: \[ ∫₀¹ 𝐟(σ) dσ \] Isn't unicode-heavy form

Re: [PATCH]: Add font specifications when exporting to LaTeX

2025-04-12 Thread Max Nikulin
On 12/04/2025 21:28, Ihor Radchenko wrote: % = UNIVERSAL FALLBACK STACK = % (Only activates when default font lacks glyphs) \directlua{ luaotfload.add_fallback("global_fallback", { "Noto Serif:mode=harf;", % 1st: Broad Unicode coverage "DejaVu Serif:mode=harf;", % 2nd

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-12 Thread Max Nikulin
On 10/04/2025 23:44, Pedro Andres Aranda Gutierrez wrote: Thu, 10 Apr 2025 21:55:53 +0700 Max Nikulin My conclusion from earlier discussions is that it is a challenge to configure fonts to a given user document. It may contain (besides latin-1) Greek, Cyrillic, CJK, emoji. My experience is

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-12 Thread Max Nikulin
On 12/04/2025 21:11, Leo Butler wrote: I use a lot of utf-8 in my org documents. Pdflatex just cannot compete for typesetting, even in preview. Certainly PdfTeX has enough limitations. I am curious however what specific issues you have faced (languages/scripts, character categories, etc.)? Ma

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-10 Thread Max Nikulin
On 09/04/2025 05:03, Juergen Fenn wrote: only luatex is capable of producing accessible pdf, [...] This is not only a ITF-8 issue. I'm surprised TeX Live is said not to work properly out of the box on some Linux distributions, hard to believe it's true. My conclusion from earlier discussions

Re: Org-protocol and to capture bibliography reference

2025-04-06 Thread Max Nikulin
On 04/04/2025 05:05, Sébastien Gendre wrote: The idea is, when I browse a web page I want to use as a source, to use org-protocol to capture an org-mode entry in an bibliography.org file. Then, to use the ox-bibtex (from org-contrib) to export the org-mode file to a Biblatex file. You might be

Search tools for Org (Re: Graph of writing)

2025-04-04 Thread Max Nikulin
On 03/04/2025 15:15, Mayuresh Kathe wrote: Would you be in a position to suggest a search tool (inside Emacs) for going through my content produced and managed via Orgmode and/or Roam? Something like Google search, but only limited to my local information? I have never tried the following tool

Re: [PATCH] Capitalize JavaScript correctly

2025-03-25 Thread Max Nikulin
On 21/03/2025 20:54, Rudolf Adamkovič wrote: Re-capitalize "Javascript" to JavaScript. Are there potential legal issues with the registered trademark owned by Oracle? E.g. organizers of JSConf avoid "JavaScript" in the conference title https://www.trevorlasn.com/blog/oracle-javascript-tradema

org-get-x-clipboard code may be outdated

2025-03-19 Thread Max Nikulin
Hi, Notice that code of `gui--selection-value-internal' and `org-get-x-clipboard' uses different set of targets and `window-system' variants. I have no idea if it affects many users. I am in doubts if there ones running haiku or using SECONDARY selection. However some may be confused. Text

Re: Try gollum wiki to serve WORG

2025-02-10 Thread Max Nikulin
On 09/02/2025 17:15, Ihor Radchenko wrote: One note is that gollum is using org-ruby renderer, which is not 100% accurate. Org-ruby has a lot of limitations, I do not think it is suitable for Worg. I do not see why we cannot change it to use emacs instead of pandoc to render html. It is cha

bug#48676: Arbitrary code execution in Org export macros

2025-02-07 Thread Max Nikulin
On 08/02/2025 05:11, Stefan Kangas wrote: Glenn Morris writes: #+macro: hello (eval (shell-command-to-string "touch /tmp/HELLO")) Hello. {{{hello}}} Then: M-x org-export-dispatch t A[...]> Ihor, could you please look into this bug? Disclaimer: I am not Ihor. In my opinion, it is an importan

Re: [PATCH] Autoload org-link-set-parameters

2025-01-28 Thread Max Nikulin
On 26/01/2025 14:22, Joseph Turner wrote: This change allows other packages to autoload their own link handlers. See this mu4e issue: https://github.com/djcb/mu/pull/2798 Sorry if I confused everything. Does it mean that loading of mu4e will cause immediate loading of ol and so whole org? Is

Re: [ANN] Ihor is now officially the new Org maintainer

2025-01-28 Thread Max Nikulin
On 07/12/2024 15:19, Bastien wrote: not much of a surprise, but very good news nonetheless: Ihor is now officially in charge of maintaining Org Mode. He will need every Org user to continue the great work he has done so far. Should the admin/MAINTAINERS file in the Emacs repository be updated?

Re: Org-protocol browser extensions avoiding use of bookmarklets

2025-01-08 Thread Max Nikulin
On 08/01/2025 01:14, Rehan Deen wrote: I just came across this extension: https://www.reddit.com/r/emacs/comments/1hvtlsa/the_new_and_only_orgprotocol_chrome_extension_you/ https://addons.mozilla.org/en-US/firefox/addon/emacs-paw/ Do you think this meets some of your needs and avoids the secur

Re: Some hacks on top of org-publish

2025-01-04 Thread Max Nikulin
On 29/12/2024 11:26, Nikolaos Chatzikonstantinou wrote: I should probably try to do this, but I got inspired by Worg's website which does not do any backend hacking as far as I can tell, but instead puts some javascript to collapse the table of contents. Not all users are happy with current CSS

Re: The less ambiguous math delimiters in tables

2025-01-03 Thread Max Nikulin
On 03/01/2025 00:32, Ihor Radchenko wrote: Max Nikulin writes: On 31/12/2024 20:32, Ihor Radchenko wrote: | $10 | foo | $\alpha$ | pandoc result matches my expectation: \$10 & foo & \(\alpha\) \\ How so? I just tried Sorry, I failed to express that the above example is

Re: The less ambiguous math delimiters in tables

2025-01-02 Thread Max Nikulin
On 31/12/2024 20:32, Ihor Radchenko wrote: | $10 | foo | $\alpha$ | pandoc result matches my expectation: \$10 & foo & \(\alpha\) \\ | =10+20 | 30 | =foo= | I found significantly more convincing cases with current parser when emphasis end marker accidentally appears in the middle of a lin

Re: The less ambiguous math delimiters in tables

2025-01-02 Thread Max Nikulin
On 31/12/2024 04:25, Rudolf Adamkovič wrote: Max Nikulin writes: An extensive test suite is necessary to consider alternatives for parsing rules. Yes, that much is given. Without an extensive test suite, working on a parser would be nothing but a waste of time, and the end result would be

Re: [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue

2024-12-29 Thread Max Nikulin
On 28/12/2024 23:58, Ihor Radchenko wrote: Max Nikulin writes: I do not like "spawn empty page". See the attachment for another variant of wording. You modified more than just "spawn empty page". It was the trigger. What about the attached? After "TL;

Re: The less ambiguous math delimiters in tables

2024-12-28 Thread Max Nikulin
On 26/12/2024 00:56, Rudolf Adamkovič wrote: I thought that, with the noisy \(...\) delimiters, GitHub users faced ambiguities with $...$ delimiters as well, so do not be upset by "noisy" syntax. Alternatives may be painful as well.

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-28 Thread Max Nikulin
On 28/12/2024 20:55, Rehan Deen wrote: Max Nikulin writes: Interestingly, the `org-capture` extension for Firefox from https://github.com/sprig/org-capture-extension continues to work without producing this issue (i.e. the link is captured and the webpage continues to be displayed properly

[PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue

2024-12-28 Thread Max Nikulin
On 28/12/2024 01:13, Ihor Radchenko wrote: Max Nikulin writes: I also added an entry to ORG-NEWS: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0af98b8411 I do not like "spawn empty page". See the attachment for another variant of wo

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

2024-12-27 Thread Max Nikulin
On 24/12/2024 21:23, Ihor Radchenko wrote: Max Nikulin writes: 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

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-26 Thread Max Nikulin
On 12/12/2024 15:12, Rehan Deen wrote: on the webpage https://orgmode.org/, Emacs is able to capture the link and title ("Org mode for GNU Emacs") as desired, but the browser displays a blank page with the following text: org-protocol://store-link?url=https%3A%2F%2Forgmode.org%2F&title=Org

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

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 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?' + +

Re: render math in README.org on github

2024-12-21 Thread Max Nikulin
On 21/12/2024 01:51, Leo Butler wrote: On Fri, Dec 20 2024, Nikolaos Chatzikonstantinou wrote: Do you want mathjax when viewing the readme file? Yes. The only documentation I have seen refers to markdown. On a hunch, I changed all the math delimiters in my README.org to $ and $$ and that wor

Re: Form feed characters break odt export

2024-12-20 Thread Max Nikulin
On 21/12/2024 13:52, Joseph Turner wrote: Max Nikulin writes: #+begin_comment ^L #+end_comment Thank you! Or even simpler: # ^L It was first I tried, but Emacs-28.2 demands to decide if Local Variables should be applied. You may ask Emacs developers for a *plain text* spell to stop

Re: Form feed characters break odt export

2024-12-20 Thread Max Nikulin
On 21/12/2024 08:48, Joseph Turner wrote: I can export the following Org content to a .odt file, but the exported file cannot be opened ("Read Error. Format error discovered in the file in sub-document content.xml at 368,2(row,col).") [...] First reported by bohonghuang: https://github.com/boh

Copy info node name (was: Re: Ignore Local Variables list in source blocks)

2024-12-20 Thread Max Nikulin
Due to a recent texinfo thread on emacs-devel, I have added RMS to Cc. On 20/12/2024 04:37, Joseph Turner wrote: Max Nikulin writes: (info "(emacs) Specifying File Variables") By the way, is there a built-in command to copy that (info ...) sexp when viewing that info page? TLDR;

Re: Ignore Local Variables list in source blocks

2024-12-20 Thread Max Nikulin
On 20/12/2024 04:37, Joseph Turner wrote: Max Nikulin writes: Have you tried to create a comment block below? #+begin_comment Deactivate local variables above in the example block: Local Variables: End: #+end_comment In my testing, in order to make Emacs ignore the `foo: bar' binding

Re: Ignore Local Variables list in source blocks

2024-12-18 Thread Max Nikulin
On 18/12/2024 11:13, Joseph Turner wrote: Is there a way to make Emacs ignore Local Variables lists which appear inside of source blocks? For example, is there a way to include the following content in an Org file without Emacs attempting to locally set foo to bar? #+BEGIN_EXAMPLE # Local V

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

2024-12-16 Thread Max Nikulin
On 16/12/2024 23:01, Max Nikulin wrote: A patch updating org-protocol.el comments, docstrings, and the manual is attached. Should ORG-NEWS be updated as well?

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

2024-12-16 Thread Max Nikulin
ments, docstrings, and the manual is attached.From 84de1aec4532d36d24002ad2dcbc67993ff5c3c4 Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Mon, 16 Dec 2024 21:46:49 +0700 Subject: [PATCH] org-protocol: Add void() to bookmarklets * doc/org-manual.org (The store-link protocol): (The capture protocol, The

Re: Unexpected error using org-gnus-follow-link

2024-12-15 Thread Max Nikulin
On 13/12/2024 12:42, Visuwesh wrote: [வியாழன் டிசம்பர் 12, 2024] Fraga, Eric wrote: Response below/inline for email Visuwesh wrote: (original email sent 12 Dec 2024 at 20:32) A shot in the dark after looking at org-gnus-follow-link: what is the value of org-link-frame-setup? Does it have the

Re: [PATCH worg] .dir-locals.el: Disable byte-compilation.

2024-12-13 Thread Max Nikulin
On 10/12/2024 21:50, Suhail Singh wrote: Since 2022-10-05, when adding directory-local-variables, the no-byte-compile cookie gets set. I believe this change was introduced in response to bug #58486. Thanks for educating me. I found that the changelog entry Add no-byte-compile to the ".dir-l

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-13 Thread Max Nikulin
On 13/12/2024 01:47, Rehan Deen wrote: I forgot about "+new", so it should be with another variant of parenthesis: javascript:void(location.href='org-protocol:...) Thanks, that works and is consistent with what I thought was happening Thanks, so now it is known which way docs should be

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-12 Thread Max Nikulin
Please, reply to the list. On 12/12/2024 17:34, Max Nikulin wrote: On 12/12/2024 15:12, Rehan Deen wrote: javascript:location.href='org-protocol://store-link?'+new URLSearchParams({url:location.href, title:document.title}); Try to add "(void)" javascript:(voi

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-12 Thread Max Nikulin
On 12/12/2024 15:12, Rehan Deen wrote: javascript:location.href='org-protocol://store-link?'+new URLSearchParams({url:location.href, title:document.title}); Try to add "(void)" javascript:(void)location.href='org-protocol:... However bookmarklets are unsafe, you have to allow *web pa

Linking source files on worg (was: Re: [PATCH worg v2] ob-doc-gnuplot.org: Fix broken link to source.)

2024-12-11 Thread Max Nikulin
r the *exported* page. I am unsure how many external sites have links to https://orgmode.org/worg/sources/* and whether it should be handled by a nginx redirection rule. Max Nikulin writes: I recall a discussion whether a link to source file should be added to every worg page. Do you have a li

Re: [PATCH worg] .dir-locals.el: Disable byte-compilation.

2024-12-05 Thread Max Nikulin
On 04/12/2024 04:43, Suhail Singh wrote: +++ b/.dir-locals.el @@ -1,3 +1,6 @@ +;;; Directory Local Variables-*- no-byte-compile: t -*- Sorry, I do not follow Emacs development close enough. Does it mean that it becomes more aggressive and tries to compile files that do not really

Re: [PATCH worg v2] ob-doc-gnuplot.org: Fix broken link to source.

2024-12-05 Thread Max Nikulin
On 29/11/2024 23:26, Suhail Singh wrote: +++ b/org-contrib/babel/languages/ob-doc-gnuplot.org @@ -34,7 +34,7 @@ * Introduction usage. Since babel is simply allowing native code to run inside of Org-mode, all gnuplot documentation is applicable and valid. [fn:1] -This file may be downloaded

Re: [PATCH worg v2] ob-doc-gnuplot.org: Fix broken link to source.

2024-12-03 Thread Max Nikulin
On 03/12/2024 02:32, Suhail Singh wrote: Max Nikulin writes: For now, I simply wanted to ensure the link was no longer broken. Feel free to discard the patch in favor of another that addresses the issue generically. I have pushed a commit changing worg/sources/ links to git.sr.ht in 3 files

Re: [PATCH worg v2] ob-doc-gnuplot.org: Fix broken link to source.

2024-12-02 Thread Max Nikulin
On 29/11/2024 23:26, Suhail Singh wrote: -This file may be downloaded here: [[https://orgmode.org/worg/sources/org-contrib/babel/examples/org-babel- gnuplot.org][org-babel-gnuplot.org]]. The image +This file may be downloaded here: [[https://orgmode.org/worg/org-contrib/babel/examples/org-babel

Re: Plotting a table of date+time pairs

2024-11-29 Thread Max Nikulin
On 29/11/2024 06:17, Michael Heerdegen wrote: I'm not a sophisticated org user. May I ask for a simple example, and how I would have to invoke gnuplot instead? Link to its source is incorrect, it should be

Re: active region persistence

2024-11-14 Thread Max Nikulin
On 13/11/2024 10:25, Samuel Wales wrote: my q is actually why would a user want the region to remain active? e.g. select region and then m-w deactivates it. [...] when i select subtrees and m-s-right, they demote, and then i have no further use for the active region, and have to press c-g. is

Re: [PATCH] Fix `grep' command to handle filenames starting with '-'.

2024-11-07 Thread Max Nikulin
On 07/11/2024 16:24, Xi Lu wrote: +++ b/lisp/org-mouse.el @@ -627,7 +627,7 @@ This means, between the beginning of line and the point." ["Sparse Tree" (org-occur ',region-string)] ["Find in Buffer" (occur ',region-string)] ["Grep in Current Dir" - (grep

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-09-08 Thread Max Nikulin
On 08/09/2024 21:46, Max Nikulin wrote: On 07/09/2024 18:53, Ihor Radchenko wrote: Then, pagefind can be the default (it is MIT license - GPL compatible), It might be more tricky: Sorry for the noise. Of course, if you are not going to include any pagefind code into Org then it is not an

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-09-08 Thread Max Nikulin
On 07/09/2024 18:53, Ihor Radchenko wrote: Then, pagefind can be the default (it is MIT license - GPL compatible), It might be more tricky: emacs-devel. Re: [Nicolas Graves] [PATCH v6 01/10] rde: emacs: Start emacs in --daemon mode, with

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-05 Thread Max Nikulin
On 05/08/2024 10:19, Joseph Turner wrote: Max Nikulin writes: - My impression is that multiple types may have the same suffix, so there should be "get all media types for given suffix" method. - It should be possible to specify priorities within the same source. [...] However, on

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-04 Thread Max Nikulin
ince it is a DB, not DB user, they can just drop conflicting entries. Perhaps they still want to preserve ambiguous mapping of multiple media types to the same suffix (otherwise text/x-org should be dropped due to a conflict). Max Nikulin writes: I think, text/org may be added as well (without r

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-03 Thread Max Nikulin
On 02/08/2024 02:55, Joseph Turner wrote: Support for "text/org" in would let the Agregore browser () render Org files. Then hyperdrive.el users could share Org files to be viewed in Agregore. John Kitchin opened a PR back in 2017,

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-02 Thread Max Nikulin
On 02/08/2024 02:55, Joseph Turner wrote: Support for "text/org" in would let the Agregore browser () render Org files. Then hyperdrive.el users could share Org files to be viewed in Agregore. John Kitchin opened a PR back in 2017,

Re: Capture, template expansion and keyword for link type

2024-07-14 Thread Max Nikulin
On 12/07/2024 23:34, Sébastien Gendre wrote: Max Nikulin writes: See specific store link functions, e.g. `org-gnus-store-link'. Reading the `org-gnus-store-link' function, I see that is set: type, file, node, link and description. I see :from :to :subject :message-id :group, :d

Re: [DISCUSSION] Possible inclusion of org-capture.el into Emacs core

2024-07-13 Thread Max Nikulin
I have dropped emacs-devel from Cc. On 30/12/2023 19:15, Ihor Radchenko wrote: With org-protocol, one can also make Emacs receive data from browser and perform any action defined by custom handler function - all fully configurable and not necessarily related to Org mode. and Ihor Radchenko [S

Re: Capture, template expansion and keyword for link type

2024-07-12 Thread Max Nikulin
On 12/07/2024 03:36, Sébastien Gendre wrote: Max Nikulin writes: See the "Link type, Available keywords" table in this section. `org-capture' may be executed in various Emacs buffers and available keywords may depend on major mode. Is it necessary to call "org-store-link&

Re: [PATCH] oc-csl: New custom option `org-cite-csl-sentence-case-bibtex-titles'

2024-07-12 Thread Max Nikulin
On 08/07/2024 19:56, András Simonyi wrote: What I've been arguing for in this thread and what motivates the current default behavior is that it is a general, style-independent CSL assumption that the processor's input for title fields is in sentence-case, and this requires converting the BibLaTeX

Re: Capture from Firefox to Org-mode

2024-07-11 Thread Max Nikulin
On 09/07/2024 23:45, Morgan Willcock wrote: Just to mention another option, I use this one: https://addons.mozilla.org/en-US/firefox/addon/linkremark/ In its current state it does not extract metadata specific to books or events. Dublin Core or other similar metadata are on TODO list, but wit

Re: Capture, template expansion and keyword for link type

2024-07-11 Thread Max Nikulin
On 11/07/2024 13:59, Sébastien Gendre wrote: I was reading the Org-mode manual, at section "10.1.3.2 Template expansion": https://orgmode.org/manual/Template-expansion.html And I was a little bit confused by the "%:keyword". The manual say: "Specific information for certain link types, see below

Re: [PATCH] oc-csl: New custom option `org-cite-csl-sentence-case-bibtex-titles'

2024-07-08 Thread Max Nikulin
On 06/07/2024 16:59, András Simonyi wrote: Well, what they typically want is using the original title case despite a style not containing any explicit instruction that the title field should be in title-case, which, according to the latest. 1.02 CSL standard (https://docs.citationstyles.org/en/s

Re: org-babel-execute-src-block filters characters from :session *shell* output

2024-07-06 Thread Max Nikulin
On 01/07/2024 02:08, Ihor Radchenko wrote: +++ b/lisp/ob-shell.el @@ -273,7 +273,7 @@ (defvar org-babel-sh-eoe-indicator "echo 'org_babel_sh_eoe'" "String to indicate that evaluation has completed.") (defvar org-babel-sh-eoe-output "org_babel_sh_eoe" "String to indicate that evaluation has

Re: org-babel-execute-src-block filters characters from :session *shell* output

2024-07-06 Thread Max Nikulin
On 18/06/2024 00:57, Ihor Radchenko wrote: Max Nikulin writes: Some shells support "semantic shell" that allows terminal applications e.g. to copy whole command output. It is based on escape sequences. https://gitlab.freedesktop.org/Per_Bothner/specifications/blob/master/proposal

Re: bash source code block: problem after ssh commands

2024-07-03 Thread Max Nikulin
On 01/07/2024 23:01, Ihor Radchenko wrote: Max Nikulin writes: bug#71081 is about shell-command-on-region, not about mailcap. (and pty may actually not matter there, because Windows' cmd.exe is not even POSIX-compient...) Of course, there are no pty's on Windows and cmd.exe is a sp

Re: bash source code block: problem after ssh commands

2024-07-01 Thread Max Nikulin
On 01/07/2024 16:51, Ihor Radchenko wrote: Max Nikulin writes: My experience is that it is not easy to start a process without a tty in Emacs. Eli will object. I guess not on Windows (bug#71081). But otherwise I agree. It was for starting mailcap viewer and Windows was not an issue

Re: bash source code block: problem after ssh commands

2024-07-01 Thread Max Nikulin
On 30/06/2024 23:42, Ihor Radchenko wrote: Max Nikulin writes: On 30/06/2024 22:28, Ihor Radchenko wrote: I do not see a great benefit of re-implementing session support via actual terminal. (I think we agree here). `shell' and so comint allocates "actual" pty. Are yo

Re: bash source code block: problem after ssh commands

2024-06-30 Thread Max Nikulin
On 30/06/2024 22:28, Ihor Radchenko wrote: I do not see a great benefit of re-implementing session support via actual terminal. (I think we agree here). `shell' and so comint allocates "actual" pty. I expect that bracketed paste is just some escape sequences delimiting pasted text (fcntl calls

Re: bash source code block: problem after ssh commands

2024-06-30 Thread Max Nikulin
On 30/06/2024 18:06, Ihor Radchenko wrote: Max Nikulin writes: https://debbugs.gnu.org/67259 Notice that the report is for *interactive* sessions. Org babel sessions are not so interactive. They are to maintain state, not to interact with users directly... You are not right. We have

Re: bash source code block: problem after ssh commands

2024-06-30 Thread Max Nikulin
On 18/11/2023 22:51, Matt wrote: On Fri, 17 Nov 2023 23:07:57 +0100 Matt wrote --- The second claim has nothing to do with Org Babel. I was able to confirm it and provide the steps to reproduce. I think it would make sense to report it upstream and let them decide if it's expected beh

Re: bash source code block: problem after ssh commands

2024-06-29 Thread Max Nikulin
On 18/11/2023 15:04, Max Nikulin wrote: On 17/11/2023 17:17, Ihor Radchenko wrote: I see bash vs. dash difference with public key authorization, so no need for password prompts. I have not figured out how to construct an example without ssh since this command *may* read stdin, but does not do

Re: does org mode require a separate LaTeX installation to export?

2024-06-21 Thread Max Nikulin
On 19/06/2024 19:55, Christopher W. Ryan wrote: In other words, if a complete novice, knowing nothing about LaTeX and not having it on their machine ever, installed emacs and created an org mode file, could they export via latex to PDF? Could they export to html? For HTML export, LaTeX may be

Re: [PATCH] oc-csl: New custom option `org-cite-csl-sentence-case-bibtex-titles'

2024-06-21 Thread Max Nikulin
On 19/06/2024 16:27, András Simonyi wrote: On Wed, 15 May 2024 at 13:48, Max Nikulin wrote: I had a hope that it might alleviate the issue and to make things working out of the box for more users. [...] Of course it could be checked whether a CSL style contains explicit instructions about

Re: [BUG] Trailing dash is not included in link [9.7.3 (9.7.3-2f1844 @ /home/mwillcock/.emacs.d/elpa/org-9.7.3/)]

2024-06-20 Thread Max Nikulin
On 16/06/2024 22:59, Ihor Radchenko wrote: Max Nikulin writes: I suspect, it worked prior to v9.5. Without a unit test it may be accidentally broken again. No, it did not work. If you can, please do not make such assertions without testing. I am sorry, I had no intention to offend you. I

Re: [BUG] Trailing dash is not included in link [9.7.3 (9.7.3-2f1844 @ /home/mwillcock/.emacs.d/elpa/org-9.7.3/)]

2024-06-16 Thread Max Nikulin
On 14/06/2024 21:04, Ihor Radchenko wrote: Morgan Willcock writes: i.e. Inserting "https://domain/test-"; into the buffer will create a clickable link for "https://domain/test";. I improved the heuristics we use to detect plain links. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/or

Re: org-babel-execute-src-block filters characters from :session *shell* output

2024-06-16 Thread Max Nikulin
On 15/06/2024 20:19, Ihor Radchenko wrote: The underlying cause is limitation of Emacs API for interactive shells - we cannot easily distinguish command output from prompt and other extra staff your shell/other interactive command spits into the buffer. So, we have to either filter output the pro

Re: [PATCH] orgweb: Update org-ruby link (tools)

2024-06-09 Thread Max Nikulin
On 09/06/2024 02:18, Ihor Radchenko wrote: Max Nikulin writes: ... I have tried to blindly update zh-CN file. Likely it should be done more accurately. Yes. Let's not fiddle with Chinese version. It is already out of sync, but we cannot do much unless we get someone Chinese-speaking volu

[PATCH] orgweb: Update org-ruby link (tools)

2024-06-08 Thread Max Nikulin
Sep 17 00:00:00 2001 From: Max Nikulin Date: Sat, 8 Jun 2024 23:01:56 +0700 Subject: [PATCH 1/2] tools.org: Update link to org-ruby * tools.org: * zh-CN/tools.org: Update org-ruby project page. Use link from <https://rubygems.org/gems/org-ruby> --- tools.org | 2 +- zh-CN/tools.org

Re: Incremental search in hidden text does not work in Org 9.7 Emacs 28

2024-06-08 Thread Max Nikulin
On 06/06/2024 01:06, Ihor Radchenko wrote: Remember that older Org mode also did not have link paths searchable. You are right, I forgot about it. Since the feature was advertised in ORG-NEWS Hidden parts of the links can now be searched and revealed during isearch another entry should

[BUG] M-RET may cause hang in the case of nested list

2024-06-07 Thread Max Nikulin
Hi, I experience hangs after hitting M-RET. Org main HEAD or 9.5, Emacs-28 8< - First level item - nested item after nested item >8 M-RET causes 100% CPU load. If I hit C-g then "after nested item" disappears and new item is created on that line.

Re: [PATCH] Add support for shortdoc link type

2024-06-05 Thread Max Nikulin
On 13/05/2024 20:04, Bruno Cardoso wrote: +++ b/etc/ORG-NEWS Bruno, I am sorry, but Org-9.7 has been released and your patch can not be cleanly applied any more. Please, rebase it and check that the new feature is described in the proper section for changes that have not released yet. A co

Re: Incremental search in hidden text does not work in Org 9.7 Emacs 28

2024-06-05 Thread Max Nikulin
On 05/06/2024 22:06, Ihor Radchenko wrote: `org-fold-core-style' text-properties is going to be obsoleted. I tried to support isearch, but it is ultimately an uphill battle against bugs popping out here and there. I have seen these words in another thread, but I did not expect a regression in

Incremental search in hidden text does not work in Org 9.7 Emacs 28

2024-06-05 Thread Max Nikulin
Hi, Consider a file with a link 8< Text [[file:text.org][Something]] >8 Incremental search C-s file does not work with current main HEAD (v9.7) and Emacs-28. `org-fold-core-style' text-properties There is no issue for Org 9.6.28. Link part is temporary revealed when se

Re: question about links, macros + org-publish and "parametrization"

2024-05-31 Thread Max Nikulin
On 30/05/2024 23:33, Ihor Radchenko wrote: Max Nikulin writes: I can not figure out if it is possible with some trick to expand {{{year}}} before file:... is parsed. Not possible. Macros are not recognized in verbatim contexts like link path. I had in mind some technique like \expandafter

  1   2   3   4   5   6   7   8   9   10   >