Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments.

2024-10-03 Thread lra
Hi Ihor and Karthik, > Thanks! > Applied, onto main. > LRA, thanks for the fix. Glad to be of assistance! > P.S. We really need tests for org-persist. Yeah I did note a couple of pretty straight-forward opportunities for clean-up wrt. redundancies and readability, but without regression-test

Re: [BUG] Org export to latex/pdf with longtabu adds extra line (\\) when #+NAME is present but no #+CAPTION [9.8-pre (release_9.7.11-145-g28b631 @ /home/aurel/admin/org-bugreport/org/lisp/)]

2024-10-03 Thread Ihor Radchenko
> when exporting org table to latex/pdf with longtabu environment the > generated latex includes extra \\ if the #+NAME tag is present, > inserting an needed row, the resulting table look ugly in some cases. Thanks for reporting! Confirmed. > The extra \\ seem to be added at ox-latex.el line 39

Re: [BUG] pressing enter with org-src-tab-acts-natively over-intends block

2024-10-03 Thread Ihor Radchenko
> With `org-src-tab-acts-natively' set to `t', pressing enter in a > source code block adds a newline, then indents every line in the block > by two spaces. > > I would expect that it adds a newline and positions my cursor where it > should be with the indentation, without indenting every single

Re: [PATCH v6] Inline image display as part of a new org-link-preview system

