[C-c C-q] org-set-tags-command completed tags does not contains current buffer local tags

2024-04-17 Thread Christopher M. Miles
In the [C-c C-q] org-set-tags-command, I found it does not complete tags in current buffer. #+begin_src emacs-lisp (defun org-set-tags-command ( arg) ... (let* (... (local-table (or org-current-tag-alist (org-get-buffer-tags))) ;; the `org-current-tag-alist' is from my

Let `org-element-at-point` or `org-element-context` return element type "tags" when point on tags.

2024-04-07 Thread Christopher M. Miles
When I move point on the headline tags position. I evaluate `(org-element-at-point)` or `(org-element-context)`, both return element type is `(headline )`. I hope those two functions can return more explicit element type like "tags". I tried to find this type API function in existing

Re: Bug: org-no-popups disregards display-buffer-fallback-action [9.4.6 (9.4.6-13-g4be129-elpaplus @ /home/jeeger/.emacs.d/elpa/org-plus-contrib-20210920/)]

2024-02-07 Thread Christopher M. Miles
+1! Ihor Radchenko writes: > I conclude that `org-no-popups' and `org-switch-to-buffer-other-window' > should not be used in Org mode. > > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=78dc58508 > > Other issues raised in this thread need more thought. --

Re: [POLL] Change calling convention for when `org-link-file-path-type' is set to custom function (was: Enhancement Proposal for 'org-link-file-path-type' Behavior)

2024-01-16 Thread Christopher M. Miles
+1 for this propose. I have one situation need this feature. Assume a file structure like bellowing: #+begin_example `- folder-1 `- file-1.org `- folder-1.2 ` file-1.2.1.org #+end_example When I try to add link of "file-1.org" in "file-1.2.1.org", based on my custom option

[DONE] Re: org-agenda + [a] generated many duplicated task entries

2024-01-16 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> When I execute command "org-agenda" with key "[a]" to generate >> org-agenda day view. Many task entries are duplicated. > > Maybe you have something in > `org-agenda-skip

Re: org-agenda + [a] generated many duplicated task entries

2024-01-16 Thread Christopher M. Miles
@Ihor, Thanks for your help. Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> When I execute command "org-agenda" with key "[a]" to generate >> org-agenda day view. Many task entries are duplicated. > > Maybe you have somethin

Re: [External] [FR] Add buffer-local setting to request specific ESS process/session name (was: [PATCH] Set Python shell in Org edit buffer)

2024-01-12 Thread Richard M. Heiberger
This idiscussion s reminding me of the following ESS functions ess-add-ess-process M-x ... RET Execute this command from within a buffer running a process to add ess-request-a-process M-x ... RET Ask for a process, and make it the current ESS process. ess-switch-process

Re: [PATCH] Set Python shell in Org edit buffer

2024-01-11 Thread Christopher M. Miles
Ihor Radchenko writes: > Now, the question is what to do with the existing implementation of > `org-src-associate-babel-session'. It only runs > org-babel--associate-session when > > (and session (not (string= session "none")) >(org-babel-comint-buffer-livep session) >(let ((f

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

2024-01-11 Thread Christopher M. Miles
Thanks for updating, this patch looks great to me. -- [ stardiviner ] I try to make every word tell the meaning that I want to express without misunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG:

OrgMode Agenda empty if one of files is missing

2023-12-05 Thread Ali M.
Hi , If a file added on my agenda list is deleted, Org Mode Agenda list comes back empty for example my org agenda have two files '(org-agenda-files '("c:/dev/projects/one/one.org" "c:/dev/projects/two/two.org" )) Now I deleted folder two , so the folder c:/dev/projects/two/ and its

Re: OrgMode Agenda empty if one of files is missing from the org-agenda-files

2023-12-04 Thread Ali M.
that a is for abort because i might have kept pressing a when i first got a blank windows (also a being the first option for agenda, and the thing you will most likely try as a new user) Anyway, thanks On Mon, Dec 4, 2023 at 10:06 AM Ihor Radchenko wrote: > "Ali M." writes: > >

OrgMode Agenda empty if one of files is missing from the org-agenda-files

2023-12-03 Thread Ali M.
Hi , This is a repost, the first i sent this to the mailing list i wasnt subscribed so it is pending review, but it's been almost a week, so i sending this again after i subscribed If a file added on my agenda list is deleted, Org Mode Agenda list comes back empty For example, my org agenda has

Getting email from MS outlook into emacs

2023-11-27 Thread Doyley, Marvin M.
to be linked to my todos, which is almost impossible. I am working on a Mac and org-mac-link just hangs when I try to grab Outlook emails. Thanks in advance for your help. Cheers, M PS I have also tried Davmail, which almost worked, except my institution placed another roadblock. Marvin M

[BUG] `org-element-at-point-no-context' error in flyspell `org-mode-flyspell-verify'

