From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: java.lang.NullPointerException in Emacs but not in terminal Date: Sun, 26 Apr 2009 13:46:47 +0200 Message-ID: <045CA040-AA9A-43CD-9788-DE3752E6EA0B@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240828638 16443 80.91.229.12 (27 Apr 2009 10:37:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 10:37:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Henri Fischer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 27 12:37:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ly2qw-00061i-6j for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Apr 2009 13:48:58 +0200 Original-Received: from localhost ([127.0.0.1]:35275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly2pW-0001eF-Pj for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Apr 2009 07:47:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly2pA-0001di-9x for help-gnu-emacs@gnu.org; Sun, 26 Apr 2009 07:47:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly2p5-0001cf-PF for help-gnu-emacs@gnu.org; Sun, 26 Apr 2009 07:47:07 -0400 Original-Received: from [199.232.76.173] (port=34231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly2p5-0001cc-IN for help-gnu-emacs@gnu.org; Sun, 26 Apr 2009 07:47:03 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:50654) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly2p5-00049J-4o for help-gnu-emacs@gnu.org; Sun, 26 Apr 2009 07:47:03 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 89A5EFDBC81D; Sun, 26 Apr 2009 13:46:54 +0200 (CEST) Original-Received: from [91.35.198.172] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (WEB.DE 4.110 #277) id 1Ly2ow-00057Z-00; Sun, 26 Apr 2009 13:46:54 +0200 In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19UFYXPAand1UuYu/qBW+wghzqJyIlwP9th3tdI TWwNBZ3I36CgXdpkYFz/vZVs4VqCaRJpaHIJj/IvtznI2eeOB2 cKFCg+eaosPK8LfE0O8g== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64036 Archived-At: Am 26.04.2009 um 12:27 schrieb Henri Fischer: > Why does my code behave like that in Emacs and not in terminal? Because Shell Command is meant for asynchronous use and does not =20 attach a terminal to the process? Your Java code could test for this! =20= (And report or complain.) What about interactive use? In *shell* or =20 *terminal* or even a *compilation* buffer? -- Greetings Pete "Evolution" o __o _o _ =B0\___o /0~ -\<, ^\___ /=3D\\_/-% oo~_______ /\ /\______/ \_________O/ O_______________o=3D=3D=3D>-->O--o___= _