Re: Warning/Error message seen on an org file...

2025-02-10 Thread Ihor Radchenko
h bound (wrong side of point)") Thanks for reporting! May I know your Org version? (M-x org-version) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Invalid custom types in org-table and org-clock [9.7.11 (release_9.7.11 @ /home/rpluim/repos/emacs/lisp/org/)]

2025-02-10 Thread Ihor Radchenko
tions in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d2e8100b2db63f3f40464775876ea6ba2671e1a3 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work

Re: org-babel: Cannot get `:pp' to work

2025-02-10 Thread Ihor Radchenko
Rudolf Adamkovič writes: > #+BEGIN_SRC emacs-lisp :results value pp > '(1 2 3 4 5 6 7 8 9 10) > #+END_SRC > > #+RESULTS: > : nil > > Why is '(1 2 3 4 5 6 7 8 9 10) printed as nil? Duplicate of https://list.orgmode.org/orgmode/87r04guyq9@gmail.com/ Fi

Re: [PATCH] Add next-error support to org-lint report buffer

2025-02-10 Thread Ihor Radchenko
ast message in this thread. May I know if you made any progress? Maybe you need some help? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [PATCH] Have org-string-width's temporary buffer be declared as such

2025-02-10 Thread Ihor Radchenko
t a little. It is on my todo list. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-10 Thread Ihor Radchenko
Paul Stansell writes: > This is the head of my git clone. > > Commit c2d57df0ef54e4f517bdf47f42d0c6b37fe02401 (HEAD -> main, origin/main, > origin/HEAD) > Author: Ihor Radchenko > Date: 2025-01-12 11:41:38 +0100 > ... > Was I missing essential updates? This commit

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-10 Thread Ihor Radchenko
imply trying the latest main branch. Note that you no longer need the manually installed patch - it has been installed upstream already. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-10 Thread Ihor Radchenko
you asked me to apply. Ok. I see. I thought that you are testing the latest main after my last message where I mentioned 3 commits I installed. Without those 3 commits on main, I can expect cache race leading to incorrect cache saved to disk - this is what you see in the warnings. -- Ihor Radc

Re: Try gollum wiki to serve WORG

2025-02-10 Thread Ihor Radchenko
ut rather sandboxing export process. The latter is hopefully doable. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: org code highlight w/ single quote

2025-02-09 Thread Ihor Radchenko
oks like I would expect—namely, that the comma and the word plain are > outside of tags. > > ', plain foo Yet another bug in the approximate fontification we have now. https://orgmode.org/list/87ee7c9quk.fsf@localhost should be the way to fix all these things. -- Ihor Radchenko //

Re: [BUG] org-table-duration-custom-format has wrong type spec [9.7.11 (release_9.7.11 @ /home/tbb/code/emacs/emacs/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
> Looks like the :type specification for this variable has nested quotes. > The value for each symbol should be unquoted. Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d2e8100b2d -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org

Re: [BUG] Links in code block can't be opened [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
e problem - `org-open-at-point' is called when you click on the highlighted link, but on src block it actually executes it. We may need a special case for org-open-at-point: inside src block on link. > Also, docstring of org-open-at-point talks about src-blocks and > talks about &q

Re: Bug: octave newline not printed when using :session [9.8-pre (release_9.7.18-205-g0ce4f3)]

2025-02-09 Thread Ihor Radchenko
ed. Blank lines are problematic. Comint tends to produce excessive newlines in many cases, and it is a common practice to strip leading and trailing blank lines in the output when using sessions. I am afraid that not stripping the newlines will lead to other bugs popping up. -- Ihor Radchenko // yant

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