2023-11-06 Thread Christopher M. Miles
I got following error: #+begin_example Please report this to Org mode mailing list (M-x org-submit-bug-report). ⛔ Warning (org-element-cache): org-element--cache: Org parser error in Code.org::434180. Resetting. The error was: (wrong-number-of-arguments ((t) nil "Return outline-r

[BUG] `org-todo` [C-c C-t] got error (args-out-of-range # 0 48016)

2023-11-06 Thread Christopher M. Miles
Here is the backtrace after I toggled debug-on-error: #+begin_example Debugger entered--Lisp error: (args-out-of-range # 0 48016) replace-match("") (progn (goto-char (match-beginning 0)) (replace-match "") (insert-before-markers-and-inherit next) (if (org-invisible-p

Re: Unclear where ob-spice.el is being maintained

2023-08-29 Thread Christopher M. Miles
Thanks, Updated now. Jonas Bernoulli writes: > "Christopher M. Miles" writes: > >> Jonas Bernoulli writes: >> >>> In 2022 I changed Melpa to get ob-spice.el from >>> https://repo.or.cz/ob-spice.git in response to >>> https://git

Re: Unclear where ob-spice.el is being maintained

2023-08-27 Thread Christopher M. Miles
Jonas Bernoulli writes: > In 2022 I changed Melpa to get ob-spice.el from > https://repo.or.cz/ob-spice.git in response to > https://github.com/melpa/melpa/issues/7872#issuecomment-1034945112. > > But org-contrib still contains that file and the README at the new > location still contains > >>

Re: Unclear where ob-spice.el is being maintained

2023-08-27 Thread Christopher M. Miles
Jonas Bernoulli writes: > Ihor Radchenko writes: > >> Jonas Bernoulli writes: >> >>> In 2022 I changed Melpa to get ob-spice.el from >>> https://repo.or.cz/ob-spice.git in response to >>> https://github.com/melpa/melpa/issues/7872#issuecomment-1034945112. >> >> The last discussion was back in

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

2023-08-04 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> With your patch, it will become impossible to display linked images >>> using interactive command. >> >> Does this code match the needs? > > Please check my latest reply &g

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

2023-08-04 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> The problem here is backwards compatibility. `org-toggle-inline-images' >>> is bound to C-c C-x C-v and people may be used to C-u C-c C-x C-v >>> displaying linked images like >>&

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

2023-08-02 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I think current patch is ready for merging now. WDYT? > > No, unfortunately. > With your patch, it will become impossible to display linked images > using interactive command. Does this code match

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

2023-08-02 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I think current patch is ready for merging now. WDYT? > > No, unfortunately. > With your patch, it will become impossible to display linked images > using interactive command. I still nee

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

2023-08-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> This is not a toggle. This is unconditional refresh. >>> >> Yes, indeed it's a unconditional refresh. It does not match the meaning of >> word "toggle". >> >>

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

2023-08-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> Unlike `org-latex-preview', here we need to (1) respect active region; >>> (2) keep the backward compatibility for INCLUDE-LINKED. >>> >>> For (1), for example, it would make sen

Re: Feature request: adjust ~org-agenda-format-item~ to let the user choose the first level included in breadcrumbs

2023-07-11 Thread M. Pger
--- On Tuesday, July 11th, 2023 at 10:14 PM, Ihor Radchenko wrote: > "M. Pger" mp...@protonmail.com writes: > > > Sorry for the possibly silly question, but by '+1', can I understand that > > you will implement this feature because you think it is worth it? >

Re: Feature request: adjust ~org-agenda-format-item~ to let the user choose the first level included in breadcrumbs

2023-07-11 Thread M. Pger
, but being able to truncate breadcrumbs from both sides would be even nicer^^ Best, MP --- Original Message --- On Tuesday, July 11th, 2023 at 11:30 AM, Ihor Radchenko wrote: > "M. Pger" mp...@protonmail.com writes: > > > Feature request: adjust ~org-agenda-format

Feature request: adjust ~org-agenda-format-item~ to let the user choose the first level included in breadcrumbs

2023-07-10 Thread M. Pger
Dear All, Including "%b" in the org agenda prefix formats (org-agenda-prefix-format​) allows to display entries' outline paths, which is super useful to get project-oriented agenda views/todo-list. Consider a project 'Foobar Report'. In the agenda view/todo-list, it would look like the

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

2023-07-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I improved the code a little. Can't figure out how to implement upper logic. >> Can you finish the last part? Thanks >> >> #+begin_src emacs-lisp >> (setq tbl (let* ((tags-grouped (o

[SOLVED] Re: [QUESTION] Hope to improve the `org-set-font-lock-defaults` performance by lazy and limit to current visible area

2023-05-25 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I'm the developer of Org mode package "org-link-beautify" >> https://repo.or.cz/org-link-beautify.git . The package main theory >> is to use org-link-parameters `:activate-func` to do li

[QUESTION] Hope to improve the `org-set-font-lock-defaults` performance by lazy and limit to current visible area

2023-05-24 Thread Christopher M. Miles
I'm the developer of Org mode package "org-link-beautify" https://repo.or.cz/org-link-beautify.git . The package main theory is to use org-link-parameters `:activate-func` to do link file preview with generating thumbnail images or file content etc. But I found it's slow one some big Org file

[PATCH v4.1] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-16 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>>> (seq-take (seq-uniq (append bound-tags >>>> fulltable)) >>>> org-fast-tag-selection-maximum-tags)) >>

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

