From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: call-process and incremental display of output Date: Wed, 17 Oct 2018 11:21:56 +0200 Message-ID: <20181017092156.GE31501@tuxteam.de> References: <87y3ay2fcy.fsf@oldenburg.str.redhat.com> <87ftx5x9bv.fsf@oldenburg.str.redhat.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ey/N+yb7u/X9mFhi" X-Trace: blaine.gmane.org 1539768039 28159 195.159.176.226 (17 Oct 2018 09:20:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2018 09:20:39 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 17 11:20:35 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 1gCi0I-0007Ch-70 for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Oct 2018 11:20:35 +0200 Original-Received: from localhost ([::1]:34864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCi2O-0000Wv-7e for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Oct 2018 05:22:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCi1s-0000We-9s for help-gnu-emacs@gnu.org; Wed, 17 Oct 2018 05:22:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCi1m-0001VE-0K for help-gnu-emacs@gnu.org; Wed, 17 Oct 2018 05:22:11 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:57908) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCi1i-0001Il-7w for help-gnu-emacs@gnu.org; Wed, 17 Oct 2018 05:22:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=ap0kzArLkouNsSdNa8NK8nYspI1CvJmAIm7azgXvl7A=; b=rUFqy3EKNqg+xISksMFSevnYIGDx+aRZ9749n2BBV9fRao1SO8zsCizLer4bzWU+TMEOdC7CnJwEQ1tcHf5kzd+9kHmX3qHuupKdZd+8Dcme1ztcTVCuiN7dX0sHFfbupqk6uBVKKQwGWDaW6q68DSCQyGUeUauiljpP370UQcgDsomWXvkbVSDMNHrBndSk2BeFjINLvO3PKdODpNQLABqm2jQnqTKDWD9iXEJAXzzY7CrQCBLYlFTRbxCtsph1dqvblq+iqjuzIl1iC7h4oB38Jzjel2f/8L44uq0Fll5pnwJs4xR2PozAxYL486yRPHmvgeRTbe2iSlKHyocOFQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1gCi1d-0000Qt-00 for help-gnu-emacs@gnu.org; Wed, 17 Oct 2018 11:21:57 +0200 Content-Disposition: inline In-Reply-To: <87ftx5x9bv.fsf@oldenburg.str.redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:118297 Archived-At: --ey/N+yb7u/X9mFhi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 17, 2018 at 10:32:04AM +0200, Florian Weimer wrote: > * Stefan Monnier: >=20 > >> (defun fw/get-new-mail () [...] > I see. Further questions: How can I restore the window configuration > after the process terminates? Is there something similar to > save-excursion? save-window-excursion > How can I make the displayed buffer to scroll to the end? (pop-to buffer "foo") (goto-char (point-max)) Don't wrap this in save-excursion :-) Cheers -- t --ey/N+yb7u/X9mFhi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlvG/zQACgkQBcgs9XrR2kbOIQCeI+b6q1l+Z84hvPso3Y0+QXud E9EAn3+xHjnL6GX3VknqSM3c+UoTZSIs =c8Tj -----END PGP SIGNATURE----- --ey/N+yb7u/X9mFhi--