2025-02-09 Thread Ihor Radchenko
ment. Thanks! Just one more comment > + (should (equal (org-babel-tangle 4) (list tangle-filename) Argument 4 does nothing here. Did you mean '(4)? In any case, it should be unnecessary since there is a sole src block in the Org buffer. -- Ihor Radchenko // yantar92, Org m

Re: Org mode version 9.8-pre (9.8-pre-n/a-gc2d57d @ /home/n/.emacs.d/elpaca/builds/org/); org-babel-execute:emacs-lisp relies on pp's implicit return value

2025-02-09 Thread Ihor Radchenko
avannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5e17097099 `pp-to-string' instead of `pp' works here as we do not pass optional argument. Without optional argument, `pp-to-string' behaves exactly like `pp'. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn

Re: Problems using completion with group of tags and regexp

2025-02-09 Thread Ihor Radchenko
nstead, it offers others like: > :endgrouptag, :startgrouptag, :grouptags, :ORG, :{.+ORG}. Confirmed. `org-set-tags-command' does not filter out group tag definitions and regexps out of the tag alist when providing completion. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more a

Re: [PATCH] The function `org-link-preview-region` should detect whether already has overlay.

2025-02-09 Thread Ihor Radchenko
; which display icon on link. Then it will link > previewing with two icons.) > > So checked source code in `org-link-preview-region`. It should check > whether already has org-mode link preview overlay. Karthik, may you please take a look? -- Ihor Radchenko // yantar92, Org mode maintai

Re: `org-do-latex-and-related' performance issues

2025-02-09 Thread Ihor Radchenko
(Even moreso, I > think, if they have lots of headings - > <https://github.com/jdtsmith/shakespeare.org> is a good example for > this.) Confirmed. `org-latex-and-related-regexp' is not optimal. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <h

Re: [BUG] Latex exporter should consider export settings [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
and discuss the pdfcreator part. > > The semantics behind is different. I happens to be the program that created > the PDF. > Could you please expand on why you want to block that too? I agree that obeying :with-creator in hyperref template makes sense. -- Ihor Radchenko // yantar

Re: [PATCH]: make ox-latex obey global export title/author settings

2025-02-09 Thread Ihor Radchenko
+ (setq template (replace-regexp-in-string "%[ts]" "" template))) > + (format-spec template spec))) I believe that we can simplify this part by moving the checks into `org-latex--format-spec'. It will then automatically work for all the derived backends.

Re: Common Lisp weird Babel's results.

2025-02-09 Thread Ihor Radchenko
Héctor Galbis Sanchis writes: > I guess I need to hack a bit org-babel-execute:lisp to suit my needs. For you example with multiple values, I'd appreciate it if you shared you hacking. I do not program in CL, and it would be nice to get this fixed by a person who actually knows CL.

Re: [PATCH]: make ox-latex obey global export title/author settings

2025-02-09 Thread Ihor Radchenko
"Pedro A. Aranda" writes: > Second patch attached as promised... > ... These two patches are very similar. Maybe you can simply merge them together? Especially the ORG-NEWS record. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://org

Re: [BUG] Fontification error when unknown or missing lang

2025-02-09 Thread Ihor Radchenko
ssue. Thanks for reporting and for providing the fix! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1a9d408a4 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <

Re: Common Lisp weird Babel's results.

2025-02-09 Thread Ihor Radchenko
k is not working as expected is the following > one: > > #+begin_src lisp :results value > (values "Hey" 3) > #+end_src > > The results are: > > #+RESULTS: > : Hey Confirmed. This is because org-babel-execute:lisp assumes that the result can be passed to `r

Re: Noisy and unreliable (de-)tangling