2024-10-03 Thread Ihor Radchenko
eck this in the final version, along with the manual/NEWS > updates. I have a few minor comments. > + (org-with-point-at (or beg (point-min)) > + (let ((case-fold-search t) > + (preview-queue)) Nitpick: Just preview-queue without parenthesis will be the s

Re: Audio File in beamer and orgmode

2024-10-02 Thread Orm Finnendahl
Hi Luís, I think it'd be good if you post your solution here once you got it figured out, so other people can benefit from your time spent. -- Orm Am Mittwoch, den 02. Oktober 2024 um 17:07:07 Uhr (+0200) schrieb luis antunes pena: > Thank you, Orm. Now I got it to work in LaTex. > Next step w

Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments.

2024-10-02 Thread Ihor Radchenko
Karthik Chikmagalur writes: > LRA, thanks for the fix. > > Ihor, `org-persist--find-index' is singularly confusing. I've been over > it with edebug a few times and still can't figure out what it's doing, > because `container' means different things at different points in the > function because o

Re: [PATCH] Async sessions: Fix prompt removal regression in ob-R

2024-10-02 Thread Ihor Radchenko
Jack Kamm writes: > Consider the following R block, which prints the occurrences of each > element in a list, including NAs: > > #+begin_src R :session :results output :async > table(c("ab","ab","c",NA,NA), useNA='always') > #+end_src > > #+RESULTS: > : abc > :212 > > Since

Re: org-element--cache: Added org-data parent to non-headline element

2024-10-02 Thread Ihor Radchenko
Ihor Radchenko writes: > ... > So, the same you already shared, but with more details. > > Thanks in advance! It has been over a month since I asked for more details. Unfortunately, the provided information is not sufficient to diagnose the problem. I cannot do anything about the reported bug.

Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]

2024-10-02 Thread Ihor Radchenko
Punit Arya writes: > Thank you Ihor.  I'll try troubleshooting my config.  Will let you know > if I find something helpful. Did you manage to find anything? For now, as long as I cannot reproduce the problem, there is nothing I can do on Org side. -- Ihor Radchenko // yantar92, Org mode cont

Re: Audio File in beamer and orgmode

2024-10-02 Thread Leo Butler
On Wed, Oct 02 2024, Orm Finnendahl wrote: > Hi Luís, > > it doesn't work OOTB in org-mode, but you can always embed LaTex > verbatim in Org files using the #+LATEX: prefix. > > My recommendation: Generate a LaTex file from org beamer with some > blind text at a place where you need your link a

Re: Audio File in beamer and orgmode

2024-10-02 Thread luis antunes pena
Thank you, Orm. Now I got it to work in LaTex. Next step will be in org-mode. Best, Luís PS: This example works only with Adobe Acrobat, but not with Preview on OSX. On 02.10.24 14:43, Orm Finnendahl wrote: Hi Luís, it doesn't work OOTB in org-mode, but you can always embed LaTex verbatim in

Re: Audio File in beamer and orgmode

2024-10-02 Thread Orm Finnendahl
Hi Luís, it doesn't work OOTB in org-mode, but you can always embed LaTex verbatim in Org files using the #+LATEX: prefix. My recommendation: Generate a LaTex file from org beamer with some blind text at a place where you need your link and then check, what you have to input there in order to ge

Re: [Question] Getting cell value and use it in table formula

2024-10-01 Thread tomas
On Tue, Oct 01, 2024 at 10:01:18PM +0200, jman wrote: > writes: > > > I think it's in the manual (this is Org v9.7): > > > > | 3.5.3 Emacs Lisp forms as formulas > > | -- > > For some reason, I think I got confused by the table formula modifiers > (E, N, L) and

Re: [Question] Getting cell value and use it in table formula

2024-10-01 Thread jman
writes: I think it's in the manual (this is Org v9.7): | 3.5.3 Emacs Lisp forms as formulas | -- For some reason, I think I got confused by the table formula modifiers (E, N, L) and various type casting. What I wanted to achieve was simply: --s-

Re: How to treat events (headlines) without a title?

2024-10-01 Thread Nick Dokos
mb...@mbork.pl writes: > Hi fellow Orgers, > > I have a bunch of entries in my agenda that don't have /titles/. I > enrolled in a school which has classes on Saturdays, usually every two > weeks, but this is not very rigid. So I need a separate headline per > Saturday: > > ** School on Super Imp

Re: [BUG] Unable to insert inline or anonymous footnotes unless indented [9.7.11 (9.7.11-6a5d0e @ /home/user/.emacs.d/elpa/org-9.7.11/)]

2024-10-01 Thread Suhail Singh
Suhail Singh writes: > Additionally, and seemingly related, fontlocking for unindented > anonymous and inlined footnotes is also broken. This can be observed > via emacs -q and opening a file with the following contents: Correction: opening a file that _contains the contents of the following ex

Re: [BUG] org-comment-dwim does not work with temporary Transient Mark mode [9.7-pre (release_9.6.10-902-g41ff56 @ /home/jschmidt/work/org-mode/lisp/)]

2024-10-01 Thread Steven Lin
I found that current bugfix (commit 1014296344a75fa08e0a8814e4fbbd767e7eba4c) brought new bugs. Step to reproduce: 1. Set these variables. (setq org-src-content-indentation 4) (setq org-src-preserve-indentation nil) 2. Try to comment some lines in a source block. For example, line foo and b

Re: [Question] Getting cell value and use it in table formula

2024-10-01 Thread tomas
On Tue, Oct 01, 2024 at 04:35:47PM +0200, jman wrote: > > Hello there, > > Let's look at the following table: > > --s-s-- > | EUR |USD | Exchange rate | > |-++---| > | 10 | 8.97 | 0.897 | > | 15 | 13.455 | | > #+TBLFM:

Re: [PATCH] lisp/org-colview.el: Fix for adding appointments to effort sum

2024-09-29 Thread Anand Deopurkar
The previous patch contained unmatched parentheses. Sincere apologies. I am attaching a corrected patch. Best, Anand From 7dd9ee45b1ed02de7921efa5c6c2a1c993a1c6ac Mon Sep 17 00:00:00 2001 From: Anand Deopurkar Date: Mon, 30 Sep 2024 10:13:59 +1000 Subject: [PATCH] lisp/org-colview.el: Bug fi

Re: Documentation and examples about using Org mode to write content for a static web-site

2024-09-28 Thread Pedro
Hi Thomas, Thanks for sharing how you do your stuff related to static website generation. When I see things like this, it comes to me this expression:     I love this community!! By the way, on the page, this link is incorrect: > you might want to download the extended ZIP file trgensit-or

Re: Sv: Modularizing Org as GSoC project

2024-09-27 Thread Björn Bidar
arthur miller writes: >>> For example turn displaying pretty text (bold, italics etc), pretty links, >>> tables, dates, and perhaps some other stuff into, from Org-mode, >>> independent, >>> minor modes that could be used in other parts of Emacs and more >>> independently >>> of >>> Org mode. I

Re: Org-cite: Replace basic follow-processor with transient menu?

2024-09-24 Thread Tor-björn Claesson
Ihor Radchenko writes: > Tor-björn Claesson writes: > >>> I do think that having extended menus for org-open-at-point could be >>> useful. Not by default, but, for example, with a prefix argument. >>> >> This is a good point, but of much larger scope than just replacing the >> follower of the ba

Re: [PATCH] fix org-babel-view-src-block-info

2024-09-24 Thread Rodrigo Morales
Ihor Radchenko writes: > I changed the commit message a little, clarifying the purpose of the > patch (rather than generic "fix"), adding a proper changelog entry (see > https://orgmode.org/worg/org-contribute.html#commit-messages), quoting > symbols as `symbols', and adding double space between

Re: org-indent-mode makes set-goal-column behave surprising

2024-09-23 Thread Ihor Radchenko
"Martin Edström" writes: > Hello, pinging back on two old emails that seem related: > > https://lists.gnu.org/archive/html/emacs-orgmode/2008-01/msg00030.html > https://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00654.html > > A bug that can be reproduced on Emacs -Q: > ... Duplicate of

Re: org-indent-mode makes set-goal-column behave surprising

2024-09-23 Thread Ihor Radchenko
"Martin Edström" writes: > Sorry, I have to add a reproduction step: turn on M-x visual-line-mode. > > Anyway, it's not an Org bug. Reported upstream: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72420 The upstream bug has been fixed. -- Ihor Radchenko // yantar92, Org mode contributor,

Re: [PATCH] fix org-babel-view-src-block-info

2024-09-23 Thread Ihor Radchenko
Rodrigo Morales writes: >> Note that we had another patch from Rodrigo Morales in 2021: >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e0535fa2d8215ba9a9f96058807648df72e2d99d >> Is it yours? (it is under different email) > > Yes, it was me. I used that e-mail address while st

Re: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)]

