Re: [O] org-capture quitting and make-capture-frame

2017-10-23 Thread Nicolas Goaziou
Tyler Smith writes: > Quitting needs to do something that you can respond to, either with > a hook, an advised function or something else? I thought `org-capture-finalize' would be called anyway. But it isn't the case. > My proposal was just the first thing that I thought

Re: [O] org-capture quitting and make-capture-frame

2017-10-23 Thread Tyler Smith
On Mon, Oct 23, 2017, at 04:03 PM, Nicolas Goaziou wrote: > > Wouldn't it make more sense to turn it into > > (message "Abort") > > ? After all, it is not an error. It also allow to call other functions, > e.g., `delete-frame' after exiting capture. > > WDYT? > I did think it was odd that

Re: [O] org-capture quitting and make-capture-frame

2017-10-23 Thread Nicolas Goaziou
Hello, Tyler Smith writes: > Hi, > > I use org-capture with a new frame, so I can call it quickly when from > the OS (see > http://www.windley.com/archives/2010/12/capture_mode_and_emacs.shtml). > > This works well, except that if I quit a capture, the frame is left >

[O] org-capture quitting and make-capture-frame

2017-10-23 Thread Tyler Smith
Hi, I use org-capture with a new frame, so I can call it quickly when from the OS (see http://www.windley.com/archives/2010/12/capture_mode_and_emacs.shtml). This works well, except that if I quit a capture, the frame is left hanging. I looked through the code, and this is due to org-capture