Re: Asynchronous org-agenda-redo

2019-12-12 Thread Adam Porter
Ihor Radchenko writes: >> Be sure to read the Emacs Lisp manual regarding threads. They are >> cooperative, so functions called as threads must yield back to the main >> thread for Emacs to do anything else before the function returns. > > I tried to read the manual, but I clearly misunderstand

Re: Bug: Orgguide missing in Org-9.3 package [9.3 (9.3-elpa @ /home/David/.emacs.d/elpa/org-9.3/)]

2019-12-12 Thread Kyle Meyer
Nicolas Goaziou writes: > David Masterson writes: > >> Subject says it all -- I didn't have orgguide in the installation of the >> org-9.3 package, so I pulled the latest git master and copied it from >> there. I guess the build process needs a fix. > > AFAICT, the build process properly

Re: Best way to template a big table

2019-12-12 Thread Leslie Watter
Hi all, As I've understood you want to setup the structure of the table and have some prompts to add rows to the table. Using org-mode I have a capture skeleton here that uses --- org capture template #+begin_src elisp ;; ("Lu" "Fuel" table-line (file+olp "~/org/TODO.org" "Car" "Fuel

Re: Bug: org-capture-get-template can't use a lambda for template function. [9.2.6 (9.2.6-7-g634880-elpaplus @ /home/n/.emacs.d/elpa/org-plus-contrib-20191118/)]

2019-12-12 Thread Nicolas Goaziou
Hello, No Wayman writes: > Noticed that one cannot use a lambda function as a template generating > function. > Doing so results in the error: > > Wrong type argument: symbolp, (lambda...) > > The cause is the fboundp check in org-capture-get-template. > Changing this to functionp allows a

RE: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-12 Thread Gustav Wikström
Hi, > -Original Message- > From: stardiviner > Sent: den 12 december 2019 10:53 > To: Gustav Wikström > Cc: numbch...@gmail.com; emacs-orgmode@gnu.org > Subject: Re: [O] FW: [RFC] Link-type for attachments, more attach options > > ... > > For example, I press =[Ctrl-c Ctrl-a]= to

Re:

2019-12-12 Thread Marco Wahl
Tim Visher writes: > On Thu, Dec 12, 2019 at 4:14 AM Marco Wahl wrote: > >> Justin Vallon writes: >> >> > When I use "emacs --no-init-file", I get the default distribution org >> > packages, and "> > in my downloaded-melpa-install of org, it does not work. >> > >> > Distro org-version is

Re: Best way to template a big table

2019-12-12 Thread Berry, Charles
> On Dec 12, 2019, at 8:03 AM, Lawrence Bottorff wrote: > > I just figured out that this > > #+BEGIN_SRC emacs-lisp :results table > '((H1 H2 H3) (text11 text12 text13) (text21 text22 text23) (... ... ...) > (textN1 textN2 textN3)) > #+END_SRC > > #+RESULTS: > | H1 | H2 | H3 |

Re:

2019-12-12 Thread Tim Visher
On Thu, Dec 12, 2019 at 1:15 PM Marco Wahl wrote: > Tim Visher writes: > > > On Thu, Dec 12, 2019 at 4:14 AM Marco Wahl > wrote: > > > >> Justin Vallon writes: > >> > >> > When I use "emacs --no-init-file", I get the default distribution org > >> > packages, and " However, > >> > in my

Bug: org-capture-get-template can't use a lambda for template function. [9.2.6 (9.2.6-7-g634880-elpaplus @ /home/n/.emacs.d/elpa/org-plus-contrib-20191118/)]

2019-12-12 Thread No Wayman
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: Best way to template a big table

2019-12-12 Thread Lawrence Bottorff
I just figured out that this #+BEGIN_SRC emacs-lisp :results table '((H1 H2 H3) (text11 text12 text13) (text21 text22 text23) (... ... ...) (textN1 textN2 textN3)) #+END_SRC #+RESULTS: | H1 | H2 | H3 | | text11 | text12 | text13 | | text21 | text22 | text23 | | ...| ...| ...

Re: Asynchronous org-agenda-redo

2019-12-12 Thread Ihor Radchenko
> Be sure to read the Emacs Lisp manual regarding threads. They are > cooperative, so functions called as threads must yield back to the main > thread for Emacs to do anything else before the function returns. I tried to read the manual, but I clearly misunderstand something. The manual says: >

Re:

2019-12-12 Thread Tim Visher
On Thu, Dec 12, 2019 at 4:14 AM Marco Wahl wrote: > Justin Vallon writes: > > > When I use "emacs --no-init-file", I get the default distribution org > > packages, and " > in my downloaded-melpa-install of org, it does not work. > > > > Distro org-version is 9.1.9, melpa is 9.3. describe-key

org/matlab the python kernel and a problem (python 2 vs 3)

2019-12-12 Thread Uwe Brauer
Hi I am on Ubuntu 16.05 running either python 2.7 or 3.5. I had matlab 2018b installed, and used the python engine to run matlab commands from org file in a fast way. I did, after installing the corresponding python3 modules, in the matlab installation directory sudo -H python3 setup.py

Re: Asynchronous org-agenda-redo

2019-12-12 Thread Ihor Radchenko
Hi Diego, > I cannot answer your question, but I am curious about using async together > with tangling, since for some of my buffers, tangling takes some time and > freezes Emacs in the process. Do you have some examples of this that you > could share? See the relevant code from my config below.

Re: Bug: org-use-fast-todo-selection prefix option removed [9.3 (9.3-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20191203/)]

2019-12-12 Thread Allen Li
On Thu, Dec 12, 2019 at 10:48 AM Kyle Meyer wrote: > > Allen Li writes: > > > The option to set org-use-fast-todo-selection to 'prefix was removed > > without my noticing. This breaks my workflow since I like the default > > cycling behavior and only occasionally use fast todo selection to > >

Re: Asynchronous org-agenda-redo

2019-12-12 Thread Diego Zamboni
Hi Ihor, I cannot answer your question, but I am curious about using async together with tangling, since for some of my buffers, tangling takes some time and freezes Emacs in the process. Do you have some examples of this that you could share? Thanks, --Diego On Thu, Dec 12, 2019 at 9:21 AM

Re: [PATCH] Fix verbatim block fontification to end blocks on headlines

2019-12-12 Thread Adam Porter
May I recommend using the rx macro for regexps? They are much easier for humans to parse, which helps reduce errors like the ones mentioned here. And they are about to gain some very useful new features in Emacs 27.

Re: Asynchronous org-agenda-redo

2019-12-12 Thread Adam Porter
Be sure to read the Emacs Lisp manual regarding threads. They are cooperative, so functions called as threads must yield back to the main thread for Emacs to do anything else before the function returns. If you're feeling adventurous, you could experiment with adding yields in relevant agenda

Re: Best way to template a big table

2019-12-12 Thread Simon Butler
Hi On 2019-12-12 07:05, Lawrence Bottorff wrote: > I've got a big table that I would like to create a template for, i.e., > the rows and columns and the myriad | and -. Then a key chord would > produce it in an org file ready for values to be entered. I've seen > the post-9.2

Re: PATCH: Re: Recurring TODO with hours not scheduled correctly

2019-12-12 Thread Nicolas Goaziou
Hello, Justin Vallon writes: > Following up with a patch to make .+1h work "like" .+1d: > > - When computing the new scheduled date, the repeater-type "." would > shift the scheduled date to today, then adjust by the interval. > Shifting the date would leave the time unchanged > - When shifting

Re: [PATCH] Fix verbatim block fontification to end blocks on headlines

2019-12-12 Thread Tom Gillespie
Thank you very much for the feedback. I will make the additional fixes against maint along with the changes for clarity and send them along tomorrow. Additional replies in line. Best, Tom On Thu, Dec 12, 2019 at 12:40 AM Nicolas Goaziou wrote: > > Hello, > > Tom Gillespie writes: > > > This

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-12 Thread stardiviner
Gustav Wikström writes: > Hi stardiviner, > > It is my belief that =[Ctrl-C Ctrl-l]= already is supported. You will only > get suggestions for attachments if there are any attachments on the outline > node you're in. Or in any of its parents if inheritance is configured. > For example, I

Re:

2019-12-12 Thread Marco Wahl
Justin Vallon writes: > When I use "emacs --no-init-file", I get the default distribution org > packages, and " in my downloaded-melpa-install of org, it does not work. > > Distro org-version is 9.1.9, melpa is 9.3. describe-key TAB shows > org-cycle, which is a kitchen-sink function. The docs

Re: Bug: Orgguide missing in Org-9.3 package [9.3 (9.3-elpa @ /home/David/.emacs.d/elpa/org-9.3/)]

2019-12-12 Thread Nicolas Goaziou
Hello, David Masterson writes: > Subject says it all -- I didn't have orgguide in the installation of the > org-9.3 package, so I pulled the latest git master and copied it from > there. I guess the build process needs a fix. AFAICT, the build process properly generates the texinfo file for

Re: [PATCH] Fix verbatim block fontification to end blocks on headlines

2019-12-12 Thread Nicolas Goaziou
Hello, Tom Gillespie writes: > This patch is a change to how org fontifies verbatim source blocks re: [1]. > Hopefully it answers Nicolas's question from that thread. Best! OK. Now I see what you meant. Thank you. > (when (re-search-forward > - (concat "^[ \t]*#\\+end"

Asynchronous org-agenda-redo

2019-12-12 Thread Ihor Radchenko
I am thinking if it is possible to implement org-agenda-redo asynchronously. Rebuilding agenda should normally not affect any buffer except agenda buffer. So, it should be sufficient to block any agenda modifying commands in the agenda buffer, redo the agenda buffer in separate thread, and

Re: [SOLVED]

2019-12-12 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > That is the default value of that variable. I guess you had set it > elsewhere to be getting citep before. Right, moreover in some obscure place which was not easy to find, and the setting was also not commented, so it unclear to me why I did this. Bad bad