From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: kill-emacs and returning values Date: Sat, 14 Feb 2009 21:23:26 +0100 Message-ID: <7dbe73ed0902141223w1d2e16d6kc8287caa26c40019@mail.gmail.com> References: <7dbe73ed0902140551w7a85d043n54e451896d99279e@mail.gmail.com> <1234631845.6514.4.camel@surlej> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234643021 3192 80.91.229.12 (14 Feb 2009 20:23:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2009 20:23:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: mathias@mnet-mail.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 14 21:24:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LYR4J-0004Hy-SO for ged-emacs-devel@m.gmane.org; Sat, 14 Feb 2009 21:24:56 +0100 Original-Received: from localhost ([127.0.0.1]:57085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYR2z-0004Mg-QR for ged-emacs-devel@m.gmane.org; Sat, 14 Feb 2009 15:23:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LYR2v-0004MU-6z for emacs-devel@gnu.org; Sat, 14 Feb 2009 15:23:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LYR2t-0004MA-SB for emacs-devel@gnu.org; Sat, 14 Feb 2009 15:23:28 -0500 Original-Received: from [199.232.76.173] (port=49075 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYR2t-0004M3-Mk for emacs-devel@gnu.org; Sat, 14 Feb 2009 15:23:27 -0500 Original-Received: from mail-fx0-f16.google.com ([209.85.220.16]:48427) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LYR2t-0005uE-Ch for emacs-devel@gnu.org; Sat, 14 Feb 2009 15:23:27 -0500 Original-Received: by fxm9 with SMTP id 9so4267751fxm.18 for ; Sat, 14 Feb 2009 12:23:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xSmqN5fwZbtO/Of468DKtnyToYUGKR5c2+oA1LJKUVU=; b=wnfmobzjpj96C33N18yj+1LgOtwh3RgpmB8qRRGCJe5nlVJaWQCtxwPSkMu3M1Dq0L O8COF71iwLCj3+gG9T5XQohbWusD2x26VQn5xV6mFk5F0tQHYFxVc7s8N/X6Des6mMpE Ml+E5AY9odFZVzGJT1rfUvuoPWUNd3oELJ/ZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WVLuKoaYe/3Yg+cA1eDsXqwIC0ojQI/GJCaQxbM2XPI5g1r8kz8CxD5/zLzg0yiHz0 xEKrlPBPGOvflgPAV9fyEIYRAGmC4pR8yCzvAs5NTe9J1SSpVw5/x7FVQ9Fe8VZe4k9n NCEwgLNfSafYN13LuED9TSN295hS1fPiYM2X8= Original-Received: by 10.103.224.17 with SMTP id b17mr753497mur.61.1234643006130; Sat, 14 Feb 2009 12:23:26 -0800 (PST) In-Reply-To: <1234631845.6514.4.camel@surlej> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109071 Archived-At: > Does it work for your purpose if you change the last line > to: > > (kill-emacs "returnvalue='This is the return value.'") > > > $ emacs -Q -nw -l ke.el > > returnvalue='This is the return value.' > > $ echo $returnvalue I tried that already and it would have - if it worked :( Could this depend on which shell you use? I am using bash.