Re: when does :cache not cache?

2021-12-11 Thread Ihor Radchenko
Eric S Fraga writes: > in the paper I am writing, I have a number of gnuplot src blocks, some > of which process a significant amount of data so take some time to > generate the actual plots. The data are static so caching the results > make sense. However, even though I have ":cache yes" on

Re: Concrete suggestions to improve Org mode third-party integration :: an afterthought following Karl Voit's Orgdown proposal

2021-12-11 Thread Tim Cross
Ihor Radchenko writes: > Tim Cross writes: > >> ... while I totally agree we should work >> very hard not to break compatibility or adversely affect other projects >> which are built on top of org mode, like org-roam, we also don't want to >> find ourselves in a position where we cannot

Re: Question About Nuking The Priority Of A Task After Its Been Marked As 'DONE'

2021-12-11 Thread Samuel Banya
Hey Konibunix! Thanks a ton for this, this looks fun as heck to implement :) I'll have to try this on my config sometime next week. Thanks a ton for this, bookmarking this post for now. Love it :) On Sat, Dec 11, 2021, at 7:49 AM, Samuel Loury wrote: > "Samuel Banya" writes: > > > I often

bug#51365: 29.0.50; org-mode: modification-time error with git controled file

2021-12-11 Thread Kyle Meyer
close 51365 28.1 quit TAKAHASHI Yoshio writes: > Hi, > > With git controled file, > {{{modification-time(%Y-%02m-%02dT%02H:%02M:%02S+09:00, 1)}}} > causes "Wrong type argument: stringp, " error. > > `org-macro--vc-modified-time' in org-macro.el should pass list of FILE > to `vc-call', because

Re: [PATCH] Fix org-comment-line-break-function

2021-12-11 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > I have added few tests in the updated patch pasted in this email. > I have made the tests for (call-interactive #'default-indent-new-line) > because that the interactive function M-j is bound to by default. > > Can you please review and commit it? The machine I am

font lock (locally, per file) ignore subscripts

2021-12-11 Thread Uwe Brauer
Hi I'd like that, in certain files, subscripts are ignored. I know I could use ~ ~ as in ~dl_emacs_support.m~ Or =dl_emacs_support.m= But could I deactivate font locking for these constructions locally? regards Uwe Brauer

[PATCH] org-test: Create a collaborative test set for Org buffer parser

2021-12-11 Thread Ihor Radchenko
Dear all, The attached patch is an attempt to create something like shared repo for Org element parser tests. The idea is moving the tests out from Elisp into a set of text files. That way, anyone interested in developing Org syntax support can use our tests and potentially contribute more test

Re: Question About Nuking The Priority Of A Task After Its Been Marked As 'DONE'

2021-12-11 Thread Samuel Loury
"Samuel Banya" writes: > I often change states of my todo list items to 'DONE', 'CANCELLED', etc. > > However, one thing I would want to know is this: > - Is it possible to automatically delete the '#' priority value of a task > after a task has been marked as 'DONE', 'CANCELLED', etc? > > Is

How to add font-lock keywords

2021-12-11 Thread Daniel Fleischer
Hi, I want to add custom keywords to be highlighted. I used (font-lock-add-keywords nil '(("books" . org-level-4)) t) but nothing happens after I restart orgmode or call 'font-lock-update'. -- Daniel Fleischer

Re: Concrete suggestions to improve Org mode third-party integration :: an afterthought following Karl Voit's Orgdown proposal

2021-12-11 Thread Ihor Radchenko
Tim Cross writes: > ... while I totally agree we should work > very hard not to break compatibility or adversely affect other projects > which are built on top of org mode, like org-roam, we also don't want to > find ourselves in a position where we cannot improve/enhance org mode > because of

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-12-11 Thread Ihor Radchenko
Carlos Pita writes: > Hi Igor, > > I believe the problem is in: > > (defun pcomplete/org-mode/searchhead () >... > ;; When completing a bracketed link, i.e., "[[*", argument > ;; starts at the star, so remove this character. > (substring pcomplete-stub