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

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 <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
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 Rad

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

2025-01-13 Thread Ihor Radchenko
#+begin_example > Debugger entered--Lisp error: (args-out-of-range # 0 > 3092985) Hard to suggest much without a reproducer. The backtrace does not ring any bells. Some shots in the dark: - something about narrowing - something about long lines in buffer - if nothing works, can try to bisect Org

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

2025-01-13 Thread Ihor Radchenko
It is ok to only limit the current patch to fixing the bug in question. We can continue with more changes later, after merging the more limited patch. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <

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

2025-01-13 Thread Ihor Radchenko
that "without diary timestamp" is the old behavior. We often use "old behavior" when guiding users how to revert newly added features that do not want. Otherwise, LGTM. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/&

Re: [PATCH v3] Re: [FR] Automatically display images in resutls of evaluation

2025-01-12 Thread Ihor Radchenko
Ihor Radchenko writes: > We need to come up with same safe way to only display inline images in > the results when those images are actually updated interactively. > We might even need a new kind of hook that is given more contextual info > about code evaluation. Any ideas? This

Re: Cannot yank media when image come from Gnome screenshot

2025-01-12 Thread Ihor Radchenko
Ihor Radchenko writes: >> Ihor> May you create such a patch against Org mode repository? >> >> This week I am a bit busy, so not before middle of next week at the >> earliest. Looks like this thread slipped through the cracks. Robert, are you still inter

Re: [PATCH] lisp/org-collector.el: Add support for TBLFM

2025-01-12 Thread Ihor Radchenko
ooking-back "\n" 1) > +(insert "\n")) > + (insert (concat "#+TBLFM:" tblfm))) I am not familiar with org-collector code, but (goto-char (point-min)) seems dangerous - what if current Org buffer has multiple tables with TBLFM lines? -- Ih

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

