From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: call-process and incremental display of output Date: Tue, 16 Oct 2018 16:32:44 +0200 Message-ID: <87r2gq2c8j.fsf@gmx.de> References: <87y3ay2fcy.fsf@oldenburg.str.redhat.com> <87va622cqt.fsf@gmx.de> <877eii2cjm.fsf@oldenburg.str.redhat.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1539700310 12263 195.159.176.226 (16 Oct 2018 14:31:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2018 14:31:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Florian Weimer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 16 16:31:46 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCQNt-00035q-P3 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Oct 2018 16:31:45 +0200 Original-Received: from localhost ([::1]:58389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCQQ0-0003BP-8x for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Oct 2018 10:33:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCQP7-00037D-Ku for help-gnu-emacs@gnu.org; Tue, 16 Oct 2018 10:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCQP2-00040G-Dl for help-gnu-emacs@gnu.org; Tue, 16 Oct 2018 10:33:01 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:45973) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCQP0-0003oW-9w for help-gnu-emacs@gnu.org; Tue, 16 Oct 2018 10:32:56 -0400 Original-Received: from detlef.gmx.de ([212.86.50.126]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LhB9P-1fpPGT0Qkh-00oWtL; Tue, 16 Oct 2018 16:32:46 +0200 Original-Received: from detlef.gmx.de ([212.86.50.126]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LhB9P-1fpPGT0Qkh-00oWtL; Tue, 16 Oct 2018 16:32:46 +0200 In-Reply-To: <877eii2cjm.fsf@oldenburg.str.redhat.com> (Florian Weimer's message of "Tue, 16 Oct 2018 16:26:05 +0200") X-Provags-ID: V03:K1:7ghdYSFUWALQB9SFIK85oFT3LZWjg64E8xIabIcFIL8/VspcHsv dVd0/S0vdrkSXrM7kKbmXxBxnxo/Y5OWob05VPSHDcbayyQZUuQqiNUybwHBbNPZqxVgkTj 8dYFq+d+ryjdRMTO34ivJNxTzfy3ea/egIF6ne0MYNVtGvwmXBbUmev4//NDCv7QB46h5x2 qKfmc1zPUOpXh7jZzFdQA== X-UI-Out-Filterresults: notjunk:1;V01:K0:4vp6y0ZUoLY=:HpV3E88TyZs7WvVoI+G7ll BRkw8KCNu8rZsONA66txL/Oe5Il84TtPKAYdWeIGzopfP7pUgJRUkScVlSNt/qsQyxbB+DpAb um86LDduazP3A1VBkkZG9xmYoIFfLjmP00gFJHWFk91LYaQFugD7BPobCDpjLjjMbE/1ZDmyA 77zLWAyvzwvnSo821DA9SDUX6AlPNt2RjVBFomk6EZvF/y37E4gBlQ3T13pEBjD9s1OsQBbVW fJiR/F/B67S+fEiH4RtSCUIFsV8AMeFr4vzK4QJ4oxUUKp0ErFWXoYyzv21DczNnwmf6jo9wR NfLHEs3guC2OmC0F1bN+fHNsyVWQjFhQ1eGvyFxDxbtO36hCWV7EErZa+ZTpLIfdTcLIvKxh7 0vUfTW8bX0g9okaltFSd1/OynKihXEtBNX8hT+/oRRdv+V1hD1TWOr0uShEx5NtilGXVgmcld eNYVqNDscun4plITt0gE0VPNCB7Ox/KUd9KUl1JQzQcIBfGdNLS+6uJSRCoNRYbO9K4b3B8to F5HNRop4hp8yoxr35Ou3tIwOAq1x+ymoyz1/1/JhRb1mV7Qu83S1LJIbhWvkK4m6l1wJ112BJ 7s2Vnp7DLWWIo93yXeuOj7YFLLvPjvv0B3dtCCpW5aFRo0CtSBwVncZILqjFR6LAKujxYWakb nCQ2SLxOiTt2HE0dqG8iW5CDwF2W7VpqwVO8OdtryWJhKOVw/hsaEOA/yLXZujxEM72hgOeS+ 2jDu0/zBhjfBlReS2Mh1mP9iS7BrSobibSuCeeKEknWG3DUuA55CkMFQV94UlXloJ3H10QuS X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118281 Archived-At: Florian Weimer writes: >>> I'm trying to show some progress information while downloading email for >>> Gnus using an external program. >>> >>> Any idea what is necessary to get incremental output? >> >> Use `start-process'. > > That's not synchronous, so it won't work for fetching email in a > callback from Gnus. You could write some code around, which returns to Gnus once the async process has finished. > Thanks, > Florian Best regards, Michael.