2023-05-16 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Updated version which fix the `message` error in upper code: > > Thanks! > >> #+begin_src emacs-lisp >> (setq tbl (let ((bound-tags (seq-filter 'cdr fulltable))) >>

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

2023-05-16 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> I'd prefer something more closely resembling `org-latex-preview' >>> approach with prefix arguments: >>> ... >>> `org-toggle-inline-images' should also be changed. >> &

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

2023-05-16 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Updated version which fix the `message` error in upper code: > > Thanks! > >> #+begin_src emacs-lisp >> (setq tbl (let ((bound-tags (seq-filter 'cdr fulltable))) >>

[PATCH v3.1] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-15 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > Ihor Radchenko writes: > >> "Christopher M. Miles" writes: >> >>>> You are almost there. >>>> Just run your code only when (lentgh> fulltable 26). >>

Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-05-15 Thread Christopher M. Miles
No objection -- [ stardiviner ] I try to make every word tell the meaning that I want to express without misunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 signature.asc

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

2023-05-15 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> You are almost there. >>> Just run your code only when (lentgh> fulltable 26). >>> >>> Of course, 26 should be a defcustom rather than a hard-coded constant. >>>

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

2023-05-15 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> The `org-redisplay-inline-images' will refresh whole buffer inline >> images. When the buffer is a big Org file, and not all inline images are >> display already by default (still image file links un

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