2025-01-12 Thread Ihor Radchenko
" > +#+begin_src elisp :tangle yes :comments org > + (message \"FOO\") > +#+end_src") > +(search-backward "message") > + (org-babel-tangle 4)) This will leave the tangled file lying around. Please explicitly remove it via (unwind-p

Re: org-timer: let done hook access time, allow silencing notification

2025-01-12 Thread Ihor Radchenko
t; (apply orig-fun args))) > (advice-add 'org-timer--run-countdown-timer :around > #'stefanv/suppress-org-notify) Your solution won't work because `org-timer--run-countdown-timer' does not actually execute `org-show-notification'. It just sets up a timer to c

Re: [BUG] Bug with org-open-at-point [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2025-01-12 Thread Ihor Radchenko
’. Note the reference to `org-file-apps'. By default, Org mode falls back to opening in Emacs if `org-file-apps' does configure how to open a given non-text file. You may read more on the topic in https://list.orgmode.org/orgmode/878rqcy27h.fsf@localhost/ Not a bug. Canceled. -- Ihor Ra

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-11 Thread Ihor Radchenko
Michael Heerdegen writes: > Ihor Radchenko writes: > >> +(unless (< (point) wstart) ; do no scroll past the point >> + (set-window-start nil wstart > > Thanks. > > Hmmm - don't we have the same problem when (point) > (window-end)? And >

Re: Timestamps with a repeater and an end date

2025-01-11 Thread Ihor Radchenko
nice if org-agenda supported this kind of syntax. Unfortunately, it does not. -- 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-timer: let done hook access time, allow silencing notification

2025-01-11 Thread Ihor Radchenko
-timer-start/stop/...-default-hook. Then, users can additionally customize those variables to their preference. Patches welcome! >From ca98848895da7c540e4f20049df53d08dca9 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Sat, 11 Jan 2025 18:07:43 +0100 Subject: [PATCH] org-timer

Re: org-babel python lost a feature?

2025-01-11 Thread Ihor Radchenko
gt; output "None" from the source block. I just tried Org 9.5.5 and also Org 9.4.4. It is all the same - consistent with Org 9.7.11. It is also consistent with our manual (16.6 Results of Evaluation) that declares drawer/link as mutually exclusive "Type" of result. -- Ihor R

Re: [BUG][minor] org-mouse

2025-01-11 Thread Ihor Radchenko
gt; > file:/tmp/test-org-mouse.org > (require 'org-mouse) > (require 'warnings) > #+begin_src bash > echo "Where is Charlie?" #* <-clicking the star... > #+end_src > > ...will asks for the evaluation of the block or reopen > the result buffer. I ca

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

2025-01-11 Thread Ihor Radchenko
Rens Oliemans writes: > Sorry for the late reply, I took a good holiday. > > Ihor Radchenko writes: > >> I cannot reproduce the problems you are showing. Although I am able to >> reproduce *different* problems. > > That's interesting, I can reproduce the

Re: [BUG] latex run fails for ob-latex with imagemagick options

2025-01-11 Thread Ihor Radchenko
and for bisecting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a938871821 -- 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-later sometimes creates a void display [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-01-11 Thread Ihor Radchenko
ch. Let me know if it fixes things on your side. >From c3bc1954b7b0427b2ab9f7563c960841c1410a55 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Sat, 11 Jan 2025 15:33:31 +0100 Subject: [PATCH] org-agenda-later: Avoid scrolling the window past point * lisp/org-agenda.el (org-agenda-later): When previous

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-01-11 Thread Ihor Radchenko
Ihor Radchenko writes: > I have installed my pach on bugfix for now, although it is not the > complete fix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fa0175bda4 > > We have a related discussion going on at > https://debbugs.gnu.org/cgi/bugreport.cgi?

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-01-11 Thread Ihor Radchenko
rg-mode.git/commit/?id=fa0175bda4 We have a related discussion going on at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75209 -- 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-11 Thread Ihor Radchenko
ing/org-test.el contains some helper functions and macros that can be used. 2. otherwise, just follow by example -- 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: fix ToC generation in the Latex exporter

2025-01-11 Thread Ihor Radchenko
:latex returning to the previous behavior. I think that a more backwards-compatible solution would be creating a new custom option that will control how ox-latex treats "num:t". By default, that custom option will keep the old behavior. (This option is on top of what you have already don

Re: How to specify column alignment in LaTeX table output?

2025-01-10 Thread Ihor Radchenko
had with your flushleft drawer, so I'm not sure >> whether this fixes anything or not. > > If you do this, the output doesn’t show if you export to HTML. flushleft and > the :results: drawer both seem to work fine exporting to both PDF and HTML. I recommend 16.6 Results of Evaluation

Re: [BUG] Edge case for preview image alignment

2025-01-10 Thread Ihor Radchenko
urpose of :align attribute is to align the whole paragraph? Consider something like # Align the whole paragraph #+attr_html: :align center Paragraph with inlined [[file:image.png]] image and [[file:image2.png]] another one. -- 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: test-org-table/sort-lines: Failing test on macOS

2025-01-09 Thread Ihor Radchenko
your patches are undoubtedly an improvement. -- 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] Turn org-mouse features into minor-modes

2025-01-09 Thread Ihor Radchenko
ures) > +(org-defkey org-mouse-map [mouse-3] nil) > +(org-defkey org-mouse-map [C-drag-mouse-1] #'org-mouse-move-tree) > +(org-defkey org-mouse-map [C-down-mouse-1] > #'org-mouse-move-tree-start)) > ... `org-mouse--old-mouse-map' is awkward. May

Re: 31.0.50; Fontification malfunction

2025-01-09 Thread Ihor Radchenko
"(+ 1 2)" > "\n#+end_src\n"))) > ... Confirmed. It is a bug in `org-fontify-extend-region'. It receives "\n#+end_src\n" line and does not mark the appeared src block for re-fontification. Not urgent. Will likely be fixed after fonti

Re: To factorize code of test sets (or not)

2025-01-09 Thread Ihor Radchenko
> > (ob-test "" >:expect "") > ... > (ob-test "" >:expect-to-match "") Looks reasonable. Although, :expect/:expect-*-to-* are probably redundant. We may instead use some kind of anamorphic form like: (ob-with-src-block-result

Re: [PATCH] ob-sql: session

2025-01-07 Thread Ihor Radchenko
ers for a new or > +existing SESSION. Clear the intermediate buffer from previous > +output, and set the process filter. Return the comint process > +buffer. > + > +The buffer naming was shortened from > +*[session] engine://user@host/database*, > +that clearly identifies t

Re: Language support for C# in org-babel

2025-01-07 Thread Ihor Radchenko
trib. Which means that you should name the new library ob-csharp as well - it will serve as the replacement. -- 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-cache getting invalid search bound [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2025-01-07 Thread Ihor Radchenko
.6.15 @ > /usr/share/emacs/29.4/lisp/org/) Thanks for reporting! May you update your Org to the latest stable release (Org 9.7) and let me know if the problem persists? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support O

Re: test-org-table/sort-lines: Failing test on macOS

2025-01-06 Thread Ihor Radchenko
ple test for all possible locales. Or did you find one? My conclusion from bug#59275 discussion is that simple tries like (string-collate-lessp "a" "B" locale t) will not work. Especially for non-US locales. -- 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: tests are not loading

2025-01-06 Thread Ihor Radchenko
org-mode/testing/lisp/test-ob-tangle.el" nil t) > require(test-ob-tangle > ``` Oops. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7ef659aafb -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>

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-05 Thread Ihor Radchenko
have a guess what the problem is. ... First, we need to establish whether the problem is with Org mode itself or it is a combination of your config and Org mode. For now, I simply do not know what is that problem you are experiencing. Because I cannot see it locally on my side. -- Ihor Radchen

Re: [PATCH] ob-tangle: Tangle BibTeX files with the standard .bib file extension