2025-02-09 Thread Ihor Radchenko
modifies the source Org buffer when it > automatically adds missing IDs. Note that you can set it to `create-if-interactive'. I do not easily see why modifying the buffer is something Org should not do, especially if instructed. -- Ihor Radchenko // yantar92, Org mode maintainer, Lea

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-09 Thread Ihor Radchenko
else you'd like me to try? One weird thing in the above warning is //. Is // really what you see? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-09 Thread Ihor Radchenko
ion. ... but https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7999433067 supposed to fix such case. So, I am confused. May you please check which Org commit you are on? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Su

Re: Named fields in formulas

2025-02-09 Thread Ihor Radchenko
rns (("b" . 1)) from $+TBLFM: $b=1 Note how $ is stripped 2. org-table-store-formulas simply writes "b" as is, without adding "$" These things are a bit fragile. One needs to carefully consider how to solve the bug and not break org-table along the way. -- Ihor Ra

Re: [BUG] Delay cookies of the form "--1d" are not handled properly [9.6.15 (release_9.6.15 @ /opt/homebrew/Cellar/emacs-plus@29/29.4/share/emacs/29.4/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
+1d -1d” > when the input string is e.g. “<2025-01-22 Wed +1d -1d>” but “+1d” when it is > “<2025-01-22 Wed +1d --1d>”.) Ideally, we should simply use org-element API for this instead of rolling out a custom regexp-based parser for timestamps there. -- Ihor Radchenko // yantar92,

Re: [BUG] org-cycle-show-empty-lines doesn't show empty lines at end of file [9.7.19 (9.7.19-5a4686 @ /home/aragaer/.config/emacs/elpa/org-9.7.19/)]

2025-02-09 Thread Ihor Radchenko
ding and the > following `looking-at "[ \t\n]+"` doesn't match. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1517ead2aa -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org developmen

Re: Cannot yank media when image come from Gnome screenshot

2025-02-09 Thread Ihor Radchenko
omehow > don't like it as compared to just leaving this extra check out. We can use (foundp 'pgtk-get-selection-internal). And we kind of need to. At least, to pacify the byte-compiler. Also, please check that the method is not yet defined. We do not want to overwrite an existing met

Try gollum wiki to serve WORG (was: [DISCUSSION] Contributing policy for WORG)

2025-02-09 Thread Ihor Radchenko
to render any kind of markup, which implies that we might as well use emacs + Org export itself. At least, looking at https://github.com/xwmx/pandoc-ruby/blob/master/lib/pandoc-ruby.rb (366LOC), I do not see why we cannot change it to use emacs instead of pandoc to render html. -- Ihor Radche

Re: [DISCUSSION] Contributing policy for WORG

2025-02-09 Thread Ihor Radchenko
tribute to > Worg? I know for sure that git workflow scares off some users. So does email workflow. That's why I started thinking about alternatives. I am not yet sure if hyperdrive is going to be better for people who are not comfortable with git/email. -- Ihor Radchenko // yantar

Re: [DISCUSSION] Contributing policy for WORG

2025-02-09 Thread Ihor Radchenko
copy content they are not the > author of (copied from elsewhere or S/LLM-generated). Maybe I am missing something, but how can we do more than one license for the same WORG page? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Su

Re: [BUG] org-element-cache getting invalid search bound [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
Ihor Radchenko writes: > WANG Yizhen writes: > >> Yes, I can confirm the problem persists with the latest stable release >> of Org. > > Ok. > As a next step, may you run M-x toggle-debug-on-error > and then do whatever it takes to trigger the error? >

Re: [BUG] org agenda parsing [9.7.11 (9.7.11-6a5d0e @ /home/rivals/.emacs.d/elpa/org-9.7.11/)]

2025-02-07 Thread Ihor Radchenko
to the Org mailing list. > Looks like you forgot describing the problem you wanted to report ;) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org developme

Re: [BUG] Org parser error [9.8-pre (e39c42286 @ /home/karthik/.local/share/git/elpaca/builds/org/)]

2025-02-07 Thread Ihor Radchenko
to Org mode mailing list (M-x org-submit-bug-report). May you trigger it with M-x toggle-debug-on-error? This should pop up the full backtrace window. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development a

Re: [BUG] intermittent invalid search bound error [9.6.15 (release_9.6.15 @ /tmp/.mount_Emacs-NcE3UV/share/emacs/29.4/lisp/org/)]

2025-02-07 Thread Ihor Radchenko
Then, Org will pop up complete debugger window with full backtrace. Please then share that backtrace. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Org Agenda issue (org said to send) [9.6.29](@ /home/tyler/.emacs.d/elpa/org-9.6.29/)]

2025-02-07 Thread Ihor Radchenko
pgrading to Org 9.7 and reporting back if the problem does not resolve itself. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: org-present and '+' used for drawing

2025-02-07 Thread Ihor Radchenko
ting the subsequent > characters to the left? Sounds like some kind of fontification bug (we have many), but I cannot reproduce starting from emacs -Q. > Should I be creating boxes for org-present in a different way? Try to reproduce the problem with emacs -Q first. -- Ihor Radchenko //

Re: [BUG] Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer # (org-agenda-mode) [9.7.11 (release_9.7.11 @ /Applications/Emacs.app/Contents/Resources/l

2025-02-07 Thread Ihor Radchenko
; "/Users/bartm002/Documents/org/refile.org")) > org-agenda-prepare("Day/Week") This is perfectly normal. If you try "e (current-buffer) RET" inside the debugger, you will end up in an Org file. There is a reason why I asked to debug display-warning rather than org-element-at-point itself. What you need to catch is what is calling org-element-at-point in inappropriate place. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: Language support for C# in org-babel

2025-02-04 Thread Ihor Radchenko
-file)) > (org-babel-eval (format "dotnet restore %S" project-file) "") Why hard-coding "dotnet" command here if it is customizeable? > (org-babel-eval compile-cmd "") > (let ((results (unless (eq project-type 'class) >

Re: [BUG] org-element warning [9.8-pre (release_9.7.18-202-ge16c9e @ /home/vjo/.emacs.d/straight/build/org/)]

2025-02-04 Thread Ihor Radchenko
Ihor Radchenko writes: > May you do M-x toggle-debug-on-error and then post the backtrace that > will appear instead of the warning next time? No response. Closing the bug due to insufficient information. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Or

Re: Feature request: Export to text file with no line wrapping

2025-02-02 Thread Ihor Radchenko
Ihor Radchenko writes: > Morten Kjeldgaard writes: > >> The subject says it, it would be very nice if there was an export option >> to export to text mode without wrapping paragraphs,so the resulting text >> file can be read with visual-line-mode on. > > See or

Re: Customize list of blocks that use "\footnotemark" in `org-latex-footnote-reference'

