[O] [Proposal] Make header argument :mkdirp yes work for other header arguments not just :tangle

2019-02-18 Thread Christopher M. Miles
I hope `:mkdirp` header argument can also work for other related header arguments like `:dir`, `:file` etc not just `:tangle`. Like following example. #+begin_src sh :mkdirp yes :dir "data/code/mkdirp/dir" :file "test" :results file link echo "hello" #+end_src Do you have any idea about this?

Re: [O] Rationale for org-directory (any?)

2019-02-19 Thread Christopher M. Miles
I use it for dynamic folder sync, I can use it different machine, just change the ~org-directory~ variable. I use this variable in many place to concatenate a whole path. Carlos Pita writes: > Hi all, > > I often wonder if the way org-directory is currently used has any > sense or is just a hi

Re: [O] typo in org-track.el manual

2019-02-19 Thread Christopher M. Miles
binZMEXuhGks6.bin Description: application/pgp-encrypted binoD3igvt0Pw.bin Description: Binary data

Re: [PATCH] Re: New source block results option for attaching file to node

2021-10-04 Thread Christopher M. Miles
Ihor Radchenko writes: > Greg Minshall writes: > >> i can imagine wanting to have input files and >> output files in separate directories. (for ease in "make clean", if for >> no other conceptual reason.) (but, probably i don't understand.) I agree with this thought. We should separate two

Re: [PATCH] Re: New source block results option for attaching file to node

2021-10-07 Thread Christopher M. Miles
aks Literate Programming tangling concept by introduced un-reimplemented variable ~dir~. > > I'll post a new patch with a different approach in a little bit. > > On Mon, Oct 4, 2021 at 5:06 PM Christopher M. Miles > wrote: > > Ihor Radchenko writes: > > Greg

Make org-notify support macOS without DBus

2021-10-20 Thread Christopher M. Miles
Mostly Emacs versions under macOS does not have compiled with DBus. Or still don't work even compiled with DBus even macOS installed dbus with homebrew. I'm under this situation and problem. Spend lot of time have not solution to solve this problem. So I give up on Emacs DBus support under macOS

[PATCH] Re: Make org-notify support macOS without DBus

2021-10-20 Thread Christopher M. Miles
Just update the email subject contains [PATCH] "Christopher M. Miles" writes: > Mostly Emacs versions under macOS does not have compiled with DBus. Or still > don't work even compiled with DBus even > macOS installed dbus with homebrew. I'm under this situation

Re: [PATCH] {the CORRECT patch}

2021-10-20 Thread Christopher M. Miles
Max Nikulin writes: > On 20/10/2021 16:58, Christopher M. Miles wrote: >> Just update the email subject contains [PATCH] >> "Christopher M. Miles" writes: >> Mostly Emacs versions under macOS does not have compiled with DBus. >> Or still don'

[BUG] org-agenda generation missing some entries

2021-10-21 Thread Christopher M. Miles
After git bisect, I found the bad commit: #+begin_example 0ef88e2d9 * | bad @ org-agenda.el/org-agenda-get-scheduled: Use cache #+end_example after org-agenda generation, lot of entries not displayed. Then I found lot of errors in =*Messages*= buffer. #+begin_example Wrong type argument: stri

Re: [BUG] org-agenda generation missing some entries

2021-10-21 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> After git bisect, I found the bad commit: >> >> #+begin_example >> 0ef88e2d9 * | bad @ org-agenda.el/org-agenda-get-scheduled: Use cache >> #+end_example >> >> after org-age

Re: [BUG] org-agenda generation missing some entries

2021-10-23 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: >> Now I tried your latest push. The errors gone. But org-agenda entries still >> missing. I checked >> *Messages* buffer, no error messages, including other error special buffers. >> no information

Re: [BUG] org-agenda generation missing some entries

2021-10-23 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: >> Now I tried your latest push. The errors gone. But org-agenda entries still >> missing. I checked >> *Messages* buffer, no error messages, including other error special buffers. >> no information

Re: [BUG] org-agenda generation missing some entries

2021-10-23 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I'm git bisect on the latest git-pulled org-mode. Still located bad commit >> on this bad commit. Seems >> commit also introduced other problem. > >> #+begin_example >> 0ef8

Re: [BUG] org-agenda generation missing some entries

2021-10-23 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I put this scheduled task into a separated org file and clean >> org-agenda-files variable, and set it >> to only this new separated org file. Not displayed. > > I finally managed reproduce

Re: [BUG] org-agenda generation missing some entries

2021-10-24 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> My Emacs version (on M1 macOS) >> >> GNU Emacs 28.0.60 (build 1, aarch64-apple-darwin20.6.0, NS appkit-2022.60 >> Version 11.6 (Build 20G165)) of 2021-10-20 >> >> Thanks for you

[SOLVED] Re: [BUG] org-agenda generation missing some entries

2021-10-24 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Confirmed after change from "28" to "29" solved the problem in your steps. >> >> I also tested this change on my current Emacs config. Also confirmed solved >> the prob

[ISSUE] org-mode fill paragraph is slow and suspend often

2021-10-25 Thread Christopher M. Miles
When I press [M-q] on the following org-mode buffer content: #+begin_src org ,* 绵羊是太阳能农场的优秀管理员 :PROPERTIES: :SOURCE: 奇客Solidot–传递最新科技情报 :DATE(original): [2021-10-25 Mon 17:28] :DATE: [2021-10-26 Tue] :END: 有利于放养家畜和有利于太阳能发电的地方经常重叠。它们都需要平坦、阳光充足,没有高大植被的开阔地。因此 太阳能生产商正越来越多地租用农田运营。 太阳能产量的增加具有环境效益,但是

Re: [ISSUE] org-mode fill paragraph is slow and suspend often

2021-10-27 Thread Christopher M. Miles
I applied your patch on the latest pulled org-mode source code. Still can't org-fill elements quickly when region select text contains org headlines, properties drawer etc. If I only fill paragraph, it is fine. <#secure method=pgpmime mode=sign> -- [ stardiviner ] I try to make every

[SOLVED] Re: [ISSUE] org-mode fill paragraph is slow and suspend often

2021-10-27 Thread Christopher M. Miles
Thanks, confirmed solved. Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I applied your patch on the latest pulled org-mode source code. Still can't >> org-fill elements >> quickly when region select text contains org headlines, properti

[BUG] kill-buffer invoked org-persistent-write-all-buffer caused Emacs long suspend

2021-10-28 Thread Christopher M. Miles
Here is the profiler report: CPU: #+begin_example 4003 66% - command-execute 4003 66% - call-interactively 3913 65% - funcall-interactively 3320 55%- kill-buffer 3318 55% - org-persist-write-all-buffer 3318 55% - org-persist-

Re: [BUG] kill-buffer invoked org-persistent-write-all-buffer caused Emacs long suspend

2021-10-28 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Here is the profiler report: >> >> CPU: >> >> #+begin_example >> 4003 66% - command-execute >> 4003 66% - call-interactively >> 3913 65%

[SOLVED] Re: [BUG] kill-buffer invoked org-persistent-write-all-buffer caused Emacs long suspend

2021-10-28 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Thanks for quick patch, I'm on the latest main. and I pulled your patch. Now >> it's not infinite >> looping, but still takes about 3.5 seconds. So I take another profiler >>

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

2021-11-05 Thread Christopher M. Miles
Russell Adams writes: > On Thu, Nov 04, 2021 at 12:16:19PM +0800, stardiviner wrote: >> How to use elisp code to generate an org-agenda view for clocked tasks and >> logs etc which are sorted by timestamps? I want to view my daily done tasks >> and attach them as part of diary (maybe use org so

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

2021-11-05 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> In the source code comment "FIXME" org-agenda always in frontend and popup >> buffer. I can't generate >> org-agenda in background then get the buffer content. >> >> Does

ob-clojure eval error when has comment at end of code line

2021-11-10 Thread Christopher M. Miles
I have following Clojure source block: #+begin_src clojure (re-find #"\d+" "I've just finished reading Fahrenheit 451");; => "451" (re-find #"Bees" "Beads aren't cheap.");; => nil #+end_src When I press =[C-c C-c]= to evaluate source block, got error: When there is no comments behind code lines

[BUG] error on org-element--cache-process-request when TAB indent region select properties drawer

2021-11-20 Thread Christopher M. Miles
The bellowing error often raised when I region select multiple headlines which contains properties drawer #+begin_src org |*** headline 1 :PROPERTIES: :kkk: 2 :END: ,*** headline 2 :PROPERTIES: :kkk: 3 :END: | #+end_src (Here the ~|~ and ~|~ represent the region select two he

[BUG] (org-element-context) on some link does not return search-option correctly

2021-11-20 Thread Christopher M. Miles
When I put point on an custom org link: #+begin_src org [[pdf:~/Org/Wiki/Computer Technology/Programming/Programming Languages/Clojure/data/Books/Clojure经典实例.pdf::40++0.00][Clojure经典实例.pdf: Page 40]] #+end_src Then press =[M-: (org-element-context) RET]= to get link element properties. I got:

[ANSWERED] Re: [BUG] (org-element-context) on some link does not return search-option correctly

2021-11-21 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> When I put point on an custom org link: >> >> #+begin_src org >> [[pdf:~/Org/Wiki/Computer Technology/Programming/Programming >> Languages/Clojure/data/Books/Clojure >> 经典实例.pd

Re: [BUG] error on org-element--cache-process-request when TAB indent region select properties drawer

2021-11-21 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> The bellowing error often raised when I region select multiple headlines >> which contains properties >> drawer >> >> #+begin_src org >> |*** headline 1 >> :PROP

[SOLVED] Re: [BUG] error on org-element--cache-process-request when TAB indent region select properties drawer

2021-11-21 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I can't reproduce it with clean Emacs config. And my option >> ~org-adapt-indentation~ is ~nil~. And this >> error is not raised every time. Just some org buffer and sometimes. Have not >&g

Re: [BUG] error on org-element--cache-process-request when TAB indent region select properties drawer

2021-11-21 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I can't reproduce it with clean Emacs config. And my option >> ~org-adapt-indentation~ is ~nil~. And this >> error is not raised every time. Just some org buffer and sometimes. Have not >&g

[QUESTION] How to specific image size attributes under headline scope?

2021-11-21 Thread Christopher M. Miles
There is attributes setting above image link to specify image inline preview size. Like this: #+begin_src org ,#+ATTR_ORG: :width 500 ,#+ATTR_LATEX: :width 5.0in ,#+ATTR_HTML: :width 500px [[file:kk/88320740_p0.jpg]] #+end_src When I put it on beginning of org document, then preview inline imag

Re: [BUG] ob-python :results value pp does not working

2021-12-28 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > The bellowing python source block ~:results value pp~ does not print pprint > formated result as > expected. I tested with =$ emacs -q= confirmed this problem. > > #+begin_src python :results va

[BUG] ob-python :results value pp does not working

2021-12-28 Thread Christopher M. Miles
The bellowing python source block ~:results value pp~ does not print pprint formated result as expected. I tested with =$ emacs -q= confirmed this problem. #+begin_src python :results value pp dic = {'key1': 1, 'b': 2} dic #+end_src #+RESULTS[(2021-12-29 10:51:14) b1011bfee8a1636204

Re: [BUG] ob-python :results value pp does not working

2021-12-30 Thread Christopher M. Miles
Thanks Jack. Confirmed works. This might need to mentioned in Org manual and in ob-python.el source code with comment. WDYT? Jack Kamm writes: > For non-session Python blocks, you need to use "return" on the value, as > if you are in a function. > > The following works for me: > > #+begin_src

[SOLVED] Re: [BUG] ob-python :results value pp does not working

2022-01-01 Thread Christopher M. Miles
Jack Kamm writes: > Hi Christopher, > >> This might need to mentioned in Org manual and in ob-python.el source >> code with comment. WDYT? > > The main documentation for this is in the Worg page for ob-python, in > particular see the section "Return values": > > https://orgmode.org/worg/org-cont

[BUG] org-persist.el: The commits after "410afd6f374e9" caused org-agenda buffer does not display scheduled and deadline tasks

2022-01-08 Thread Christopher M. Miles
I git bisected org-mode source code, and found the commits after "410afd6f374e9" caused org-agenda does not display scheduled and deadline tasks. Also affects org-contacts completion get contacts email property. I'm using the latest commit "dc4b2772e". I use bug-hunter extension to test my Ema

Re: [BUG] org-persist.el: The commits after "410afd6f374e9" caused org-agenda buffer does not display scheduled and deadline tasks

2022-01-08 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I git bisected org-mode source code, and found the commits after >> "410afd6f374e9" caused org-agenda >> does not display scheduled and deadline tasks. Also affects org-contacts

Re: [BUG] org-persist.el: The commits after "410afd6f374e9" caused org-agenda buffer does not display scheduled and deadline tasks

2022-01-09 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Here is my reproduce environment: >> >> Reproduce test with =emacs -Q= >> >> #+begin_src shell :eval no >> emacs -Q -l ~/.config/emacs/minimal-org-init.el ~/org-persist-test.o

Re: [PATCH] lisp/org-agenda.el: Add header to agenda clock report table

2022-01-10 Thread Christopher M. Miles
Good idea to add header for clock report table. Samim Pezeshki writes: > Hi, > > This patch adds a header to the clock report table in the agenda, if > org-agenda-clock-report-header is set. > > Thanks, > Samim > > [4. text/x-patch; > 0001-lisp-org-agenda.el-Add-header-to-agenda-clock-report.

[SOLVED] Re: [BUG] org-persist.el: The commits after "410afd6f374e9" caused org-agenda buffer does not display scheduled and deadline tasks

2022-01-11 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> we are entering the territory of Emacs >>> build-dependent bugs... >> >>> My best suggestion then is going to >>> org-element.el and changing "(version< emacs-ver

Re: [BUG] Prefer lowercase #+results [9.5.2 (release_9.5.2-3-geb9f34 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-01-12 Thread Christopher M. Miles
I suggest to keep current defaults. Because I have lot of Org files, if changed, I have to do lot of work to adopt files and might get wrong. It's very important. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github

Re: [BUG] Prefer lowercase #+results [9.5.2 (release_9.5.2-3-geb9f34 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-01-12 Thread Christopher M. Miles
Timothy writes: > Hi Christopher, > >> I suggest to keep current defaults. Because I have lot of Org files, if >> changed, I have to do lot of >> work to adopt files and might get wrong. It’s very important. > > Hmm. Upon inspection I see that some uses of `org-babel-results-keyword' are > inde

Re: [BUG] Prefer lowercase #+results [9.5.2 (release_9.5.2-3-geb9f34 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-01-12 Thread Christopher M. Miles
Timothy writes: > Hi Christopher, > >>> Is there a good reason for this? >>> >>> At a glance, I’d personally be tempted to make the use case insensitive, and >>> only use `org-babel-results-keyword’ when inserting, or remove it all >>> together. >> >> Me too, I hope it can be case-insensitive,

Re: [BUG] Prefer lowercase #+results [9.5.2 (release_9.5.2-3-geb9f34 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-01-13 Thread Christopher M. Miles
Ihor Radchenko writes: >> I suggest to keep current defaults. Because I have lot of Org files, if >> changed, I have to do lot of >> work to adopt files and might get wrong. It's very important. > > Org mode does not distinguish the _meaning_ of all keywords regardless > of their case. Includin

[ISSUE] Re: [PATCH] lisp/org-agenda.el: Add header to agenda clock report table

2022-01-28 Thread Christopher M. Miles
I tested this commit, it should auto append a newline character after ~org-agenda-clock-report-header~. Otherwise the header line will in same line with table first line. Samim Pezeshki writes: > Thanks Nicolas for reviewing the changes! > > I applied the changes. > Attached is the updated pat

[CLOSED] TEC fixed this problem.

2022-02-03 Thread Christopher M. Miles
Today, I found the Org Agenda sorting strategy problem is fixed by commit "1b675f0ca84d637a3780cf3590308116e232fcfd". Thanks, TEC Bastien writes: > Hi, > > stardiviner writes: > >> org-agenda-sorting-strategy bug? Cannot list deadline items before scheduled >> items. >> >> With the followin

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Christopher M. Miles
Tim Cross writes: > Is the transient.el included in Emacs 28 the same as the one on GNU > ELPA? I'm assuming it is, but I have to admit I'm still not 100% clear > on how Emacs handles the situation where you use a library that is both > built-in and available in ELPA. Does Emacs use the latest v

Re: org-modern

2022-03-03 Thread Christopher M. Miles
Tim Cross writes: > William Denton writes: > >> I noticed org-modern in the list of new packages available: >> >> https://github.com/minad/org-modern >> >> Worth a look by any Org users, just for the screenshots comparing Org >> buffers normally and with >> org-modern. Fine work from Daniel M

Re: org-contacts.el use lexical-let not defined in cl-lib

2022-03-21 Thread Christopher M. Miles
Michael Eliachevitch writes: > [[PGP Signed Part:Undecided]] > Dear all, > > I'm not sure if this is the correct mailinglist for org-contrib bugs. I found > that org-contacts.el uses `lexical-let*` which is defined in `cl`, but it > only requires `cl-lib` where it is not defined. > > I found t

[org-contrib] Take over maintaining of org-contacts.el

2022-03-21 Thread Christopher M. Miles
Hi Danjou, Since the package org-contacts.el is not maintained for a long time. I would like to take over maintaining of org-contacts.el. What do you think? I used to send you an email with asking. But got no response. Hi Bastien, If org-contacts.el author is not response for a long time, can y

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

2022-04-09 Thread Christopher M. Miles
I bellowing example: #+begin_src org ,#+NAME: ob-clojure-table-test | a | b | c | |---+---+---| | 1 | 2 | 3 | ,#+NAME: ob-clojure-table-test-2 | a | b | c | |---+---+---| | 1 | 2 | 3 | ,#+begin_src clojure :var kk=ob-clojure-table-test :var kk2=ob-clojure-table-test-2 :results output (println

[PATCH] Updated patch, fixed data structure for table

2022-04-09 Thread Christopher M. Miles
From 87c17465241b44030945391c6d036b44799a7694 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sat, 9 Apr 2022 21:14:22 +0800 Subject: [PATCH] ob-clojure.el: Fix header argument :var binding passed table or list data * lisp/ob-clojure.el (org-babel-expand-body:clojure): Add if condition to handl

[DONE] Re: [BUG] The latest org-fold feature breaks link :activate-func property

2022-04-28 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I use extension >> [[https://repo.or.cz/org-link-beautify.git][org-link-beautify]] to display >> text-property beautify content on link. With >> latest org-mode source code on co

Re: [PATCH] Add make target to ease creating reproducers and testing them

2022-05-01 Thread Christopher M. Miles
I agree this idea, this could unify the reproduce steps and help some user save time and help org-mode maintainer get information they want. Ihor Radchenko writes: > Hi, > > In the Feedback section of the manual, we provide instructions on how to > create reproducers: https://orgmode.org/manua

[ISSUE] org-fold does not support auto-reveal for some external package commands

2022-05-02 Thread Christopher M. Miles
I'm using package "consult" which has command "consult-org-heading" to search org headlines. It will auto jump to the selected headline and expand the jumped headline. After using org-fold, it does not auto jump to the headline now. The previous discussion here as reference https://github.com/

[DONE] Re: [ISSUE] org-fold does not support auto-reveal for some external package commands

2022-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I'm using package "consult" which has command "consult-org-heading" to >> search org headlines. It will >> auto jump to the selected headline and expand the jumped headline

Re: [org-contrib] Take over maintaining of org-contacts.el

2022-05-04 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Hi Danjou, Since the package org-contacts.el is not maintained for a long >> time. I would like to take >> over maintaining of org-contacts.el. What do you think? I used to send you >> an e

Re: [BUG] Setting compile command causes fontification error [9.5 (release_9.5-661-g5e0afb @ /home/quintus/.emacs.d/org-mode/lisp/)]

2022-05-27 Thread Christopher M. Miles
From the backtrace, seems (buffer-file-name) returned nil, I guess you first created a new buffer and have not saved it to file. That caused it return nil. Not Org Mode problem. Not saving file is a common problem in young programmer as I experienced. No offence. Marvin Gülker writes: > Remembe

Re: [BUG] Setting compile command causes fontification error [9.5 (release_9.5-661-g5e0afb @ /home/quintus/.emacs.d/org-mode/lisp/)]

2022-05-29 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> From the backtrace, seems (buffer-file-name) returned nil, I guess you >> first created a new buffer and have not saved it to file. That caused it >> return nil. Not Org Mode problem. Not saving fi

Re: Missing stardiviner repos [org-contrib]

2022-06-05 Thread Christopher M. Miles
Bastien Guerry writes: > Hi Kaushal, > >> I read about the release of Org Contrib: https://git.sr.ht/~bzg/ >> org-contrib/commit/c6aef31ccfc7c4418c3b51e98f7c3bd8e255f5e6 .. >> >> The release notes mention that few of the org-contrib packages have >> moved to your repos on GitHub. But none of tho

Re: Missing stardiviner repos [org-contrib]

2022-06-05 Thread Christopher M. Miles
Kaushal Modi writes: > On Sun, Jun 5, 2022, 9:40 AM Kaushal Modi wrote: > > Have you moved those repos elsewhere? > > I kept on looking at the release 0.4 commit message on the org-contrib and > didn't realize that the "release notes" > referred in that Mastodon thread are at the different p

[BUG] inline src_lang code is not fontified on headline

2022-07-03 Thread Christopher M. Miles
The src_lang code fontification is normal in content, but not correctly fontified on headline. There is a screenshot in attachment. I'm using latest HEAD commit (0ed0dea229a3) of Org Mode source code. -- [ stardiviner ] I try to make every word tell the meaning that I want to express.

[SOMEDAY] Re: [BUG] inline src_lang code is not fontified on headline

2022-07-05 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> The src_lang code fontification is normal in content, but not correctly >> fontified on headline. >> >> There is a screenshot in attachment. > > Thanks for reporting! > Note that a

[BUG] right shift list checkbox with [Alt-Right] caused error by option org-list-demote-modify-bullet

2022-07-10 Thread Christopher M. Miles
When setting this option: #+begin_src emacs-lisp (setq org-list-demote-modify-bullet '(("+" . "-") ("-" . "+") ("*" . "+"))) #+end_src I right shift list checkbox with [Alt-Right] caused error: #+begin_src org ,* test - [ ] list item 1 - [ ] list item 2 Become: - [ ] list item 1 [ ] ] list

Re: Alternatives or org-capture?

2022-07-11 Thread Christopher M. Miles
I'm currently maintaining org-contacts (well, inactively) Here is my own org-contacts' org-capture template, maybe you want to check out as reference: #+begin_src emacs-lisp (add-to-list 'org-capture-templates `("C" ,(format "%s\tContacts" (all-the-i

Re: Alternatives or org-capture?

2022-07-13 Thread Christopher M. Miles
ypuntot writes: > Thanks for your template! > Maybe it would be nice to have it on the MELPA documentation? > I couldn't find other documentation. > org-capture template is just a personal usage scene, people will want to define their own org-capture template. So no need to add this to docum

Re: Odd characters in the fast tags selection interface

2022-08-07 Thread Christopher M. Miles
Ihor Radchenko writes: > Hanno writes: > - after "a..z" runs out, '{', '|' and '}' are being used which seems reasonable -- but after that, I get '\200' and similar before reaching '©'... >>> >>>This is indeed true, but what can we do? There are only that many >>>characters i

[PERFORMANCE] Why some org code is so deep invoked?

2022-08-11 Thread Christopher M. Miles
When I profiling Org Agenda generation, I found that org code is deeply invoked in Emacs profiler report. My Question: - What reason caused this situation? - Can Org Mode optimize those deeply invoked code? I have option ~org-agenda-start-with-clockreport-mode~ enabled. And have lot files in

Re: [PERFORMANCE] Why some org code is so deep invoked?

2022-08-12 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> When I profiling Org Agenda generation, I found that org code is deeply >> invoked in Emacs profiler report. >> >> My Question: >> >> - What reason caused this situation?

Re: [PERFORMANCE] Why some org code is so deep invoked?

2022-08-12 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> I do not see much issue with deep nesting of the code. >> >> Is this deep nested code normal in Emacs Lisp? >> >> Usually (based on my less than 20 times profiling experience), Emacs

Re: [PERFORMANCE] Why some org code is so deep invoked?

2022-08-12 Thread Christopher M. Miles
Bill Burdick writes: > You'll have this with recursive code and recursion is fairly normal in Lisp > programs. > > -- Bill I think this profiler report invocation stack is not recursive code. WDYT? > > On Fri, Aug 12, 2022 at 8:22 AM Christopher M. Miles >

[DONE] Re: [SOMEDAY] Re: [BUG] inline src_lang code is not fontified on headline

2022-08-13 Thread Christopher M. Miles
Confirmed problem fixed. "Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > Ihor Radchenko writes: > >> "Christopher M. Miles" writes: >> >>> The src_lang code fontification is normal in content, but not correctly >&g

Re: [PERFORMANCE] Why some org code is so deep invoked?

2022-08-13 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> After applying this patch, seems deep level has improved. > > Thanks for testing! > Applied onto main via 6ad65f333. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6ad65f3332937dee

[BUG] Latest org-fold-core API (overlays compatible code) caused error in package "consult-org-heading"

2022-08-13 Thread Christopher M. Miles
I have this option settings: #+begin_src emacs-lisp (setq org-element-use-cache nil) (setq org-fold-core-style 'overlays) (setq org-fold-catch-invisible-edits nil) (use-package consult :ensure t :bind (([remap org-goto] . consult-org-heading)) ; [C-c C-j] :config (require 'consult-org)) #+

Re: [BUG] Latest org-fold-core API (overlays compatible code) caused error in package "consult-org-heading"

2022-08-13 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > I have this option settings: > > #+begin_src emacs-lisp > (setq org-element-use-cache nil) > (setq org-fold-core-style 'overlays) > (setq org-fold-catch-invisible-edits nil) > >

[DONE] Re: [BUG] Latest org-fold-core API (overlays compatible code) caused error in package "consult-org-heading"

2022-08-13 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Here I attached the backtrace after I toggle-debug-on-error: >> >> Debugger entered--Lisp error: (wrong-type-argument listp #> to 77 in org-fold-core-test.org>) >> car(#) >>

Re: :session for Julia in org babel?

2022-08-16 Thread Christopher M. Miles
"Fraga, Eric" writes: > On Tuesday, 16 Aug 2022 at 21:21, Ihor Radchenko wrote: >> Can you also update [Worg] > > I will do so, maybe tomorrow. I assume that's okay as it's a separate > repository? and as I do not have submit access, I'll post a patch here, > if that's okay? > >> This will set

[BUG] {C-c C-c} updating on a sub-headline checkbox statistics caused upper headline checkbox statistics reset to zero

2022-08-16 Thread Christopher M. Miles
Here is a test org content: #+begin_src org ,* 1 headline [0/2] ,** TODO kk [0/0] :LOGBOOK: - State "TODO" from [2022-08-17 Wed 06:02] :END: ,** first-level headline [0/0] ,*** TODO second-level headline [2/2] - [X] item 1 - [X] item 2 #+end_src When I press keybinding {C

Re: Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?)

2022-08-17 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> What about write a elisp function to automatic the installation of those >> required two Julia packages? If not, at least raise a warning for user >> to install those two packages after detection no

Re: [QUESTION] How to specific image size attributes under headline scope?

2022-08-18 Thread Christopher M. Miles
Timothy writes: > Hi Christopher, > >> I want to specify image size under headline properties. Is it possible to do >> this? > > As I understand org.el, this is solely governed by > `org-display-inline-image--width', which only looks at `#+attr_*' keywords > when > setting an image width. > > A

Re: Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?)

2022-08-19 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I found ~org-load-modules-maybe~ load modules from ~org-modules~, it's a >> list of ob-* or ol-* elisp modules. Not Julia modules. I searched >> ~org-load-modules-maybe~ function invocation co

Re: [QUESTION] How to specific image size attributes under headline scope?

2022-08-22 Thread Christopher M. Miles
Timothy writes: > Hi Christopher, > I want to specify image size under headline properties. Is it possible to do this? >>> >>> As I understand org.el, this is solely governed by >>> `org-display-inline-image–width’, which only looks at `#+attr_*’ keywords >>> when >>> setting an

[SOLVED] Re: [QUESTION] How to specific image size attributes under headline scope?

2022-09-10 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > There is attributes setting above image link to specify image inline preview > size. Like this: > > #+begin_src org > ,#+ATTR_ORG: :width 500 > ,#+ATTR_LATEX: :width 5.0in > ,#+ATTR_HTML: :width

[SOLVED] Re: [QUESTION] How to specific image size attributes under headline scope?

2022-09-10 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > There is attributes setting above image link to specify image inline preview > size. Like this: > > #+begin_src org > ,#+ATTR_ORG: :width 500 > ,#+ATTR_LATEX: :width 5.0in > ,#+ATTR_HTML: :width

[PATCH] Re: [SOLVED] Re: [QUESTION] How to specific image size attributes under headline scope?

2022-09-11 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> When I put it on beginning of org document, then preview inline images, but >>> those global attributes >>> not affected. The inline images still display in actual image size. I want &

[PATCH] New: auto display inline images under subtree when `org-cycle'.

2022-09-11 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> When I put it on beginning of org document, then preview inline images, but >>> those global attributes >>> not affected. The inline images still display in actual image size. I want &

[PATCH 2] New: auto display inline images under subtree when `org-cycle'.

2022-09-12 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ihor Radchenko writes: >> >>> "Christopher M. Miles" writes: >>> >>>>> When I put it on beginning of org document, then preview inline images, >>>&g

[ISSUE] Re: [PATCH] New: auto display inline images under subtree when `org-cycle'.

2022-09-12 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > Ihor Radchenko writes: > >> "Christopher M. Miles" writes: >> >>>> When I put it on beginning of org document, then preview inline images, >>>> but those glo

[PATCH 3] New: auto display inline images under subtree when `org-cycle'.

2022-09-12 Thread Christopher M. Miles
"Christopher M. Miles" writes: Ihor, My new patch still have some issue in the 'fold state which I added "FIXME" marker. Hope can get some solution from you. From 4a56ec6b09e09d92a81e3aa72f4197d716d0ca87 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Mon, 12 Sep 20

[PATCH 4] New: auto display inline images under subtree when `org-cycle'.

2022-09-14 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ihor, My new patch still have some issue in the 'fold state which I >> added "FIXME" marker. Hope can get some solution from you. > > I will comment only on the first patch

[PATCH 5] New: auto display inline images under subtree when `org-cycle'.

2022-09-15 Thread Christopher M. Miles
Sorry for this hard work on this patch. And thanks for your carefully code reviewing. I have not contribute to org-mode for a long time, already forgot most guidelines. Regards Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> Also, this change should be d

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

2022-09-18 Thread Christopher M. Miles
Ping Bastien Guerry. "Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > I bellowing example: > > #+begin_src org > ,#+NAME: ob-clojure-table-test > | a | b | c | > |---+---+---| > | 1 | 2 | 3 | > > ,#+NAME: ob-clojure-table-test-2 &g

Re: [PATCH v6] New: auto display inline images under subtree when `org-cycle'.

2022-09-20 Thread Christopher M. Miles
I checked out your patch, it's fine to me. Should be fine to apply. Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ok, I will submit the first patch of new property at first. If you're >> going to implement this cycling inline image dis

Re: [PATCH] Add .org suffixes to CONTRIBUTE and README

2022-09-25 Thread Christopher M. Miles
Bastien writes: > I'm considering apply the patch below, renaming CONTRIBUTE to > CONTRIBUTE.org and README to README.org. > > The main benefit is to enhance the rendering of the README on > GNU ELPA. > > I also do some minor reformatting and remove the warning about > org-contrib. > > Any obje

Re: [PATCH] ob-clojure.el: Add support for babashka and nbb backend

2022-09-25 Thread Christopher M. Miles
Bastien writes: > Hi Daniel, > > Daniel Kraus writes: > >> Attached is the patch changed the logic to use a temp file with >> org-babel-eval. > > Applied in main as 764642f5, thanks a lot and sorry for the delay. > > I also added you to https://orgmode.org/worg/contributors.html. > Thanks, Bas

Re: [PATCH] ob-clojure.el: Add support for babashka and nbb backend

2022-09-25 Thread Christopher M. Miles
Bastien writes: > Hi Daniel, > > Daniel Kraus writes: > >> Attached is the patch changed the logic to use a temp file with >> org-babel-eval. > > Applied in main as 764642f5, thanks a lot and sorry for the delay. > > I also added you to https://orgmode.org/worg/contributors.html. > > Would you

[PATCH 2-v1] New: auto display inline images under subtree when `org-cycle'.

2022-09-28 Thread Christopher M. Miles
)) +(mapc #'delete-overlay overlays) +;; FIXME: `org-cycle-display-inline-images' can't fold because `delete-overlay' will unfold subtree. +(when (eq org-fold-core-style 'overlays) + ;; FIXME: don't know how to get the correct `spec'. + (let

Re: [PATCH 2-v1] New: auto display inline images under subtree when `org-cycle'.

2022-09-28 Thread Christopher M. Miles
u have any clue? > "Christopher M. Miles" writes: > >> Ok, I created the patch for subtree cycling display inline images. >> Tested by edebug when org cycling, it should works fine. I don't know >> how to write test for this. > > Thanks for the update! > >

Re: [PATCH 2-v1 (test v1)] New: auto display inline images under subtree when `org-cycle'.

2022-09-29 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ok, I created the patch for subtree cycling display inline images. >> Tested by edebug when org cycling, it should works fine. I don't know >> how to write test for this. > > Thanks fo

  1   2   3   >