Re: how to document/comment a complex org table formula

2021-07-05 Thread Uwe Brauer
>>> "GdaO" == General discussions about Org-mode writes: > Limbic answer : > - create an emacs-lisp function doing what you want > - comment /ad libitum/ > - call this function in your spreadsheet. I hoped such a function already existed and somebody would point it out to me (I searched

Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-05 Thread Uwe Brauer
>>> "TC" == Tim Cross writes: > Uwe Brauer writes: >> Hi >> >> A couple of days ago I asked about importing excel formula into org >> tables, and they only ways seems to do it manually. >> >> I just realised that I need it also the other way around, exporting to >> some spreadsheet format,

Re: [kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home/mohkale/.config/emacs/lisp/straight/build/org/)]

2021-07-05 Thread Nicolas Goaziou
Hello, Mohsin Kaleem writes: > Hi just following up. Thanks for the heads up, but you haven't answered my question yet. Regards, -- Nicolas Goaziou

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

2021-07-05 Thread Maxim Nikulin
On 05/07/2021 10:50, stardiviner wrote: I updated the patch, I found the package `osx-lib` contains solution. So I removed the directly osascript process invocation. I have no objections any more. On the other hand I have no access to macOS, so I have not tested this patch. Feel free to

Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-05 Thread Uwe Brauer
>>> "DO" == Daniel Ortmann writes: > I highly recommend a recent LibreOffice.  Nearly everything I do is > through LibreOffice and CSV files.  MS Excel has problems when using > inter-field-separators such as semicolons. Well I do that myself basically, but my main problem is now: *formulas*, I

Re: how to document/comment a complex org table formula

2021-07-05 Thread Jude DaShiell
Why not use functional narrative form to document complex formulas? formula name: formula function: formula uses: formula returns: usually one line of text for each of those. I know, this comes from structured programming where no block of actual code is supposed to go above 50 lines and that for

bug#12972: [PATCH] Avoid regression in mailcap-view-file similar to Bug#44824

2021-07-05 Thread Eli Zaretskii
> From: Maxim Nikulin > Date: Mon, 5 Jul 2021 20:12:34 +0700 > > It is about proper way to a launch viewer in > `mailcap-view-file'. Original `start-process-shell-command' with 'pty > connection type prematurely kills children of kde-open5 or gio open. > With 'pipe connection type it or

Re: how to document/comment a complex org table formula

2021-07-05 Thread Eric S Fraga
On Monday, 5 Jul 2021 at 10:55, Tim Visher wrote: > I had never heard of using an org table as input into a source block. > That's really interesting. Attached, for illustration, is a simple example, extracted from a paper I'm currently writing. The "input" to the awk script is the table at the

Re: how to document/comment a complex org table formula

2021-07-05 Thread Tim Visher
On Mon, Jul 5, 2021 at 10:14 AM Eric S Fraga wrote: > Sorry; I cannot help you directly. > > My rule of thumb is that if formulas are getting too complex to > understand/recall clearly, it's time to use a proper programming > language instead. The nice thing about org is you can have tables as

Re: how to document/comment a complex org table formula

2021-07-05 Thread Eric S Fraga
Sorry; I cannot help you directly. My rule of thumb is that if formulas are getting too complex to understand/recall clearly, it's time to use a proper programming language instead. The nice thing about org is you can have tables as inputs to and outputs of src blocks... My papers often have

Re: how to document/comment a complex org table formula

2021-07-05 Thread Uwe Brauer
>>> "ESF" == Eric S Fraga writes: > Sorry; I cannot help you directly. > My rule of thumb is that if formulas are getting too complex to > understand/recall clearly, it's time to use a proper programming > language instead. The nice thing about org is you can have tables as > inputs to and

Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-05 Thread Eric S Fraga
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 use R... ;-) But I feel your pain. I have

bug#12972: [PATCH] Avoid regression in mailcap-view-file similar to Bug#44824

2021-07-05 Thread Maxim Nikulin
By mistake I sent the message below as private one at first. However it actually does not add anything new to my previous comments to the bug. On 04/07/2021 20:49, Eli Zaretskii wrote: From: Maxim Nikulin Date: Sun, 4 Jul 2021 20:37:24 +0700 Sorry, I'm not sure I understand what this is all

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

2021-07-05 Thread Eric S Fraga
On Saturday, 3 Jul 2021 at 11:09, Bruce D'Arcus wrote: > On Sat, Jul 3, 2021 at 10:58 AM Eric S Fraga wrote: >> But that's partly why I mentioned ivy-bibtex: solutions already exist >> and there should be no need to re-invent the wheel? > > I kind of disagree. > > There's a middle ground between

Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-05 Thread Uwe Brauer
> Uwe Brauer writes: > The big problem here is that there is no single format understood by all > these different programs which you can use. While CSV works OK for data, > it does not support formulas and other meta data. In particular, > translating formulas is a real challenge. > I went

breakpoint in debugging org-table formulas

