From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Update to org-protocol-capture-html Date: Mon, 24 Jul 2017 18:50:30 -0500 Message-ID: <87eft51jjt.fsf@alphapapa.net> References: <33ff160b-3018-503c-7bba-30124c25ad64@gmail.com> <87y3relr39.fsf@alphapapa.net> <7af9aa56-737b-bb68-bfb5-60bdad81335a@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZn7m-0004co-Tp for emacs-orgmode@gnu.org; Mon, 24 Jul 2017 19:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZn7j-0008Ny-Qp for emacs-orgmode@gnu.org; Mon, 24 Jul 2017 19:50:54 -0400 Received: from [195.159.176.226] (port=59848 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZn7j-0008NW-Ja for emacs-orgmode@gnu.org; Mon, 24 Jul 2017 19:50:51 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dZn7V-0005qR-Ut for emacs-orgmode@gnu.org; Tue, 25 Jul 2017 01:50:37 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Nikolay Kudryavtsev writes: > I'm using 9.0 too. It's just that I'm also using Windows. Maybe it's > the only platform where this happens. Yeah, I haven't even tried org-protocol on Windows. When I'm in Windows I use the Cygwin version of Emacs, and there are occasional issues with the Windows fork() code, which I guess might interact with this. > I even got the idea that you could use single slashes there from > test-org-protocol.el, since the documentation for org-protocol is > outdated. I saw another thread where some folks are working to update that... > Weirdly some tests in test-org-protocol.el use single slash, while > some use double. I guess we need a comment on this from org-protocol > dev. That does seem weird. > Yeah, I've seen emacsclient stockpiling, it happens on Windows and > should also happen on some other platforms, I guess, depending on how > their protocol support and/or OS processes are implemented. By default > emacsclient creates a process that waits till server reports that it's > finished editing it. This works for stuff like git and other places > where you want to edit something and then do something else from an > external app. But for places where you're not doing anything else it's > kind of pointless. On my system, the emacsclient process is killed when the org-capture buffer appears. I usually see this message, which I guess has something to do with it (I don't fully understand how org-protocol works internally): "Greedy org-protocol handler. Killing client." Which protocol handler are you using? Maybe the problem lies there. > Bonus somewhat offtopic question: I remember that you could create a > capture template that captures immediately, without launching a > capture window. How is it done? Forgot to write down the instructions, > the last time I tinkered with org-protocol. C-h v org-capture-templates RET Look for ":immediate-finish". :)