2025-02-02 Thread Ihor Radchenko
Ihor Radchenko writes: >>> I am exporting an Org file that contains a large verse block to >>> LaTeX. This verse block contains footnotes, but they appear in the page >>> where the LaTeX verse environment ends. I looked at the exported .tex >>> file and I noti

Re: [BUG] Texinfo: Error when exporting source block with no language

2025-02-02 Thread Ihor Radchenko
Ihor Radchenko writes: >> I am using Org mode version 9.6.15 in GNU Emacs 29.4. > > Have you tried Org 9.7? Canceled. Most likely, this has been fixed already. See https://list.orgmode.org/orgmode/87ikrdtf8u@gmail.com/ -- Ihor Radchenko // yantar92, Org mode maintainer, Lear

Re: [BUG] org-gnus-follow-link tries to select dead frame [9.8-pre (release_9.7.15-163-g3ff21c.dirty @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-02-02 Thread Ihor Radchenko
; > E.g. for example to trigger this state again I closed the Gnus frame I > was writing this reply in. Afterwards the frame is dead. Then, why not simply the attached patch? >From 73bb83c67dbda24c7b4455073482020b5e4e357b Mon Sep 17 00:00:00 2001 Message-ID: <73bb83c67dbda24c7b4455073

#16 [[bbb:OrgMeetup]] on Wed, Feb 12, 19:00 UTC+3

2025-02-02 Thread Ihor Radchenko
any recording by default. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BLOG] #15 [[bbb:OrgMeetup]] on Wed, Jan 8, 19:00 UTC+3

2025-02-02 Thread Ihor Radchenko
de.org/worg/worg-about.html on how to contribute) > > Although to add my opinion, I do maintain single big org file, > since leveraging tags and properties provide so much benefits in > filtering (sparse-tree), searching and narrowing Would you be interested to take https://orgmode.or

Re: [BUG] Org Roam does not open capture buffer [9.7.11 (9.7.11-??-6a5d0ed34 @ /home/yonggan/.config/emacs/.local/straight/build-29.4/org/)]

2025-01-30 Thread Ihor Radchenko
Ihor Radchenko writes: > Do you need org roam to reproduce the error or does it happen without > org-roam as well? I cannot help solving the bug without additional information. Closing. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at

Re: [RFC] Insert reference to Org table cell or cell range from region selection (w/without mouse)

2025-01-30 Thread Ihor Radchenko
Ihor Radchenko writes: > Charles Choi writes: > ... Charles, any update on this? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <

