Re: Mention outli, and h speed-key

2023-03-24 Thread JD Smith
> It is more visible, but I am trying to understand what o you consider better > then outline-minor-mode It sets up headline regexps automatically and consistently, and adds configurable styling and org-inspired speed keys on headings. At core it is still outline mode. Think of it like

Re: svg file from tikz picture

2023-03-24 Thread Akira Kyle
On Mon, Nov 14, 2022 at 05:52 AM, Ihor Radchenko wrote: Have you had a chance to look into my comments? Sorry for the really slow replies, I do intend to follow up on this at some point. Unfortunately, I'm still waiting for my fsf copyright assignment paperwork to go through, and I

Re: Remove "shell" as a supported Babel language within ob-shell.el (was Re: [SUGGESTION] ob-shell async result output should not contains shell prompt)

2023-03-24 Thread Ihor Radchenko
Matt writes: > What benefit does "shell" provide? > > - The "shell" language allows an arbitrary executable to be run. This means > that shells other than those given in `org-babel-shell-names' can be run. > People using a non-supported shell could still benefit from ob-shell. > > What

Re: orgmode website contributions to translations? -- Was: It's possible, to translate the org-mode website into Spanish?

2023-03-24 Thread General discussions about Org-mode.
Bastien Guerry writes: > Ihor Radchenko writes: > >> The main issue with non-English translations is maintenance. As you >> noticed, English and non-English pages are already out of sync. > > Anyone willing to help with orgmode.org website can get access to the > https://git.sr.ht/~bzg/orgweb

Re: [PATCH] ox-texinfo: Fix invalid syntax in Texinfo version detection code

2023-03-24 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >>> All right, I added the 'require' to both files. Better? >> >> Thanks! >> Applied, onto bugfix. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=99c8ed09f > > The tests are failing on older Emacs. >

Re: Mention outli, and h speed-key

2023-03-24 Thread Jean Louis
* JD Smith [2023-03-10 07:03]: > One speed key I added to outli I really miss in org, so I added it: > > (if-let ((pos (cl-position '("Outline Visibility") org-speed-commands :test > #'equal))) > (cl-pushnew '("h" . outline-hide-sublevels) (nthcdr (1+ pos) > org-speed-commands))) > >

Re: Ability to add logo to HTML export

2023-03-24 Thread Ihor Radchenko
Vladimir Alexiev writes: > But then C-c C-e h h complains: "org-export--parse-option-keyword: End of > file during parsing". Please update Org mode. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: feature request: easy embedding of images

2023-03-24 Thread Ihor Radchenko
Alexis Gallagher writes: > • you can still scroll the window one line height unit at a time, > without the entire image being scrolled as if it were one giant line, > breaking scrolling, as seems to happen on my emacs (version 28.x on Linux) Emacs will actually scroll partially

[FR] Make org-occur highlights always visible, even upon folding (was: Bug or expected behavior? org-sparse-tree visibility toggling)

2023-03-24 Thread Ihor Radchenko
Cassio Koshikumo writes: > Hm. It makes sense that TAB is not affected... Somehow I hadn't really > considered that. > > What I expected to happen (and now I realize it was not a justified > expectation) was to have the visibility of the sparse-tree kept while > tabbing. So I could expand a

Re: Ability to add logo to HTML export

2023-03-24 Thread Vladimir Alexiev
#+OPTIONS: html-preamble:"Author: %a(%e)Date: %d" C-c happily says "Local setup has been refreshed" But then C-c C-e h h complains: "org-export--parse-option-keyword: End of file during parsing". I don't see any problem in the string; evaluating it in *scratch* returns it just fine. But I think

Re: orgmode website contributions to translations? -- Was: It's possible, to translate the org-mode website into Spanish?

2023-03-24 Thread Ihor Radchenko
Ruijie Yu writes: > I can help translate to zh_CN occasionally, seeing that the repo is not > updated too frequently. Although I might need some pointers on how to > start a new translation, and how sourcehut works. :) Just clone the repo from https://git.sr.ht/~bzg/orgweb and send patches to

Re: [BUG] Agenda not sorting by priority THEN todo state (todo state ignored) [9.6.1 (9.6.1-??-fe92a3c @ /Users/polofsson/.emacs.d/.local/straight/build-28.2/org/)]

2023-03-24 Thread Ihor Radchenko
Samuel Wales writes: > i find that when 2 things are being conflated, whether in software or > in anything else, it is useful to change the name of both of them for > maximum clarity, future git searches, etc. > > thus, perhaps i would suggest somthign like this slight tweak instead. > >

Re: [SUGGESTION] ob-shell async result output should not contains shell prompt

2023-03-24 Thread Ihor Radchenko
Matt writes: > Changing the `ob-shell-async-chunk-callback' like this will fix it: > > @@ -276,7 +276,7 @@ See `org-babel-comint-async-indicator'.") > (defun ob-shell-async-chunk-callback (string) >"Filter applied to results before insertion. > See `org-babel-comint-async-chunk-callback'."

Re: [PATCH] Async evaluation in ob-shell

2023-03-24 Thread Ihor Radchenko
Matt writes: > On Thu, 23 Mar 2023 07:48:44 -0400 Ihor Radchenko wrote --- > > May you also document this new feature in ORG-NEWS and in > > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-shell.html ? > > Done. A small note on the WORG page: it may be more natural to use

Re: Ability to add logo to HTML export

2023-03-24 Thread Ihor Radchenko
Vladimir Alexiev writes: > Right now I have to resort to a bad kludge to do that: a local variable in > the org file: > > #+comment: -*- org-html-preamble: "Author: > %a(%e)Date: %d src='./img/SemBSDD-Logo-400px.png'/>" -*- If you have good ideas how to improve `org-html--build-pre/postamble',