2025-01-05 Thread Ihor Radchenko
Rudolf Adamkovič writes: > I wanted to make sure this behavior, specifically for BibTeX, will never > get "lost in translation", say when refactoring. ... Ok. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=405787dfbc -- Ihor Radchenko // ya

Re: [PATCH] ob-tangle: Tangle BibTeX files with the standard .bib file extension

2025-01-05 Thread Ihor Radchenko
; in `ob-tangle/collect-blocks', I think. Or do I miss something? -- 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] Html making 'ltximg' directory in source folder, rather than out folder [9.7.11 (release_9.7.11 @ /home/pranshu/Documents/appsource/emacs/lisp/org/)]

2025-01-05 Thread Ihor Radchenko
Ihor Radchenko writes: >> When doing: >> (org-export-to-file 'html "~/new/path/thing.html") >> and the file option has the path "~/other/path/file.org", the 'ltximg' >> directory is made in "~/other/path/", which is not i

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-05 Thread Ihor Radchenko
I don't think I messed with agenda displaying, so others > may be able to reproduce this issue. I am unable to reproduce. May you please post detailed steps to recreate the issue starting from emacs -Q? See https://orgmode.org/manual/Feedback.html#Feedback -- Ihor Radchenko // yantar92, Org mo

Re: Clocking working hours with multiple breaks

2025-01-04 Thread Ihor Radchenko
ble section of the manual and sections on spreadsheet functionality. -- 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: How to limit display of habits in Agenda view

2025-01-04 Thread Ihor Radchenko
Michael Maurer writes: > Is there no way to specify when scheduled habits show up in my agenda? Nothing specific to habits, AFAIK. > org-habit-preceding-days is just for the visual property of the graph? Yup. You may consider custom `org-agenda-skip-function'. -- Ihor Radchenko

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

2025-01-04 Thread Ihor Radchenko
Dave Kemper writes: > On Sat, Jan 4, 2025 at 7:24 AM Ihor Radchenko wrote: >> "G. Branden Robinson" writes: >> > So another thing to know here is that these italic correction escape >> > sequences are, yet again, GNU troff extensions. A legacy formatter is

Re: Link preview generation with new link preview property

2025-01-04 Thread Ihor Radchenko
both alignment and width parameters are explicitly >> specified, LINK does not have to be provided. > > How would that work? Make link align and with optional and fail if > align or with are missing without link? Yes. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more

Re: [PATCH] org-lint.el: Include org-export-global-macros in global templates

2025-01-04 Thread Ihor Radchenko
mmit/?id=358eeb7ce8 -- 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-tempo doesn't respect indentation [9.7.11]

2025-01-04 Thread Ihor Radchenko
in the middle of template expansion. I am not really sure how we can solve 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 <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-04 Thread Ihor Radchenko
dition to other things)? > Having now seen org-mode's man(7) output in the flesh from my own input, > I see plenty of room for easy wins and improvements. I'll venture those > in a separate discussion as I make time, or as someone throws me > questions to answer or problems t

Re: [PATCH]: ox-latex.eel: handle unnumbered sections in TOC correctly

2025-01-04 Thread Ihor Radchenko
clear picture what toc:latex should look like -- never put unnumbered headings into TOC? Only put them when there is ALT_TITLE? -- 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: ob-octave: improve MATLAB support

2025-01-04 Thread Ihor Radchenko
atlab) > (const :tag "Maxima" maxima) > (const :tag "OCaml" ocaml) > - (const :tag "Octave and MatLab" octave) > + (const :tag "Octave" octave) This makes me wonder if ob-matlab and ob-octave diverged enough to put matlab-specific code into ob-matlab 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: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2025-01-04 Thread Ihor Radchenko
t. > > Also, explicitly selecting `\m[black]` as you are is going to backfire > on terminals using a black background--the text will become invisible! > ... I dropped force-setting black color now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=db995c8003 -- Ihor Radche

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

2025-01-04 Thread Ihor Radchenko
r/lib/tmac/tmac.an > > See the comment '# paragraph distance'. Ok. I got rid of the blank lines in the output except if explicitly put there by users (via export snippets or similar). https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=bc84ac7b26 -- Ihor Radchenko //

Re: [PATCH] Fix test example in testing/README

2025-01-03 Thread Ihor Radchenko
Michael Brand writes: > Patch attached. My copyright assignment is still valid. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3ebab4e190 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c02294c00f -- Ihor Radchenko // yantar92,

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

2025-01-02 Thread Ihor Radchenko
gt; +| {{{kbd(C-x `)}}} | Move to the next report and display the > offending line | May as well mention M-g M-n and maybe `previous-error' (M-g M-p) -- 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-tangle: source blocks without language can be tangled

2025-01-02 Thread Ihor Radchenko
t; I'm not sending via newsgroup, Just sending emails via mu4e. It does not > matter really. Then, maybe not subscribed? Basically, I have no idea. Just guessing. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org develop

  1   2   3   4   5   6   7   8   9   10   >