Re: Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?)

2022-08-17 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> What about write a elisp function to automatic the installation of those >> required two Julia packages? If not, at least raise a warning for user >> to install those two packages after detection not exist. WDYT? > > Installation is

Re: [PATCH v3] Show org file title in org-clock clocktable

2022-08-17 Thread Duy Nguyen
> > It is not a good idea to call internal function (with "--" in name) from > a different file. Such functions are a subject of change without notice. > > `org-macro-templates' is always initialized when Org mode is active, and > you can rely on its value. > Thanks for letting me know. The

Re: :session for Julia in org babel?

2022-08-17 Thread Fraga, Eric
On Wednesday, 17 Aug 2022 at 18:16, Timothy wrote: > The ob-julia code is in need of an overhaul, and it’s on my todo list > but I have no idea when I’ll get to it. Stephen Eglen has suggested the same and also that maybe a few of us get "together" to discuss what is needed etc. I have copied

Re: Show a warning/message when loading Org modules requiring external packages

2022-08-17 Thread Fraga, Eric
On Wednesday, 17 Aug 2022 at 17:51, Ihor Radchenko wrote: > "Christopher M. Miles" writes: >> What about write a elisp function to automatic the installation of those >> required two Julia packages? If not, at least raise a warning for user >> to install those two packages after detection not

Re: [BUG] Incorrect fontification of src blocks for indentation sensitive language modes

2022-08-17 Thread Fraga, Eric
On Wednesday, 17 Aug 2022 at 17:39, Ihor Radchenko wrote: > P.S. I am genuinely surprised that this bug is only revealed now. I'm not. Is there any other language whose fontification is indentation dependent? Python is indentation based but the fontification doesn't get affected (generally

Re: :session for Julia in org babel?

2022-08-17 Thread Timothy
Hi Eric and Ihor, The ob-julia code is in need of an overhaul, and it’s on my todo list but I have no idea when I’ll get to it. In the meantime, I think (which Eric, I think you’ve tried?) should be better to use. All the best, Timothy

[BUG] org-insert-heading-respect-content doesn't always insert TODO heading [9.5.4 (release_9.5.4-17-g6e991f @ /usr/local/Cellar/emacs-plus@29/29.0.50/share/emacs/29.0.50/lisp/org/)]

2022-08-17 Thread Roman Rudakov
Hello! Steps to reproduce: 1. Create an org heading and set state to something but TODO or DONE (for example PROGRESS). 2. Call the function org-insert-todo-heading-respect-content Expected result: New heading with TODO state in inserted Actual result: New heading is inserted with the same

Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?)

2022-08-17 Thread Ihor Radchenko
"Christopher M. Miles" writes: > What about write a elisp function to automatic the installation of those > required two Julia packages? If not, at least raise a warning for user > to install those two packages after detection not exist. WDYT? Installation is not a good idea because there are

Re: [BUG] Incorrect fontification of src blocks for indentation sensitive language modes

2022-08-17 Thread Ihor Radchenko
Bhavin Gandhi writes: > In the following Org mode file, the Ledger mode source block is not > highlighted correctly. > > How to reproduce: > ... Confirmed. Another example is https://www.reddit.com/r/orgmode/comments/wi0jq9/highlight_doesnt_work_for_src_block_of_diff_with/ > PS: I haven't

Re: [BUG] org-auto-repeat-maybe: error "Can’t expand minibuffer to full frame" and missing log note

2022-08-17 Thread Ihor Radchenko
Bhavin Gandhi writes: >> Thanks! I received the PDF to sign the next day after my email, this >> will probably take a couple of days more from my side as I'm talking >> with my employer. > > I finally got this done. I now have a fully executed copy of the copyright > assignment (signed by FSF

Re: [PATCH v2] Show org file title in org-clock clocktable

2022-08-17 Thread Ihor Radchenko
Duy Nguyen writes: > Thank you once again for your comments Ihor. Please find attached a new > patch with your comments addressed. Thanks! > +(let ((macros (org-macro--collect-macros))) > + (let ((title (assoc-default "title" macros))) It is not a good idea to call internal function