Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-04 Thread Samuel Wales
ah thanks. i didn't mean to require specifying the current file. that would be brittle to renaming hte file. i was thinking maybe i could use nil or some macro trick or a new feature of include to just say current file. not a pressing need though. On 4/4/23, Ihor Radchenko wrote: > Samuel Wale

Re: [BUG] ox-md image captions

2023-04-04 Thread Ihor Radchenko
Vladimir Alexiev writes: > Maybe an option? I do not mind. Patches welcome. See https://orgmode.org/worg/org-contribute.html > Saying "pandoc is in the wrong" doesn't do much to resolve the issue. Sure. But I did not see changing default Org's behaviour as justified in such scenario. > Despit

Re: [BUG] ox-md image captions

2023-04-04 Thread Vladimir Alexiev
Maybe an option? Saying "pandoc is in the wrong" doesn't do much to resolve the issue. Despite my enormous love for orgmode, Pandoc is used a lot more widely for scholarly publishing and interactive websites. See Quarto and Manubot. On Tue, Apr 4, 2023, 11:46 Ihor Radchenko wrote: > Ihor Radch

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-04-04 Thread Derek Chen-Becker
The patch looks good to me! Thanks, Derek On Tue, Apr 4, 2023 at 6:30 AM Ihor Radchenko wrote: > Derek Chen-Becker writes: > > > I fiddled around a little bit this weekend and confirmed that this > (sloppy) > > code makes highlighting work for all shell types that sh-script supports: > > > >

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-04-04 Thread Ihor Radchenko
Max Nikulin writes: > On 02/04/2023 23:44, Ihor Radchenko wrote: >> 1. The old problem with mixed installation that manifests itself for >> some users >> 2. The new problem with org-assert-version, which appears to be even >> more frequent, despite trying preventing (1). > > I leave decis

Re: Fwd: org-priority: allow customization of priority indicator

2023-04-04 Thread Ihor Radchenko
Canceled.

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-04-04 Thread Ihor Radchenko
Derek Chen-Becker writes: > I fiddled around a little bit this weekend and confirmed that this (sloppy) > code makes highlighting work for all shell types that sh-script supports: > > ;;A quick hack to try and support more shells syntax highlight in org babel > (require 'sh-script) > (require 'ob

Re: Noweb Function's body without evaluation

2023-04-04 Thread Ihor Radchenko
suarezmigu...@icloud.com writes: > #+name: getClientInstanceNameNew > #+begin_src shell :session something :var connection="admin@10.0.3.149" :var > client="example_client" :var apacheDir="/etc/apache/vhosts" > <> > client=$client > apacheDir=$apacheDir > grep $client $apacheDir/* > #+end_src > >

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-04-04 Thread Max Nikulin
On 02/04/2023 23:44, Ihor Radchenko wrote: 1. The old problem with mixed installation that manifests itself for some users 2. The new problem with org-assert-version, which appears to be even more frequent, despite trying preventing (1). I leave decision up to you. My opinion that both

Re: [BUG] Org-9.6.x org templates hang on 'clipboard pasted as level 2 subtree'...

2023-04-04 Thread Ihor Radchenko
Carlo Tambuatco writes: > I installed emacs from emacs-plus@28 formula on homebrew for macOS Ventura. > > So, I don’t think it is teh GTK emacs build… I see. Then, may you try to create a minimal reproducer? See https://orgmode.org/manual/Feedback.html#Feedback -- Ihor Radchenko // yantar92, O

Re: [BUG] Org-9.6.x org templates hang on 'clipboard pasted as level 2 subtree'...

2023-04-04 Thread Carlo Tambuatco
I installed emacs from emacs-plus@28 formula on homebrew for macOS Ventura. So, I don’t think it is teh GTK emacs build… > On Apr 4, 2023, at 6:19 AM, Ihor Radchenko wrote: > > Carlo Tambuatco writes: > >> I tried M-x toggle-debug-on-quit like you said, then I tried to run one of >> my >>

Re: [BUG] Org-9.6.x org templates hang on 'clipboard pasted as level 2 subtree'...

2023-04-04 Thread Ihor Radchenko
Carlo Tambuatco writes: > I tried M-x toggle-debug-on-quit like you said, then I tried to run one of my > capture templates. It froze on ‘clipboard pasted as level 2 subtree’, again, > then > I did C-g to quit, but then it just quits out of creating the template. I > think it > is some bug d

Re: [BUG] Org-9.6.x org templates hang on 'clipboard pasted as level 2 subtree'...

2023-04-04 Thread Carlo Tambuatco
I tried M-x toggle-debug-on-quit like you said, then I tried to run one of my capture templates. It froze on ‘clipboard pasted as level 2 subtree’, again, then I did C-g to quit, but then it just quits out of creating the template. I think it is some bug during the copy paste step when it is p

Re: A dream?

2023-04-04 Thread Pedro Andres Aranda Gutierrez
Hi Marko, I'm teaching myself and have some lectures written with org and exported through beamer. It started because it is skeleton mode presentations on steroids and it saves me a lot of time. In my case, I don't force emacs+org-mode (as someone has already said, they google around and desist f

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-04 Thread Ihor Radchenko
Samuel Wales writes: > off topic, but is it possible to leverage such a default into being > able to include a paragraph [or a section] from the current file? > istr this required specifying both dir [fixed with this default] and > the file basename. You can just include the same file. For exam

Re: [BUG] Org-9.6.x org templates hang on 'clipboard pasted as level 2 subtree'...

2023-04-04 Thread Ihor Radchenko
Carlo Tambuatco writes: > This is a bug that started with org-9.6, and has persisted up until now. I > have stayed > with org-9.5.5 waiting until this is resolved, but it has not as of yet. > > What happens is, for certain org templates that I run, the buffer simply > freezes and displays a messa

Re: [BUG] ox-md image captions

2023-04-04 Thread Ihor Radchenko
Ihor Radchenko writes: > I am inclined to change ![img](url "caption") to > ![caption](url) for links without description (links with description do > not obey caption in org export). > > Any objections? Upon further investigation, I have found that our base MD reference we follow in ox-md is de

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-04 Thread Ihor Radchenko
gnu...@pm.me writes: > So, looking in ox.el (from Org 9.4.4 coming in GNU Emacs 27.2), it > appears that there is an optional INCLUDER arg that is supposed to do > what I'm looking for, except that there seems to be a bug somewhere: If you want to play around with Org code, please use the latest

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-04 Thread gnuric
Thank you for your detailed reply, Ihor. "Ihor Radchenko" writes: > gnu...@pm.me writes: > >> Hi Ihor, >> Thanks for your reply and clarification on what Timothy meant. >> >> 1. Is there a general workaround that could be used as of now? > > Nothing great. You may have to use a custom macro, but