Re: Efficiently reuse code in org babel with R

2022-07-07 Thread Jeremie Juste
Hello Naresh, Many thanks for sharing. If I'm looking for efficiency, I tend not to use noweb and use an R session instead. One reason is that caching does not work with noweb #+name: test #+begin_src R :cache yes :session *R* Sys.sleep(10) a <- 1 #+end_src

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-07 Thread Ihor Radchenko
"Thomas S. Dye" writes: > Nevertheless, it is good to know that I'm free to give up freedoms > to contribute to Org mode development. @Ihor, will Paypal work > for you? Yep. Currently, Paypal is the only option (apart from direct bank transfers) that works for me. See

Re: [BUG] running org-agenda-todo-yesterday on a habit erroneously sets :LAST_REPEAT: as today, instead of yesterday [9.6 (9.6-??-e9da29b6f @ /home/jon/.emacs.d/.local/straight/build-28.1/org/)]

2022-07-07 Thread Ihor Radchenko
Jonathan Reeve writes: > I will often use org-agenda-todo-yesterday to log habits that I did > yesterday. It works fine for changing the todo state and logging it as > yesterday’s, but the :LAST_REPEAT: property it has, since it’s a habit, is > set to today, rather than yesterday. > > This

Re: Re: [PATCH] ob-latex: Added support for including files with a relative path

2022-07-07 Thread Ihor Radchenko
em...@vergauwen.me writes: > Different export types, or different user included packages, generate > different > metafiles. This makes an automated cleanup process afterwards a bit more > complicated I think, if not impossible.  > > The temporary file makes it hard to add files to the working

Re: [BUG] org-agenda passes current-prefix-arg to commands instead of arg [9.5.3 (9.5.3-g69c588 @ /Users/stas/.emacs.d/straight/build/org/)]

2022-07-07 Thread Ihor Radchenko
stasvla...@disroot.org writes: > `org-agenda' function passes `current-prefix-arg' to its commands (e.g., > `org-agenda-tags') instead of `arg' > > This might create unexpected behaviour if one uses `org-agenda' function > inside another interactive function that accepts on universal prefix.

[BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-07 Thread Al Haji-Ali
I am not sure if this has been reported before, of if the behaviour is intended. But to reproduce this "bug": - Open an org file from the agenda. - Restrict to some headline - Execute the following command: (with-temp-buffer (org-agenda-prepare-buffers (org-agenda-files t))) - The

Re: Efficiently reuse code in org babel with R

2022-07-07 Thread Naresh Gurbuxani
Thanks for providing a detailed solution. I also learned from other responses. Sent from my iPhone > On Jul 7, 2022, at 4:42 AM, Jeremie Juste wrote: > > Hello Naresh, > > Many thanks for sharing. > If I'm looking for efficiency, I tend not to use noweb and use an R > session instead. >

Re: [PATCH] Bugfix to org-babel-remove-temporary-stable-directory

2022-07-07 Thread Ihor Radchenko
Mark Dawson writes: > * ob-core.el (org-babel-remove-temporary-stable-directory): This > function was failing when `org-babel-temporary-stable-directory' was > nil. This variable is nil when initialised. The function > now checks that the variable is non-nil before attempting to call >

Re: wrong type argument with latest org and [not] latest emacs

2022-07-07 Thread Colin Baxter
> Alain Cochard writes: > Colin Baxter writes on Tue 5 Jul 2022 20:24: >> > Colin Baxter writes: >> >> > Ihor Radchenko writes: >> Colin Baxter >> writes: >>> I'm sending this to emacs.orgmode >> and emacs.devel lists. >> >>> >> >>> With the

Re: [BUG] formatting at edges of link

2022-07-07 Thread Ihor Radchenko
Tor Kringeland writes: >> Descriptions will be correctly formatted. >> >> [[https://orgmode.org][/italic/]] should work just fine. > > This does not work for me. "italic" isn't italicized. But for example Hmm. You are right. This problem indeed exists on main. However, it will be fixed after

Re: org-cature-ref

2022-07-07 Thread Ihor Radchenko
Henrik Frisk writes: > Ihor Radchenko recently mentioned org-capture-ref and I decided to try to > use it, but I'm having trouble getting it to work. I have org-protocl > working for me so I'm suspecting that it is the syntax of the bookmarklet > I'm using that is at fault. I merely changed the

Re: wrong type argument with latest org and latest emacs

2022-07-07 Thread Ihor Radchenko
Colin Baxter writes: > Ok, that patch seems to solve the issue. I have applied the patch and I > now get now error message when I close down emacs-29.0.50. Thanks for testing! Fixed on main via e4438fe3c. I applied a different patch that solves the problem properly. I have managed to reproduce

Re: wrong type argument with latest org and [not] latest emacs

2022-07-07 Thread Alain . Cochard
Colin Baxter writes on Tue 5 Jul 2022 20:24: > > Colin Baxter writes: > > > Ihor Radchenko writes: > >> Colin Baxter writes: > >>> I'm sending this to emacs.orgmode and emacs.devel lists. > >>> > >>> With the latest emacs: > >>> > >>> > >>>

Re: [PATCH] oc-csl: Add support for nocite citations

2022-07-07 Thread Ihor Radchenko
"Bruce D'Arcus" writes: > On Mon, Jul 4, 2022 at 7:54 AM Ihor Radchenko wrote: > >> Since the fontification part appears to be unrelated to this particular >> patch, I'd like to ask people who use CSL to test the patch. > > I just tested it, and it works as expected. Thanks! Applied onto main

Re: Org and Hyperbole

2022-07-07 Thread Fraga, Eric
Robert, one immediate issue that has arisen is the binding of C-c C-m (i.e. C-c RET) to hui-select-thing. This clobbers the whole gnus-dired-mode-map in dired mode (for those of us that use gnus...). Just noting this but should probably take this off-list as it has nothing to do with org. --

Re: Org and Hyperbole

2022-07-07 Thread Max Brieiev
Hi Robert, Robert Weiner writes: > Oantolin no doubt can speak to Embark much better but my present > understanding is that it is a toolkit package for generating contextual > popup or completion menus with a few standard context menus included. > > Hyperbole is a much broader personal

Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home/david/.emacs.d/.local/straight/build-27.2/org-mode/)]

2022-07-07 Thread Ihor Radchenko
Sébastien Miquel writes: > Marking this as resolved on updates.orgmode.org, 2nd try. > > |Fixed.| AFAIK, the proper syntax is putting "Fixed" at the beginning of a line somewhere in the email text: Fixed. Note that the instructions in Woof!'s github and sr.ht repos are too new.

Re: [BUG] [PATCH] Ensure org-babel-temporary-stable-directory bound-and-true [9.6 (9.6-g713598 @ /home/n/.emacs.d/elpaca/builds/org/)]

2022-07-07 Thread Ihor Radchenko
No Wayman writes: > Sorry, that symbol should not be quoted in the patch. > Amended attached. I applied a different fix. See https://list.orgmode.org/87let71hy0@yandex.com/T/#t Best, Ihor

Re: [feature] Consistent fixed indentation of headline data

2022-07-07 Thread Ihor Radchenko
Valentin Lab writes: > I'm using org-mode for a long time, and I never understood quite well > how headline data were supposed to be indented, however I was happy with > what emerged to me as the default of 2 spaces (with my emacs and > org-mode version at the time). I recently updated my old

Re: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set

2022-07-07 Thread Ihor Radchenko
Guillaume MULLER writes: > I thought I already reported this bug, but I cannot find it anymore in the > mailing list archives > (https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=org-meta-return=Search%21=emacs-orgmode=20=normal=date%3Alate) > nor in the accepted bugs >

Re: We have asynchronous sessions, why have anything else?

2022-07-07 Thread Ihor Radchenko
Ivar Fredholm writes: > Hi Ihor, I have a prototype of what I mentioned earlier, at least for python. > This supports asynchronous, synchronous, session, and session-less blocks. > It's pretty messy but it helps to illustrate what I had in mind. Let me know > what you think. I am not sure

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-07 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > That’s when banks take up Taler. Before they do, any intermediary can > take

Re: Org mode export accessibility

2022-07-07 Thread T.V Raman
On org side: 1. During authoring, ensure that authors have the ability to label images, drawings and math content. 2. When exporting, make sure that that information gets through to the exported format. 3. For math especially, make sure the TeX/LaTeX is preserved one

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-07 Thread Thomas S. Dye
Ihor Radchenko writes: "Thomas S. Dye" writes: Nevertheless, it is good to know that I'm free to give up freedoms to contribute to Org mode development. @Ihor, will Paypal work for you? Yep. Currently, Paypal is the only option (apart from direct bank transfers) that works for me.

Problem with defining stuck projects

2022-07-07 Thread Bob Heffernan
Dear all, I am having trouble setting org-stuck-projects in a way that works for me. My org-files are organised something like this... * Non-project header - blah, blah ** Foo * TODO Project 1 ** TODO Do this CLOSED: [2022-07-06 Wed 17:10] SCHEDULED: <2022-07-06 Wed> ** TODO Do

Re: Org and Hyperbole

2022-07-07 Thread Ihor Radchenko
Max Brieiev writes: > Embark defines the following targets: file, symbol, URL, s-expression, > defun, etc. It seems it is conceptually the same as implicit buttons in > Hyperbole. Is this correct? AFAIK, the strength of Hyperbole is that you can easily define custom targets. Best, Ihor

Re: wrong type argument with latest org and [not] latest emacs

2022-07-07 Thread Alain . Cochard
Colin Baxter writes on Thu 7 Jul 2022 13:22: > > So it is not the latest emacs > > > GNU Emacs 27.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version > > 3.24.30, cairo version 1.17.4) of 2021-08-07 > > > but it seems related. I have no problem with > > > Org

Re: Org mode export accessibility

2022-07-07 Thread T.V Raman
briangpowell writes: P.S. Please dont quote me out of context. I did not say pdftex and pdflatex were not useful, I still rely on them heavily. > "[I suspect that the exported documents can similarly be improved to > reduce the amount of effort required from visually impaired users to > read >

Re: Proposal: 'executable' org-capture-templates

2022-07-07 Thread Max Nikulin
On 03/07/2022 22:12, Arthur Miller wrote: Max Nikulin writes: My impression is that Emacs process per task scenario is not supported. I am not sure if we think of same thing, but "process per task" means simply how people use Emacs. Some people open each file in a new Emacs process, some

Warning (org-element-cache): org-element--cache: Warning( *helm-org-rifle-fontify*): Unregistered buffer modifications detected. Resetting.

2022-07-07 Thread Gregor Zattler
Dear org-mode developers, Ihor, I got these warnings immediately after I purged ~/.cache/org-persist, started emacs/org-mode and tried to find some node via org-rifle. Actually I did the purge and restart, because I got very similar warnings before. I don't know if this is useful, please tell me

Re: Org mode export accessibility

2022-07-07 Thread briangpowell
"[I suspect that the exported documents can similarly be improved to reduce the amount of effort required from visually impaired users to read such documents. The question is what improvements can be made on Org side.] Best, Ihor" Very glad to hear from TV Raman, the creator of EmacSpeak, I'm

Re: Org mode export accessibility

2022-07-07 Thread T.V Raman
P.S. Emacspeak is not camel-cased -- please say Emacspeak -- and not with the 's' capitalized. -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 瑩 -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 瑩

Re: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set

2022-07-07 Thread Guillaume MULLER
Hi again, Thanks for your answer and sorry for the duplicate. I would be glad to help find if/where is the bug. > Note that '(default . t) is _not_ the correct value. It should be '((default . t)). Just in case. Yes indeed. I had it right in my config. I made the mistake when I copied into

[BUG] bug report [9.6 (9.6-??-e7ea951 @ /Users/anthonyle/.emacs.d/.local/straight/build-28.0.91/org/)]

2022-07-07 Thread legacyle
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [BUG] bug report [9.6 (9.6-??-e7ea951 @ /Users/anthonyle/.emacs.d/.local/straight/build-28.0.91/org/)]

2022-07-07 Thread Ihor Radchenko
legac...@icloud.com writes: > Your bug report will be posted to the Org mailing list. Could you please provide some more details on what happened? > Package: Org mode version 9.6 (9.6-??-e7ea951 @ > /Users/anthonyle/.emacs.d/.local/straight/build-28.0.91/org/) Now, from your Org version, I

[PATCH v4] ol.el: add description format parameter to org-link-parameters

2022-07-07 Thread Hugo Heagren
Since the last version of this patch, I have: - moved the code which sets `type' in `org-insert-link' to a position where it covers more cases - rewritten the macros used in the tests, so that always (and correctly) restore the original state after running, even after errors. Thanks to Max

Re: wrong type argument with latest org and [not] latest emacs

2022-07-07 Thread Colin Baxter
Excellent! Best wishes,

Ignore, skip, omit headline when exporting to LaTeX

2022-07-07 Thread edgar
Firstly, do tell me if I am breaking the nettiquete. I found someone asking online how to ignore a headline when exporting to LaTeX. This e-mail is to avoid creating an account on that forum and to provide a solution. (require 'ox-extra) (defun org-export-ignore-headlines-latex (data

Re: Org mode export accessibility

2022-07-07 Thread Ihor Radchenko
"T.V Raman" writes: > On org side: Thanks for the feedback! > 1. During authoring, ensure that authors have the ability to label >images, drawings and math content. >2. When exporting, make sure that that information gets through to > the exported format. Could you please

Re: Problem with defining stuck projects

2022-07-07 Thread Ihor Radchenko
Bob Heffernan writes: > I want the following: > 1. A project is a level 1 header marked as TODO > 2. A project is not stuck if it has any sub-header that is scheduled but > not closed. > > So, in the example above Project 1 counts as stuck, but Project 2 does not. > > What I've got so far

Re: Org mode export accessibility

2022-07-07 Thread Ihor Radchenko
briangpowell writes: > Suggest OrgMode outputs focus on creating "Lowest Common Denominator" > documents as output: > TeXinfo docs should be used as the LCD doctype--suggest you focus on > creating 1 document in Texinfo that you use to create all other sorts of > documents, when possible: > >

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-07 Thread Tim Cross
Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > "Note: To be PCI compliant, you must load

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-07 Thread tomas
On Thu, Jul 07, 2022 at 11:33:39PM -0400, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > >

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-07 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > "Note: To be PCI compliant, you must load Stripe.js directly from >

Re: Warning (org-element-cache): org-element--cache: Warning( *helm-org-rifle-fontify*): Unregistered buffer modifications detected. Resetting.

2022-07-07 Thread Ihor Radchenko
Gregor Zattler writes: > Dear org-mode developers, Ihor, I got these warnings > immediately after I purged ~/.cache/org-persist, started > emacs/org-mode and tried to find some node via org-rifle. > Backtrace: > org-element-cache diagnostics( *helm-org-rifle-fontify*): nil is about to >

Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-07 Thread Ihor Radchenko
Al Haji-Ali writes: > I am not sure if this has been reported before, of if the behaviour is > intended. But to reproduce this "bug": > - Open an org file from the agenda. > - Restrict to some headline > - Execute the following command: > > (with-temp-buffer > (org-agenda-prepare-buffers

Re: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set

2022-07-07 Thread Ihor Radchenko
Guillaume MULLER writes: >> I tried to set org-M-RET-may-split-line to nil first followed by setting >> it to either t or '((default . t)). For both values, I am seeing >> >> * heading number >> * <>one >> >> which is expected behavior. > > Are you using DoomEmacs or Vanilla Emacs? I am using

Re: Ignore, skip, omit headline when exporting to LaTeX

2022-07-07 Thread Ihor Radchenko
ed...@openmail.cc writes: > Firstly, do tell me if I am breaking the nettiquete. This is on topic and can be useful for others without knowing the context of the mentioned discussion. So, there should be no issue with posting this here, especially if you provide sufficient context. > I found

Re: Efficiently reuse code in org babel with R

2022-07-07 Thread Greg Minshall
Naresh, > I want to source some data from databases, then use this data in > various blocks. I am looking for the most efficient way to achieve > this. In below blocks, is the code in block ``connection'' executed > thrice (economy of code but no saving of time) or is it only executed > once