Re: [fr] allow overriding the likely unintended consequence of org-export-with-tasks

2023-03-24 Thread Ihor Radchenko
Samuel Wales writes: > i wrote: "i would prefer the top level of the subtree to be exported > in all cases, because i have asked org to export. it does not matter > what kw it is set to or what the variable is set to." > ... > as for ref [or blank] i do not want to have to keep or temporarily

Re: Remove "shell" as a supported Babel language within ob-shell.el

2023-03-24 Thread Christopher M. Miles
At first, thanks for this long parsing and explanation. Matt writes: > > Matt m...@excalamus.com> writes: > > > > > Is there a reason you're using "shell" instead of one of the shells > listed in `org-babel-shell-names'? > > I'm still curious why you're using "shell". I want to know if

Re: [PATCH] Add tests for ob-haskell (GHCi)

2023-03-24 Thread Ihor Radchenko
Ihor Radchenko writes: > We can try the attached patch. Yet another edge case in comint, it > appears. I investigated further and now applied a set of patches that improves prompt filtering in org-comint.

Re: orgmode website contributions to translations? -- Was: It's possible, to translate the org-mode website into Spanish?

2023-03-24 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >> I can help translate to zh_CN occasionally, seeing that the repo is not >> updated too frequently. Although I might need some pointers on how to >> start a new translation, and how sourcehut works. :) > > Just clone the repo from

Re: [PATCH] Add tests for ob-haskell (GHCi)

2023-03-24 Thread Ihor Radchenko
ParetoOptimalDev writes: >> comint-prompt-regexp: ^[[:alnum:].*_() |λ]*> \|^λ?> >> Output: ghci| ghci| ghci| ghci| ghci| 6 >> >> Note "|". > > You can fix this by sending `set :prompt-cont ""`. Here is a > demonstration: I think you meant `:set prompt-cont ""`. It is a good idea, thanks! We

Re: [BUG] Agenda not sorting by priority THEN todo state (todo state ignored) [9.6.1 (9.6.1-??-fe92a3c @ /Users/polofsson/.emacs.d/.local/straight/build-28.2/org/)]

2023-03-24 Thread Samuel Wales
thank you for that. surely now fewer users will be confused. i find that when 2 things are being conflated, whether in software or in anything else, it is useful to change the name of both of them for maximum clarity, future git searches, etc. thus, perhaps i would suggest somthign like this

Re: [BUG] Agenda not sorting by priority THEN todo state (todo state ignored) [9.6.1 (9.6.1-??-fe92a3c @ /Users/polofsson/.emacs.d/.local/straight/build-28.2/org/)]

2023-03-24 Thread Samuel Wales
[feel free to ignore those suggestions as surely there are better alterntives, and urgency is still good.] On 3/23/23, Samuel Wales wrote: > thank you for that. surely now fewer users will be confused. > > i find that when 2 things are being conflated, whether in software or > in anything else,

Re: [fr] allow overriding the likely unintended consequence of org-export-with-tasks

2023-03-24 Thread Samuel Wales
On 3/23/23, Ihor Radchenko wrote: > You can set org-export-with-tasks to '("REF"). It will make Org export > REF todo keywords, but not other todo keywords. this is true, but not relevant to my request. it won't as a practical matter work around or solve the problem. i wrote: "i would prefer