From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: gnuplot persist does not work using Emacs comint Date: Mon, 16 Dec 2013 12:57:47 -0700 Message-ID: <20131216195747.GA17573@hysteria.proulx.com> References: <52aeb44f$0$2871$e4fe514c@news2.news.xs4all.nl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1387223886 20589 80.91.229.3 (16 Dec 2013 19:58:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2013 19:58:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 16 20:58:12 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VseIt-0004gd-Eg for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 20:58:11 +0100 Original-Received: from localhost ([::1]:57923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VseIt-0005bg-24 for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 14:58:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VseId-0005bO-TF for help-gnu-emacs@gnu.org; Mon, 16 Dec 2013 14:58:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VseIX-0004GT-KX for help-gnu-emacs@gnu.org; Mon, 16 Dec 2013 14:57:55 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:53733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VseIX-0004Fo-Cp for help-gnu-emacs@gnu.org; Mon, 16 Dec 2013 14:57:49 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id D931E2122C for ; Mon, 16 Dec 2013 12:57:47 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id CADE32DCA1; Mon, 16 Dec 2013 12:57:47 -0700 (MST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <52aeb44f$0$2871$e4fe514c@news2.news.xs4all.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95022 Archived-At: Alex van der Spek wrote: > ~/$ gnuplot -p -e 'plot x' > ... > But when executing this as a comint process, i.e. using Emacs as the > shell script editor and running the shell script it does not. The plot is > generated and disappears immediately. How are you doing this? When I tried the above it worked for me in that the window persisted. Please say exactly what it is that you are doing so that others may recreate the issue. Also please say the version of emacs you are using. And also what operating system you are using. > difficult for me at this stage. Not quite sure what comint is to begin > with. The comint.el file describes itself this way: ;; This file defines a general command-interpreter-in-a-buffer package ;; (comint mode). The idea is that you can build specific process-in-a-buffer ;; modes on top of comint mode -- e.g., Lisp, shell, scheme, T, soar, .... ;; This way, all these specific packages share a common base functionality, ;; and a common set of bindings, which makes them easier to use (and ;; saves code, implementation time, etc., etc.). Bob