Re: [BUG] org-gnus-follow-link tries to select dead frame [9.8-pre (release_9.7.15-163-g3ff21c.dirty @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-01-30 Thread Ihor Radchenko
not, resulting > in (wrong-type-argument frame-live-p #). > > * Preconditions > - gnus-other-frame-object is a dead frame May you please describe when `gnus-other-frame-object' could become a dead frame? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mo

[BLOG] #15 [[bbb:OrgMeetup]] on Wed, Jan 8, 19:00 UTC+3

2025-01-30 Thread Ihor Radchenko
yntax - Jake asked about my agenda view that contains the latest note before todo keywords: : Focused daily agenda : Friday 17 January 2025 : Org[H]:[1:11/0:40]+1.0x NEXT [#A] Weekly review : * 9 d. ago OrgMeetup[T]: [0:30] +1.0x [note about Jake

Re: Babel Forth

2025-01-28 Thread Ihor Radchenko
don't know how to fix. Savannah was under DDoS making our WORG build script fail when it attempted to clone org-mode git repo. Should be OK now, AFAIK. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2025-01-28 Thread Ihor Radchenko
ds having dedicated option like `org-cite-basic-follow-ask', we make a minor mode that can be enabled/disabled. That minor mode will have a global customization that will list which commands should use menus. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode

Re: Babel Forth

2025-01-23 Thread Ihor Radchenko
w the basic lisp conventions is not nice. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: Babel Forth

2025-01-23 Thread Ihor Radchenko
See https://git.savannah.gnu.org/cgit/gforth.git/tree/gforth.el -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer # (org-agenda-mode) [9.7.11 (release_9.7.11 @ /Applications/Emacs.app/Contents/Resources/l

2025-01-21 Thread Ihor Radchenko
run M-x debug-on-entry RET display-warning RET and try triggering the warning? Then, you will see a backtrace with the full information about where the warning is triggered. (you can later disable the debugger via M-x cancel-debug-on-entry RET RET) -- Ihor Radchenko // yantar92, Org mode maintain

Re: [TASK] Documenting ob-fortran, ob-forth, ob-sed, ob-ocaml, ob-ruby, and ob-sass

2025-01-21 Thread Ihor Radchenko
n and do not get stuck. Not your case, so I will patiently wait more (and maybe followup in 3 months or so). -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support

Re: [TASK] Documenting ob-fortran, ob-forth, ob-sed, ob-ocaml, ob-ruby, and ob-sass (was: [TASK] Move babel backend docs from WORG to Org manual)

2025-01-21 Thread Ihor Radchenko
Ihor Radchenko writes: >... > Let me then change the subject here to indicate that these languages are > being worked on. Thomas, may I know if you got a chance to work on this? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.or

Re: Link preview generation with new link preview property

2025-01-21 Thread Ihor Radchenko
o be given. If LINK is nil, ... Also, we need to explain the possible values of ALIGN and WIDTH. Maybe even provide some defaults (maybe even via cl-defun) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org developme

Re: PATCH: ox-latex table of contents patch consolidated

2025-01-21 Thread Ihor Radchenko
r > modes > + (unnumbered-type (org-export-get-node-property :UNNUMBERED > headline t)) Maybe "Latex TOC style" and "Org TOC style". -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-01-20 Thread Ihor Radchenko
ite-login-params'. > ... Thanks! May you please post the patch on Emacs bug tracker? (M-x submit-emacs-patch) and X-Debbugs-CC me? That way, we get the Emacs maintainers involved into the discussion. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <ht

Re: Cannot yank media when image come from Gnome screenshot

2025-01-20 Thread Ihor Radchenko
Ihor Radchenko writes: >> Ihor> Yes, behind version check, pgtk build check, and, ideally, after >> Ihor> checking that such method is not yet defined. >> >> The cl-defmethod itself checks itʼs being run in a pgtk emacs, so not >> sure we need more

Re: [BUG] ob-clojure doesn't handle namespaces properly

2025-01-20 Thread Ihor Radchenko
lojure, so I am most likely missing some setup. If some other users of ob-clojure are reading this thread, please help reproducing the bug. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://lib

Re: [BUG] Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. [9.7.18 (9.7.18-1463ab @ /home/tk/.emacs.d/elpa/org-9.7.18/)]

2025-01-20 Thread Ihor Radchenko
ot record a useful (and not insanely long) log. Your bug report is an indication that problems still do exist in this area (alas). So, thanks for reporting! Closing this bug for now as debugging is not possible. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Or

Re: ox-reveal

2025-01-19 Thread Ihor Radchenko
where melpa points to (see https://melpa.org/#/ox-reveal) Maybe reading through the documentation can help? It looks like ox-reveal requires some special setup: https://github.com/yjwen/org-reveal?tab=readme-ov-file#configuration -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more abo

Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2025-01-19 Thread Ihor Radchenko
clear. What I meant is \fBbold \fIitalic\fP\fP -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [PATCH] put `org-attach-after-change-hook` at the end of org-attach

2025-01-19 Thread Ihor Radchenko
Ihor Radchenko writes: > Instead, it might make more sense to pass the information about file > changes (if available) to the hook itself directly. > For example, we may obsolete `org-attach-after-change-hook' and introduce > `org-attach-after-change-functions'. Then,

Re: [O] Rackspace is sponsoring orgmode.org hosting

2025-01-19 Thread Ihor Radchenko
S aggregator, there is https://planet.emacslife.com/ -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2025-01-19 Thread Ihor Radchenko
it can work -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: New Heading Parsing and org-vcard

2025-01-19 Thread Ihor Radchenko
Jonas Damm writes: > I tried that already, it did not work. I tried using the debugging but > the I could not understand the output. Then, you can share your debugging results, so that we have a chance to help. Or, indeed, you can come back to earlier version of Org mode. -- Ihor Rad

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Ihor Radchenko
pplied, onto bugfix, with minor amendments after adding a proper commit message. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c54340b8a8 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Ihor Radchenko
ed on the latest main. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] org-element-interpret-data does not preserve blank lines after elements

2025-01-19 Thread Ihor Radchenko
elements are preserved, > but > blank lines after elements are not. This behavior diverges from the > expectation set by the Org Element API documentation. > ... Fixed, on main. Thanks for reporting! https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e49e630c6d -- Ihor

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread Ihor Radchenko
Pranshu Sharma via "General discussions about Org-mode." writes: > Can we also remove the requirment of haskell-mode to run code? AFAIU, it is not strictly required, unless you need session support. If you do not use sessions, things should work without haskell-mode. -- I

[DISCUSSION] Contributing policy for WORG

2025-01-19 Thread Ihor Radchenko
/blog/2024-12-16-mirror-worg-to-a-hyperdrive.html>) WDYT? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2025-01-18 Thread Ihor Radchenko
-existent font (as either or > both of `C` and `CR` may be). I am wondering if the situations like the above should be caught by groff linter. Currently, they seem not. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org

Re: New Heading Parsing and org-vcard

2025-01-18 Thread Ihor Radchenko
Can I maybe downgrade orgmode or restore the old > method of parsing some other way? I relied on org-vcard pretty > heavily. I hope I can find a way to keep using it. It might be enough to replace plist-get with org-element-property calls. -- Ihor Radchenko // yantar92, Org mode maintainer, Le

Re: Link preview generation with new link preview property

2025-01-18 Thread Ihor Radchenko
>> refactor the org-link-preview-file function in a way that the geometry >> handling is done in a helper function which can be reused by other >> handlers. Did it change? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://

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

2025-01-18 Thread Ihor Radchenko
Yes, it is fine. Also, no need to overthink things - as long as the test is readable, we should be good. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-18 Thread Ihor Radchenko
Ship Mints writes: > Makes sense. I'm not set up to contribute to WORG, perhaps you can do it, > if you don't mind? I can add it to my todo list. But that means not soon. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode

Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-18 Thread Ihor Radchenko
und dynamically > to possible values, e.g. `edit' or `fontify'? I am reluctant. This will force us to make sure that we arrange this variable appropriately in every single temporary buffer Org creates for various purposes. In other words, it will increase maintenance burden. Unless s

Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-18 Thread Ihor Radchenko
nual. I think creating a WORG page that collects performance hacks and suggestions could be a good alternative. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or

Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-18 Thread Ihor Radchenko
n should name the buffers according to the convention :) Org does it though. So, we should be good. Closing the patch request. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.co

Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-18 Thread Ihor Radchenko
, buffers with names starting with space are considered internal. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-17 Thread Ihor Radchenko
-hook () > (unless (and (featurep 'org) (org-src-is-fontify-buffer-p)) > (eglot-ensure))) Thanks! Do you have other examples where the new predicate could be useful apart from eglot? For eglot specifically, one can do a much simpler test - check for `buffer-file-name'. --

Re: [BUG] Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. [9.7.18 (9.7.18-1463ab @ /home/tk/.emacs.d/elpa/org-9.7.18/)]

2025-01-17 Thread Ihor Radchenko
t (M-x org-submit-bug-report). > ... > Package: Org mode version 9.7.18 (9.7.18-1463ab @ > /home/tk/.emacs.d/elpa/org-9.7.18/) Thanks for reporting! Do you observe this warning often? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.

Re: different faces for categories in agenda view?

2025-01-17 Thread Ihor Radchenko
category. > > Sort of like hi-lock allows me to do in normal text files... You can directly apply text properties, including 'face in `org-agenda-finalize-hook'. You can check category of any given agenda text line by looking at 'org-category text property. -- Ihor Radchenko /

Re: [PATCH] ob-sql: session

2025-01-17 Thread Ihor Radchenko
riting parts of sql.el in Org mode. (Being a part of Emacs has advantages that we can request/submit changes upstream somewhat easier) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

Re: [PATCH] testing/lisp/test-ox-man.el: Add regression tests for ox-man

2025-01-17 Thread Ihor Radchenko
x-man/bold, ox-man/code, > ox-man/italic-underlined-verbatim): New file. Regression tests for ox-man. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=21dfa6fe89 Little by little, adding more tests :) -- Ihor Radchenko // yantar92, Org mode maintai

Re: [BUG] Org mode freeze in combination with recovery notification [9.7.11 (release_9.7.11 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/)]

2025-01-17 Thread Ihor Radchenko
n of markup which is garbage. Note that you may try to send -SIGUSR2 signal to Emacs process to force stopping some types of freezes and produce a backtrace that may indicate where the freeze happened. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://org

Re: [BUG] Headings do not unfold [9.6.15 (release_9.6.15 @ /gnu/store/…-emacs-29.4/)]

2025-01-17 Thread Ihor Radchenko
inue editing. > ... > Package: Org mode version 9.6.15 (release_9.6.15 @ > /gnu/store/h951ybhj9lm8cj7k85mn9j9xmb8mcpn0-emacs-29.4/share/emacs/29.4/lisp/org/) What if you upgrade Org mode to the latest version? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more abo

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

2025-01-16 Thread Ihor Radchenko
e-tangled-filename' or something else? Ouch. Never mind. I misread your patch. I thought that you are using :tangle yes in which case `org-babel-effective-tangle-filename' would be used to auto-generate the tangle file name. But that's not the case - you explicitly specify the

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

2025-01-15 Thread Ihor Radchenko
ot; > > (org-test-with-temp-text-in-file > >"* Header\n\nCapture after this point:\n" > >(let ((tangle-filename (format "%s.el" (buffer-file-name I recommend using `org-babel-effective-tangled-filename' instead. This is more future-proo

Re: [BUG][minor] org-mouse

2025-01-15 Thread Ihor Radchenko
Phil Estival writes: > $ emacs-30.0.50 -q > ... Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=10cdb20243 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org developme

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-14 Thread Ihor Radchenko
git/commit/?id=532690a9e4 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

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

2025-01-14 Thread Ihor Radchenko
cally `file' variable will be let-bound within the `org-test-with-temp-text-in-file' body, it is an internal implementation detail that we should not rely upon. Instead, it is a good idea to examine `buffer-file-name' inside the macro body to get the file name. Also, what if "%s

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

2025-01-13 Thread Ihor Radchenko
der. Fixed, on main. See https://list.orgmode.org/orgmode/87wmg4148s@gmail.com/ -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>

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

2025-01-13 Thread Ihor Radchenko
his thread. I agree that it would be best to make use of the native langserver capabilities, if they are available. However, tangling approach is much more universal. It will cover more than just LSP servers - other traditional dev tools as well. So, there is a lot of value in having that independent

  1   2   3   4   5   6   7   8   9   10   >