Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Pankaj Jangid
Jean Louis writes: >> error in process sentinel: PLANTUML Preview failed: exited abnormally with >> code 1 >> >> The plantuml.el code seems to >> >>1. start a process and then >>2. pass the plantuml string to the process. >> >> It is at step 2 that the error is issued. > > Maybe you wi

Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Tom Gillespie
While we're on the subject of execution in the edit buffer, it is not entirely clear what such execution would mean. Mirko's desire seems to be to execute the buffer directly without org-babel as an intermediary. However, the most consistent approach would be a command to pop back to the source buf

Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread George Mauer
+1 to this question. I have the exact same annoyance (would also be nice to do some threading so it doesn't lock up emacs for a few seconds) On Fri, Dec 4, 2020 at 2:28 PM Pankaj Jangid wrote: > Mirko Vukovic writes: > > > My current workflow is > > > >1. Enter edit buffer (C-c ') > >2.

Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Jean Louis
* Mirko Vukovic [2020-12-04 22:00]: > error in process sentinel: PLANTUML Preview failed: exited abnormally with > code 1 > > The plantuml.el code seems to > >1. start a process and then >2. pass the plantuml string to the process. > > It is at step 2 that the error is issued. Maybe yo

Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Mirko Vukovic
On Fri, Dec 4, 2020 at 12:41 PM Pankaj Jangid wrote: > Mirko Vukovic writes: > > > My current workflow is > > > >1. Enter edit buffer (C-c ') > >2. Perform edits in the window > >3. Exit edit mode (C-c ') > >4. Evaluate code (C-c C-c) > >5. Monitor changes to resulting png fi

Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Pankaj Jangid
Mirko Vukovic writes: > My current workflow is > >1. Enter edit buffer (C-c ') >2. Perform edits in the window >3. Exit edit mode (C-c ') >4. Evaluate code (C-c C-c) >5. Monitor changes to resulting png file > > I would prefer instead to skip step 3, and evaluate the code from

Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Pankaj Jangid
Jean Louis writes: > * Mirko Vukovic [2020-12-04 16:59]: >> Creating/editing UML diagrams using plantuml mode is an iterative process. >> My current workflow is >> >>1. Enter edit buffer (C-c ') >>2. Perform edits in the window >>3. Exit edit mode (C-c ') >>4. Evaluate code (C-c

Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Jean Louis
* Mirko Vukovic [2020-12-04 16:59]: > Hello, > > Creating/editing UML diagrams using plantuml mode is an iterative process. > My current workflow is > >1. Enter edit buffer (C-c ') >2. Perform edits in the window >3. Exit edit mode (C-c ') >4. Evaluate code (C-c C-c) >5. Moni

How to evaluate source code while in the edit buffer?

2020-12-04 Thread Mirko Vukovic
Hello, Creating/editing UML diagrams using plantuml mode is an iterative process. My current workflow is 1. Enter edit buffer (C-c ') 2. Perform edits in the window 3. Exit edit mode (C-c ') 4. Evaluate code (C-c C-c) 5. Monitor changes to resulting png file I would prefer instead