Re: [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks

2024-08-13 Thread Ihor Radchenko
"shynur ." writes: > These commas are confusing. > ... > #+begin_src org >,#+begin_src > - , > + batch replace is easy to mess up, yes. Thanks for the patch! Applied. https://git.sr.ht/~bzg/worg/commit/a27404f5 -- Ihor Radchenko // yantar92, Org

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-13 Thread Ihor Radchenko
t; Any idea how to make this example work? You can modify `org-preview-latex-process-alist' to use latexmk. See `org-babel-latex-process-alist' for an example. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org develo

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-13 Thread Ihor Radchenko
Joseph Turner writes: > Thanks! I completed the FSF copyright assignment paperwork in May 2023. Bastien, may you please confirm with FSF records? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development

Re: Org-publish and attachment links

2024-08-13 Thread Ihor Radchenko
oad org-attach by default. Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e52858fdb4 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-m

Re: Pending contents in org documents

2024-08-13 Thread Ihor Radchenko
ge at %s@%s: %s" >pt buf upd-message) > (save-excursion > (with-current-buffer buf > (save-excursion > (goto-char pt) It will be shorter to use `org-with-point-at' from org-macs.el Also, when marker is outside, narrowing, your version will behave unexpectedly. > (with-current-buffer buf > (save-excursion > (save-restriction > (widen) Or just (org-with-point-at start ...) > (if (> (- end start) 1) >;; Insert in the middle as it's more robust to >;; keep existing data (text properties, markers, >;; overlays). > ... See `replace-region-contents' > (defun org-pending-locks-in (start end &optional owned) > "Return the list of locks in START..END. > Return the list of REGLOCK(s) that are alive between START and END, in > the current buffer. > When OWNED is non-nil, ignore locks that are not owned by this buffer. > See also `org-pending-locks-in-buffer-p'." > (let ((reglocks) > (here nil) > ovl) > (while (and (< start end) Mind the narrowing. > (defun org-pending--mgr-handle-reglock-update (reglock update) > "Handle the update UPDATE for this REGLOCK. > Return nothing." > (message "org-pending: reglock update for id=%s: %s" >(org-pending-reglock-id reglock) update)) Is it always desired to display a message each time a reglock is updated? -- Ihor Radchenko // yantar92, Org mode contributor, 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: multipage html output

2024-08-12 Thread Ihor Radchenko
ata' on > ;;; each of them and return the collected results. > (mapcar (lambda (org-page) > (org-export-data org-page info)) > (org-element-contents data)) This is not a transcoder's job to export its contents. Please move special h

Re: [PATCH v4.0] Re: [PATCH] add a function to only refresh inline images under current headline instead of global buffer

2024-08-12 Thread Ihor Radchenko
`org-toggle-inline-images' will not be affected at all. We are just changing the default C-c C-x C-v binding. This way, the breakage is a little as possible. >From 0a7b2a8850013be3ca916f4e5c67ac68b94feb25 Mon Sep 17 00:00:00 2001 Message-ID: <0a7b2a8850013be3ca916f4e5c67ac68b94feb25.

Re: [BUG] Org-publish-find-date ignores #+DATE keyword [9.7.5 (9.7.5-eafa47 @ /usr/share/emacs/29.3/lisp/org/)]

2024-08-11 Thread Ihor Radchenko
Ihor Radchenko writes: > noa writes: > >> When generating a sitemap from org-publish with the anti-chronological... >> >> All the dates shown were the mtime of the files, rather than the dates i >> specified with the DATE keyword... >> >> I've tr

Re: Examples of online documentation written with Org-mode

2024-08-11 Thread Ihor Radchenko
LPA. It will give you a chance to improve the code, docs, and polish the package in general. For now, it looks more like a personal config file; not like a project to be used by others. https://one.tonyaldon.com/docs/getting-started/ (one.el) project appears to have a similar spirit. You may get

Re: [BUG] org-forward-element for plain list item [9.6.15]

2024-08-11 Thread Ihor Radchenko
ain list, - and moves to the element following the list, which is your "* TestB" heading. Not a bug. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, 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: Issue opening files with accented words, using org-attach-open

2024-08-11 Thread Ihor Radchenko
quot;\"" > > (auto-mode . emacs > > After commenting those lines, I can open files with accentuated names through > org-attach. > > What should I customize to open links with the default software of the OS? (when (eq system-type 'windows-nt) (setq org-file

Re: org-mode-flyspell-verify: Why skip checking the LOGBOOK?

2024-08-11 Thread Ihor Radchenko
D vs. CANCELLED. Those should not be a big deal - todo keywords are enclosed in "quotation marks". No worse than any other use of special terms inside quotes. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=86abaf6407 -- Ihor Radchenko // yantar92, Org

Re: Org-publish and attachment links

2024-08-11 Thread Ihor Radchenko
recognized. >;; Package load and configuration > >;; Use org >(use-package org) > >;; Use ox-publish > (use-package ox-publish) Add (require 'org-attach) here. -- Ihor Radchenko // yantar92, Org mode contributor, Learn

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-11 Thread Ihor Radchenko
ee from this requirement. -- Ihor Radchenko // yantar92, Org mode contributor, 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: multipage html output

2024-08-11 Thread Ihor Radchenko
licates what is already done in `org-export-transcode-org-data' - processing 'inner-templtate and 'template. My suggestion is to move generic parts of `org-html-transcode-org-page' to ox.el and call it `org-export-transcode-org-page'. -- Ihor Radchenko // yantar92, Org mo

Re: Examples of online documentation written with Org-mode

2024-08-10 Thread Ihor Radchenko
mb...@mbork.pl writes: > On 2024-08-10, at 17:13, Ihor Radchenko wrote: > >> Many blogs are also made with Org mode. Not sure if it qualifies for >> documentation. > > ... my custom blog engine > (https://gitlab.com/mbork_mbork_pl/org-clive). It is a testament to

Re: Examples of online documentation written with Org-mode

2024-08-10 Thread Ihor Radchenko
ub, like https://github.com/alphapapa/org-ql/ Many blogs are also made with Org mode. Not sure if it qualifies for documentation. You may also take a look at https://github.com/fniessen/org-html-themes (ReadTheOrg), https://orgmode.org/tools.html, and https://orgmode.org/worg/org-blog-wi

Re: Question about relative paths generated by Org

2024-08-10 Thread Ihor Radchenko
this: [[file:README.org::Task 3][Task 3]] ? Absolute file path is currently hard-coded in `org-clock-get-table-data'. I agree that it would make sense to respect `org-link-file-path-type'. Someone has to factor out link path format from `org-insert-link' and re-use it. -- Ihor Radchen

Re: active region persistence

2024-08-10 Thread Ihor Radchenko
ess" fallback command, not an "expected thing you to to turn > off the region" command. but that is just me. I do not mind a customization, but would like to see more users looking for it or to see some use case explained. I find it hard to understand why would people _not_ want t

Re: [FEATURE] On line-numbers inside Org Babel Source Blocks.

2024-08-10 Thread Ihor Radchenko
de, except that linum is infamous for its poor performance. So, it might be better to hack on https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/nlinum.el?h=externals/nlinum as suggested in lisp/obsolete/linum.el commentary. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more ab

Re: org-mode-flyspell-verify: Why skip checking the LOGBOOK?

2024-08-10 Thread Ihor Radchenko
es? Ideally, please check things like CLOCK and automatic todo state change notes. -- Ihor Radchenko // yantar92, Org mode contributor, 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: Summation of effort estimates in columnview dblock

2024-08-10 Thread Ihor Radchenko
e, IMHO. +1 > - Right after that, with another new paragraph explaining how the > summation for CLOCKSUM and CLOCKSUM_T is done in contrast, and > mentioning that nothing is ever overwritten for these. +1 > - The section should also mention that the footnote # 54, which I quot

Re: Is raw output from Common Lisp and Scheme broken?

2024-08-10 Thread Ihor Radchenko
|cc} 1 & 2 & 3 & 4\end{array} > Is escaping and quoting broken for Common Lisp and Scheme, ... > > ... or am I using something incorrectly? It is broken. We should use Lisp/Scheme equivalents of `format' to solve the problem. Something akin `org-babel-lua-wrapper-method&#x

Re: [BUG] Bug: Invalid search bound (wrong side of point) [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-08-10 Thread Ihor Radchenko
problem go away if you upgrade to Org 9.7 (the latest release)? -- Ihor Radchenko // yantar92, Org mode contributor, 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-fill-paragraph adds wrong prefix to lines with two bold lines [9.7.8 (N/A @ /gnu/store/bj2bsz76f14n3vfnkv556s8f1x66m9in-emacs-org-9.7.8/share/emacs/site-lisp/org-9.7.8/)]

2024-08-10 Thread Ihor Radchenko
Move point into the paragraph. Then > hit M-q. > > Expected: the paragraph does not change. > > Actual: lines 3-5 become prefixed with *. Confirmed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org developmen

RE: Issue opening files with accented words, using org-attach-open

2024-08-10 Thread Ihor Radchenko
-entering a function: > > * org-open-file("p:/170 Buzón/oq.pdf" nil) I saw this already. What I am looking for is what is called by `org-open-file'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-10 Thread Ihor Radchenko
Joseph Turner writes: >> We can put such a page alongside /org-syntax.org, maybe even linked from >> there. Feel free to create such a page. > > Would the following patch be appropriate? LGTM! But we also need to link this new page from other places. -- Ihor Radchenko //

Re: [BUG] org-persist-write-all is slow because of use of pp [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]

2024-08-10 Thread Ihor Radchenko
ive CPU > governor settings (in hopes of improving battery life). AFAIK, the underlying cause is bad scaling of `pp' algo. So, it will only get worse (like O(N^2) worse) with increasing number of index entries. Different CPU settings will just change the threshold when the problem is trig

Re: [FR] org-colview.el, add annotation for functions summary-types

2024-08-10 Thread Ihor Radchenko
special > function for it? I couldn't find one, so I wrote my own. But it is a > general-purpose function and should not be located in org-colview. See `help--symbol-completion-table-affixation'. I'd also prefer using a proper completing-read API instead of `completion-extra

Re: [BUG] org-persist-write-all is slow because of use of pp [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]

2024-08-10 Thread Ihor Radchenko
e full one > too. So much for the idea of readable index file. Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f9351456e7 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development

Re: multipage html output

2024-08-10 Thread Ihor Radchenko
gt; > This is just a proposal to check whether this architecture is the way > to go. I got the idea that it might be feasible to integrate all page > related properties directly into the properties of each org-page > element rather than annotating info with this information. I will look &

Re: [BUG] Org element cache error in indirect buffer [9.6.15 (release_9.6.15 @ c:/Users/User/Downloads/emacs-master-x86_64-full/share/emacs/30.0.50/lisp/org/)]

2024-08-08 Thread Ihor Radchenko
Ihor Radchenko writes: >> I am also experiencing, in indirect buffers, the inability to unfold >> org-headings, and problems where rearranging them leaves sub-headings >> behind, which may be related > > Please upgrade to Org 9.7 and let us know if you stop seeing

Re: Should we move constants.el by Carsten Dominik to Org orphanage?

2024-08-08 Thread Ihor Radchenko
add it. >From 20474fe5d48d94e2efe50fea6df4744d80051ea9 Mon Sep 17 00:00:00 2001 Message-ID: <20474fe5d48d94e2efe50fea6df4744d80051ea9.1723103048.git.yanta...@posteo.net> From: Ihor Radchenko Date: Thu, 8 Aug 2024 09:43:52 +0200 Subject: [PATCH] * elpa-packages (constants): New package --- elpa-packages | 2 ++ 1 file changed

Re: PATCH: Add tip to integrate spellchecking with #+LANGUAGE:

2024-08-07 Thread Ihor Radchenko
ense there. Canceled. > However, "evaluating" #+LANGUAGE: at startup may be a nice feature for the > future, in the sense of reducing the amount of lines to setup Emacs for a > specific document. Overwriting the user customization is not a good practice, even though we historically

Re: Summation of effort estimates in columnview dblock

2024-08-07 Thread Ihor Radchenko
The summary type. If specified, the column values for parent nodes are computed from the children(1). In other words, Org mode computes the value of the property for your Task 1, from Task 1.1, and Task 1.2. Whatever is inside Task 1 does not matter. In fact, it might be

Re: [BUG] org-emphasis-regexp-components [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)]

2024-08-07 Thread Ihor Radchenko
components? `org-emphasis-regexp-components' is not a user customization. I do not recommend using it. -- Ihor Radchenko // yantar92, Org mode contributor, 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: Issue opening files with accented words, using org-attach-open

2024-08-06 Thread Ihor Radchenko
local network. If it's on my hard drive, access works correctly. P: is a > local network drive. Ok. What about the same steps, but using M-x debug-on-entry... w32-shell-execute ? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Su

Re: [POLL] ob-R, ob-julia: Should we force-disable ess-ask-for-ess-directory? (was: [BUG] Relative filenames for graphics output in ob-R.el [9.8-pre (release_9.7.4-80-g7fa169)])

2024-08-06 Thread Ihor Radchenko
Ihor Radchenko writes: > I'd like to hear from ob-R/ob-julia users whether the current behavior > is something they rely on. If not, I'd prefer to follow the conventions > we introduce in the manual and suppress the ESS's directory prompt. The responses expressed no obje

Re: [BUG] org-cancel-repeater fails depending on position of repeater [9.6.15 (release_9.6.15 @ /opt/homebrew/Cellar/emacs-plus@29/29.4/share/emacs/29.4/lisp/org/)]

2024-08-06 Thread Ihor Radchenko
.git/commit/?id=9c98b21460 -- Ihor Radchenko // yantar92, Org mode contributor, 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: Cannot yank media when image come from Gnome screenshot

2024-08-05 Thread Ihor Radchenko
is to avoid modifying things outside Org mode unless strictly necessary. > 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. No problem. There is no rush. -- Ihor Radchenko // yantar

Re: Bug?: Undefined reference in ox-latex ?

2024-08-05 Thread Ihor Radchenko
27;t): > > Warning (ox-latex): PDF file produced with warnings: [undefined reference] You can check "*Org PDF LaTeX Output*" buffer to see the full LaTeX output. It will refer to .tex file produced by Org, which you can examine to narrow down the cause. -- Ihor Radchenko // yantar92,

Re: Issue opening files with accented words, using org-attach-open

2024-08-05 Thread Ihor Radchenko
e system cannot find the file specified. > > I have not this problem using dired. What if you 1. Run M-x debug-on-entry org-open-file 2. Try to open the file 3. Share the resulting backtrace 4. M-x cancel-debug-on-entry (cleanup) -- Ihor Radchenko // yantar92, Org mode contributor,

Re: Adding text/org MIME type to jshttp/mime-db

2024-08-05 Thread Ihor Radchenko
n one place so > we don't repeat ourselves ;) We can put such a page alongside /org-syntax.org, maybe even linked from there. Feel free to create such a page. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org developmen

Re: multipage html output

2024-08-05 Thread Ihor Radchenko
e-number > + (alist-get > + tl-headline > + stripped-section-headline-numbering)) > +nil This is awkward. Why not modifying DATA directly? Say, you can transfo

Re: Cannot yank media when image come from Gnome screenshot

2024-08-05 Thread Ihor Radchenko
Robert Pluim writes: >>>>>> On Sun, 04 Aug 2024 19:01:24 +0000, Ihor Radchenko >>>>>> said: > > Ihor> I am not sure if I like patching Emacs functions when loading Org > mode. > Ihor> On the other hand, I do not see any obvious dow

RE: org-babel-execute-src-block filters characters from :session *shell* output

2024-08-05 Thread Ihor Radchenko
Ihor Radchenko writes: > ... on the other hand, Org mode simply hanging or emitting garbage is > also not great. So, maybe changing the prompt by force is good? > > I am attaching tentative series of patches that will do exactly this - > setup prompt even in the existing shell

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

2024-08-05 Thread Ihor Radchenko
k it tangles > properly. That's because capture buffer is an indirect buffer and indirect buffers are technically not associated with any file. We should probably fix handling indirect buffers across Org mode. Confirmed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more ab

Re: Cannot yank media when image come from Gnome screenshot

2024-08-04 Thread Ihor Radchenko
patching Emacs functions when loading Org mode. On the other hand, I do not see any obvious downside. Robert, what do you think about such idea? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at &l

Re: Should we move constants.el by Carsten Dominik to Org orphanage?

2024-08-04 Thread Ihor Radchenko
package-install. I also see no reason why this package would not be accepted - it is a useful package, especially when it can be installed without efforts. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at &

Re: Strange warnings from htmlize.el

2024-08-04 Thread Ihor Radchenko
Ihor Radchenko writes: > Angelo Graziosi writes: > >>> This warning is from Org. It's telling you that you need to install the >>> htmlize package in your new Emacs. >> >> If ORG is in Emacs core and it needs this package, shouldn't the package &g

Re: [BUG] Org-image-max-width doesn't account for org-indent-mode [9.7.8 (9.7.8-7f2ce8 @ /tmp/bug/elpa/org-9.7.8/)]

2024-08-04 Thread Ihor Radchenko
to display them. So, what you probably want is some kind of new feature to compute image widths dynamically - I will not oppose such a feature, but it does not yet exist. Patches welcome! Not a bug. Canceled. (but we can continue discussion of the feature request) -- Ihor Radchenko //

Re: [BUG] org element warning [9.8 (9.8-??-39272e216 @ /home/fan/.emacs.d/.local/straight/build-29.3/org/)]

2024-08-04 Thread Ihor Radchenko
ray writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > ... Thanks for reporting, but may you please clarify what is the warning text? -- Ihor Radchenko // yantar92, Org

Re: [BUG] [BUG] org-fold-hide-block-all doesn't hide blocks inside folded headings [9.7.8 (9.7.8-7f2ce8 @ /home/aragaer/.config/emacs/elpa/org-9.7.8/)]

2024-08-04 Thread Ihor Radchenko
; uses org-at-block-p function which returns nil for non-visible blocks. Confirmed. Not urgent. This is already fixed on a refactoring branch, which will be merged some time in the future, but not very soon. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https:

Re: [BUG] org-fill-paragraph for region [9.6.15]

2024-08-04 Thread Ihor Radchenko
labore et dolore magna aliqua. > Additionally, if I add line-break(\\) at the end of test1, it works fine. With Org 9.7 and \\, you will get * testA - test1\\ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua

Re: Initial visibility documentation conflict

2024-08-04 Thread Ihor Radchenko
ode guide 2.2 > Visibility Cycling - https://orgmode.org/guide/Visibility-Cycling.html Thanks for reporting! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=2f572779e53d -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about

Re: [BUG] ob-gnuplot: Recursive ‘require’ for feature ‘ox’ [9.7.8 (N/A @ /gnu/store/bj2bsz76f14n3vfnkv556s8f1x66m9in-emacs-org-9.7.8/share/emacs/site-lisp/org-9.7.8/)]

2024-08-04 Thread Ihor Radchenko
rtup error: > > Recursive ‘require’ for feature ‘ox’ May you please provide steps to reproduce starting from emacs -Q? -- Ihor Radchenko // yantar92, Org mode contributor, 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-cancel-repeater fails depending on position of repeater [9.6.15 (release_9.6.15 @ /opt/homebrew/Cellar/emacs-plus@29/29.4/share/emacs/29.4/lisp/org/)]

2024-08-04 Thread Ihor Radchenko
on all the _active_ timestamps inside the heading and introduce an optional prefix argument to only change first timestamp with non-zero repeater. WDYT? -- Ihor Radchenko // yantar92, Org mode contributor, 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: Should we move constants.el by Carsten Dominik to Org orphanage?

2024-08-04 Thread Ihor Radchenko
Carsten Dominik writes: > On Mon, Oct 16, 2023 at 12:12 PM Bastien Guerry wrote: > >> Ihor Radchenko writes: >> >> > Bastien Guerry writes: >> > >> >> I see no reason not to use >> >> https://github.com/cdominik/constants-for-E

Re: Pending contents in org documents

2024-08-02 Thread Ihor Radchenko
ty'." > (if-let ((b (assq prop (org-pending-reglock-properties reglock > (setcdr b val) > (push (cons prop val) > (org-pending-reglock-properties reglock `alist-get' is setf-able as well :) > (defun org-pending--user-cancel-default (reglock) > "Send a cancel message to REGLOCK to close it. > Default value for `org-pending-reglock-user-cancel-function'." > (org-pending-send-update >reglock (list :failure (list 'org-pending-user-cancel > "Canceled" What is the purpose of 'org-pending-user-cancel? Also, '(:failure (org-pending-user-cancel "Canceled)) would be shorter. > (defun org-pending-reglock-delete-outcome-marks (reglock) Not very related, but I am wondering if an API function to retrieve reglock at point could be useful. WDYT? -- Ihor Radchenko // yantar92, Org mode contributor, 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: Strange warnings from htmlize.el

2024-08-01 Thread Ihor Radchenko
ing the language from #+BEGIN_SRC. > For example: > > -#+BEGIN_SRC sh > +#+BEGIN_SRC > > which for me is enough. You can also: 1. Suppress the warning 2. Set `org-html-htmlize-output-type' to nil to tell Org not to try coloring -- Ihor Radchenko // yantar92, Org mode contributor, Lear

Re: [BUG] Org-persist

2024-07-30 Thread Ihor Radchenko
t we simply need to do format check when reading the index and refuse to load it when something is off (malformed lists or values). AFAIU, what you see can happen in peculiar situations when the file is corrupted, but partially - Emacs is still able to `read' it into Elisp, but the resul

Re: Org headings trigger is code blocks

2024-07-30 Thread Ihor Radchenko
rc) ... * many headings here #+begin_src ... #+end_src You need to escape headings inside src blocks or literal examples like #+BEGIN_SRC ,* hard nofile 2 #+END_SRC or simply by having an indentation #+BEGIN_SRC * hard nofile 2 #+END_SRC See "12.6 Literal Examples" section of Org mode

Re: [POLL] Bug of Feature? Attack vector via deceiving link abbrevs (was: [ANN] Emergency bugfix release: Org mode 9.7.5)

2024-07-29 Thread Ihor Radchenko
Ihor Radchenko writes: > I am inclined to call this a feature, and leave the current behavior > unchanged, but would like to hear from others first. The responses are all in favor of keeping the existing behavior. No changes. Closed. -- Ihor Radchenko // yantar92, Org mode contributor,

Re: Missing first and last numbers of the date when auto-creating checkboxes

2024-07-29 Thread Ihor Radchenko
RTIES: > :CREATED: [024-07-29 Mon 12:4] > :END: > ... I am unable to reproduce. Indeed, Org mode by itself does not create "CREATED" property. It is something in your config that does it. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https

Re: [BUG] `org-agenda-write' (error "No buffer named *Org Agenda*")

2024-07-28 Thread Ihor Radchenko
mented is redundant and also harmful when used with sticky agendas (despite multiple previous attempted fixes). Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=433fbdbc63 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://o

Re: [BUG] Set `org-yank-image-save-method` setting affects org-capture errors on Windows systems [9.7.4 (release_9.7.4-7-g165319 @ f:/App/emacs/share/emacs/30.0.50/lisp/org/)]

2024-07-28 Thread Ihor Radchenko
; Start test emacs: > emacs -q -l test.el > M-x org-capture RET t > Message out: Capture abort: Wrong type argument: stringp, nil > > But My friend tested it on a Linux system with no problems. This is because org-capture creates a non-file org-mode buffer, where your code errs. No

Re: Missing first and last numbers of the date when auto-creating checkboxes

2024-07-28 Thread Ihor Radchenko
ting. May you please provide steps to reproduce the problem? I still do not understand what the problem is. -- Ihor Radchenko // yantar92, Org mode contributor, 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: Missing first and last numbers of the date when auto-creating checkboxes

2024-07-28 Thread Ihor Radchenko
? It is not clear to me what checkbox you are referring to. -- Ihor Radchenko // yantar92, Org mode contributor, 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: multipage html output

2024-07-27 Thread Ihor Radchenko
ditional filter to ox-html that will apply the necessary text properties (to make sure that user filters that do no care about text properties never interfere). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at

Re: If org-html-preamble set to function, is there parameter(s) ?

2024-07-27 Thread Ihor Radchenko
Sébastien Gendre writes: > If I set the variable `org-html-preamble' to a function, is this > function receive parameter(s) ? Yes. Check out the docstring. It is called with INFO plist as an argument. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mod

Re: multipage html output

2024-07-27 Thread Ihor Radchenko
graphy info)) :multipage-split and :multipage are new global export options. -- Ihor Radchenko // yantar92, Org mode contributor, 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>

#10 [[bbb:OrgMeetup]] on Wed, Aug 14, 19:00 UTC+3

2024-07-27 Thread Ihor Radchenko
tion of Emacs news (https://sachachua.com/blog/) - Discuss anything else Org-related Everyone is free to join the discussion/chat or lurk around silently, listening. We will _not_ do any recording by default. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https:

Re: Cannot yank media when image come from Gnome screenshot

2024-07-26 Thread Ihor Radchenko
Ihor Radchenko writes: > ... > The error is originating from Emacs itself, not from Org mode. Sébastien reporting this upstream as bug#72254. The bug has been fixed and will become available in Emacs 30 release. The bug fix involved modifying Emacs C code, so we cannot do anything more t

Re: Support for something like org-image-max-width

2024-07-26 Thread Ihor Radchenko
> > Any thoughts on this? Since Org 9.7, Org mode has `org-image-max-width'. The default is using `fill-column' width. Done. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <htt

Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options))

2024-07-25 Thread Ihor Radchenko
mean this. >> > ** this is an inline block :crypt: >> > Content. In the above, "Content." does not belong to the inlinetask. Only inlinetasks with END can have non-empty contents. The fact that it is encrypted anyway is simply a bug i

Re: Fwd: 30.0.60; org--image-yank-media-handler asks for coding system when saving image

2024-07-25 Thread Ihor Radchenko
ng! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ec6307224 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work

Re: multipage html output

2024-07-25 Thread Ihor Radchenko
ould disable all kinds of hooks, except in distributions like Doom that abuse advices and hook into buffer creation unconditionally. Do you know the source of the performance problem? Are you sure that it is creating the buffer and is not related to the packages you have installed? -- Ihor

Re: multipage html output

2024-07-25 Thread Ihor Radchenko
Orm Finnendahl writes: > Am Mittwoch, den 24. Juli 2024 um 10:20:16 Uhr (+) schrieb Ihor Radchenko: >> >> 1. org-data will be transcoded using `org-export-transcode-org-data', >>which can be overridden by setting org-data transcoders in the >>i

Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options))

2024-07-25 Thread Ihor Radchenko
s inlinetasks in specific way. I can add support for proper inlinetasks delimited by END line, but not for what you call "blocks" - that one is actually a bug when org-crypt encrypts everything spanning between one-line inlinetask down to the next heading. -- Ihor Radchenko // yantar92, Or

Re: [BUG] Capital-letter options from dangling clock don't clock out [9.8-pre (release_9.7.7-106-g114c76 @ /home/rens/Projects/org/org-mode/lisp/)]

2024-07-24 Thread Ihor Radchenko
Rens Oliemans writes: > Ihor Radchenko writes: > >> May you please provide more details? >> What exactly did you try to do, step by step? > > I clocked in ('org-clock-in') in a headline with a dangling clock. I got the > Clock > Resolution popup menu

Re: [BUG] org-plot/gnuplot with dates in brackets does not work anymore [9.8-pre (release_9.7.6-97-g90d4ae @ /home/ck/.emacs.d/straight/build/org/)]

2024-07-24 Thread Ihor Radchenko
c conf > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > format-time-string(nil (26272 10208)) Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2a4fdffac -- Ihor Radchenko // yantar92, Org mode contributor, Le

Re: [BUG] Capital-letter options from dangling clock don't clock out [9.8-pre (release_9.7.7-106-g114c76 @ /home/rens/Projects/org/org-mode/lisp/)]

2024-07-24 Thread Ihor Radchenko
s does not happen > when resolving > idle times, only when clocking in from a dangling clock. > > Also present with 'make vanilla'. May you please provide more details? What exactly did you try to do, step by step? -- Ihor Radchenko // yantar92, Org mode contributor, Le

Re: multipage html output

2024-07-24 Thread Ihor Radchenko
00:00:00 2001 Message-ID: <540c8ef21c26df79cf48f58afb4e88130985e2f7.1721815865.git.yanta...@posteo.net> From: Ihor Radchenko Date: Wed, 24 Jul 2024 11:40:57 +0200 Subject: [PATCH 1/3] ox: Factor out org-data transcoding into dedicated overrideable transcoder * lisp/ox.el (org-export-transco

Re: multipage html output

2024-07-23 Thread Ihor Radchenko
at I had in mind if using backend-specific :filter-options. If a backends needs to enable headline numbering unconditionally, when :multipage is used, it can install :filter-options filter that will set :section-numbers to t. Does it make sense? -- Ihor Radchenko // yantar92, Org mode contributor, Le

Re: multipage html output

2024-07-23 Thread Ihor Radchenko
age case as well. If there is no need to have custom transcoder for single page, the custom transcoder can check :multipage property and fall back to calling `org-export-transcode-page' if it is nil. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <http

Re: multipage html output

2024-07-23 Thread Ihor Radchenko
ou are right. However, changing `org-export-numbered-headline-p' to use :multipage is not the right approach to achieve what you need. If you think that multipage export should use a different set of options, we need to implement it differently. -- Ihor Radchenko // yantar92, Org mode contribut

Re: multipage html output

2024-07-23 Thread Ihor Radchenko
code ignores num:nil, does it not? (defun org-export-numbered-headline-p (headline info) "Return a non-nil value if HEADLINE element should be numbered. INFO is a plist used as a communication channel." (unless (org-not-nil (org-export-get-node-property :UNNUMBERED headline t)) (l

Re: multipage html output

2024-07-23 Thread Ihor Radchenko
27; are API functions that get called by the individual backends as needed. If they deem it necessary to ignore :section-numbers setting, they are free to. What is wrong with these three functions? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://org

Re: multipage html output

2024-07-23 Thread Ihor Radchenko
your branch. -- Ihor Radchenko // yantar92, Org mode contributor, 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: Cannot yank media when image come from Gnome screenshot

2024-07-23 Thread Ihor Radchenko
he backtrace. -- Ihor Radchenko // yantar92, Org mode contributor, 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: Cannot yank media when image come from Gnome screenshot

2024-07-23 Thread Ihor Radchenko
> image/png) The error is originating from Emacs itself, not from Org mode. May you try newer version of Emacs? If you still see the error, please report it as Emacs bug. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Suppo

Re: multipage html output

2024-07-23 Thread Ihor Radchenko
.org in the Org repository. > 3. Should there be test functions for the code added and are there >recommendations how to do that? Yes, ideally. See testing/README, testing/lisp/test-ox.el, and testing/lisp/text-ox-html.el files in the Org repo. -- Ihor Radchenko // yantar9

Re: Cannot yank media when image come from Gnome screenshot

2024-07-23 Thread Ihor Radchenko
ebug-on-error (M-x toggle-debug-on-error) and share the full backtrace displayed when you trigger the error? -- Ihor Radchenko // yantar92, Org mode contributor, 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: [ANN] lisp/ob-tangle-sync.el

2024-07-23 Thread Ihor Radchenko
ile now. It solves the major > gripe I had with your original org-tangle-sync.el package, which is the > ability to sync blocks that aren't whole files. It has been a while since the last message in this thread. João, may I know if you are still interested to work on this patch? -- Iho

Re: org-cite-insert function docstring and documentation don't tell how to validate

2024-07-23 Thread Ihor Radchenko
y default, pressing in the minibuffer when you do not enter anything will send empty input. But third-party completion packages sometimes change it. You need to know the completion package you are using. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https:/

Re: org-cite-insert function docstring and documentation don't tell how to validate

2024-07-23 Thread Ihor Radchenko
Sébastien Gendre writes: > What do you mean ? When a prompt is displayed in Emacs, you enter something in the minibuffer. You can type some text there (with completion) or you can type nothing. If you type nothing, your input is empty. -- Ihor Radchenko // yantar92, Org mode contribu

Re: org-cite-insert function docstring and documentation don't tell how to validate

2024-07-23 Thread Ihor Radchenko
Sébastien Gendre writes: > You mean that the mini-buffer is empty ? I mean that what you type in the minibuffer is empty. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/o

Re: org-cite-insert function docstring and documentation don't tell how to validate

2024-07-23 Thread Ihor Radchenko
Sébastien Gendre writes: > What does "empty input exists" mean ? Empty minibuffer input. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or

Re: org-cite-insert function docstring and documentation don't tell how to validate

2024-07-23 Thread Ihor Radchenko
mentioning > every possible shortcut. But at least telling how the command > "org-cite-insert" behave. And the general idea of how user can stop the > reference selection. The minibuffer prompt in `org-cite-insert' says: "empty input exits" IMHO, it is more than

Re: [PATCH] [BUG] Support attr_html in source code and fixed-width blocks

2024-07-22 Thread Ihor Radchenko
f my time and priorities. This particular bug/feature request will not be high in the priority list. Unless we get more users jumping to this thread and asking for #+ATTR_HTML support. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>.

<    1   2   3   4   5   6   7   8   9   10   >