Re: [wip-cite-new] Merging tomorrow?

2021-07-07 Thread Bruce D'Arcus
On Wed, Jul 7, 2021 at 11:48 PM Timothy wrote: > wip-cite-new deals with citing from bibliographies, but I don't think it > deals with within-document referencing --- should it? It doesn't now. I guess to break down the second question further: 1. Should it? 2. Can it? Could the design be exte

Re: [R example for org-table with ifs]

2021-07-07 Thread Uwe Brauer
>>> "GM" == Greg Minshall writes: Greg > Uwe, > well, *i* no longer remember how to read calc-like expressions. and, > i'm a notoriously poor R coders. assuredly the following is not doing > what you want, but possibly you'll get the idea. (if 102.01 is, indeed, > the correct answer, feel fr

Re: [R example for org-table with ifs] (was: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx))

2021-07-07 Thread Greg Minshall
Uwe, well, *i* no longer remember how to read calc-like expressions. and, i'm a notoriously poor R coders. assuredly the following is not doing what you want, but possibly you'll get the idea. (if 102.01 is, indeed, the correct answer, feel free to buy me a hot fudge sundae some day. :) cheers

Re: Bug: tab key no longer bound to org-cycle in commit 565361eb69 [9.4.6 (9.4.6-10-gee652a-elpaplus @ /Users/bartm002/.emacs.d/elpa/org-plus-contrib-20210705/)]