2021-07-05 Thread Uwe Brauer
Hi I just started to use the formula debugger (org-table-toggle-formula-debugger) which is quite nice. However for large tables with a lot of rows it would be more convenient to use breakpoints and not start just in the first row. I can't find any reference for that. It is not implemented?

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

2021-07-05 Thread stardiviner
> On Jul 5, 2021, at 7:55 PM, Maxim Nikulin wrote: > > On 05/07/2021 10:50, stardiviner wrote: >> I updated the patch, I found the package `osx-lib` contains solution. >> So I removed the directly osascript process invocation. > > I have no objections any more. On the other hand I have no

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

2021-07-05 Thread stardiviner
> On Jul 6, 2021, at 8:06 AM, Tim Cross wrote: > > > stardiviner writes: > >>> On Jul 5, 2021, at 7:55 PM, Maxim Nikulin wrote: >>> >>> On 05/07/2021 10:50, stardiviner wrote: I updated the patch, I found the package `osx-lib` contains solution. So I removed the directly

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

2021-07-05 Thread stardiviner
Here is the new patch which invokes notifications though Emacs built-in API `ns-do-applescript`. 0001-org-clock.el-Make-org-notify-support-macOS-notificat.patch Description: Binary data > On Jul 6, 2021, at 8:06 AM, Tim Cross wrote: > > > stardiviner writes: > >>> On Jul 5, 2021, at

Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-05 Thread Tim Cross
Uwe Brauer writes: > [[S/MIME Signed Part:Undecided]] > >> Uwe Brauer writes: > > >> The big problem here is that there is no single format understood by all >> these different programs which you can use. While CSV works OK for data, >> it does not support formulas and other meta data. In

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

2021-07-05 Thread Tim Cross
stardiviner writes: >> On Jul 5, 2021, at 7:55 PM, Maxim Nikulin wrote: >> >> On 05/07/2021 10:50, stardiviner wrote: >>> I updated the patch, I found the package `osx-lib` contains solution. >>> So I removed the directly osascript process invocation. >> >> I have no objections any more. On

[Q] Show drawers in Org Agenda search buffer with org-agenda-entry-text-mode

2021-07-05 Thread Rodrigo Morales
* The context I constantly perform searches in the Agenda, and sometimes I search for properties (which is currently supported by the search feature). For example, some of my headlines have :URL: property, so I can list all the headlines which contain a :URL: property that contain the string

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

2021-07-05 Thread Vladimir Lomov
Hello ** Jacopo De Simoi [2021-07-05 18:54:14 +]: > Dear All, I do use 'tangle' feature and I have several Org documents that tangle shell scripts as well as shell configurations so I could comment your proposal a bit. > Please find attached a patch (against master) that adds a feature to

Re: org-agenda-move-date-from-past-immediately-to-today could work for non-days

