Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread stardiviner
. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, May 13, 2023 at 3:39 PM Ihor Radchenko wrote: > stardiviner wri

Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-12 Thread stardiviner
I have a large `org-tag-alist` value that contains about ~7000 tags. When I press [C-c C-q] `org-set-tags-command`. Emacs suspends a long time. Here are the profiler reports in the attachments. I hope this can be improved the performance. [stardiviner] GPG key ID: 47C32433 IRC

[Need Help] Error to evaluate "mpv" command in inline src block

2023-04-29 Thread stardiviner
'ob_comint_async_shell_end_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5' ob_comint_async_shell_start_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5 org_babel_sh_prompt> done org_babel_sh_prompt> ob_comint_async_shell_end_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5 org_babel_sh_prompt> #+end_example Even I testing usi

How to change working directory in ob-matlab source block?

2023-04-12 Thread stardiviner
eaders: :epilogue "saveas(gcf,'matlab-plot-demo2.png'); close(gcf);" #+begin_src matlab :results graphics file link :dir "data/images" :file "matlab-plot-demo2.png" :session "*MATLAB*" bar([1 11 7 8 2 2 9 3 6]) #+end_src #+RESULTS[(2023-04-13 00:09:01) c5fc0d3

How to change working directory in ob-matlab source block?

2023-04-12 Thread stardiviner
[stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/

[BUG] org-capture got file userlock error when I capture on second time.

2023-03-20 Thread stardiviner
tube-dl %s" url (defun elfeed-youtube-dl ( use-generic-p) "Use youtube-dl to download the link media." (interactive "P") (let ((entries (elfeed-search-selected))) (cl-loop for entry in entries do (elfeed-untag entry 'unread) when (elfeed-entry-link entry) do (youtube-dl-cmd-wrapper it)) (mapc #'elfeed-search-update-entry entries) (unless (use-region-p) (forward-line (define-key elfeed-search-mode-map (kbd "d") 'elfeed-youtube-dl) ) #+end_src I might need to take some time to bisect my Emacs config with bug-hunter to check whether some options caused this error. I will add more details later. If you have any clue about this error, thanks for the hint. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/

[SUGGESTION] separate ob-clojure.el into Clojure part ob-clojure.el and ClojureScript part ob-clojurescript.el

2023-03-17 Thread stardiviner
For now, ob-clojure.el contains lot of code for ClojureScript. Only some code has same functionality. Like CIDER backend. In the future, ClojureScript part code will increase and different. So I suggest separate them into two source code files. WDYT? [stardiviner] GPG key ID

[SOLVED] Re: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.

2023-03-07 Thread stardiviner
[stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, Mar 7, 2023 at 9:59 PM Ihor Radchenko wrote: > stardivi

[FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.

2023-03-06 Thread stardiviner
(org-agenda-span-1) (org-agenda-use-time-grid t) (org-agenda-include-diary nil) (org-agenda-show-log (quote clockcheck)) (org-agenda-clockreport t)) ``` This upper code will report error. [stardiviner] GPG key ID: 47C32433 IRC(freeenod

[DISCUSS] "same text-property competing" problem in external packages

2023-02-27 Thread stardiviner
for your idea and suggestions. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/

[SOLVED] Re: How to auto insert inline image link for org-plot/gnuplot result plot?

2022-01-02 Thread stardiviner
display-inline-images))) #+end_src I suggest `org-plot.el` library can support this feature. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://sta

[QUESTION] How to generate org-agenda view for clocked tasks and logs etc which are sorted by timestamps?

2021-11-03 Thread stardiviner
` to archive this purpose? Thanks for your help in advance. Regards. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/

Re: More on design of org-contacts.el - Re: [UPDATED PATCH] Re: add new link type "contact:" for org-contacts.el

2021-11-02 Thread stardiviner
I would like to be the maintainer of org-contacts.el. (I might already replied this message? Sorry if duplicated.) I have separated and put org-contacts on GitHub https://github.com/stardiviner/org-contacts.el. And I'm in the progress to put it on NonGNU ELPA or MELPA. [stardiviner

[SOLVED] Re: [QUESTION] Add advice on command org-add-note not working

2021-08-20 Thread stardiviner
Thanks Samuel, using `org-store-log-note’ indeed solved the problem. Great solution. > On Aug 20, 2021, at 4:45 PM, Samuel Loury wrote: > > "Christopher M. Miles" writes: > >> <#secure method=pgpmime mode=sign> > > Beware this did not actually sign your message. > >> I have following

STOP this patch for now.

2021-07-08 Thread stardiviner
is won’t have > them broken. > > Thanks, > Chris. > >> On Jul 7, 2021, at 8:00 PM, stardiviner > <mailto:numbch...@gmail.com>> wrote: >> >> Hi Chris, thanks for your work. I have a question, will your patch of >> notification code be merged t

Re: [new patch] [PATCH] make org-notify support for macOS desktop notification

2021-07-07 Thread stardiviner
ote: > > It supports imagemagick (specify —with-imagemagick), and it includes svg by > default, I simply forked the railwaycat version and added the native > notification code. > > Thanks, > Chris. > >> On Jul 6, 2021, at 11:30 AM, stardiviner > <mailto:numbch...@gm

Re: [new patch] [PATCH] make org-notify support for macOS desktop notification

2021-07-06 Thread stardiviner
and so > everything "Just Works". > > Info can be found here: > > https://github.com/choppsv1/homebrew-emacsmacport > > Thanks, > Chris. > > stardiviner writes: > >> Here is the new patch which invokes notifications though Emacs built-in API

[new patch] Re: [PATCH] make org-notify support for macOS desktop notification

2021-07-05 Thread stardiviner
Here is the new patch which invokes notifications though Emacs built-in API `ns-do-applescript`. 0001-org-clock.el-Make-org-notify-support-macOS-notificat.patch Description: Binary data > On Jul 6, 2021, at 8:06 AM, Tim Cross wrote: > > > stardiviner writes: > >>&

Re: [PATCH] make org-notify support for macOS desktop notification

2021-07-05 Thread stardiviner
> On Jul 6, 2021, at 8:06 AM, Tim Cross wrote: > > > stardiviner writes: > >>> On Jul 5, 2021, at 7:55 PM, Maxim Nikulin wrote: >>> >>> On 05/07/2021 10:50, stardiviner wrote: >>>> I updated the patch, I found the package `osx-

Re: [PATCH] make org-notify support for macOS desktop notification

2021-07-05 Thread stardiviner
> On Jul 5, 2021, at 7:55 PM, Maxim Nikulin wrote: > > On 05/07/2021 10:50, stardiviner wrote: >> I updated the patch, I found the package `osx-lib` contains solution. >> So I removed the directly osascript process invocation. > > I have no objections any mor

Re: [PATCH] make org-notify support for macOS desktop notification

2021-07-04 Thread stardiviner
021 07:23, stardiviner wrote: >> I found `org-notify` does not support macOS desktop notification. So I write >> a small patch for this. > > I am surprised that there is no OS-agnostic function in Emacs that sends > simple notification, suitable when no advanced feature are n

[PATCH] make org-notify support for macOS desktop notification

2021-07-03 Thread stardiviner
I found `org-notify` does not support macOS desktop notification. So I write a small patch for this. Thanks for reviewing. 0001-org-clock.el-Make-org-notify-support-macOS-notificat.patch Description: Binary data

Re: org-attach a directory?

2021-06-15 Thread stardiviner
@johnkitchin > http://kitchingroup.cheme.cmu.edu <http://kitchingroup.cheme.cmu.edu/> > > > > On Thu, Jun 10, 2021 at 10:04 PM stardiviner <mailto:numbch...@gmail.com>> wrote: > I want this feature patch too. Hope Org Mode can add this. I remember old > version org-mo

Re: org-attach a directory?

2021-06-10 Thread stardiviner
I want this feature patch too. Hope Org Mode can add this. I remember old version org-mode can do this. But later delete this feature? I forget what version is. I suggest to add this feature. > On Jun 8, 2021, at 11:49 PM, John Kitchin wrote: > > Is it possible to attach a directory to an

Re: [ORG] Moving the org-mode.git repo to savannah.gnu.org

2021-06-05 Thread stardiviner
Thanks for quick reply and solving this problem. :smile: > On Jun 5, 2021, at 3:55 PM, Bastien wrote: > > Hi Stardiviner, > > stardiviner writes: > >> I have a big problem. After I registered savannah account, I open >> profile page at first 3 days. Then I ha

Re: [ORG] Moving the org-mode.git repo to savannah.gnu.org

2021-06-05 Thread stardiviner
in separate self-hosting repository. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Jun 2, 2021 at 2:18 PM Bastien

Re: [QUESTION] Org "customid" and "coderef" links seems not fontified as other file: link

2020-12-23 Thread stardiviner
Bump this thread, hi, Nicolas, any thoughts or update about this? stardiviner writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > I have following minimal testing code: > > #+begin_src emacs-lisp > (defun org-link-beautify (start end path bracketp) >

Re: Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 Thread stardiviner
Ok, I added `org-id-link-to-org-use-id` support now. Check out the latest update in Git. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http

Re: Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 Thread stardiviner
-X" not found. Icon theme "elementary" not found. POST git-receive-pack (1123 bytes) error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401 fatal: the remote end hung up unexpectedly fatal: the remote end hung up unexpectedly Everything up-to-date ``` [stardiviner]

Re: Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 Thread stardiviner
Does that means I can push to org-contacts.el directly by myself? That's simpler. Thanks. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http

Re: Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 Thread stardiviner
type "contact:" for org-contacts.el" [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Dec 17, 2

Re: Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 Thread stardiviner
Sure, I didn't expected that soon bug appears. I checked source code, I commented out an condition accidentally. Here is the patch. Tested it should work now. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint

Re: [final patch] Re: add new link type "contact:" for org-contacts.el

2020-12-15 Thread stardiviner
y name to maintainer. Can you add it directly? That will be more simple. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/

[final patch] Re: add new link type "contact:" for org-contacts.el

2020-12-15 Thread stardiviner
My patch still in the previous "[UPDATED PATCH]" state. (I attached in this email) I can take a try to be the maintainer for org-contacts.el Seems it's not very frequently mentioned. So I don't spend too much time on it. [stardiviner] GPG key ID: 47C32433 IRC

Re: More on design of org-contacts.el - Re: [UPDATED PATCH] Re: add new link type "contact:" for org-contacts.el

2020-12-15 Thread stardiviner
Change an email is hard word for me. I use gmail address for many places. I started to use new email for new accounts recently. But switch email need to be later when I have time and desire. And thanks for your suggestion of mail services. :smile: [stardiviner] GPG key ID

[FIXED] Re: Archive an task which has un-indented logbook caused error

2020-12-08 Thread stardiviner
Thanks! [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Dec 9, 2020 at 1:04 PM Kyle Meyer wrote: > K

Archive an task which has un-indented logbook caused error

2020-12-07 Thread stardiviner
(org-back-to-heading t) (let* ((all-tags ...) (local-tags ...) (inherited-tags ...) (context ...)) (let (this-command) (org-copy-subtree 1 nil t)) (set-buffer buffer) (if (not ...) (let ... ...)) (if (and newfile-p org-archive-file-header-format) (progn ... ...)) (if datetree-date (progn ... ...

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

2020-12-02 Thread stardiviner
[stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Dec 2, 2020 at 5:30 PM stardiviner wrote: > The default [

[PATCH] [C-c C-q] completing tags from both buffer-local and global alist of tags

2020-12-02 Thread stardiviner
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 global `org-tags-alist`. This is more reasonable. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner

Re: More on design of org-contacts.el - Re: [UPDATED PATCH] Re: add new link type "contact:" for org-contacts.el

2020-11-16 Thread stardiviner
message. Jean Louis writes: > * stardiviner [2020-11-11 15:05]: > :PROPERTIES: > :CREATED: [2020-11-11 Wed 16:57] > :ID: 17d463d2-ff0c-4614-93da-06e3de8e6035 > :END: >> Thank you too. >> I indeed want to extend org-contacts.el. So I would li

[SUGGESTION] Let org-set-tags-command TAB complete with more tags.

2020-11-13 Thread stardiviner
ags group. I don't know whether function `(org-global-tags-completion-table)` already merged with `org-tag-alist`. It seems only get tags from all Agenda files after I checked out its source code. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twi

Re: [UPDATED PATCH] Re: add new link type "contact:" for org-contacts.el

2020-11-11 Thread stardiviner
PATCHes together. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Nov 11, 2020 at 4:37 PM Bastien wrote

[UPDATED PATCH] Re: add new link type "contact:" for org-contacts.el

2020-11-09 Thread stardiviner
You're right. Thanks for suggestion. I attached new patch now. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon

Re: [PATCH] add new link type "contact:" for org-contacts.el

2020-11-08 Thread stardiviner
After waited some days, still no reponse, so I popup this email. Can some Org maintainer review my patch? Thanks. It does not changed org-contacts.el core logic. Just added a new link type. Should be easy to review. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner

Re: Org mode fontification error in # in python and ipython source blocks

2020-11-03 Thread stardiviner
Thanks for noting. :) I added that in my Emacs config now. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, Nov

Re: Org mode fontification error in # in python and ipython source blocks

2020-11-02 Thread stardiviner
I have same problem sometimes in different babel languages. I would like to know what caused this problem too. Can you send me a message after you solved problem? Thanks in advance. :) smile [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter

Re: [PATCH] add new link type "contact:" for org-contacts.el

2020-10-30 Thread stardiviner
Accidentally pressed send button without email body. Hope org-contacts.el author can review this patch. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog

[PATCH] add new link type "contact:" for org-contacts.el

2020-10-30 Thread stardiviner
[stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ From 18b12dac615085e4c55029568b65c30b17ec5189 Mon Sep 17 00:00:00 2001

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-28 Thread stardiviner
I see, contribution is sure fine. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Oct 28, 2020 at 4:55 PM

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-27 Thread stardiviner
I would like to be a maintainer of ob-clojure.el too. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Oct 26

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-27 Thread stardiviner
I searched my name in maintainer line. Here is the complete list: ``` File: lisp/ob-eshell.el 5 25 ;; Author: stardiviner File: contrib/lisp/ob-redis.el 4 25 ;; Author: stardiviner 5 29 ;; Maintainer: stardiviner File: contrib/lisp/ob-diff.el 4 25 ;; Author: stardiviner 5

Re: New website - back to the old unicorn!

2020-10-27 Thread stardiviner
nouncing this on some of the more > high-traffic forums till these get sorted out that would be > appreciated > :) We want people to get the best possible first impression of the > revamp after all. > > Timothy. > > > *The favicon, font, and .gif files are not served

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-27 Thread stardiviner
ke proposing yourself for maintaining an Org Babel > language, that would be super helpful. > > Thanks a lot! -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner,

Re: [PATCH] ob-python: Rename exec tmpfile handle to prevent conflict

2020-10-26 Thread stardiviner
oming changes or help requests). > This is great and helpful! Thanks Bastien. >> By the way, on seeing this thread again, I realized this patch >> probably should have been applied to the maint branch. So I've cherry >> picked it into there, and merged back into master. > > Thanks for th

Re: [PATCH] Async session eval (2nd attempt)

2020-10-26 Thread stardiviner
on :session :async yes :results output > +import time > +time.sleep(.1) > +print('Yep!') > +#+end_src\n" > + (should (let ((expected "Yep!")) > +(and (not (string= expected (org-babel-execute-src-block))) > + (string= expected > +

Re: Starting from 9.5, Org contrib will be distributed as a separate Org ELPA package

2020-10-24 Thread stardiviner
ep maintaining and debugging Org Mode simpler. Even though I just use local Git source code for Org Mode. (So don't need to modify my config at all.) -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: Bug: org-cycle stops working on Org files with empty lines at end of buffer [9.4 (9.4-elpaplus @ /home/brentg/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-10-18 Thread stardiviner
A simple temporary solution to this bug is remove hook function from ~org-cycle-hook~: #+begin_src emacs-lisp (remove-hook 'org-cycle-hook #'org-cycle-show-empty-lines) #+end_src stardiviner writes: > Bastien writes: > >> Hi, >> >> stardiviner writes: >>

Re: [Share] collect some idea about auto eval code when TAB expand headline

2020-10-16 Thread stardiviner
org ,* 《三生三世 十里桃花》 :LOG:TV: :PROPERTIES: :EVAL: src_sh{mpg123 "三生三世 十里桃花/杨宗纬 张碧晨 - 凉凉.mp3"} :END: #+end_src > > Best regards, > > Jeremie > > > On Friday, 16 Oct 2020 at 13:01, stardiviner wrote: >> I write an elisp config for Org Mo

[Share] collect some idea about auto eval code when TAB expand headline

2020-10-15 Thread stardiviner
end_src A question: How to get all property keywords under headline? I want to use ~member~ to detect whether property keywords has member in defined custom list ~org-property-eval-keywords-list~. Second question: Do you have any good idea or suggest about this? Thanks for sharing your ide

Re: [PATCH] Re: Bug: org-cycle stops working on Org files with empty lines at end of buffer [9.4 (9.4-elpaplus @ /home/brentg/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-10-03 Thread stardiviner
Bastien writes: > stardiviner writes: > >> Waited many days, seems no useful patch available. I suggest to revert that >> commit. > > I will have a look over the week-end, thanks. Thanks for taking time to look at this problem, Bastien. -- [ stardiviner ]

Re: [PATCH] Re: Bug: org-cycle stops working on Org files with empty lines at end of buffer [9.4 (9.4-elpaplus @ /home/brentg/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-10-03 Thread stardiviner
g on my end. Unless we have a concrete reason > to keep ee3c3b554, reverting it might be the best fix for this thread's > issue. Waited many days, seems no useful patch available. I suggest to revert that commit. -- [ stardiviner ] I try to make ev

Re: Support for simultaneous running clocks?

2020-09-23 Thread stardiviner
After this think over, I might want to take a try. I will dig deeper in source code. Come back later. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): s

Re: Bug: Double trailing slash for default candidate in org-refile-get-target [9.4 (9.4-7-g3eccc5-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200921/)]

2020-09-23 Thread stardiviner
org-link--open-shell) > ("news" :follow > #[514 "\301\300\302Q\"\207" > ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"] > ) > ("mailto" :follow > #[514 "\301\300\302Q\"\207" > ["mailto" browse-url ":"] 6 "\n\n(fn URL > ARG)"] > ) > ("https" :follow > #[514 "\301\300\302Q\"\207" > ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"] > ) > ("http" :follow > #[514 "\301\300\302Q\"\207" > ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"] > ) > ("ftp" :follow > #[514 "\301\300\302Q\"\207" ["ftp" browse-url > ":"] > 6 "\n\n(fn URL ARG)"] > ) > ("help" :follow org-link--open-help) > ("file" :complete org-link-complete-file) > ("elisp" :follow org-link--open-elisp) > ("doi" :follow org-link--open-doi)) > org-link-elisp-confirm-function 'yes-or-no-p > ) -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: Bug: org-cycle stops working on Org files with empty lines at end of buffer [9.4 (9.4-elpaplus @ /home/brentg/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-09-23 Thread stardiviner
Bastien writes: > Hi, > > stardiviner writes: > >> I also did a bisect debug. Found the function ~org-cycle-show-empty-lines~ >> in hook >> ~org-cycle-hook~ caused this problem. > > Did you find the commit that introduces this bug? I did a git bisect tes

Re: Bug: org-cycle stops working on Org files with empty lines at end of buffer [9.4 (9.4-elpaplus @ /home/brentg/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-09-22 Thread stardiviner
["http" browse-url ":"] >> 6 "\n\n(fn URL ARG)"]) >> ("ftp" :follow #[514 "\301\300\302 Q \"\207" ["ftp" browse-url ":"] 6 >> "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help) ("file" :complete >> org-link-complete-file) >> ("elisp" :follow org-link--open-elisp) ("doi" :follow >> org-link--open-doi)) >> org-latex-format-headline-function >> 'org-latex-format-headline-default-function >> org-link-elisp-confirm-function 'bg-org-confirm-elisp-link >> org-clock-idle-time 10 >> org-latex-format-inlinetask-function >> 'org-latex-format-inlinetask-default-function >> org-tab-before-tab-emulation-hook '(org-tempo-complete-tag) >> org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] >> org-html-format-headline-function 'org-html-format-headline-default-function >> org-confirm-babel-evaluate 'bg-org-confirm-babel-evaluate >> org-directory "/home/brentg/Plans/Home" >> org-publish-project-alist '(("my-emacs-lisp-org" :base-directory >> "~/emacs_lisp/" :publishing-directory "~/public_html/emacs_lisp" :recursive >> t :table-of-contents t :base-extension "org" :publishing-function >> org-html-publish-to-html :style-include-default nil :section-numbers t >> :with-sub-superscript nil :html-head "> href=\"org.css\" type=\"text/css\" />" >> :author-info nil :creator-info nil) >> ("my-emacs-lisp-extra" :base-directory "~/emacs_lisp/" >> :publishing-directory "~/public_html/emacs_lisp" :base-extension >> "css\\|pdf\\|png\\|jpg\\|gif" :publishing-function >> org-publish-attachment :recursive t :author nil) >> ("my-emacs-lisp" :components ("my-emacs-lisp-org" >> "my-emacs-lisp-extra"))) >> org-default-notes-file "/home/brentg/Plans/Home/notes.org" >> ) -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Recent update commit "7769518f3" caused source block syntax highlighting failed

2020-09-07 Thread stardiviner
After git bisect, I found the bad commit. Bisect Rest (1) 7769518f3 * bad @ Use the `org-block' face for every true blocks -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner

Re: babel default header args as functions

2020-09-06 Thread stardiviner
ike this new feature propose too. It can be used in many situations. Really helpful. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: Shower thought: submit an IETF RFC to register Org as a MIME type

2020-09-04 Thread stardiviner
udio samples. > > If it does seem possible to have text/org formally added as a mime > type, > I would love to push this. > > Please let me know what you think. > > All the best, > > Timothy. -- [ stardiviner ] I try to make every word tell the meaning t

Re: Support for simultaneous running clocks?

2020-09-04 Thread stardiviner
mplate will auto start a clock, but don't want to interrupt current clock. For now, this is all I can come up with. org-timer is a similar functionality. Maybe consider to let org-timer to be simultaneous too? But there is problem on how to interact with multiple org timers. -- [ stardivine

Re: Support for simultaneous running clocks?

2020-07-19 Thread stardiviner
compile while I keep > track of > how long I am working on some other project task at the same time. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: s

Re: [QUESTION] Re: [PATCH] make org-attach-url download function as an option

2020-07-16 Thread stardiviner
ng finished. Also `make-thread' does not have process sentinel. That's also an problem. Does anyone have better idea? > > Best, > Ihor > > stardiviner writes: > >> I got solution for async org-attach-url now. Use `make-thread` for async >> downloading is simple. &

[QUESTION] Re: [PATCH] make org-attach-url download function as an option

2020-07-15 Thread stardiviner
ng"))) (run-hook-with-args 'org-attach-after-change-hook attach-dir) (org-attach-tag) (cond ((eq org-attach-store-link-p 'attached) #+end_src Bastien writes: > Hi, > > stardiviner writes: > >> I found when network is bad and slow, or the download f

[SOLVED] Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-07 Thread stardiviner
stardiviner writes: > After recently (about weeks) update in Org Mode "master" branch. I found [M-q] > org-fill-paragraph command not apply on the last paragraph of region select > large part of text. I don't have this problem before. > > And I confirmed this problem

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread stardiviner
to...@tuxteam.de writes: > On Mon, Jul 06, 2020 at 07:40:48PM +0800, stardiviner wrote: >> >> Nicolas Goaziou writes: >> >> > Hello, >> > >> > stardiviner writes: >> > >> >> After recently (about weeks) update in Or

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> After recently (about weeks) update in Org Mode "master" branch. I found >> [M-q] >> org-fill-paragraph command not apply on the last paragraph of region select >> large

[BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread stardiviner
;master" branch of org-mode. The command "emacs -q" don't have this problem. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner,

Re: patch: ob-clojure improvements

2020-07-02 Thread stardiviner
rt to get your things in. Maybe I just have to > be a little bit more patient? I think a complete work contains many patches should be better, Also write testing if necessary. I remember ob-clojure.el code are mostly reviewed by Bastien Guerry. I included him in Cc: in this email. > On S

Re: patch: ob-clojure improvements

2020-06-20 Thread stardiviner
t; > #+begin_src clojure :backend babashka :results output > (range 10) > #+end_src > > Please let me know what you think. Any advice is appreciated, since I have > never contributed before. Thank you. -- [ stardiviner ] I try to make every word tell the meanin

[Feature request] toggle inline image display only under current subtree

2020-06-19 Thread stardiviner
For some Org documents which has lots of images, toggle display of all inline images will suspend Emacs, and use lot of memory. I suggest Org Mode can add an [C-u] universal prefix detect before [C-c C-x C-v] to only display inline images under subtree. WDYT? -- [ stardiviner ] I try

Re: Question on contributing to Org-mode

2020-06-18 Thread stardiviner
ure release (9.4, at the moment). >> >> Notice that your reported version above contains a git revision: 706970. >> If you look that up in the repo, you'll find that it's a few commits >> back from the current tip of the maint branch. The maint branch is the >> source fo

Re: ob-sql src blocks with a totally custom engine

2020-06-16 Thread stardiviner
ight? But even then, I think it requires the code block > to be of sh-mode of shell-mode, but I want it to be SQL because osquery uses > SQL. - -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiv

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

2020-06-14 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas Goaziou writes: > Hello, > > 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. > > Is it really an

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

2020-06-13 Thread stardiviner
sion 9.3.4 (release_9.3.4-644-g14d358.dirty @ /home/stardiviner/Code/Emacs/org-mode/lisp/) Emacs version: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.17.3) of 2020-06-12 - -- [ stardiviner ] I try to make every word tell the meaning that I want

Re: Bug: fontification error with #end_src in 9.3.7 [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-11 Thread stardiviner
ow > #[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5 > "\n\n(fn URL)"]) >("mailto" :follow > #[257 "\301\300\302Q!\207

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

2020-06-09 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 When org-agenda have option ~org-agenda-start-with-clockreport-mode~ enabled. Generate Org Agenda with clocktable. Here is an Org content which has logbook contains link which is text-propertized using Emacs extension https://github.com/stardiviner

Re: [Announcement] lsp-mode integration with org-mode

2020-06-08 Thread stardiviner
o the docs and short demo: > > https://github.com/emacs-lsp/lsp-mode/blob/master/docs/page/lsp-org.md > > > Thanks, > Ivan This is really great to get official support for Org Mode. I have this idea for long time, just try start an extension two days ago. https://github.co

Re: FWD: Org-Babel Support for Powershell

2020-06-06 Thread stardiviner
ty > defense of Windows server. > > Yours sincerely > > Stanislaw Lem I remember already there are some ob-powershell relative projects. You might want to work and improve features on those work. And integrate it into Org Mode. - - https://gist.github.com/cbilson/ae0d90d163be4d769f

Re: [BUG] All drawers except property drawers are open at startup

2020-06-05 Thread stardiviner
ility, that commit replaced > > (org-cycle-hide-drawers 'all) > > with > > (org-cycle-hide-property-drawers 'all) > > Thus, only property drawers are hidden at startup. > I have same problem. Glad you found the problem commit. > Best, > > Matt - -- [ st

Re: [Feature] add a new org-attach dispatcher command to offline save web page

2020-06-03 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien writes: > Hi, > > stardiviner writes: > >> Here is my patch, I try to annotate on my patch code to express my >> words: > > Thanks - I see what is hardcoded and why. > > Since the whole idea is to u

Re: A small idea to simplify (further) time input in the date/time prompt

2020-06-02 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gustavo Barros writes: > Hi stardiviner, > > On Tue, Jun 02 2020, stardiviner wrote: >> >> Which date/time prompt do you mean? Like set schedule or deadline? If just >> raw >> timestamp, it makes me confus

Re: [Feature] add a new org-attach dispatcher command to offline save web page

2020-06-02 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien writes: > Hi Stardiviner, > > stardiviner writes: > >> I think maybe Org maintainer can improve the org-attach code to suitable to >> add >> custom function. > > Sorry, I don't understand. > &g

Re: [Feature] add a new org-attach dispatcher command to offline save web page

2020-06-02 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien writes: > Hi, > > stardiviner writes: > >> I added monolith link to defcustom option docstring now. Update >> patch again. > > thanks for working on this, sorry for coming late to the party. >

Re: A small idea to simplify (further) time input in the date/time prompt

2020-06-02 Thread stardiviner
ss to say, current input conventions should not change. This is just > thought as an additional way of inputting time, alongside the ones which > already > exist. I'm unaware of any use of "h" in the date/time prompt (or of "m", for > that matter), so I presume this shoul

Re: [QUESTION] What's the ":desk" link parameter?

2020-06-02 Thread stardiviner
atural for me since similar >>> customisation is already done in :follow and :store link parameters. >> >> Okay, I understand. It feels natural to me too. >> >> I'm not sure `org-link-make-description-function' is used a lot out >> there, but the change may br

[PATCH v3] Re: [BUG] recently commits on master branch breaks command 'org-babel-demarcate-block'

2020-06-01 Thread stardiviner
Matthew Lundin writes: > stardiviner writes: > >> Matthew Lundin writes: >> >>> >>> I think you also need to replace the newline with a space in the upper >>> case version. >>> >> Supposed there is \n after #+end_src. I also c

Re: [PATCH v2] Re: [BUG] recently commits on master branch breaks command 'org-babel-demarcate-block'

2020-05-31 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Matthew Lundin writes: > stardiviner writes: > >> I updated the patch commit message. >> >> From b0bdf52a305cb5f9663ee1dc2d08c5de6c7cb602 Mon Sep 17 00:00:00 2001 >> From: stardiviner >> Date: Sun, 31 May 20

[PATCH v2] Re: [BUG] recently commits on master branch breaks command 'org-babel-demarcate-block'

2020-05-30 Thread stardiviner
I updated the patch commit message. From b0bdf52a305cb5f9663ee1dc2d08c5de6c7cb602 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sun, 31 May 2020 10:59:41 +0800 Subject: [PATCH] fix 5f0a9cca3 missing space * lisp/ob-core.el (org-babel-demarcate-block): replace wrong newline with missing

[PATCH] Re: [BUG] recently commits on master branch breaks command 'org-babel-demarcate-block'

2020-05-30 Thread stardiviner
Berry, Charles writes: >> On May 29, 2020, at 7:03 PM, stardiviner wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> >> When I have a source block (The "|" represents the point): >> >> #+begin_src sh

[BUG] recently commits on master branch breaks command 'org-babel-demarcate-block'

2020-05-29 Thread stardiviner
#+end_src #+begin_src sh :eval no #+end_src - -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [Feature] add a new org-attach dispatcher command to offline save web page

2020-05-29 Thread stardiviner
rc (web archive) file with wget, but then you > need a web archive replayer to view it, which is not exactly convenient. > Looks like you already parsed most technologies in awesome-web-archive list. Does that mean most technologies not suitable for Org Mode for now? > Best, > > Matt

  1   2   3   4   5   6   >