2021-07-07 Thread Mark Barton
So I put back the mapping in org-key.el to map TAB instead of in my local copy and instead commented out line 185 in outline.el to get TAB to map to org-cycle. ——snippet from outline.el (defvar outline-mode-cycle-map (let ((map (make-sparse-keymap))) (let ((tab-binding `(menu-item

Re: [wip-cite-new] Merging tomorrow?

2021-07-07 Thread Timothy
Nicolas Goaziou writes: > I think the "wip-cite-new" branch is in good shape now. As > a consequence, I'd like to merge it tomorrow. This may be much too late to raise this (sorry), but I've got a query. At the moment org-ref allows for: + citing from a bibliography + referencing elements wit

Re: [wip-cite-new] Merging tomorrow?

2021-07-07 Thread Matt Price
I cannot believe this is finally happening, and I am so stoked and excited about it. I've been using ~wip-cite-new~ in my classes this week, and these new tools are absolutely transformative. Thank you so much for the immense amount of work you put into this. And also to Bruce for championing it,

Re: [wip-cite-new] Merging tomorrow?

2021-07-07 Thread Thomas S. Dye
Aloha Nicolas, Good news! I'm looking forward to using this facility. Thanks to all the contributors. All the best, Tom Nicolas Goaziou writes: Hello, I think the "wip-cite-new" branch is in good shape now. As a consequence, I'd like to merge it tomorrow. It is documented, but the documen

Re: [PATCH] Allow tangling to a list of files

2021-07-07 Thread Tom Gillespie
Reading over this with the new information about the use case, it seems that using noweb to manage the many-to-many nature of a mapping between blocks and files is a much better way to achieve the desired result. In addition it is already supported and does not add more complexity to an already com

Re: [wip-cite-new] Quick note about citation insertion

2021-07-07 Thread Bruce D'Arcus
On Wed, Jul 7, 2021 at 6:59 PM Nicolas Goaziou wrote: > For a developer, there are now two ways to create an insert processor. > > 1. If you are happy with the global behaviour of "basic", but want to >improve completion, I added the `org-cite-make-insert-processor' >tool. Just a little

Re: [WDYT] org-attach-sync better remove an empty attachment directory?

2021-07-07 Thread Tim Cross
Marco Wahl writes: > Hi, > > org-attach-sync can be used to "Synchronize the current outline node > with its attachments." Which is great AFAICT. > > What do you think about letting org-attach-sync remove the attachment > directory if it's empty? > > Rationale: Nobody needs an empty attachment

Re: [wip-cite-new] Merging tomorrow?

2021-07-07 Thread William Denton
On 8 July 2021, Nicolas Goaziou wrote: Please let me know if there are any objections to the merge. I do not object---I am eager to try it! I haven't experimented with the work as it was being done, but I was very impressed with and grateful for all the work that everyone did on this. I'm

[wip-cite-new] Merging tomorrow?

2021-07-07 Thread Nicolas Goaziou
Hello, I think the "wip-cite-new" branch is in good shape now. As a consequence, I'd like to merge it tomorrow. It is documented, but the documentation is scattered across the various "oc" libraries, and some threads in the mailing list. I'll do a summary here, from a user point of view. --8<---

Re: [PATCH] Allow tangling to a list of files

2021-07-07 Thread Jacopo De Simoi
‐‐‐ Original Message ‐‐‐ On Wednesday, July 7th, 2021 at 7:28 PM, Tim Cross wrote: > Jacopo De Simoi jacop...@protonmail.com writes: > > > In fact the files are different, since each source block is tangled to a > > > > possibly different subset of files. > > > > The logic for which

Re: [new patch] [PATCH] make org-notify support for macOS desktop notification

2021-07-07 Thread stardiviner
Hi Chris, thanks for your work. I have a question, will your patch of notification code be merged to upstream? If yes, I think my patch will be not necessary. If no, then I think add a my workaround for macOS is considerable. > On Jul 7, 2021, at 2:23 AM, Christian Hopps wrote: > > It supports

Re: [PATCH] Allow tangling to a list of files

2021-07-07 Thread Tim Cross
Jacopo De Simoi writes: > > In fact the files are different, since each source block is tangled to a > possibly different subset of files. > > The logic for which files to tangle according to which parameter or tags can > be > implemented by some lisp magic such as > > #+begin_src sh :tang

Re: [PATCH] Allow tangling to a list of files

2021-07-07 Thread General discussions about Org-mode.
Dear Tim, On Tuesday, July 6, 2021 3:30:40 AM EDT Tim Cross wrote: > Jacopo De Simoi via "General discussions about Org-mode." writes: > > Hi Greg, > > > > thanks for your comments! > > > > On Tuesday, July 6, 2021 12:43:54 AM EDT Greg Minshall wrote: > >> hi, Jacopo, > >> > >> i'm not convin

Re: [wip-cite-new] Quick note about citation insertion

2021-07-07 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > Nicolas - I saw you pushed some changes, per the discussion. Hey, that was a surprise ! ;) So, here's an update. Now "oc-basic" provides a reasonable experience for inserting references in a document. It also supports both CSL and BibTeX bibliographies. Therefo

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
It's totally interesting. It's not quite designed for what I'm looking to do and is perhaps a bit overpowered for my limited needs but I'm going to test whe nI have a little mroe time! On Tue, Jul 6, 2021 at 7:51 AM Uwe Brauer wrote: > >>> "MP" == Matt Price writes: > > > I have to write a numb

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
thank you Juan Mnauel. I'm testing it out, but I do wonder if I would really rather work with lists and some CSS! On Tue, Jul 6, 2021 at 8:56 AM Juan Manuel Macías wrote: > Hi Matt, sorry for the slow reply... > > Matt Price writes: > > > I'd love to try that, thanks. I think it would be really

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
I think this is exactly what I want (with just a little moreprocessing). Thank you so much for the idea! I'm having a little bit of trouble getting the same output as you though, and I'm wondering if there might be a setting that I need to change. Here is what I tried, and the result. Do you have

[WDYT] org-attach-sync better remove an empty attachment directory?

2021-07-07 Thread Marco Wahl
Hi, org-attach-sync can be used to "Synchronize the current outline node with its attachments." Which is great AFAICT. What do you think about letting org-attach-sync remove the attachment directory if it's empty? Rationale: Nobody needs an empty attachment directory. Ciao, -- Marco

Re: LaTeX-producing code : how to export results to HTML/ODT

2021-07-07 Thread John Kitchin
I am not sure you have the best math example, isn't the syntax \[\] for unnumbered equations in latex? What would it even ref? In the export, you can see that there is no label in the tex at least. #+BEGIN_SRC emacs-lisp :exports both :results value drawer :post caption(name="eq-integral", caption

Re: org-table: deleting columns not always actualise the formulas.

2021-07-07 Thread Uwe Brauer
>>> "ESF" == Eric S Fraga writes: > On Wednesday, 7 Jul 2021 at 18:22, Uwe Brauer wrote: >> Off the record: good look tonight. Although > Yesterday's match was fantastic even though the outcome was not what I hoped > for. I agree, I think it is fair to say, that Spain was the better t

Re: convert subtree or nested list to table

2021-07-07 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > Hi Uwe, thanks for testing the code. > Uwe Brauer writes: >> I am running (a couple of week old) GNU emacs master and org-mode git >> master. I even restarted my emacs session >> >> What do I miss? > I can't reproduce the issue (GNU Emacs 27.2 and org

Order schedule for meds using Org table

2021-07-07 Thread tomas
On Wed, Jul 07, 2021 at 01:00:48PM -0400, Jude DaShiell wrote: > I am planning a table to show re-order dates for 4 otc meds I take. They > haven't got the same pill counts and another constraint will be not to > order on weekends. Since this is intended to show repeating re-order > dates I figur

Re: convert subtree or nested list to table

2021-07-07 Thread Juan Manuel Macías
Hi Uwe, thanks for testing the code. Uwe Brauer writes: > I am running (a couple of week old) GNU emacs master and org-mode git > master. I even restarted my emacs session > > What do I miss? I can't reproduce the issue (GNU Emacs 27.2 and org git master). In my case everything works as expected

Re: Bug: Unexpected behavior marking recurring tasks as DONE

2021-07-07 Thread Alan Ristow
I think I have solved this, though I am not really sure why the solution works. As noted previously, my org-todo-keywords are defined as follows:   (setq org-todo-keywords     '((sequence "TODO(t)" "NEXT(n)" "STARTED(s)" "WAITING(w@/!)" "|" "DONE(x!)" "DELEGATED(d@)")   (sequence "

4 otc meds

2021-07-07 Thread Jude DaShiell
I am planning a table to show re-order dates for 4 otc meds I take. They haven't got the same pill counts and another constraint will be not to order on weekends. Since this is intended to show repeating re-order dates I figure to use formulas with pill counts in particular cells as repeater item

Re: org-table: deleting columns not always actualise the formulas.

2021-07-07 Thread Uwe Brauer
>>> "ESF" == Eric S Fraga writes: > On Wednesday, 7 Jul 2021 at 09:07, Uwe Brauer wrote: >> Hi >> >> Please consider the following example >> >> #+begin_src elisp > [...] >> #+end_src >> >> Now I delete the last columns >> >> But as you can see @3$17 only gets changed to @3$16 but not to @

[PATCH] worg/org-contrib: fix links to raw files

2021-07-07 Thread Maxim Nikulin
On 07/07/2021 22:31, Maxim Nikulin wrote: On 07/07/2021 14:23, Michael Maurer wrote: On Tue, 6 Jul 2021 at 08:07, Michael Maurer wrote: in my config, but making a camel case headline does not create a link when repeating the word in a paragraph. I've also tried activating org-wikinodes with m-

Re: unable to activate org-wikinodes

2021-07-07 Thread Maxim Nikulin
On 07/07/2021 14:23, Michael Maurer wrote: On Tue, 6 Jul 2021 at 08:07, Michael Maurer wrote: in my config, but making a camel case headline does not create a link when repeating the word in a paragraph. I've also tried activating org-wikinodes with m-x customize, but no difference. Is this

Re: Bug: tab key no longer bound to org-cycle in commit 565361eb69 [9.4.6 (9.4.6-10-gee652a-elpaplus @ /Users/bartm002/.emacs.d/elpa/org-plus-contrib-20210705/)]

2021-07-07 Thread Eric S Fraga
On Wednesday, 7 Jul 2021 at 15:35, Nicolas Goaziou wrote: > Binding is frowned upon, because it has higher priority than TAB, > and also because it doesn't work everywhere, like in terminals. Ah, okay. Thank you. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-579-gfdb98a : Latest pape

Re: Bug: tab key no longer bound to org-cycle in commit 565361eb69 [9.4.6 (9.4.6-10-gee652a-elpaplus @ /Users/bartm002/.emacs.d/elpa/org-plus-contrib-20210705/)]

2021-07-07 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > On Tuesday, 6 Jul 2021 at 18:05, Mark Barton wrote: >> I normally use C-RET to enter a new headline and then press TAB to >> make it child headline. Recently it stopped working and I think I have >> it tracked down to the change that was made last week. I could be

Re: Bug: tab key no longer bound to org-cycle in commit 565361eb69 [9.4.6 (9.4.6-10-gee652a-elpaplus @ /Users/bartm002/.emacs.d/elpa/org-plus-contrib-20210705/)]

2021-07-07 Thread Eric S Fraga
On Tuesday, 6 Jul 2021 at 18:05, Mark Barton wrote: > I normally use C-RET to enter a new headline and then press TAB to > make it child headline. Recently it stopped working and I think I have > it tracked down to the change that was made last week. I could be > missing something that allows “TAB

Re: org-table: deleting columns not always actualise the formulas.

2021-07-07 Thread Eric S Fraga
On Wednesday, 7 Jul 2021 at 09:07, Uwe Brauer wrote: > Hi > > Please consider the following example > > #+begin_src elisp [...] > #+end_src > > Now I delete the last columns > > But as you can see @3$17 only gets changed to @3$16 but not to @3$8 as > it should be. Confirmed. One solution, for

Re: Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-07 Thread Eric S Fraga
Hello, some advice: in general, it is better to post separate messages for different questions. That allows those that have an interested in a specific aspect of org/emacs to follow and interact. It also helps to have a subject line then that describes briefly the topic of the question. > - oh,

Re: [R example for org-table with ifs]

2021-07-07 Thread Eric S Fraga
On Wednesday, 7 Jul 2021 at 09:01, Uwe Brauer wrote: > Out of curiosity do you have an example of using R to generate stuff > like this. I don't; sorry. I don't use R myself directly although my PhD students do. Others on this list have quite a bit of experience with R so maybe somebody else ca

Re: [PATCH] Allow tangling to a list of files

2021-07-07 Thread Jacopo De Simoi
Dear Greg, Thanks for bringing this up Original Message On Jul. 7, 2021, 02:56, Greg Minshall < minsh...@umich.edu> wrote: Vladimir, > I couldn't find in Org manual how tangling should work if there are > several source code blocks with the same file name for ':tangle'. The > Or

Re: convert subtree or nested list to table

2021-07-07 Thread tbanelwebmin
Hi Matt Le 05/07/2021 à 21:44, Matt Price a écrit : > I have to write a number of text-heavy documents which need to be > delivered as tables with wrapped paragraphs in most cells. Working > directly in table format is pretty arduous and uncomfortable.  Has > anyone ever written a function to acce

Bug: Unexpected behavior marking recurring tasks as DONE

2021-07-07 Thread Alan Ristow
I recently updated org from 9.3 (release_9.3) to 9.4.6 (9.4.6-gfdb98a) and observed several changes in behavior when marking recurring tasks as DONE. I have not found reports of anything similar via Google or the mailing list archives, so rather than a bug it might be a package conflict or a co

Re: unable to activate org-wikinodes

2021-07-07 Thread Michael Maurer
On Tue, 6 Jul 2021 at 08:07, Michael Maurer wrote: > > I've put > > (setq org-return-follows-link t) > (custom-set-variables > '(org-modules (quote (org-wikinodes))) > '(org-return-follows-link t)) > > in my config, but making a camel case headline does not create a link > when repeating the wor

Re: how to avoid 0.0 in an org-table

2021-07-07 Thread Uwe Brauer
>>> "GM" == Greg Minshall writes: Hi Greg > Uwe, > your mileage may vary, but try > : #+TBLFM: $5=vsum($1..$4);f1::$6=min(10,$4)*0.1;%0.1g > (=man 3 printf= sort of implies that behavior might work for =%g=.) Oops, thanks a lot I just did not realized the %g option (and I have used printf in

org-table: deleting columns not always actualise the formulas.

2021-07-07 Thread Uwe Brauer
Hi Please consider the following example #+begin_src elisp | / | <> |<> | <> | <> | <> | <>| <> | | | | | | | | | | | | | DMI G | DMNI H | ExNDM I | ExNDNM J | my-result | his-result | Check

Re: how to avoid 0.0 in an org-table

2021-07-07 Thread Greg Minshall
Uwe, your mileage may vary, but try : #+TBLFM: $5=vsum($1..$4);f1::$6=min(10,$4)*0.1;%0.1g (=man 3 printf= sort of implies that behavior might work for =%g=.) cheers, Greg

[R example for org-table with ifs] (was: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx))

2021-07-07 Thread Uwe Brauer
>>> "ESF" == Eric S Fraga writes: > On Monday, 5 Jul 2021 at 16:48, Uwe Brauer wrote: >> Well I do that myself basically, but my main problem is now: *formulas*, I >> have to collaborate with colleagues using excel and I have to work with >> their formulas in a way or another. > Tell them to u