2024-09-23 Thread Benjamin McMillan
ismatch-at 0)) > >FAILED ob-maxima/string-input ((should (equal "- sin(x)" > > (org-babel-execute-src-block))) :form (equal "- sin(x)" (("(linenum:0," > "") > > ("-" "sin(x)"))) :value nil :explanation (different-typ

Re: [BUG] Regression: org-duration fails to support duration ranges since Org 9.0.6

2024-09-23 Thread Guido Stevens
Thanks for looking into this, Ihor. On 9/22/24 09:56, Ihor Radchenko wrote: 2. Set estimate "1d-2d" on a task (C-c C-x e) At this point, using emacs -Q, I am getting Debugger entered--Lisp error: (error "Invalid duration format: \"1d-2d\"") error("Invalid duration format: %S" "1d-2d") In

Re: WORG commit o-c/b/l/ob-doc-elisp.org: add new section on tangling and :var

2024-09-23 Thread Greg Minshall
hi, Ihor, thanks for looking at my changes and for your e-mail. i agree that the write-up is maybe a bit blog-post'y; i'm agnostic as to whether it should be on that worg page or not. if anyone has some other place to put it (on their own blog, where ever), feel free. my memory is that of the t

Re: Differentiating org element properties from built-ins?

2024-09-22 Thread tomas
On Sun, Sep 22, 2024 at 05:15:25PM +, Ihor Radchenko wrote: > writes: > > > I do see foo and bar (well, OK, :FOO and :BAR) with their values, but lots > > of other (let's call them "built-ins") like :begin and :post-affiliated. > > > > How do I keep those apart? Or do I have to resort to runn

Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments.

2024-09-22 Thread Karthik Chikmagalur
LRA, thanks for the fix. Ihor, `org-persist--find-index' is singularly confusing. I've been over it with edebug a few times and still can't figure out what it's doing, because `container' means different things at different points in the function because of the macro `org-persist-collection-let'.

Re: [PATCH v6] Inline image display as part of a new org-link-preview system

2024-09-22 Thread Karthik Chikmagalur
ng link, it skips it since the overlay is gone. >> Also, the complexity of the above code is quadratic, so I can remove it >> if you think it's not required. I included it to be thorough. > > What you say make sense, but see the above - we make certain (now > incorrect)

Re: Org-Capture Window Behavior

2024-09-22 Thread Amol Vaidya
What a silly error on my part. Thank you for your time. Apologies about it being something so simple that I did not see. On Sun, Sep 22, 2024 at 12:45 PM Ihor Radchenko wrote: > Amol Vaidya writes: > > > I'm curious, then, why would what I've done in Test 2 nor corral it? > > > > (add-to-list

Re: Org-Capture Window Behavior

2024-09-22 Thread Ihor Radchenko
Amol Vaidya writes: > I'm curious, then, why would what I've done in Test 2 nor corral it? > > (add-to-list 'display-buffer-alist '("\\*CAPTURE*" > (display-buffer-same-window))) Oops. I missed that part. It does not work for very simple reason - "\\*CAPTURE*" regexp does not match buffer name

Re: Org-Capture Window Behavior

2024-09-22 Thread Amol Vaidya
I'm curious, then, why would what I've done in Test 2 nor corral it? (add-to-list 'display-buffer-alist '("\\*CAPTURE*" (display-buffer-same-window))) On Sun, Sep 22, 2024 at 12:00 PM Ihor Radchenko wrote: > Amol Vaidya writes: > > > Thank you for your clarification. Just a minor point: my con

Re: How to treat events (headlines) without a title?

2024-09-22 Thread Ihor Radchenko
mb...@mbork.pl writes: > I have a bunch of entries in my agenda that don't have /titles/. I > enrolled in a school which has classes on Saturdays, usually every two > weeks, but this is not very rigid. So I need a separate headline per > Saturday: > > ** School on Super Important Stuff > <2

Re: Differentiating org element properties from built-ins?

2024-09-22 Thread Ihor Radchenko
writes: > I do see foo and bar (well, OK, :FOO and :BAR) with their values, but lots > of other (let's call them "built-ins") like :begin and :post-affiliated. > > How do I keep those apart? Or do I have to resort to running regexps through > the buffer? (defun org-element-headline-parser (&o

Re: please, report on current status of orgmode timestamps with timezone

2024-09-22 Thread Ihor Radchenko
pinmacs writes: > From #11 OrgMeetup content [1] I see that a date with timestamp and > timezone is used: > >     <2024-09-11 Wed 19:00-21:00 @+03,Europe/Istanbul> > ... > Is this something is going to arrive on 9.8 ? Is this something that > only works in development version? This is an ide

Re: What is the difference between :raw-value and :title?

2024-09-22 Thread Ihor Radchenko
mb...@mbork.pl writes: > I am reading the Org element API docs and I don't understand the > difference between :raw-value of a headline and its :title. I performed > a few experiments with putting various things in the headline > (timestamps, links, markup) to find a case where these two differ,

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2024-09-22 Thread Pedro
On 2024-09-22 10:01, Visuwesh wrote: I am leaning towards doing it in the Emacs side since it would get rid of similar annoyance(s) in other yank-media handlers, not just Org. If no one beats me to it before the end of this week, I will propose a patch to take care of (1). It would be preferabl

Re: Org-Capture Window Behavior

2024-09-22 Thread Ihor Radchenko
Amol Vaidya writes: > Thank you for your clarification. Just a minor point: my concern is that > org-capture is not adhering to general display-buffer settings rather than > specifically display-buffer-alist. In my case display-buffer-alist is nil > when I run emacs -q, but according to section 2

Re: Org-Capture Window Behavior

2024-09-22 Thread Amol Vaidya
Hello, Again, I apologize for sending this email to you twice Ihor. I keep forgetting to hit reply-all. Anyway... Thank you for your clarification. Just a minor point: my concern is that org-capture is not adhering to general display-buffer settings rather than specifically display-buffer-alist.

Re: WORG commit o-c/b/l/ob-doc-elisp.org: add new section on tangling and :var

2024-09-22 Thread Ihor Radchenko
described, we might need to re-consider ob-emacs-lisp handling within the scope of past discussion on using let-binding in lisp-like babel backends. See https://list.orgmode.org/orgmode/9eab60bc-9b82-e037-d63b-3d879573a...@posteo.de/ -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about

Re: Should "org-element-parse-buffer" check whether the buffer's major mode is org mode?

2024-09-22 Thread Ihor Radchenko
Antonio Romano writes: > The situation is a bit more complex than I imagined and am not > experienced enough to have a strong opinion on the matter. If things > are to stay as they are right now, I guess emphasizing even more in the > docstring that this function may have undefined behavior in di

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-09-22 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> May you list the editing commands that you think can benefit from an >> extra confirmation dialog? > > Me? I regularly archive subtrees by mistake. :) You can re-bind C-c C-x C-a to `org-archive-subtree-default-with-confirmation' then. >&

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

2024-09-22 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Subject: [PATCH] org-attach.el: put org-attach-after-change-hook at the end > > lisp/org-attach.el (org-attach-attach): Put org-attach-after-change-hook > at the end to make sure user can access attach link in org-store-links. I have no problem with the change, b

Re: [PATCH] Texinfo: Check for math support without warnings and quietly (was: Improve Texinfo math checking)

2024-09-22 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Subject: [PATCH] ox-texinfo: Check for math support without warnings and > quietly > > * lisp/ox-texinfo.el (org-texinfo-supports-math-p): Two > improvements: (1) Fix the incorrect `.info' extension used for the > temporary `.texi' file. This removes the warning "make

Re: Archiving always adds a newline before entries

2024-09-22 Thread Ihor Radchenko
"John Wiegley" writes: > I like to avoid blank lines between Org-mode entries, but have found that when > archiving (and not use datetrees), that this is not supported by Org-mode > out-of-the-box. Mainly it’s due to these lines: > ... > ;; Subtree narrowing can let the buffer end on >

Re: [PATCH] Add repeat-map for navigation commands

2024-09-22 Thread Ihor Radchenko
Visuwesh writes: >> 1. You can link to "9.11 Repeating a Command" section of Emacs manual > > Can you please tell how to link to an Info node? I see two different > style of linking to another manual in Introduction/Activation and I'm > confused. I do not know how ox-texinfo works. [[info:emac

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2024-09-22 Thread Visuwesh
t;>> smaller than the relative one >>> =file:/tmp/clipboard-20240916T013308.png]]= vs >>> =[[file:../../../tmp/clipboard-20240916T011913.png]]= >> >> This can be done in the org side. I guess adding another defcustom >> would be the way to go? I don't see how i

Re: [PATCH] Add repeat-map for navigation commands

2024-09-22 Thread Visuwesh
[ஞாயிறு செப்டம்பர் 22, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> Please find attached. I tried my best to write the manual entry but it >> still reads awkward. > > Thanks! > >> * lisp/org-keys.el (org-up-heading): Add new alias for >> outline-up-heading. > > Please quote Elisp symbols

Re: Org-cite: Replace basic follow-processor with transient menu?

2024-09-22 Thread Ihor Radchenko
Tor-björn Claesson writes: >> I do think that having extended menus for org-open-at-point could be >> useful. Not by default, but, for example, with a prefix argument. >> > This is a good point, but of much larger scope than just replacing the > follower of the basic citation-processor. No probl

Re: [PATCH] Add repeat-map for navigation commands

2024-09-22 Thread Ihor Radchenko
Visuwesh writes: > Please find attached. I tried my best to write the manual entry but it > still reads awkward. Thanks! > * lisp/org-keys.el (org-up-heading): Add new alias for > outline-up-heading. Please quote Elisp symbols as `outline-up-heading'. > +** Repeating commands > +:PROPERTIES:

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2024-09-22 Thread Ihor Radchenko
308.png]]= vs >> =[[file:../../../tmp/clipboard-20240916T011913.png]]= > > This can be done in the org side. I guess adding another defcustom > would be the way to go? I don't see how it is possible to make > org-yank-image-save-method accept another option. We can re-use `org-lin

Re: [BUG] org-id-find might change the major-mode of a buffer [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]

2024-09-22 Thread Visuwesh
[ஞாயிறு செப்டம்பர் 22, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >>> The patch looks reasonable. >>> May you format it properly, adding a proper commit message? See >>> https://orgmode.org/worg/org-contribute.html#commit-messages >> >> Please find attached. > > Thanks! > Applied, onto main

Re: [BUG] org-id-find might change the major-mode of a buffer [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]

2024-09-22 Thread Ihor Radchenko
Visuwesh writes: >> The patch looks reasonable. >> May you format it properly, adding a proper commit message? See >> https://orgmode.org/worg/org-contribute.html#commit-messages > > Please find attached. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id

Re: [PATCH] fix org-babel-view-src-block-info

2024-09-22 Thread Ihor Radchenko
Rodrigo Morales writes: > This is one of the first patches that I sent to the Org Mode > project. Please let me know if I have done something wrong, so > that I don't make the same mistake in the future. > > From 4453277ee0d9aa6318008a21c4f3f9b16d29c901 Mon Sep 17 00:00:00 2001 > From: Rodrigo Mo

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

2024-09-22 Thread Ihor Radchenko
Jack Kamm writes: > Ihor Radchenko writes: > >> I agree that it makes sense. >> However, it is technically a breaking change. >> May you please add a news entry as well? > > Thanks, I've updated the patch with a news entry now. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs

Re: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)]

2024-09-22 Thread Ihor Radchenko
] ") :value nil :explanation > (arrays-of-different-length 15 27 "[[2.0], [3.0]] " "(linenum:0,\n[[2.0], > [3.0]] " first-mismatch-at 0)) >FAILED ob-maxima/table-input2 ((should (equal "[[2.0, 3.0]] " > (org-babel-execute-src-block))) :form (equ

Re: [BUG] org-refile-get-targets wrong-type-argument [9.6.15 (release_9.6.15 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-09-22 Thread Ihor Radchenko
[ Adding Org mailing list back to the CC ] > -(defun my-org-opened-buffer-files () > - "Return the list of org files currently opened in Emacs." > - (delq nil > -(mapcar (lambda (x) > - (if (and (buffer-file-name x) > - (string-match "\\.org$" >

Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments.

2024-09-22 Thread Ihor Radchenko
l...@phdk.org writes: > And it is *with* the attachment. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a8790ed09e I also added you to the contributor list. https://git.sr.ht/~bzg/worg/commit/466cfcf2 P.S. We really need tests for org-persist. -- I

Re: [BUG] org-id-find might change the major-mode of a buffer [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]

2024-09-22 Thread Visuwesh
[ஞாயிறு செப்டம்பர் 22, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> The patch below is what I had in mind. With it, I can no longer >> reproduce the recipe above. >> ... > > The patch looks reasonable. > May you format it properly, adding a proper commit message? See > https://orgmode.org

Re: Org-Capture Window Behavior

2024-09-22 Thread Ihor Radchenko
Amol Vaidya writes: > (Apologies for replying to this twice Ihor, forgot to reply-all last time.) > > The linked video was from an emacs -q, so I have made no modifications to > display-buffer-alist, and my understanding is that emacs -q is equivalent > to an empty init file. If that's not correc

Re: [BUG] What about excluding .dir-locals.el from GNU ELPA tarball?

2024-09-22 Thread Ihor Radchenko
Morgan Willcock writes: >> I do not see any downside of adding this to .dir-locals.el file. >> Would you mind submitting a patch? > > I've attached a patch. Thanks! Applied, onto bugfix, with amendments. I changed the commit message adding TINYCHANGE cookie (I do not see your FSF copyright assig

Re: [BUG] org-id-find might change the major-mode of a buffer [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]

2024-09-22 Thread Ihor Radchenko
Visuwesh writes: > The patch below is what I had in mind. With it, I can no longer > reproduce the recipe above. > ... The patch looks reasonable. May you format it properly, adding a proper commit message? See https://orgmode.org/worg/org-contribute.html#commit-messages -- Ihor Radchenko //

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

2024-09-21 Thread Jack Kamm
Ihor Radchenko writes: > I agree that it makes sense. > However, it is technically a breaking change. > May you please add a news entry as well? Thanks, I've updated the patch with a news entry now. >From 5c40741664402a5984803dc3de452ea949885887 Mon Sep 17 00:00:00 2001 From: Jack Kamm Date: S

Re: [PATCH v5] Inline image display as part of a new org-link-preview system

2024-09-21 Thread Ihor Radchenko
you think it's not required. I included it to be thorough. What you say make sense, but see the above - we make certain (now incorrect) assumptions about `org-link-preview-overlays'. The relevant parts of the code need to be re-checked. > Also, I think the variable `org-link-preview-ove

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

2024-09-21 Thread Ihor Radchenko
Jack Kamm writes: > ox-icalendar skips the following event with a diary timestamp during > export: > > * First Sunday of the month > <%%(diary-float t 0 1)> > > ox-icalendar actually has longstanding code to handle diary timestamps > [1], but that code path is not reached, in part because > `

Re: [FR] Allow starting multiple org-timers in sequence (was: Feature mostly complete)

2024-09-19 Thread Ryan Leman
Definitely just noticed this reply. But sounds good. In the mean time I'll see if I can get that error resolved. I'm pretty sure you understand it correctly. I don't code professionally so if anything on the design end I should test for just let me know, to make this more polished or fleshed out.

Re: [BUG] org-id-find might change the major-mode of a buffer [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]

2024-09-19 Thread Visuwesh
M-: (require 'org-id) > 3. Visit any file (M-x find-library RET org-id RET) > 4. M-: (org-id-find "non-existent") > 5. Witness the major-mode change > > This all happens in org-id-find-id-in-file where when VISITING is > non-nil, the buffer is (re)use

Re: [BUG] org-refile-get-targets wrong-type-argument [9.6.15 (release_9.6.15 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-09-18 Thread Serghei Iakovlev
> My only guess is that some of your Org buffers is not properly > initialized somehow. Maybe the timer is triggering in the middle of Org > mode loading or something? I find it challenging to pinpoint the exact cause of the issue. However, I can provide some additional context that might help.

Re: [PATCH v5] Inline image display as part of a new org-link-preview system

2024-09-17 Thread Karthik Chikmagalur
#+attr_org'. +- By the `#+attr_html' or `#+attr_latex` keywords with valid + `:center' or `:align' values. +- Globally by the user option `org-image-align'. + +The result is either nil or one of the strings \"left\", +\"center\" or \"

Re: package submission : ob-sql-session

2024-09-17 Thread Phil Estival
Hi Adam, * [2024-09-18 00:25] Adam Porter: Hi Phil, On 9/17/24 05:00, Phil Estival wrote: Also, for org-sql-session (which sounds very useful), it would be good to compare and contrast it with the package it's meant to supersede. The following comparison was added to the readme file. ob

Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments.

2024-09-17 Thread lra
And it is *with* the attachment. Kind regards, LRA Sep 18, 2024, 02:26 by l...@phdk.org: > Hello org-mode mailing list > > Long time, first time. This is just a tiny patch fixing a regression > in org-persist--find-index that was missed in the 95f77669e0 bugfix. It > affects > calls to org-pe

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-09-17 Thread Dan Drake
I like that idea. It's consistent, uses "prior art", so to speak, and most of all , archiving involves cutting the subtree, so it's a very similar change to the buffer / structure. On Sun, Sep 15, 2024, 07:44 Ihor Radchenko wrote: > Dan Drake writes: > > > "AFAIU, what you are struggling with i

Re: packages submissions : ob-sql-session and org-blog

2024-09-17 Thread Adam Porter
Hi Phil, On 9/17/24 05:00, Phil Estival wrote: Also, for org-sql-session (which sounds very useful), it would be good to compare and contrast it with the package it's meant to supersede. The following comparison was added to the readme file. ob-sql-mode : - is very simple : forward the sql s

Re: Org-Capture Window Behavior

2024-09-17 Thread Amol Vaidya
(Apologies for replying to this twice Ihor, forgot to reply-all last time.) The linked video was from an emacs -q, so I have made no modifications to display-buffer-alist, and my understanding is that emacs -q is equivalent to an empty init file. If that's not correct, I'm not sure what kind of re

Re: Org-Capture Window Behavior

2024-09-17 Thread Ihor Radchenko
Amol Vaidya writes: > I have tested this with a clean installation of Emacs, where I > installed Org mode 9.7, but I am still encountering the same behavior. > > For reference, I’ve attached a screen recording that demonstrates the > issue. I’ve also verified that Org 9.7 is being used, as shown

Re: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)]

2024-09-17 Thread Ihor Radchenko
ontification > for src, example, and export blocks. I'd rather not document this in `org-src-fontify-natively'. The name of this variable does not really hint that it has anything to do with export or example blocks. We may eventually rename it to something more generic, but example blo

Re: Proposal: Change publication timestamps

2024-09-17 Thread Ihor Radchenko
Jens Lechtenboerger writes: >>> Ideally, it would be nice to have tests as well. >> >> I added test cases in the attached patch. > > I amended the commit message. I hope this to be ready for inclusion. Thanks! Applied, onto main, with a small amendment to the commit message. https://git.savanna

Re: [BUG] What about excluding .dir-locals.el from GNU ELPA tarball?

2024-09-17 Thread Morgan Willcock
Ihor Radchenko writes: >> I believe it is up to the file to opt-out of compilation. > > That's true, but .dir-locals is a special file. So, I expected Emacs to > treat it specially during compilation as well. To not break old, > no-longer-maintained packages, if nothing. I guess the counter argu

Re: [PATCH v4] Inline image display as part of a new org-link-preview system

2024-09-17 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> It means that you are scheduling every single preview batch to fire at >> the same time. I think that the timers here should run sequentially - >> (1) fire the first batch without delay; (2) wait org-link-preview-delay >> and fire the next batch; (3) ... > > Done, a

Re: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)]

2024-09-17 Thread Benjamin McMillan
I attach the patch here. However, I have two questions. First, I am not certain that I set up the repository correctly, because when I run "make test" it generates 55 unexpected failures. This without making any changes. (The patch submitted here does not generate any new failures.) Second, the e

Re: Org-cite: Replace basic follow-processor with transient menu?

2024-09-17 Thread Tor-björn Claesson
Hi and thanks for replying! Ihor Radchenko writes: > > I do think that having extended menus for org-open-at-point could be > useful. Not by default, but, for example, with a prefix argument. > This is a good point, but of much larger scope than just replacing the follower of the basic citation-

Re: packages submissions : ob-sql-session and org-blog

2024-09-17 Thread Phil Estival
* [2024-09-11 05:01] Adam Porter: Hi Phil, A quick, initial suggestion: it would be good to reformat the Lisp code in both projects, as I see several cases of incorrect indentation, hanging parens, extra blank lines, etc, and some of them would make the code hard to read.  For my Lisp editi

Re: [PATCH] Texinfo: Check for math support without warnings and quietly (was: Improve Texinfo math checking)

2024-09-16 Thread Rudolf Adamkovič
A friendly ping. :) Rudolf Adamkovič writes: > Oops, I found a bug in the patch. > > Now fixed. > > Rudy > From a99cb0ecafb6a0a1d4ef841dd20be5fa2da43cff Mon Sep 17 00:00:00 2001 > From: Rudolf Adamkovic > Date: Tue, 27 Aug 2024 11:10:56 +0200 > Subject: [PATCH] ox-texinfo: Check for math suppor

Re: Org-Capture Window Behavior

2024-09-16 Thread Amol Vaidya
Thank you for your response. I have tested this with a clean installation of Emacs, where I installed Org mode 9.7, but I am still encountering the same behavior. For reference, I’ve attached a screen recording that demonstrates the issue. I’ve also verified that Org 9.7 is being used, as shown i

Re: Org-Capture Window Behavior

2024-09-16 Thread Ihor Radchenko
Amol Vaidya writes: > I use a widescreen monitor, and when I initiate an org-capture the frame > transforms mid-capture as follows: > > +---+---+---+---+ +---+---+ > | 1 | 2 | 3 | 4 | --> | 1 |capture| > +---+---+---+---+ +---+---+ > > I find this behavior disruptive,

Re: [BUG] What about excluding .dir-locals.el from GNU ELPA tarball?

2024-09-16 Thread Ihor Radchenko
Morgan Willcock writes: > I believe it is up to the file to opt-out of compilation. That's true, but .dir-locals is a special file. So, I expected Emacs to treat it specially during compilation as well. To not break old, no-longer-maintained packages, if nothing. > If the file is created with a

Re: BUG: after an org-capture to an inbox entry, statistics-cookies are not updated on certain circumstances

2024-09-16 Thread Ihor Radchenko
pinmacs writes: >> I was able to reproduce using stable version of Org mode. >> However, the bug is not present on the development version (main >> branch). > .. > Here and there [1] I would like to close this thread saying that on a > particular stable version this is fixed, let me know when th

Re: [BUG] org-mode failed to open top-level header properly when using the TAB key [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-09-16 Thread Ihor Radchenko
Robbie Morrison writes: > Many thanks for your follow up. > > I have set `org-element-use-cache' to nil as you suggest. Seems fine. > > My org-mode is just via the package management system on Ubuntu, so > somewhat behind I guess. Ok. I am thus closing this bug report, as there is nothing more

Re: [BUG] org-refile-get-targets wrong-type-argument [9.6.15 (release_9.6.15 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-09-16 Thread Ihor Radchenko
Serghei Iakovlev writes: > I encountered an issue with `org-mode' in my Emacs configuration > related to periodic clearing of the refile cache during idle time. I > am using the following code snippet, which runs during idle time to > clear the cache of refile targets: > > --8<---cut

Re: [PATCH] ox-texinfo: Support links in headings

2024-09-16 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> I tried to run make test and your new test fails: [...] > > Yup, `4829bacff', which you merged in the meantime, broke the test, as > it changed how `@ref's are generated. > >> May you please fix this and also rebase the patch onto the latest

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2024-09-16 Thread Visuwesh
[திங்கள் செப்டம்பர் 16, 2024] pinmacs wrote: > Hi, > > So I was using org-download, and I would like to replace it entirely > with yank-media > > and what I am missisng is: > > 1. do a variable for selecting absolute path: to be able to have a file > link that works with absolute path; and the r

Re: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)]

2024-09-16 Thread Benjamin McMillan
Ok, I am happy to submit a patch. It would be my first, so I will have to find time to make the commit properly. On Wed, Sep 11, 2024 at 1:59 AM Ihor Radchenko wrote: > Benjamin McMillan writes: > > > At some point in the last few months, org mode stopped fontifying my > > latex export blocks.

Re: [PATCH] Add repeat-map for navigation commands

2024-09-16 Thread Visuwesh
[ஞாயிறு செப்டம்பர் 15, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> BTW, should we add C-n and friends to org-navigation-repeat-map or just >> have n, p, etc.? I personally find C-n in the repeat-map disruptive >> since I usually want to move the cursor after jumping to a specific >> head

Re: support range durations

2024-09-16 Thread Guido Stevens
On 9/15/24 14:02, Ihor Radchenko wrote: Guido Stevens writes: As per https://orgmode.org/manual/Column-attributes.html I'm using range durations to express effort estimations. Those get summarized nicely in column views, using the {est+} summarizer. But when I access an agenda view that encoun

Re: Bar drawing in display engine, master indent-spacing variable

2024-09-16 Thread Pedro Andres Aranda Gutierrez
Pure accident! Sorry... need another coffee ;-) /PA On Mon, 16 Sept 2024 at 09:10, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > >> >>> I propose the addition of indent-bars to ELPA. > >> >>> > >> >>> https://github.com/jdtsmith/indent-bars > > ... > > May I know the reason

Re: Bar drawing in display engine, master indent-spacing variable

2024-09-16 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> >>> I propose the addition of indent-bars to ELPA. >> >>> >> >>> https://github.com/jdtsmith/indent-bars > ... May I know the reason why Org mailing list is in CC? Or was it by accident? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more ab

Re: Bar drawing in display engine, master indent-spacing variable

2024-09-15 Thread Pedro Andres Aranda Gutierrez
> Message-ID: > Content-Type: text/plain; charset=utf-8 > > > > > On Sep 14, 2024, at 10:38 AM, Stefan Kangas wrote: > > > > JD Smith writes: > > > >>> On Jul 24, 2024, at 2:33 PM, JD Smith wrote: > >>> > >>> > >>> I propose the addition of indent-bars to ELPA. > >>> > >>> https://github.

  1   2   3   4   5   6   7   8   9   10   >