2023-05-15 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> The `org-redisplay-inline-images' will refresh whole buffer inline >> images. When the buffer is a big Org file, and not all inline images are >> display already by default (still image file links un

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

2023-05-15 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> You are almost there. >>> Just run your code only when (lentgh> fulltable 26). >>> >>> Of course, 26 should be a defcustom rather than a hard-coded constant. >>>

[PATCH] add a function to only refresh inline images under current headline instead of global buffer

2023-05-14 Thread Christopher M. Miles
I found a lot of third-part Emacs packages refresh Org source block image result using the API function like this: #+begin_src emacs-lisp ;; Automatically refresh inline images. (add-hook 'org-babel-after-execute-hook (defun ob-dall-e--refresh-inline-images () (when

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

2023-05-14 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>>> #+begin_src emacs-lisp >>>> (let ((bound-tags (seq-filter 'cdr temp-fulltable))) >>>> (if (length> bound-tags 0) >>>> bound-tags >>>> (seq-

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

2023-05-14 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Sorry, wrong code, here is the correct code snippet: >> >> #+begin_src emacs-lisp >> (let ((bound-tags (seq-filter 'cdr temp-fulltable))) >> (if (length> bound-tags 0) >&

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

2023-05-14 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> What about like this? >> >> #+begin_src emacs-lisp >> (setq tbl (let ((bound-tags (seq-filter 'cdr fulltable))) >> (if (length> shortkeys 0) >>

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

2023-05-13 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> It would be great if you can come up with a patch. >>> 1. Keeping tags with explicitly assigned key binding indeed makes sense >>> 2. If we limit the number of displayed tags (on to

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

2023-05-13 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> I applied your diff with a testing. This indeed solved the performance >> issue. >> Will this be updated in Org-mode source code? >> Also I come up with one thing, filter out tags which have shortcut >> keybinding bound. Because user defined

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

2023-05-13 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> 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. > > Indeed. That's because `org-fast-tag-selection' tries to put all those > 7k tags into tag

Re: BUG: org-cycle does not unfold some subtrees

2023-05-06 Thread Christopher M. Miles
bleorg-fold-outline > priority 5 > > There are text properties here: > fontifiedt > isearch-open-invisible org-fold-core--isearch-show > isearch-open-invisible-temporary org-fold-core--isearch-show-temporary > > Am Sa., 6. Mai 2023 um 08:

Re: BUG: org-cycle does not unfold some subtrees

2023-05-06 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > I meet an unfold-able headline now. Then I record a video to show this > unfold-able headline. I executed command "describe-text-properties". > Afterwards, I closed the buffer, then re-open

[FEATURE Request] inherit headline directory for `org-attach' in `org-add-note' etc temp buffers

2023-05-05 Thread Christopher M. Miles
xecute command [C-c C-a m] `org-attach-mv` to attach a file. But it will prompt me for org-attach directory. I think commands like `org-add-note`, `org-clock` add log, `org-todo` change TODO state add log, etc should auto inherit this org-attach directory. So that user can do `org-attach` in the tem

Re: BUG: org-cycle does not unfold some subtrees

2023-05-05 Thread Christopher M. Miles
I meet an unfold-able headline now. Then I record a video to show this unfold-able headline. I executed command "describe-text-properties". Afterwards, I closed the buffer, then re-open the file to show the headline can be expanded normally, and show the subtree content. Here is the uploaded

Re: BUG: org-cycle does not unfold some subtrees

2023-05-05 Thread Christopher M. Miles
Michael Dauer writes: > Maybe I missed a known bug when doing the research. But all the other reports > describe different and > reproducible behaviour. > > Sometimes (often) I cannot unfold a subtree. It then affects only one or more > subtrees while others in the > same buffer or even the

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-05 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> - [X] Then I check out Emacs source code file "epg.el" & "epa.el" file >> git log. -> have not found obvious gpg command-line options relat

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-05 Thread Christopher M. Miles
Ihor Radchenko writes: > Some more info: > https://old.reddit.com/r/emacs/comments/137r7j7/gnupg_241_encryption_issues_with_emacs_orgmode/ Indeed same problem as mine. Thanks Ihor - [X] *downgrade* GnuPG from 2.4.1 -> 2.4.0 temporary get around the problem. #+begin_src sh brew info

