Mention outli, and h speed-key

2023-03-09 Thread JD Smith
Outli is a small mode I wrote which very closely follows org in style and uses the same speed-keys on comments-as-headlines. Basically if you know org, outli will be usable “out of the box”. It might be good to mention outli in the Worg page

[BUG] after execute +org-realign-table-maybe-h may move point [9.6 (9.6-??-bed47b4 @ c:/Users/yhht/.emacs.d/.local/straight/build-28.2/org/)]

2023-03-09 Thread 赵一宇
+org-realign-table-maybe-h function definition is at the end. Instead of using save-excursion macro, it saves current point to a var, and restore the point after execute org-table-align. That would cause point move visually. Although the (point) value not changed, org-table-align function shall

Re: [PATCH] Async evaluation in ob-shell

2023-03-09 Thread Max Nikulin
On 10/03/2023 00:36, Matt wrote: (concat "^" (regexp-quote org-babel-sh-prompt) " *") -> "^org_babel_sh_prompt> *" Currently, the two combine via the concat to give*two* spaces in the regexp. "*" means zero or more, so " *" with two spaces acts like " +" one or more space characters. It

Re: [POLL] Proposed syntax for timestamps with time zone info (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-03-09 Thread Jean Louis
* Ihor Radchenko [2023-03-08 16:29]: > > The UTC offset is property of the time zone. The future time zone > > definition will know what is it's UTC offset. > > UTC offset is indeed a property of the time zone. > However, UTC offset may be a subject of change in some time zones. Yes, and that

Re: [PATCH] Async evaluation in ob-shell

2023-03-09 Thread Matt
Hi Jack and Jeremie! I'm curious your thoughts about what Ihor and I are discussing at the end of this message about `md5'. On Tue, 07 Mar 2023 07:45:02 -0500 Ihor Radchenko wrote --- > Matt m...@excalamus.com> writes: > > > > The actual prompt is "org_babel_sh_prompt> ". > > >

Re: [BUG] Date prompt suggests yesterday when changing timestamp with org-extend-today-until set [9.6]

2023-03-09 Thread Tim Ruffing
Sorry for the late reply. The patch solves the problem for me, thanks! Would be great to have this fixed. On Sun, 2023-01-22 at 11:44 +, Ihor Radchenko wrote: > * This is test > SCHEDULED: <2023-01-28 Sat> > > Then, M-: (setq org-extend-today-until 20) > Then, C-c C-s on the heading above >

How to exclude colum titles from calculations

2023-03-09 Thread Uwe Brauer
Hi Please take this example: |---+---+-+---+--| | | Account 1 | 1/4 part of | Account 2 | 1/4 | |---+---+-+---+--| | Item1 |224999 | |224999 | | | Item2 |269403 |

Re: org-babel guile source block bug in handling multiple values

2023-03-09 Thread Daniel Kraus
Ihor Radchenko writes: > Zelphir Kaltstahl writes: >> (q1) What is a rationale, if any, behind the let-wrapping? > > It makes sense in ob-emacs-lisp to not litter global Emacs state. > In other ob-* lisp backends, I am not sure. > I am CCing Daniel, the maintainer of ob-clojure (we have no

Re: [PATCH] Fix ob-latex.el command injection vulnerability.

2023-03-09 Thread Ihor Radchenko
lux writes: > Hi, this is a new patch, let me briefly explain this patch: Thanks! > 2. `org-babel-latex-convert-pdf' is not safe, simple test: > > (org-babel-latex-convert-pdf ";id;.tex" ";uname;.pdf" "" "") > > So, add `shell-quote-argument' to each external parameter. I am not sure if

Re: How to exclude colum titles from calculations

2023-03-09 Thread Fraga, Eric
I make extensive use of the advanced features of the spreadsheet in org tables, specifically having a first column that indicates which rows should be calculated or not. Check out the org info manual (org) Advanced features and the token you want in the first column would be '#' for those rows

[PATCH] Don't reset `org-todo-keywords-for-agenda' when org-agenda-multi

2023-03-09 Thread Tim Ruffing
* org-agenda.el (org-prepare-agenda): Don't reset `org-todo-keywords-for-agenda' when org-agenda-multi. Fixes a bug with TODO keywords that came to light in org-modern, see https://github.com/minad/org-modern/issues/26. This is very similar to cd2d138883a55cad48394a3f473da8b973a99a5e, which

Re: [BUG] No space after footnote with org-export-with-footnotes set to nil [9.6.1 ( @ /Users/test/.emacs.d/elpa/28.0/develop/org-9.6.1/)]

2023-03-09 Thread Max Nikulin
On 09/03/2023 19:43, Ihor Radchenko wrote: Max Nikulin writes: Both "Heading" and "[0/1]" have the same :post-blank " ", so when stripping the statistics cookie use " " :post-blank for "Heading" (retain current value). Sorry, but we are mis-communicating here. No, it just means that I am

[patch] ob-clojure: Fix results output

2023-03-09 Thread Daniel Kraus
Hi, attached is a bigger patch that fixes the result output of ob-clojure. The commit message contains examples what's currently wrong and what's fixed. This is a breaking change though. So if someone before relied on the fact that, e.g. cider, returns the result of every expression in every line

Re: [BUG] No space after footnote with org-export-with-footnotes set to nil [9.6.1 ( @ /Users/test/.emacs.d/elpa/28.0/develop/org-9.6.1/)]

2023-03-09 Thread Ihor Radchenko
Max Nikulin writes: > On 07/03/2023 20:59, Ihor Radchenko wrote: >> I agree about the last example, but what about "Heading [0/1] text"? > > Both "Heading" and "[0/1]" have the same :post-blank " ", so when > stripping the statistics cookie use " " :post-blank for "Heading" > (retain current

Re: org-babel guile source block bug in handling multiple values

2023-03-09 Thread Ihor Radchenko
Zelphir Kaltstahl writes: > OK, to wrap up (ha!), I want to ask: > > (q1) What is a rationale, if any, behind the let-wrapping? It makes sense in ob-emacs-lisp to not litter global Emacs state. In other ob-* lisp backends, I am not sure. I am CCing Daniel, the maintainer of ob-clojure (we have

Re: org-babel guile source block bug in handling multiple values

2023-03-09 Thread Ihor Radchenko
Zelphir Kaltstahl writes: > START > #+name: python-imports > #+begin_src python :python /usr/bin/python3 :results output replace drawer > :var x=4 > import math > > y = math.sqrt(x) > # print(y) > #+end_src > > #+name: python-usage > #+begin_src python :python /usr/bin/python3 :return

[BUG] Inconsistent global/local :var assignments in ob-* for lisps and non-lisps (was: org-babel guile source block bug in handling multiple values)

2023-03-09 Thread Ihor Radchenko
Zelphir Kaltstahl writes: > I am not sure (let ...) is a correct wrapper for noweb included source > blocks. > What, if I write a (define ...) in my source block and want to use that > source > block via noweb in another source block? Expected behavior I think would be > to > be able to

Re: How to exclude colum titles from calculations

2023-03-09 Thread Uwe Brauer
>>> "FE" == Fraga, Eric writes: > I make extensive use of the advanced features of the spreadsheet in org > tables, specifically having a first column that indicates which rows > should be calculated or not. Check out the org info manual > (org) Advanced features Aha, thanks meanwhile I

Re: [PATCH] Fix ob-latex.el command injection vulnerability.

2023-03-09 Thread Max Nikulin
On 09/03/2023 19:22, Ihor Radchenko wrote: lux writes: Hi, this is a new patch, let me briefly explain this patch: Thank you for scratching my itch related to unsafe shell commands in Org Mode. 2. `org-babel-latex-convert-pdf' is not safe, simple test: ... I am not sure if blindly