From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#4399: 23.1; let a file know it was run with --script Date: Fri, 18 Sep 2009 15:00:38 -0400 Message-ID: References: Reply-To: Glenn Morris , 4399@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253301163 1776 80.91.229.12 (18 Sep 2009 19:12:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 19:12:43 +0000 (UTC) Cc: 4399@emacsbugs.donarmstrong.com To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 21:12:36 2009 Return-path: Envelope-to: geb-bug-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 1Moisl-0004mV-83 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 21:12:35 +0200 Original-Received: from localhost ([127.0.0.1]:48612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Moisk-0005Bt-KY for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 15:12:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoinW-00034S-Rn for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:07:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoinS-000321-55 for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:07:10 -0400 Original-Received: from [199.232.76.173] (port=50251 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoinR-00031v-SL for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:07:05 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:25221) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoinR-0004b3-C3 for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:07:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoinQ-00033Q-6S for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:07:04 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IJ72da012235; Fri, 18 Sep 2009 12:07:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8IJ58dB011962; Fri, 18 Sep 2009 12:05:08 -0700 Resent-Date: Fri, 18 Sep 2009 12:05:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 18 Sep 2009 19:05:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4399 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4399-submit@emacsbugs.donarmstrong.com id=B4399.125330044110675 (code B ref 4399); Fri, 18 Sep 2009 19:05:08 +0000 Original-Received: (at 4399) by emacsbugs.donarmstrong.com; 18 Sep 2009 19:00:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IJ0dAk010671 for <4399@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 12:00:40 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MoihD-0007jf-12; Fri, 18 Sep 2009 15:00:39 -0400 X-Spook: argus Bruxelles strategic White House rs9512c CIA morse X-Ran: w?h3!*kv*FLlcV}iv6Zt~o{4xcx'i(5_yk>0`)fcv&xMhMG+"uW]&u$M#k__mG:VH[R8!E X-Hue: black X-Attribution: GM In-Reply-To: (Tom Tromey's message of "Fri, 18 Sep 2009 12:56:59 -0600") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Fri, 18 Sep 2009 15:07:10 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31234 Archived-At: Tom Tromey wrote: >>>>>> "GM" == Glenn Morris writes: > > GM> It sounds like noninteractive will work fine (you could perhaps check > GM> command-line-args if you want finer control)? > > I don't think that has the same effect if you load multiple such files. > I only want the "main" one to eval the code. That's what I was suggesting checking command-line-args for. If you still need some extra functionality, we can leave reopen this as a wishlist.