Re: literate programming, development log -- ideas?

2021-06-07 Thread Samuel Banya
Neat stuff, will bookmark this, thanks Greg! On Tue, Jun 8, 2021, at 3:23 AM, Greg Minshall wrote: > Samuel, > > > Can anyone post any video links to this kind of style of programming > > being used directly in Emacs? > > there was an effort recently, that i'm tardy on reporting on here, to do

Re: literate programming, development log -- ideas?

2021-06-07 Thread Greg Minshall
Samuel, > Can anyone post any video links to this kind of style of programming > being used directly in Emacs? there was an effort recently, that i'm tardy on reporting on here, to do an introduction to "emacs for R programmers". https://ess-intro.github.io/ as part of that, i did a

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Matt Price
Ni Nicolas and Bruce, I'm having trouble keeping up with these emails, let alone testing all these new features! But this most recent response of yours, Nicolas, makes me wonder if it's worth raising a concern. On Mon, Jun 7, 2021 at 5:15 PM Nicolas Goaziou wrote: > Hello, > > "Bruce D'Arcus"

Re: literate programming, development log -- ideas?

2021-06-07 Thread Samuel Banya
I did a ton of notes in Org Mode with src blocks all of the time in my previous support job, and planning to do the same in my new one. Can anyone post any video links to this kind of style of programming being used directly in Emacs? I know there's the awesome one on YouTube by Harry

[PATCH] org.el: prevent partial fontification when a link is full displayed (was org-link-set-parameters: when :display full, etc.)