2021-07-05 Thread Samuel Wales
i am referring to this code in org-agenda-date-later. i do not understand why there is (equal arg 1): (when (and org-agenda-move-date-from-past-immediately-to-today (equal arg 1) (or (not what) (eq what 'day)) (not (save-match-data

Re: convert subtree or nested list to table

2021-07-05 Thread Tim Cross
Matt Price writes: > 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 accept a list or subtree as

[kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home/mohkale/.config/emacs/lisp/straig

2021-07-05 Thread Mohsin Kaleem
Nicolas Goaziou writes: > Hello, > > Mohsin Kaleem writes: > >> Hi just following up. > > Thanks for the heads up, but you haven't answered my question yet. Which question do you refer to? If its reproducing with `emacs -Q` I believe I did? > > Regards, > -- > Nicolas Goaziou --- Mohsin

Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home/mohkale/.config/emacs/lisp/st

2021-07-05 Thread Nicolas Goaziou
Mohsin Kaleem writes: > Which question do you refer to? > If its reproducing with `emacs -Q` I believe I did? It's not. I asked if replacing '(lambda ...) with #'org-latex-compile would work too.

Re: how to document/comment a complex org table formula

2021-07-05 Thread Uwe Brauer
>>> "TV" == Tim Visher writes: > On Mon, Jul 5, 2021 at 10:14 AM Eric S Fraga wrote: >> Sorry; I cannot help you directly. >> >> My rule of thumb is that if formulas are getting too complex to >> understand/recall clearly, it's time to use a proper programming >> language instead. The nice

convert subtree or nested list to table

2021-07-05 Thread Matt Price
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 accept a list or subtree as input and process it into a table?

[kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home

2021-07-05 Thread Mohsin Kaleem
Mohsin Kaleem writes: > Nicolas Goaziou writes: > >> Mohsin Kaleem writes: >> >>> Which question do you refer to? >>> If its reproducing with `emacs -Q` I believe I did? >> >> It's not. >> >> I asked if replacing '(lambda ...) with #'org-latex-compile would work too. > > Apologies I seem to

Re: convert subtree or nested list to table

2021-07-05 Thread Juan Manuel Macías
Hi Matt, Matt Price writes: > 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 accept a list or subtree

Re: how to document/comment a complex org table formula

2021-07-05 Thread Jude DaShiell
So long as each piece of documentation has a continuation pointer to the next piece of documentation in the chain I think that would work. On Mon, 5 Jul 2021, Uwe Brauer wrote: > >>> "JD" == Jude DaShiell writes: > > > Why not use functional narrative form to document complex formulas? > >

[kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home

2021-07-05 Thread Mohsin Kaleem
Nicolas Goaziou writes: > Mohsin Kaleem writes: > >> Which question do you refer to? >> If its reproducing with `emacs -Q` I believe I did? > > It's not. > > I asked if replacing '(lambda ...) with #'org-latex-compile would work too. Apologies I seem to have missed that. Yes quoting the lambda

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

2021-07-05 Thread autofrettage
Hi, I simply cannot ignore this opportunity to expose my utter Org Mode ignorance! Emmanuel > ... and how to use it with captions, labels and cross-references. I have tried using the code-splicing functionality with some success; The result from one source code block "foo", can be inserted

Re: how to document/comment a complex org table formula

2021-07-05 Thread Karl Voit
Hi Uwe, * Uwe Brauer wrote: > > Is there any way to document or comment such a formula, since I am sure > that within days I don't remember why I chose that formula? This is not a solution for really complex formulas. However, please do note that standard org has: Named references:

Re: how to document/comment a complex org table formula

2021-07-05 Thread Uwe Brauer
>>> "JD" == Jude DaShiell writes: > Why not use functional narrative form to document complex formulas? > formula name: > formula function: > formula uses: > formula returns: That would be also nice, however the problem I am facing to have a long and complicated expression with a lot of ifs,

[PATCH] Allow tangling to a list of files

2021-07-05 Thread Jacopo De Simoi
Dear All, Please find attached a patch (against master) that adds a feature to the tangle framework. Essentially, the following block would now tangle to two files #+begin_src sh '("filename1" "filename2") #my script #+end_src Usecases - literate config (e.g. .zshrc) of several machines at

Re: how to document/comment a complex org table formula

2021-07-05 Thread Uwe Brauer
>>> "KV" == Karl Voit writes: Hi Karl, > Hi Uwe, > * Uwe Brauer wrote: >> >> Is there any way to document or comment such a formula, since I am sure >> that within days I don't remember why I chose that formula? > This is not a solution for really complex formulas. However, please > do note

Re: convert subtree or nested list to table

2021-07-05 Thread Matt Price
Thanks for the thoughts, Tim. My preference is generally to work in HTML, and in fact if I had a decent platform to work on I could just use a container class and grid or flex layouts, but the learning management system at my institution strips out most styling information when HTML is uploaded,

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

2021-07-05 Thread Christian Hopps
Hi, Please consider: I added full native notification support to the popular OS X Emacs build available in homebrew. This supports rewrites notifications-notify defun to use the native code rather than dbus, and so everything "Just Works". Info can be found here:

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

2021-07-05 Thread General discussions about Org-mode.
Hi Greg, thanks for your comments! On Tuesday, July 6, 2021 12:43:54 AM EDT Greg Minshall wrote: > hi, Jacopo, > > i'm not convinced this is needed over and above your old "solution" of > using <> witn N-different source blocks, each :tangle'ing to a > different file. To be honest I never

add #+ATTR_SOMETHING to headline?

2021-07-05 Thread Matt Price
Does anyone know if attributes get attached to headline elements during the export process? I am writing a derived backend in which I would like to have a line like (let (add-toggle (org-export-read-attribute :attr_canvas_html headline :toggle)) ) But as var as i can tell, the call to

Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-07-05 Thread Matt Price
On Thu, Jul 1, 2021 at 12:18 PM Timothy wrote: > > Matt Price writes: > > >> I would like to be able to surround some portion of a subtree with a > tag, > > > Sorry for the noise, I believe this is user error. I misread the > exported > > source code, and firefox's developer tools added the

Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-05 Thread Greg Minshall
Eric, > But I feel your pain. I have to collaborate with people using Excel & > co. and it is a nightmare. to be fair, though (though, who says you have to?), imagine some poor excel user receiving your .org file and trying to decode org/calc-inspired formulae! :) cheers, Greg

Re: convert subtree or nested list to table

2021-07-05 Thread Tim Cross
Nearly every day, I'm filled with joy because I no longer have to battle brain dead LMS! If your forced to use HTML tables, that is a pain - it will be like stepping back to the turn of the century when we used tables as the basic layout structure. It may be worthwhile verifying what/which

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

2021-07-05 Thread Greg Minshall
hi, Jacopo, i'm not convinced this is needed over and above your old "solution" of using <> witn N-different source blocks, each :tangle'ing to a different file. but, i'm curious -- in the example you sent, did you miss a ":tangle" on the "#+begin_src" line? > #+begin_src sh '("filename1"