Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-03-11 Thread Christopher Miles
<#secure method=pgpmime mode=sign> I see, I added your patch to my Emacs config. Really thanks for your work. And wait for maintainer response. Maxim Nikulin writes: Christopher, if your are still interested in a patch against this issue then you could find one in https://orgmode.org/list/ef

Re: Is it possible to optimize Org Mode org-activate-links ?

2021-02-12 Thread Christopher Miles
f the pause between synchronizations. See `org-element-cache-sync-duration' for more information.") Ihor Radchenko writes: Christopher Miles writes: I checked org-element-context source code, it's not so long and complex. Why it caused so many items in Memory profiler result? Is it p

Is it possible to optimize Org Mode org-activate-links ?

2021-02-12 Thread Christopher Miles
<#secure method=pgpmime mode=sign> I did an profiler (with my extension "org-link-beautify"). Here is the result of (Memory and CPU). I checked org-element-context source code, it's not so long and complex. Why it caused so many items in Memory profiler result? Is it possible to optimize it? H

[SOLVED] Re: [ISSUE] org-agenda with clocktable infinite on logbook which has text-propertize links

2021-02-05 Thread Christopher Miles
<#secure method=pgpmime mode=sign> Problem solved by adding an condition to detect current mode whether it is org-agenda-mode. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardivine

Re: patch: ob-clojure improvements

2021-02-03 Thread Christopher Miles
h or has it been added into the org git repo? Christopher Miles writes: <#!!secure method=pgpmime mode=sign> Hi, Tim, popup this thread to request review. 😄 Tim Cross writes: I am also interested in ob-clojure and ob-clojurescript improvements. However, right now, I'm a tad busy an

Re: patch: ob-clojure improvements

2021-02-02 Thread Christopher Miles
nto the org git repo? Christopher Miles writes: <#!secure method=pgpmime mode=sign> Hi, Tim, popup this thread to request review. 😄 Tim Cross writes: I am also interested in ob-clojure and ob-clojurescript improvements. However, right now, I'm a tad busy and haven't had t

Re: patch: ob-clojure improvements

2021-02-02 Thread Christopher Miles
<#secure method=pgpmime mode=sign> Hi, Tim, popup this thread to request review. 😄 Tim Cross writes: I am also interested in ob-clojure and ob-clojurescript improvements. However, right now, I'm a tad busy and haven't had time to review what has been done. Hopefully, can make some time in the

Re: word counts and org-mode drawers

2021-02-01 Thread Christopher Miles
<#secure method=pgpmime mode=sign> Sharon Kimble writes: –—BEGIN PGP SIGNED MESSAGE–— Hash: SHA512 Hi folks. How can I exempt an org-mode drawer, and its contents, from word counts please. I am using 'wc-mode' but I can't see how to do it. Thanks Sharon. I remember there is an extension cal

[QUESTION] How to use `make-thread` to run org-babel-execute-src-block?

2021-01-31 Thread Christopher Miles
<#secure method=pgpmime mode=sign> I have following code snippet config: (defun org-property-eval-on-cycle-expand (&optional state) "Evaluate Org inline source block in property value on headline cycle expand." (when (memq state '(children subtree)) (if-let ((inline-src-block (org-entry-g

Re: [PATCH] Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-21 Thread Christopher Miles
Maxim Nikulin writes: > On 21/01/2021 07:58, Christopher Miles wrote: >> >> I "=git am=" your first patch, but failed to apply your second patch. Seems >> not >> continuous. So I modify code manually. I found I can't find the local >> variab

[PATCH] Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-20 Thread Christopher Miles
Maxim Nikulin writes: > I have realized that :filter argument is not appropriate to arbitrary > handler that could spam with various assert messages. Maybe :sentinel is > better to report configuration problem to user when handler is called > with inappropriate arguments. Yes, use ~:sentinel

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-19 Thread Christopher Miles
Maxim Nikulin writes: > On 19/01/2021 08:53, Christopher Miles wrote: >> >> For this problem, do you have any workable solution patch? > > Maybe for a while it is better to avoid xdg-open or other handlers that > launch actual viewers in background. E.g. to replace

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-18 Thread Christopher Miles
stardiviner writes: >> >>> When I press =[C-u C-u C-c C-o]= to open an image file link with system >>> external >>> program. It can't open the image file. >> >> I cannot reproduce the problem here. >> >> If you still have this iss

Re: [feature request] A new cookie type [!] showing the last note taken

2021-01-17 Thread Christopher Miles
I think this is possible through read last note text in logbook, then display it in headline through text-property overlay. That's what I did in this package [[https://github.com/stardiviner/org-link-beautify]] Should not be that hard to implement it. Ihor Radchenko writes: > Over the years

[APPLIED] Re: [PATCH] I updated patch by deleteing duplicate tags

2021-01-13 Thread Christopher Miles
Kyle Meyer writes: > Christopher Miles writes: > >> Subject: [PATCH] org.el: Complete tags from both global and buffer local > > Thanks. Applied (86ad8d279)... > >> diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS >> index 5e5f1954d..0c9bb99d3 100644 >> -

Re: [PATCH] I updated patch by deleteing duplicate tags

2021-01-13 Thread Christopher Miles
Kyle Meyer writes: > Christopher Miles writes: > >> Kyle Meyer writes: >> >>> stardiviner writes: >>>>> By this patch, will merge both buffer-local tags and user defined global >>>>> `org-tags-alist`. >>> >>> It does

Re: [PATCH] I updated patch by deleteing duplicate tags

2021-01-10 Thread Christopher Miles
Kyle Meyer writes: > Thanks for the patch. > > stardiviner writes: > >> On Wed, Dec 2, 2020 at 5:30 PM stardiviner wrote: >> >>> The default [C-c C-q] completing tags only retrieve tags from current >>> buffer locally. >>> >>> By this patch, will merge both buffer-local tags and user defined gl

Re: [BUG] [C-u C-u C-c C-o] open link with external program auto exited before child process open file

2021-01-10 Thread Christopher Miles
I tested with following code: #+begin_src emacs-lisp (let ((cmd (format "%s %s" "xdg-open" (shell-quote-argument (expand-file-name "~/Downloads/伦敦底层社会 1,2章.doc") (start-process-shell-command cmd "*org-open-file*" cmd)) (start-p

Re: [BUG] [C-u C-u C-c C-o] open link with external program auto exited before child process open file

2021-01-10 Thread Christopher Miles
I found exactly same problem and some answer on this question: https://askubuntu.com/questions/646631/emacs-doesnot-work-with-xdg-open But I hope Org Mode can provide solution by default. Based on the description in answers. Is there something Org Mode can do to get around this problem? Nicolas

Re: temporary inclusion of a read-only file / inline element into orgmode buffer

2021-01-06 Thread Christopher Miles
Tom Gillespie writes: > Check out org-transclusion, it covers some of the use cases you > describe or could be used to implement them. The issue with giant > results, especially those that have very long lines, is more > challenging, but being able to specify that different output streams > shoul

Re: [PATCH] I updated patch by deleteing duplicate tags

2021-01-06 Thread Christopher Miles
Bump this thread. Any ideas about this functionality? Any objection or suggestion? stardiviner writes: > [stardiviner] GPG key ID: 47C32433 > IRC(freeenode): stardiviner Twitter: @numbchild > Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2