[BUG] org-log-states-order-reversed nil caused org-clock-in and out failed

2021-01-05 Thread miles christopher
When I set: #+begin_src emacs-lisp (setq org-log-states-order-reversed nil) #+end_src org-clock-in on a task or org-clock-out will failed. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/

Re: [PATCH] org-contacts.el: Use `bound-and-true-p' to check (unbound) var

2021-01-05 Thread miles christopher
Applied, I think this should be the final version. I also fixed a problem in org-contacts-store-link. David Florness writes: > * org-contacts.el (org-contacts-link-store): Use `bound-and-true-p' to > check the truthiness of org-id-link-to-org-use-id, which may or may > not be bound depending

bug with macro expansion after underscore (subscript)

2021-01-05 Thread Dauer, Michael
Hi, I cannot expand a macro after underscore, as the following sample shows in detail: #+macro: xxx A * macro bug _{{{xxx}}} a _{{{xxx}}} a_{{{xxx}}} a^{{{xxx}}} a{{{xxx}}} a_A generates: _A a _A a_{{{xxx}}} a^{{{xxx}}} aA a_A thx m

xclip/pbcopy/clipboard 'target' for export backends?

2021-01-05 Thread Tim Visher
Hi Everyone, I'm interested in adding something to the export dispatcher that would automatically put the exported text (or perhaps even file?) onto my clipboard. Preferably I'd like to define this once and have it available to each backend. So maybe I want markdown this time but rather than to

Bug: org.el has wrong (or none) version [fatal: No names found, cannot describe anything. (fatal: No names found, cannot describe anything. @ /Users/niels/.emacs.d/straight/build/org-agenda/)]

2021-01-05 Thread Niels Søndergaard
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: xclip/pbcopy/clipboard 'target' for export backends?

2021-01-05 Thread Tim Visher
On Tue, Jan 5, 2021 at 11:13 AM Diego Zamboni wrote: > Funny - just a few minutes ago, before reading your message, I learned > while installing https://github.com/stig/ox-jira.el, about = > org-export-copy-to-kill-ring=: > > org-export-copy-to-kill-ring is a variable defined in ox.el. > >

Inserting LaTex expressions using a filter fails

2021-01-05 Thread Mart van de Wege
I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during export to LaTex, and obviously I'm doing something wrong, or I don't understand the documentation. I use the following code to set up the filter: #+BIND: org-export-filter-item-functions (latex-replace-half) #+BEGIN_SRC

Re: Regression in table.el detection? [maint]

2021-01-05 Thread Kaushal Modi
On Tue, Jan 5, 2021 at 12:09 PM Nicolas Goaziou wrote: > Oops. Fixed. Thank you. > Thank you! for fixing this so quick :) I confirm that fix you made in https://code.orgmode.org/bzg/org-mode/commit/332da69b3c3ca222943728c20287e4ace6d40e61 . Can you also please add a test for that? [My ox-hugo

[A solution of sorts] (was: accounting)

2021-01-05 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: >> On Monday, 4 Jan 2021 at 21:01, Uwe Brauer wrote: >> Yes. >> Sorry I was brief: I cut and pasted something from one of my files while >> in a rush! >> Basically, you could do: >> #+begin_src ledger :cmdline -V --format "%-20A %14T\n" bal --flat assets >>

Re: xclip/pbcopy/clipboard 'target' for export backends?

2021-01-05 Thread Diego Zamboni
Hi Tim, Funny - just a few minutes ago, before reading your message, I learned while installing https://github.com/stig/ox-jira.el, about = org-export-copy-to-kill-ring=: org-export-copy-to-kill-ring is a variable defined in ox.el. Non-nil means pushing export output to the kill ring. This

Re: [A solution of sorts]

2021-01-05 Thread Eric S Fraga
On Tuesday, 5 Jan 2021 at 17:02, Uwe Brauer wrote: > Well 10 years ago Eric Schulte posted this > https://lists.gnu.org/archive/html/emacs-orgmode/2010-08/msg00502.html Yes, this is what I meant about post-processing (in this case using elisp). > It is not precisely what I want, but not bad

Bug: org mode rendering linked heading wrongly [9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)]

2021-01-05 Thread Tianrui Wei
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: accounting

2021-01-05 Thread Uwe Brauer
> On Monday, 4 Jan 2021 at 21:01, Uwe Brauer wrote: > Yes. > Sorry I was brief: I cut and pasted something from one of my files while > in a rush! > Basically, you could do: > #+begin_src ledger :cmdline -V --format "%-20A %14T\n" bal --flat assets > 2010/01/01 * Starting balance >

Re: accounting

2021-01-05 Thread Uwe Brauer
>>> "CM" == Charles Millar writes: > On 1/4/21 3:54 AM, Uwe Brauer wrote: >> Hi >> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html >> Points out how to use ledger within org mode. >> Is there any simpler solution? >> Regards >> Uwe Brauer >> > If "simpler" means just

Re: accounting

2021-01-05 Thread Eric S Fraga
On Tuesday, 5 Jan 2021 at 16:35, Uwe Brauer wrote: > Yeah, your solution does not work for the example I had in mind > but I realize now what I miss: the output should be an org table If the ledger formatting options cannot help you (they are potentially quite powerful), all I can suggest is a

Re: xclip/pbcopy/clipboard 'target' for export backends?

2021-01-05 Thread Eric S Fraga
On Tuesday, 5 Jan 2021 at 09:01, Tim Visher wrote: > Preferably I'd like to define this once and have it available to each > backend. I cannot help directly but I can contribute a random thought: many of the exporters have the ability to export to a buffer. Maybe there could be a hook (there

