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

2025-01-13 Thread Derek Chen-Becker
Thanks for the help on this! I've reworked the changes into two patches (one for the README and one for tangle) and I think I've covered your concerns. I also added a unit test for the org-base-buffer-file-name function to cover the miss on provided buffers. Please let me know if you have any quest

Re: [BUG] org-agenda-later sometimes creates a void display [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-01-13 Thread Michael Heerdegen
Ihor Radchenko writes: > > One step back: What problem does this hack solve? [...] > > https://orgmode.org/list/87lfh2hk4k@gmail.com/ I asked rhetorically ;-) But thanks, this is what I expected. > > How about something like this? > > > > - If point is at bob, we ensure that point is rest

Re: [ERROR] org-todo [C-c C-t] change task todo state raised error

2025-01-13 Thread Ihor Radchenko
stardiviner writes: > When I change a task from "TODO" to "DONE", or "DONE" to "TODO", or > other todo keywords with [C-c C-t]. Org mode will raise bellowing error > "*randomly*". (I can't reproduce it in stable.) > > #+begin_example > Debugger entered--Lisp error: (args-out-of-range # 0 > 309298

Re: [PATCH] Fix ox-icalendar export of diary timestamps

2025-01-13 Thread Ihor Radchenko
Jack Kamm writes: > Unfortunately I found a case in the wild where this change caused a > temporary problem in org-caldav: > https://github.com/dengste/org-caldav/issues/315 > ... > I attach a patch to do this, by adding an option `active-exclude-diary' > for `org-icalendar-with-timestamps' and `

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

2025-01-13 Thread Ihor Radchenko
Derek Chen-Becker writes: >> Also, what about other places in the code that use `buffer-file-name'? >> We may want to use the new function there as well. > > Definitely. There are hundreds of places in the code where the same pattern > applies. Per our previous discussion in the thread, though, I

Re: [PATCH] LSP support in org-src buffers

2025-01-13 Thread Karthik Chikmagalur
>> We are not in hurry. Any progress will be appreciated as long as there >> is some. > > Unfortunately, this important patch is stuck. > It would be nice is somebody revived the work on it. > Anyone interested will do, not just people involved in this thread :) After trying it for a while, my opi

Re: [BUG] Edge case for preview image alignment

2025-01-13 Thread Karthik Chikmagalur
>> Currently the value of `org-image-align' or of the `:align' attr_* >> keyword is respected when previewing images in the following two >> situations: >> >> [...] >> > > These two situations are the same - standalone image in a paragraph. > The second example is _two_ paragraphs. (affiliated keyw

The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working

2025-01-13 Thread stardiviner
This seems not working, I have following example: In Org mode file "~/Org/Programming/R/test.org" #+begin_src R :results graphics file :dir "images" :file "hist_rnorm.png" x <- rnorm(100) print(mean(x)) hist(x) #+end_src #+RESULTS[(2025-01-14 11:19:59) 2387108d2b01bf63b1eac4044a7430ea7ba87466]:

Re: The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working

2025-01-13 Thread stardiviner
I tested using org-mode's `make repro` clean Emacs & org-mode environment instance. It works fine. I double checked my Emacs init file about R settings. Have not found suspicious config. Here is my reproduce test. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner

Re: [PATCH] LSP support in org-src buffers

2025-01-13 Thread Ihor Radchenko
Ihor Radchenko writes: > We are not in hurry. Any progress will be appreciated as long as there > is some. Unfortunately, this important patch is stuck. It would be nice is somebody revived the work on it. Anyone interested will do, not just people involved in this thread :) -- Ihor Radchenko

Re: [BUG] Edge case for preview image alignment

2025-01-13 Thread Ihor Radchenko
Karthik Chikmagalur writes: > Please close this bug/issue. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at

Re: [PATCH] LSP support in org-src buffers

2025-01-13 Thread Ihor Radchenko
Karthik Chikmagalur writes: > After trying it for a while, my opinion is that this way of getting LSP > support is a hack and somewhat fragile. This is why I haven't worked on > it since. I was more referring to the idea with tangling https://gist.github.com/bigodel/15599f3c1da23d1008b7d7d4ff8b

Re: [BUG] Image width specifications like :width 300px not working

2025-01-13 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> Probably, we can extend the regexp to treat things like px/pt as pixel >> width as well. >> >> I suggest doing it in a separate patch rather than making many changes >> together with introducing a new feature as you suggested. Having too >> many things in a single c