2021-06-07 Thread Juan Manuel Macías
As I commented in a previous post of this thread, to reproduce the bug, just run `org-toggle-link-display'. As a possible solution I'm attaching this patch (little tested). Best regards, Juan Manuel >From caf32a7e1fb1b4bddfa011520f5403d5b6b19ddd Mon Sep 17 00:00:00 2001 From: Juan Manuel

Re: literate programming, development log -- ideas?

2021-06-07 Thread Dr. Arne Babenhauserheide
briangpowell writes: > * Donald Knuth created much for us, including TeX and a Literate > Programming system called CWeb which helped to make C code documented in > what he envisioned for Literate Programming > > ** A more generalized system that is based on CWeb is NoWeb--useful not > just for

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Bruce D'Arcus
On Mon, Jun 7, 2021 at 5:27 PM Bruce D'Arcus wrote: > So would it be so simple as doing something like this, to use the > bibtex-completion-open function instead? > > (org-cite-register-processor 'basic > :follow #'bibtex-completion-open) > > As in, that just tells what function to use for

Re: Hiding results using :post

2021-06-07 Thread George Mauer
Cool, thanks! On Mon, Jun 7, 2021 at 4:31 PM John Kitchin wrote: > it is the name of blocks that use emacs-jupyter ( > https://github.com/nnicandro/emacs-jupyter) (instead of ob-ipython). > Basically it is a connection between org-src blocks and a jupyter kernel > (it does not have to be

Re: Hiding results using :post

2021-06-07 Thread John Kitchin
it is the name of blocks that use emacs-jupyter ( https://github.com/nnicandro/emacs-jupyter) (instead of ob-ipython). Basically it is a connection between org-src blocks and a jupyter kernel (it does not have to be python, it can be julia, R, etc.) I am trying it out this summer. I think that

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Bruce D'Arcus
On Mon, Jun 7, 2021 at 5:14 PM Nicolas Goaziou wrote: > ... would be great do something > > like: > > > > (setq org-cite-basic-open bibtex-completion-open-pdf) > > If you want to use a different "follow" capability, you need to provide > a different processor instead of configuring this one.

Re: Hiding results using :post

2021-06-07 Thread George Mauer
Woah woah. What is the jupyter-python language, John? On Mon, Jun 7, 2021, 15:44 John Kitchin wrote: > This is doable with a hook and advice I think. The hook will hide the > results if you use :results hide in the header. > > I had to use the advice to remove the results before hand, so that

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > Similar to my idea to have a configurable capf, could that function be > configurable? > > A couple of people noted, for example, that the preferred choice would > be that the actual document be opened. I actually got a PR for exactly > this default behavior

Re: Hiding results using :post

2021-06-07 Thread John Kitchin
This is doable with a hook and advice I think. The hook will hide the results if you use :results hide in the header. I had to use the advice to remove the results before hand, so that you toggle the visibility off. This is pretty lightly tested. you could eliminate (defun hide-results ( args)

Re: Cannot schedule something for 2039?

2021-06-07 Thread Samuel Wales
fwiw i ran this once: ;;(/ (org-time-string-to-seconds "--01-01 00:00") 60.0) 4222846500.0 ;;(/ (org-time-string-to-seconds "-0001-12-31 00:00") 60.0) -1035068671.7 ;; oops ;;(/ (org-time-string-to-seconds "-12-31 00:00") 60.0) -1035594271.7 ;;(/ (org-time-string-to-seconds

Re: literate programming, development log -- ideas?

2021-06-07 Thread Jack Kamm
Hi Greg, Greg Minshall writes: > but i also feel a need for something that might be called a lab > notebook, a development log, of ideas, including dead ends, i pursue > during the development process, with links, etc.. but, i'm not really > sure how to structure this bit, how to integrate it

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Bruce D'Arcus
On Mon, Jun 7, 2021 at 12:53 PM Bruce D'Arcus wrote: > ... would be great do something > like: > > (setq org-cite-basic-open bibtex-completion-open-pdf) I guess that raises a question for me about what code goes where. Maybe instead have it set in oc.el? (setq org-cite-open

Re: literate programming, development log -- ideas?

2021-06-07 Thread briangpowell
* Donald Knuth created much for us, including TeX and a Literate Programming system called CWeb which helped to make C code documented in what he envisioned for Literate Programming ** A more generalized system that is based on CWeb is NoWeb--useful not just for C/C++ code but for every language:

[org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Bruce D'Arcus
I'm kind of losing track of details, but two things: First, the current oc-basic has a "follow" function that if point is over a citation-reference (key), and one does "M-x org-open-at-point", the bibtex entry is opened. Very cool! Similar to my idea to have a configurable capf, could that

[native mac python3 does not work] (was: MacOS 10.15 cannot use the python-matlab engine.)

2021-06-07 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: > Hi > Could use perfectly well the python-matlab engine from within emacs org > mode in Ubuntu 16.04, python 3.5 and matlab 2019b. > Now I am using > 1. Macos 10.15 (catalina), > 2. Matlab2019b. (That only support python 2.7, 3.6, 3.7 but not 3.8, >

Re: Bug: Reclocking errors out if org-log-note-clock-out is t [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-06-07 Thread Jorge P . de Morais Neto
Em [2021-05-31 seg 21:43:23+0800], Ihor Radchenko escreveu: > Confirmed > > The fix is attached. I have applied (by copying the Guix package recipe and then modifying it) Ihor's patch and customized `org-log-note-clock-out' back to t. Since then I have been using the patched Org it and I can

Re: Hiding results using :post

2021-06-07 Thread Nick Savage
My initial thoughts are that this is very possible. This might be an area where we could add a new defcustom on always hiding the results to allow the user to choose it. Without looking at the code, I think it would be pretty straight forward to make an excursion to the results line, toggle

Re: literate programming, development log -- ideas?

2021-06-07 Thread Dr. Arne Babenhauserheide
Greg Minshall writes: > but i also feel a need for something that might be called a lab > notebook, a development log, of ideas, including dead ends, i pursue > during the development process, with links, etc.. but, i'm not really > sure how to structure this bit, how to integrate it in the

org-critical-edition (a package for philologists and classicists)

2021-06-07 Thread Juan Manuel Macías
Hi all, I have uploaded the (very) initial version of my package org-critical-edition: https://gitlab.com/maciaschain/org-critical-edition This package lets you prepare a philological critical edition in Org Mode. The natural output is LaTeX with the reledmac package

Hiding results using :post

