Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]

2021-11-01 Thread Ihor Radchenko
Greg Coladonato writes: > Here's the report: > > [profiler-profile "24.3" cpu #s(hash-table size 325 test equal rehash-size > ... The profile shows that bottleneck is undo-fu-session. Even if org-element-cache is the cause, it should be some strange interaction with other external packages.

Re: Introducing Org-transclusion

2021-11-01 Thread Timothy
Hi Noboru, > Org-transclusion is rather simple. It only requires Emacs 27.1 and Org 9.4. It’s worth noting that currently Org’s minimum supported Emacs version is 25. Do you use much from Emacs 26/27? There was mention of compat.el earlier though, and if that goes somewhere this may not be an

Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]

2021-11-01 Thread Greg Coladonato
On Mon, Nov 1, 2021 at 9:03 PM Ihor Radchenko wrote: > Greg Coladonato writes: > > > Applying the patch doesn't seem to have completely fixed the issue. > > Here's an error message I got after re-starting running the patch, below. > > Thanks! Is org-element--cache-self-verify still set to

Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]

2021-11-01 Thread Ihor Radchenko
Greg Coladonato writes: > Applying the patch doesn't seem to have completely fixed the issue. > Here's an error message I got after re-starting running the patch, below. Thanks! Is org-element--cache-self-verify still set to 'backtrace? I am not seeing any extra backtrace in the new warning. >

Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]

2021-11-01 Thread Greg Coladonato
On Mon, Nov 1, 2021 at 5:40 AM Ihor Radchenko wrote: > Thanks for reporting and providing the detailed backtrace! > Backtrace is really strange because cache is clearly updated upon > changing the file, but somehow somewhere a stale element is still > returned. > > Given that you are using

Re: Storing database credentials outside an org file

2021-11-01 Thread Mike Gauland
On 1/11/21 4:33 pm, Tim Cross wrote: Mike Gauland writes: I often use an org file to record database queries, using sql source blocks. I've been putting the database credentials in the file using header-args:sql properties, but I'd prefer to have the credentials saved in a separate file for

Re: Re: Introducing Org-transclusion

2021-11-01 Thread Noboru Ota
"Thomas Paulsen" writes: > Hi, > > it isn't part of gnu emacs currently. Yes, this is correct. Org-transclusion is only available on GitHub at the moment. With the advice from Ihor and others, I am in the process of sending the whole package as a patch to Org.

Re: add automatically a counter to a header/TODO???

2021-11-01 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: > Hi > I am using a poor man's issue system > the org file in question has header of the form. > ** WAIT \eqref{eq:section5-blowup:1} is referred as an item not an equation! >:PROPERTIES: >:ID: Issues >:Date: <2021-11-01 lun> >

Re: Re: Introducing Org-transclusion

2021-11-01 Thread Thomas Paulsen
Hi, it isn't part of gnu emacs currently.

add automatically a counter to a header/TODO???

2021-11-01 Thread Uwe Brauer
Hi I am using a poor man's issue system the org file in question has header of the form. ** WAIT \eqref{eq:section5-blowup:1} is referred as an item not an equation! :PROPERTIES: :ID: Issues :Date: <2021-11-01 lun> :STATUS: [ ] :Is: 11 :END: I was

[BUG] org-cite-insert ignores JSON entries with editors only [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)]

2021-11-01 Thread autofrettage
Hi, I recently used oc-basic and oc-csl but ran into a slight problem when I tried to cite "97 Things Every Programmer Should Know — Collective Wisdom from the Experts", 1st ed.; Henney, K., Ed.; O’Reilly Media, Inc., 2010. ...with the command org-cite-insert. Typing "Henney" produced no

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-01 Thread Ihor Radchenko
> Emacs core rather than fixing this scenario on Emacs side. *Org side

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-01 Thread Ihor Radchenko
Max Nikulin writes: > Ihor, your fix affects linux as well. .cache directory may be missed in > fresh accounts. E.g. I just have created a new test container (my old > one has emacs-25): You are right. Though creating .cache dir is probably a job for xdg.el, not Org. XDG spec prescribes

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist

2021-11-01 Thread Max Nikulin
On 01/11/2021 18:29, Ihor Radchenko wrote: Scott Otterson writes: Apparently, org version 9.5 expects the directory "~/.cache" to exist, and if it doesn't, it terminates with an error. I'd suggest that org mode makes this directory if it needs it. Thanks for reporting! Fixed in 6621ee32e.

Re: send agenda-weekly-view via email html formated

2021-11-01 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> Right, maybe such a function should be included in org? > If there is sufficient interest and someone prepares a patch, why not? I think even I am able to provide a patch > But, no other people are participating in this thread for

Re: Installation on offline machines

2021-11-01 Thread autofrettage
> /.../ the elpa-mirror package helps out for the "niche" of > users who need to deploy the extensions on machines that do > not have access to the internet. I found out about and used elpa-mirror when I worked in Windows Subsystem for Linux (WSL). Its connection with the net was somewhat

Re: Installation on offline machines

2021-11-01 Thread Edmund Christian Herenz
On Sun, Oct 31, 2021 at 07:39:37PM +, autofrettage wrote: > you could try using the Emacs package elpa-mirror. Thanks - this seems exactly what I need - if the idea of distributing emacs extensions as tar files is completely abandoned. I also see reasons why going this route to deploy

Re: Introducing Org-transclusion

2021-11-01 Thread Ihor Radchenko
Noboru Ota writes: >> You have my +100500 to have this package as part of Org :D > > Thank you again :) Is there anything I can/should do to make this > happen? I would be happy to email the whole package as a "patch" for > code review, if this were the way but I feel that might clutter this >

Re: send agenda-weekly-view via email html formated

2021-11-01 Thread Ihor Radchenko
Uwe Brauer writes: > Right, maybe such a function should be included in org? If there is sufficient interest and someone prepares a patch, why not? But, no other people are participating in this thread for now.

Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]

2021-11-01 Thread Ihor Radchenko
Aaron Jensen writes: > On Sat, Oct 30, 2021 at 11:16 PM Aaron Jensen wrote: >> >> Done, I'll report back. > > Another one, no trace: > > Warning (emacs): Emacs reader failed to read data for # config.org>:org-element--cache. The error was: "Invalid read syntax: > \"#\", 1, 4670" Disable showing

Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]

2021-11-01 Thread Ihor Radchenko
Greg Coladonato writes: > I get a similar error to Scott's every time I save an org-mode file. I > turned on backtrace and got this output: Thanks for reporting and providing the detailed backtrace! Backtrace is really strange because cache is clearly updated upon changing the file, but somehow

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]

2021-11-01 Thread Ihor Radchenko
Scott Otterson writes: > Apparently, org version 9.5 expects the directory "~/.cache" to exist, and > if it doesn't, it terminates with an error. I'd suggest that org mode > makes this directory if it needs it. Thanks for reporting! Fixed in 6621ee32e. Best, Ihor

Re: send agenda-weekly-view via email html formated

2021-11-01 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> Thanks, works very nicely, I only will send it inline, because then it is >> nicely displayed in HTML enabled MTA. > ---(mml-attach-file (file-name-concat > (temporary-file-directory)"agenda.html") > +++(mml-attach-file

Re: Introducing Org-transclusion

2021-11-01 Thread Noboru Ota
Juan Manuel Macías writes: > I installed your package a few months ago and I have to say that it > works quite well, although I have not had, at the moment, the > opportunity to make intensive use of it. What I can say is that the > concept seems very interesting to me. Very nice package. Thank

Re: Introducing Org-transclusion

2021-11-01 Thread Noboru Ota
Ihor Radchenko writes: > > Welcome ;) > Thank you. > You have my +100500 to have this package as part of Org :D Thank you again :) Is there anything I can/should do to make this happen? I would be happy to email the whole package as a "patch" for code review, if this were the way but I feel