Re: [Uploaded Edebug video] Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ok, I upload on Disroot website: >> >> https://upload.disroot.org/r/7skmXw7a#zt0jISsPuV0f3LkY9aRyz77X3iAOyD3cuue1Fbi9zy0= > > So, the hang happens on `epg-wait-for-status'. > So, again

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> GPG_AGENT_INFO is not set >> /opt/homebrew/bin/gpg --no-tty --status-fd 1 --yes >> --enable-progress-filter --command-fd 0 >> --output /var/folders/ym/f3v5_yk1279g5ls70x3hzblhg

Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> So currently ob-shell.el is async sending command into session buffer >> without waiting for command to be finished. >> >> I checked out the ob-shell.el source code. I suppose this is the cor

Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > Matt writes: > >> > Matt, maybe you have some ideas about this edge case? >> >> I have no other ideas within the current ob-shell implementation. As for >> modifications, I have the following thoughts. >> >> First, how might we state the problem for this edge case?

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> Do you have any issues decrypting and encrypting files from command >>> line? If no, what about from M-x shell? If yet no, what if you call gpg >>> via `start-process'? >>> >

Re: [EasyPG (epa)] Emacs can't save modified encrypted file

2023-05-02 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I downgrade gnupg, then the problem solved. But the downgrade version is >> very old (gnupg@2.4.1 -> gnupg@2.2.41). I suspend problem is somewhere >> else, like Emacs interaction with GnuP

[CLOSED] [ANSWER] Re: a temporary workaround solution using another language like "python"

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I check out ob-screen, it indeed can be used in my situation, thanks for >> suggestion. > > Also, you can try --no-terminal cmd switch for mpv. It will suppress > terminal interaction, AFAIU. I

Re: [SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> The current CPU report indeed not contains heavy org-crypt. Because my >> epa get problem. When I edit a GnuPG encrypted "encrypt.org.gpg", it >> suspend on epa waiting for process to fi

Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> My first version property "EVAL" inline src block indeed don't using >> :async and :session. It can play video file. >> >> But I found it will block [Tab] org-cycle expand headline.

Re: [SOLUTION] a temporary workaround solution using another language like "python"

2023-05-01 Thread Christopher M. Miles
Max Nikulin writes: > On 01/05/2023 20:08, Christopher M. Miles wrote: >> I use another language "python" to replace "sh" to play video now. It >> successes. >> :EVAL: src_python{import os; video_file = "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4";

Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I might consider to use another language like python instead of sh to >> execute command to play video to get around this issue. I will update >> here if I success. > > All you need to do is ge

Re: [SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>>>> May you elaborate what performance issues you are experiencing? >>>> >>>> My performance issue is a large Org file about 2M size on saving. I will >>>> repro

[SOLUTION] a temporary workaround solution using another language like "python"

2023-05-01 Thread Christopher M. Miles
I use another language "python" to replace "sh" to play video now. It successes. Here is my example: #+begin_src org ,* 《枕刀歌》 :PROPERTIES: :DATE: [2021-05-13 Thu 20:09] :Douban: https://movie.douban.com/subject/35350794/ :DIR: 枕刀歌 :EVAL: src_python{import os; video_file =

Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> So, it looks to me like mpv is somehow trying to interpret "echo" commands >>> the >>> ob-shell is sending after "mpv " is executed: >> ... >> Don't kn

Re: [SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> We should certainly not attempt decryption on by default - it may >>> be annoying when you actually do not want to decrypt anything, just >>> look inside. >> >> You're right, I

Re: [SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I'm also try to improve this file to improve large Org buffer saving >> performance. > > org-encrypt already caches the encrypted text and takes basically no > time for the repeated encrypt

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

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>>> But I failed to execute mpv command: >>>> >>>> #+begin_src org >>>> Test src_sh{mpv "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"} >>>> #+end_src >>>

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

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>>> But I failed to execute mpv command: >>>> >>>> #+begin_src org >>>> Test src_sh{mpv "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"} >>>> #+end_src >>>

[SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-04-30 Thread Christopher M. Miles
Thanks Ihor for improve this file. I'm also try to improve this file to improve large Org buffer saving performance. I have some ideas: - auto encrypt buffer on buffer save hook (currently mechanism, your patch improved it) - auto decrypt on org-cycle expand headline if current headline is

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

2023-04-30 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> I have Emacs Org mode config like bellowing to auto evaluate inline src >> block when Org headline cycle expanded. >> ... >> Here is the testing Org content: >> ... >> >> When I press Tab key to expand upper headline. I check the inline src

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

2023-04-30 Thread Christopher M. Miles
Ruijie Yu writes: > Try putting "cat" there. I suspect something is fed into the stdin of > the process. Can you explain in detailed? Don't know how to put command "cat" in my situation. -- [ stardiviner ] I try to make every word tell the meaning that I want to express without

Re: Emacs and org mode in aws

2023-04-16 Thread Christopher M. Miles
Naresh Gurbuxani writes: > In my Amazon Web Service account, I can launch emacs from the terminal. > Nearly all emacs features > work well. But I miss the ability to view graphs created by code blocks in > org mode. Have other > members found a solution? > I don't know whether AWS supports

[SOLVED] Re: How to change working directory in ob-matlab source block?

2023-04-12 Thread Christopher M. Miles
stardiviner writes: > Is there friend know Emacs Org mode and Matlab here? > > I try to save Matlab plot into image file in another path instead of current > working directory. Like > bellowing code: > > #+headers: :var cwd=(expand-file-name "data/images/" (file-name-directory >

Re: Remove "shell" as a supported Babel language within ob-shell.el

2023-03-24 Thread Christopher M. Miles
At first, thanks for this long parsing and explanation. Matt writes: > > Matt m...@excalamus.com> writes: > > > > > Is there a reason you're using "shell" instead of one of the shells > listed in `org-babel-shell-names'? > > I'm still curiou