2021-06-07 Thread Roger Mason
Hello, I'd like to be able to hide results, for example when I expect the them to span many lines. I know I can hit =tab= on the #+RESULTS: line, but I'd like to be able to set this automatically. My most recent effort: #+name: hideresults #+begin_src emacs-lisp :results none :exports none

Re: Could a citation act as a link, or a link to be exported as a citation?

2021-06-07 Thread Bruce D'Arcus
On Mon, Jun 7, 2021 at 3:02 AM Ypo wrote: > > I've been reading you about cites. Conversation is above my head, but just in > case it could be helpful, I would like to address a frequent problem in the > workflow of taking notes, that advanced users suffer too. > > When taking notes, it's usual

Re: literate programming, development log -- ideas?

2021-06-07 Thread Eric S Fraga
On Monday, 7 Jun 2021 at 14:43, Greg Minshall wrote: > i write most of my code in a (per-project) .org file, which is typically > tangled into source or script files. I do the same. > i'm wondering if people do this, especially the development log, and if > there are any hints or practices

Re: An org-latex face

2021-06-07 Thread Léo Ackermann
Hi both! Thanks a lot for your answers, it looks pretty now :) Best, Leo Le mar. 1 juin 2021 à 10:43, Timothy a écrit : > Hi Léo, > > For what it’s worth, I currently make do with: > > (setq org-highlight-latex-and-related '(native script entities))(add-to-list > 'org-src-block-faces

Re: literate programming, development log -- ideas?

2021-06-07 Thread Juan Manuel Macías
Hi Greg, Greg Minshall writes: > but i also feel a need for something that might be called a lab > notebook, a development log, of ideas, including dead ends, i pursue > during the development process, with links, etc.. but, i'm not really > sure how to structure this bit, how to integrate it

literate programming, development log -- ideas?

2021-06-07 Thread Greg Minshall
hi, all. i write most of my code in a (per-project) .org file, which is typically tangled into source or script files. i have a question about how people structure their .org files for this sort of use. some of the non-source bits surrounding my source blocks are for "classical" literate

Re: Could a citation act as a link, or a link to be exported as a citation?

2021-06-07 Thread Ypo
Thanks, Jonathan I don't know much about Hyperbole, but it looked kind of aside from orgmode. Not sure if I want to add that possible difficulty to orgmode parsers. BTW, in the William's example I added before, it could work org-ref, because there are not subtrees, just by citing to the

Re: Cannot schedule something for 2039?

2021-06-07 Thread Alan Schmitt
Hello Richard, On 2021-06-07 11:17, Richard Lawrence writes: > whoa, that's a weird behavior, but it seems not to be a bug. I learned > something today! > > It looks like some Emacs implementations don't support dates after > 2038-1-1, so Org doesn't let you specify them by default. See the >

Re: Cannot schedule something for 2039?

2021-06-07 Thread Samuel Loury
alan.schm...@polytechnique.org writes: [...] > I need to schedule something for 2039, but when I do it the date is set > for 2037. I tried with a plain emacs config and I see the same issue. Is > this a bug? Sounds like the bug of 2038¹. I assume that 32 bit integers are used somewhere to

Re: Cannot schedule something for 2039?

2021-06-07 Thread Richard Lawrence
Hi Alan, alan.schm...@polytechnique.org writes: > I need to schedule something for 2039, but when I do it the date is set > for 2037. I tried with a plain emacs config and I see the same issue. Is > this a bug? whoa, that's a weird behavior, but it seems not to be a bug. I learned something

Cannot schedule something for 2039?

2021-06-07 Thread alan . schmitt
Hello, I need to schedule something for 2039, but when I do it the date is set for 2037. I tried with a plain emacs config and I see the same issue. Is this a bug? Best, Alan signature.asc Description: PGP signature

Could a citation act as a link, or a link to be exported as a citation?

2021-06-07 Thread Ypo
I've been reading you about cites. Conversation is above my head, but just in case it could be helpful, I would like to address a frequent problem in the workflow of taking notes, that advanced users suffer too. When taking notes, it's usual to make some bibliographical references in one file