Re: xclip/pbcopy/clipboard 'target' for export backends?

2021-01-05 Thread John Kitchin
I guess you are looking for something like https://github.com/jkitchin/ox-clip. It doesn't support all the backends you want, but might be a start for you. you can also install it from MELPA. John --- Professor John Kitchin Doherty Hall A207F Department of

Re: Regression in table.el detection? [maint]

2021-01-05 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > I was able to reproduce with issue with ox-html as well. > > Please copy paste this in a new temp.org file and run `C-c C-e h H': > > * Subtree 1 > +--+--+--+ > | Header 1 | Header 2 | Header 3 | > +--+--+--+ > | a

Bug: org.el has wrong (or none) version [fatal: No names found, cannot describe anything. (fatal: No names found, cannot describe anything. @ /Users/niels/.emacs.d/straight/build/org-agenda/)]

2021-01-05 Thread Niels Søndergaard
--text follows this line-- 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: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Juan Manuel Macías
Hello, Mart van de Wege writes: > I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during > export to LaTex, and obviously I'm doing something wrong, or I don't > understand the documentation. > > I use the following code to set up the filter: > > #+BIND:

Re: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Nick Dokos
Mart van de Wege writes: > I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during > export to LaTex, and obviously I'm doing something wrong, or I don't > understand the documentation. > > I use the following code to set up the filter: > > #+BIND: org-export-filter-item-functions

Re: [BUG] org-log-states-order-reversed nil caused org-clock-in and out failed

2021-01-05 Thread Kyle Meyer
miles christopher writes: > When I set: > > #+begin_src emacs-lisp > (setq org-log-states-order-reversed nil) > #+end_src > > org-clock-in on a task or org-clock-out will failed. With the above setting and an otherwise default configuration, clocking in and out works for me on master and maint.

Short videos about workflows - and how to upload them

2021-01-05 Thread Eduardo Ochs
Hi list, this is slightly off-topic - but only slightly, I think. Yesterday I attended (as a lurker...) this meeting of the EmacsNYC group: https://emacsnyc.org/2020/12/28/online-meetup-discussionhow-do-we-improve-emacs.html In it Sacha Chua said that she feels that most people, especially

Re: accounting

2021-01-05 Thread Ihor Radchenko
Also, ledger can format output as Elisp sexp (with emacs command). That should be easier to parse. Best, Ihor

Re: Bug: (org-release) returns empty string on Elpa [ ( @ /home/pierre/.guix-profile/share/emacs/site-lisp/)]

2021-01-05 Thread Kyle Meyer
Pierre Langlois writes: > Hello there! > > Since the latest update to 9.4.4, some of us in Guix have been > experiencing issues with loading packages that depend on Org [0]. It > seems the root of the problem is that (org-release) returns an empty > string, you can see this manifesting in this

Re: Bug: org.el has wrong (or none) version [fatal: No names found, cannot describe anything. (fatal: No names found, cannot describe anything. @ /Users/niels/.emacs.d/straight/build/org-agenda/)]

2021-01-05 Thread Kyle Meyer
Niels Søndergaard writes: > This morning at at reboot of emacs, it came up telling me, that > org-contrib is not found, investigating the problem was, that the file > with org.el is version 9.5. > I've been looking for org-contrib and the like, but found nothing on the > net. > By ow org-capture

Possibility to copy text outside EMACS and send it to orgmode document

2021-01-05 Thread Gerardo Moro
Basically that: as I copy (Control-C) text from the browser (Chrome), I would like those copied sentences to be sent to a ordered list in an OrgMode document: - copied text 1 - copied text 2 - etc. Any ideas? This would be very useful. Thanks!

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-05 Thread Samuel Wales
there is a tricky org-protocol thing you can do with emacsclient and a capture template, but i suspect that chrome has an extension just like firefox does called org-capture that does some of that in the browser itself. in firefox-esr, i select text and click the unicorn icon. you will have to

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-05 Thread Tom Gillespie
You can achieve something a bit like this using org-protocol-capture-html https://github.com/alphapapa/org-protocol-capture-html. I'm not entirely sure whether you can bind the equivalent of a hook in javascript to run every time you C-c, but if you can, then it should be possible to match this

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-05 Thread Gerardo Moro
Thanks, guys. I'll have a look. I understand that using org-protocol in combo with org-capture I would have to visit the Emacs window for capturing the copied text or not? Because this is crucial, as I aim to avoid this step. Thanks! El mié, 6 ene 2021 a las 8:49, Tom Gillespie () escribió: >

Re: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Mart van de Wege
Nick Dokos writes: > Mart van de Wege writes: > >> I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during >> export to LaTex, and obviously I'm doing something wrong, or I don't >> understand the documentation. >> >> I use the following code to set up the filter: >> >> #+BIND:

Re: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Mart van de Wege
On Tue, 05 Jan 2021 22:58:33 +0100 Juan Manuel Macías wrote: > Hello, > > Mart van de Wege writes: > > > I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} > > during export to LaTex, and obviously I'm doing something wrong, or > > I don't understand the documentation. > > > > I

Re: Org-capture template no longer recognised...

2021-01-05 Thread Kyle Meyer
Neil Shephard writes: > Until recently I could invoke org-capture, select e r and I'd be > prompted to enter data under Route... > > | <2021-01-03 | | km | min + s | | | > > > On saving this would populate the table and calculate the pace. Now > though I'm informed... > > Capture abort: