[feature request] make yank-media backed by `org--image-yank-media-handler` support hashing image in clipboard as filename

2025-05-20 Thread stardiviner
ethod 'attach)) (insert (org-link-make-string (concat "file:" (org-link--normalize-filename absname (require 'org-attach) (org-attach-attach absname nil 'mv) (insert (org-link-make-string (concat "at

Re: whether org-mode should ignore links in properties drawer?

2025-04-13 Thread stardiviner
Ihor, thanks for your detailed answer. I checked the `org-next-link` function source code, don't know how to patch it. Is there other people want to contribute this patch? If no, this thread could be closed. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardi

[SOLVED] Re: [PATCH] The function `org-link-preview-region` should detect whether already has overlay.

2025-04-05 Thread stardiviner
, the patch can be applied. [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, Mar 31, 2025 at 12:38 AM Karthik

Re: [PATCH] The function `org-link-preview-region` should detect whether already has overlay.

2025-03-30 Thread stardiviner
both previewed. [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, Mar 29, 2025 at 8:16 PM Ihor Radchenko wrote

whether org-mode should ignore links in properties drawer?

2025-03-26 Thread stardiviner
links in properties drawer. I think links in properties drawer should not be ignored. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog

[SOLVED] Re: [BUG] Org-contacts doesn't jump to items in the second file specified in org-contacts-files [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-03-10 Thread stardiviner
solved. [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, Mar 10, 2025 at 7:22 AM Garid Zorigoo wrote: >

Hope to improve the `org-set-property` performance

2025-02-08 Thread stardiviner
lot of time. [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/

[PATCH] The function `org-link-preview-region` should detect whether already has overlay.

2025-01-29 Thread stardiviner
rg-link-preview--queue (nconc (nreverse preview-queue) org-link-preview--queue)) #+end_src [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: The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working

2025-01-14 Thread stardiviner
Have not found any clue. Anyone have thoughts on this weird problem? [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

Re: The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working

2025-01-14 Thread stardiviner
I found the reason `project-rootfile` changed the directory when babel source block execution. > By the way, setting `:dir` changes the *working* directory, which you might not want to be "images". There is a separate header argument, `:output-dir` that can be used for this purpose. Thank

Re: The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working

2025-01-13 Thread stardiviner
I tested using org-mode's `make repro` clean Emacs & org-mode environment instance. It works fine. I double checked my Emacs init file about R settings. Have not found suspicious config. Here is my reproduce test. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): st

The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working

2025-01-13 Thread stardiviner
nil) - Org mode version: 9.8-pre (using branch "main" latest commit "c2d57df0e") [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http:

[ERROR] org-todo [C-c C-t] change task todo state raised error

2025-01-12 Thread stardiviner
(if (or (and ... ... ...) force-log) (progn (setq dolog ...) (if ... ...) (if ... ...) (if ... ...) (if ... ...))) (org-todo-trigger-tag-changes org-state) (if org-auto-align-tags (progn (org-align-tags))) (if org-provide-todo-statistics (progn (org-update-parent-todo-statistics))) (if (and (boundp ...

Re: Link preview generation with new link preview property

2024-12-17 Thread stardiviner
I don't think so, my package org-link-beautify ported to the new :preview mechanism. The file preview not always image. Could be text, or icon etc. So pass in image object is not a good idea. It will limit preview functionality extensibility. [stardiviner] GPG key ID: 47C3243

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

2024-08-13 Thread stardiviner
sult inline image toggle displaying performance. [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, Aug 12, 20

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

2024-08-01 Thread stardiviner
I followed you upper 8 conditions to re-write my patch. Except the 8. condition I'm not sure I understand correctly. And I extend 1. condition to support the inline image link at point toggle displaying. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardi

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
R: 枕刀歌 :EVAL: src_sh{sleep 10; echo "done"} :END: #+end_src It evaluated fine. #+begin_example sh-3.2$ sh-3.2$ PROMPT_COMMAND=;PS1="org_babel_sh_prompt> ";PS2= org_babel_sh_prompt> echo 'ob_comint_async_shell_start_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5' sl

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

2023-04-12 Thread stardiviner
cd '%s'", cwd))" #+headers: :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])

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
(call-interactively 'org-fill-paragraph) ; or `fill-paragraph' ) (add-hook 'org-capture-mode-hook #'my/elfeed-format-org-capture-buffer) ;; Download link media with youtube-dl. (defun youtube-dl-cmd-wrapper (url) "Downloads the URL with youtube-dl in an async shell" (let ((default-directory "~/Downloads")) (async-shell-command (format "youtube-dl %s" url (defun elfeed-youtube-dl (&optional 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
-agenda-ndays 1) (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

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

2023-02-27 Thread stardiviner
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
up-with-inline-images (org-redisplay-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 B8

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

2021-11-03 Thread stardiviner
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. [stardi

[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 advic

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
> 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 more.

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-mode

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 org

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-04 Thread stardiviner
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
;Mint-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:

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 finger

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

2020-12-15 Thread stardiviner
patch to add my 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://stardivine

[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: 47

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
uffer) (...) (...) (t ...))) (org-odd-levels-only (if (local-variable-p ... ...) org-odd-levels-only tr-org-odd-levels-only)) level datetree-date datetree-subheading-p) (if (string-match "\\`datetree/\\(\\**\\)" heading) (progn (let (...) (setq heading ...) (setq datetree-subheading-p .

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
r you can receive my 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-contac

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

2020-11-13 Thread stardiviner
efault fast-selection tags 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): stardivin

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

2020-11-11 Thread stardiviner
tiple 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

[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/ O

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
roposing 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
anges 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. > > Tha

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

2020-10-26 Thread stardiviner
me.sleep(.1) > +print('Yep!') > +#+end_src\n" > + (should (let ((expected "Yep!")) > +(and (not (string= expected (org-babel-execute-src-block))) > + (string= expected > + (progn > +(sleep-for 0 200) > +(goto-char (org-babel-where-is-src-block-result)) > +(org-babel-read-result) > + > +(ert-deftest test-ob-python/async-named-output () > + (let (org-confirm-babel-evaluate > +(org-babel-temporary-directory "/tmp") > +(src-block "#+begin_src python :async :session :results output > +print(\"Yep!\") > +#+end_src") > +(results-before " > + > +#+NAME: foobar > +#+RESULTS: > +: Nope!") > +(results-after " > + > +#+NAME: foobar > +#+RESULTS: > +: Yep! > +")) > +(org-test-with-temp-text > + (concat src-block results-before) > + (should (progn (org-babel-execute-src-block) > +(sleep-for 0 200) > +(string= (concat src-block results-after) > + (buffer-string))) > + > +(ert-deftest test-ob-python/async-output-drawer () > + (let (org-confirm-babel-evaluate > +(org-babel-temporary-directory "/tmp") > +(src-block "#+begin_src python :async :session :results output drawer > +print(list(range(3))) > +#+end_src") > +(result " > + > +#+RESULTS: > +:results: > +[0, 1, 2] > +:end: > +")) > +(org-test-with-temp-text > + src-block > + (should (progn (org-babel-execute-src-block) > +(sleep-for 0 200) > +(string= (concat src-block result) > + (buffer-string))) > + > (provide 'test-ob-python) > > ;;; test-ob-python.el ends here -- [ 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: Starting from 9.5, Org contrib will be distributed as a separate Org ELPA package

2020-10-24 Thread stardiviner
is good idea. It will keep 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
n_src 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 O

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

2020-10-15 Thread stardiviner
(add-hook 'org-cycle-hook #'org-property-eval-code) #+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 a

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
heading 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

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/

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
("bbdb" :follow org-bbdb-open :export > org-bbdb-export > :complete org-bbdb-complete-link :store > org-bbdb-store-link) > ("w3m" :store org-w3m-store-link) ("file+sys") > ("file+emacs") ("shell" :follow > 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
"\207" ["https" browse-url >> ":"] 6 "\n\n(fn URL ARG)"]) >> ("http" :follow #[514 "\301\300\302 Q \"\207" ["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): stardi

Re: babel default header args as functions

2020-09-06 Thread stardiviner
-headers'. I like 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
ion for organ audio 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 tel

Re: Support for simultaneous running clocks?

2020-09-04 Thread stardiviner
apture template 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 timer

Re: Support for simultaneous running clocks?

2020-07-19 Thread stardiviner
takes to 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,

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

2020-07-16 Thread stardiviner
downloading 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 >> down

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

2020-07-15 Thread stardiviner
unction '(file attach-file))) + "org-attach-url downloading"))) (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, > &

[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 pro

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 part of text.

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

2020-07-06 Thread stardiviner
ot;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): sta

Re: patch: ob-clojure improvements

2020-07-02 Thread stardiviner
trate effort 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.

Re: patch: ob-clojure improvements

2020-06-20 Thread stardiviner
;) > #+end_src > > #+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

[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-17 Thread stardiviner
r of bzg/org-mode? >> >> It contains what will be the next feature 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

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

2020-06-16 Thread stardiviner
here's a way, right? 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. B

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 real

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

2020-06-13 Thread stardiviner
e version 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

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
t;shell" :follow org-link--open-shell) > ("news" :follow > #[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5 > "\n\n(fn URL)"]) >

  1   2   3   4   5   6   >