Re: [RFC] Limit inline image width by default (was: feature request: easy embedding of images)

2023-03-23 Thread Christopher M. Miles
This is an acceptable solution for large width image. I propose this RFC too. -- [ stardiviner ] I try to make every word tell the meaning that I want to express without misunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG:

Re: [SUGGESTION] ob-shell async result output should not contains shell prompt

2023-03-23 Thread Christopher M. Miles
Matt writes: > On Wed, 22 Mar 2023 23:25:50 -0400 Christopher M. Miles wrote --- > > > > The ob-shell async result output contains the shell prompt. I think it > > should not be captured. > > > > #+begin_src shell :session "test2" :as

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

2023-03-22 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> When I org-capture from elfeed-entry buffer (I defined custom functions to >> extract elfeed entry buffer content) in the second time and later, the >> bellowing error raised up. The first-time capture is fine. >> >> Here is the error

[SUGGESTION] ob-shell async result output should not contains shell prompt

2023-03-22 Thread Christopher M. Miles
The ob-shell async result output contains the shell prompt. I think it should not be captured. #+begin_src shell :session "test2" :async t sleep 30 echo "hello, world" #+end_src #+RESULTS[(2023-03-23 11:19:22) 461ed5de684f6e619890709175ec73e80b67b2d6]: : bash-5.2$ hello, world -- [

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

2023-03-20 Thread Christopher M. Miles
Ihor Radchenko writes: > Daniel Kraus writes: > >>> The only downside is that people might need to >>> (require 'ob-clojurescript) >>> I am thinking if ob-core.el should try to automatically guess the >>> correct library to be loaded. >> >> We could just (require 'ob-clojurescript) inside

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

2023-03-20 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> 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

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

2023-03-20 Thread Christopher M. Miles
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 ] I try to make every word

Re: Hiding citations

2023-02-25 Thread M . ‘quintus’ Gülker
are quite verbose. Rendering them (or rather, their content) into the text would expand it even more. -quintus -- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kont...@guelker.eu| O<

Hiding citations

2023-02-25 Thread M . ‘quintus’ Gülker
hink that it should be optional, because there is some useful information inside the citation constructs that might help reading (and not everyone needs so many and long citation constructs as my discipline). -quintus [1]: Contained in this open-access conference proceedings volume: https:

Re: [PATCH][oc-csl] Improve reference parsing

