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

2024-07-22 Thread Ihor Radchenko
"Christopher M. Miles" writes: >> Then, for backward compatibility, we may treat any non-nil, non-list >> (like '(4), '(16), '(64)), non-number (like 1, 11) value as >> INCLUDE-LINKED. This way, the existing calls like >> (org-toggle-inline-images t) will not be broken. > ... > I prefer this comp

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

2024-07-22 Thread Ihor Radchenko
Punit Arya writes: > Alright, I'll check it out when I upgrade to the latest version 9.7 from > the ELPA repo. It has been over a month. Have you had a chance to try the latest Org mode? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at .

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

2024-07-22 Thread Punit Arya
Hi Ihor Yes, I've installed org-9.7.7 from ELPA and the issue persists.  I get this error text now when running the shell command: --- Warning (org-element): org-element--cache: Org parser error in _Misc/Scratch.org::13112. Resetting.  The error was: (error "Invalid search bound (wrong side

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

2024-07-22 Thread Ihor Radchenko
Punit Arya writes: > Yes, I've installed org-9.7.7 from ELPA and the issue persists.  I get > this error text now when running the shell command: Please try to provide a detailed reproducer using Org git repository, starting from make repro. See https://orgmode.org/manual/Feedback.html#Feedback

Re: Documentation request

2024-07-22 Thread Ihor Radchenko
Peter Mao writes: > The docstrings for org-metadown and org-metaup (and maybe other > context-dependent commands) should reference the corresponding hooks, > org-metadown-hook and org-metaup-hook. But they do? org-metadown is an interactive and natively compiled function defined in org-

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

2024-07-22 Thread Ihor Radchenko
Suhail Singh writes: >>> The attached patches are a straight-forward copy-paste of relevant code >>> from org-html-example-block. It may be better to refactor this logic >>> and ensure that it is applied on all relevant AST nodes (others are >>> probably affected as well). >> >> Sounds reasonabl

Re: How to fully control parsing of Org mode links during export

2024-07-22 Thread Ihor Radchenko
Robert Weiner writes: > I could really use some help from Org export experts. I have > been trying to tweak export link parsing to do what I want > without any success. Here is a summary of the issues and related > questions I have. You generally should not need to modify the _parser_. What yo

[BUG] Org table alighment distorted with dates in links to headlines [9.7.7 (9.7.7-1ee080 @ /home/exot/Desktop/emacs-test/elpa/org-9.7.7/)]

2024-07-22 Thread General discussions about Org-mode.
Summary: Alignment of Org tables seems to be distorted when including links to items with dates in it. Setup: minimal init.el: #+begin_src emacs-lisp :tangle /home/exot/Desktop/emacs-test/init.el (package-initialize) #+end_src Starting Emacs via #+begin_src sh emacs --no-site-file --init-dire

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

2024-07-22 Thread Suhail Singh
Ihor Radchenko writes: > Please address my concern about :textarea attribute. I do not see why > we should ignore it here. I don't understand your concern. Could you please elaborate on what you mean by "why we should ignore it here"? What is the "it" and what is the "here"? >From your email

Re: [O] Generate and fill PDF-forms by org-mode?!

2024-07-22 Thread Leo Butler
Hi Balaji, This is an ingenious solution, but wouldn't something like xournal(++) be easier to use[1]? A drawback to either method is that the PDF file that is created no longer has the form data available for subsequent edits. This is a serious drawback when one needs to fill in some parts of a

Re: [BUG] Org table alighment distorted with dates in links to headlines [9.7.7 (9.7.7-1ee080 @ /home/exot/Desktop/emacs-test/elpa/org-9.7.7/)]

2024-07-22 Thread Ihor Radchenko
Daniel via "General discussions about Org-mode." writes: > Summary: Alignment of Org tables seems to be distorted when including > links to items with dates in it. > ... > | [[file:/home/exot/Desktop/test.org::*Headline with some date: \[2024-07-22 > Mon\]][Headline with some date: [2024-07-22 M

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

2024-07-22 Thread Ihor Radchenko
Suhail Singh writes: >> Please address my concern about :textarea attribute. I do not see why >> we should ignore it here. > > I don't understand your concern. Could you please elaborate on what you > mean by "why we should ignore it here"? What is the "it" and what is > the "here"? Your reque

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

2024-07-22 Thread Suhail Singh
Ihor Radchenko writes: > Your request, in its core, is asking to make treatment of verbatim > blocks more regular in ox-html. I would phrase it differently. Just to be clear, my concern isn't simply "verbatim blocks", and it isn't simply to make handling "more regular". Apologies for the innac

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

2024-07-22 Thread Ihor Radchenko
Suhail Singh writes: >> So, if we start allowing arbitrary attributes in more blocks, may as >> well include specially handled attributes like :textarea. > > Yes, it is possible to address my concern while also extending support > for non-HTML attributes like :textarea. However, they still are >

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

2024-07-22 Thread Suhail Singh
Ihor Radchenko writes: > AFAIU, your main point is that you want the patch to land on bugfix. It > will not, regardless whether we add :textarea support or not. While not the answer I had hoped for, I appreciate the clarification. > Next, if you are not interested in adding :textarea support, i

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

2024-07-22 Thread Ihor Radchenko
Suhail Singh writes: > Given that I already have some contributions in Org mode and I don't, at > present, intend to do the copyright assignment to FSF, could you please > confirm: > > 1. How many lines worth of changes I can still introduce without going >over the limit? I do not see any co

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

2024-07-22 Thread Suhail Singh
Ihor Radchenko writes: > Commits under similar names are: > > Suhail 96eb9f0b4 * piem/s/org-lint-add-function-to-removeJun6 org-lint: Add > function to remove checker(s) > ... > > I assume that 96eb9f0b4 is yours. > It has 9 LOC. Yes. > ~6LOC remaining until aproximate 15LOC limit we can accep

Re: Documentation request

2024-07-22 Thread Peter Mao
ah, I failed to mention my version number -- 9.6.15 (which ships with Emacs 29.3). If it's complete in the latest version, then that's great -- I can wait for the future to come to me. Peter On Mon, Jul 22, 2024 at 6:43 AM Ihor Radchenko wrote: > Peter Mao writes: > > > The docstrings for org

Re: [O] Generate and fill PDF-forms by org-mode?!

2024-07-22 Thread Balaji Bikshandi
Thanks for the compliments Leo! I agree this is more of a simple ‘hack’! I call it the TTO - Transparent Terminal Overlay 😊. It had helped me in unusual situations such as when a proprietary PDF had ‘fillability’ issues. Your solution is ‘designed for purpose’ and sounds wonderful. My best wi

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

2024-07-22 Thread Sébastien Gendre
I have found that on Vanilla Emacs, it's "C-j". And with Vertico, it's "Alt-Enter". I wonder if we need to document it. In the docstring of "org-cite-insert" and in the documentation. Of course, not mentioning every possible shortcut. But at least telling how the command "org-cite-insert" behave