2023-01-19 Thread M . ‘quintus’ Gülker
text, I cannot see how to write the macro then, because something like #+MACRO: name @@csl:$1latex:\textsc{$1}html:$1@@ would still transfer the @@latex: and @@html: constructs into the footnote. They would have to be expressly ignored by the citation processor. -quintus -- Di

Re: [PATCH][oc-csl] Improve reference parsing

2023-01-19 Thread M . ‘quintus’ Gülker
the more elaborate construction, if nothing else. -quintus -- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kont...@guelker.eu| O<

Re: Beamer export: Executing LaTeX between two frames

2023-01-07 Thread M . ‘quintus’ Gülker
kgroundtemplate” macro is properly wrapped around the non-ignored heading. Thank you Ihor. -quintus -- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kont...@guelker.eu| O<

Re: Filter for HTML (cite) footnotes?

2023-01-07 Thread M . ‘quintus’ Gülker
Dear all, I ought to drive this thread to its completion. What I intend to do is better covered by the new callback functions provided by citeproc-el: <https://github.com/andras-simonyi/citeproc-el/issues/111> -quintus Am Dienstag, dem 08. März 2022 schrieb Juan Manuel Macías: > M.

Re: [PATCH][oc-csl] Improve reference parsing

2023-01-07 Thread M . ‘quintus’ Gülker
in citations? -quintus [1]: https://list.orgmode.org/orgmode/87o7tb8pc1.fsf@localhost/ [2]: https://list.orgmode.org/orgmode/87zgcw8gtd.fsf@localhost/ -- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kont...@guelker.eu| O<

Re: [BUG] Shift-up/down move the cursor to end of timestamp

2022-12-02 Thread Christopher M. Miles
I meet this bug too. -- [ stardiviner ] I try to make every word tell the meaning that I want to express without misunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 signature.asc

Re: OrgModeClockingXBar - see a task when you clock in in your bar and not only

2022-11-14 Thread Christopher M. Miles
mag_dex writes: > Dear All, > > I designed a hack to see your clocked-in task on your bar (and not only). > > The hack is composed of a few elements, Emacs code that adds hooks for > clock-in and clock-out and a code > for Xbar. > > I have been using this for 2 years, and it's pretty robust. I

Re: Tutorials on creating pdfs with org-babel and sqlite

2022-11-12 Thread Christopher M. Miles
You can check out http://www.howardism.org/Technical/Emacs/literate-database.html This is very great. Jan Ulrich Hasecke writes: > [[PGP Signed Part:Undecided]] > Dear all, > > I am doing my first steps to do some database publishing with org-babel > and sqlite. So far quite successful, but

Re: [RFC PATCH] Re: [bug] Macro in citation not expanded

2022-11-11 Thread M . ‘quintus’ Gülker
aaO. The same for HTML export. -quintus -- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kont...@guelker.eu| O<

Re: Formatting in citation locator

2022-11-11 Thread M . ‘quintus’ Gülker
-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kont...@guelker.eu| O<

Re: CI tests

2022-11-06 Thread Christopher M. Miles
Christian Köstlin writes: > Dear org-mode users, > > > at the moment I am trying to enable as much of the org-mode testsuite > on the ci server (see https://builds.sr.ht/~bzg for the latest > testruns). > > From time to time some tests fail, because the time when e.g. a > timestamp is written

Re: Auto detect ob-clojure backend (was: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list)

2022-10-30 Thread Christopher M. Miles
Daniel Kraus writes: > Ihor Radchenko writes: > >> Daniel Kraus writes: >> >>> +(defcustom org-babel-clojure-backend (cond >>> + ((executable-find "bb") 'babashka) >>> + ((executable-find "nbb") 'nbb) >>> +

[CLOSED] Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-29 Thread Christopher M. Miles
Daniel Kraus writes: > Hi > > Ihor Radchenko writes: >> "Christopher M. Miles" writes: >>> Any review comments about this patch? >> I have sent the following comment shortly after your followup: > > I even made another post after that, suggest

  1   2   3   4   5   6   7   8   9   10   >