From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: --script and --quick Date: Tue, 26 May 2015 16:44:01 +0200 Message-ID: <877frvbdqm.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1432651475 20895 80.91.229.3 (26 May 2015 14:44:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2015 14:44:35 +0000 (UTC) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 26 16:44:27 2015 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 1YxG5f-0005m6-0f for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2015 16:44:23 +0200 Original-Received: from localhost ([::1]:48409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxG5e-00076U-9W for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2015 10:44:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxG5R-00076M-6r for help-gnu-emacs@gnu.org; Tue, 26 May 2015 10:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxG5M-0000jD-Ri for help-gnu-emacs@gnu.org; Tue, 26 May 2015 10:44:09 -0400 Original-Received: from mout.web.de ([212.227.17.12]:53740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxG5M-0000j5-Ho for help-gnu-emacs@gnu.org; Tue, 26 May 2015 10:44:04 -0400 Original-Received: from drachen.dragon ([94.217.118.16]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MDP6H-1YuI4F0zsr-00Gp8m; Tue, 26 May 2015 16:44:02 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:X4nIpdxtwiUlb3JDVympfUtdHU35DAtz5Lc1it7TEpURoxLa0ji 0u8yHQs19dUpVqGKthFiqcmSbiUnboBlL2O7jtVakE76l/khUIlWkinxXxgmHoEMm4pyF9I oK92GIicvR0M5NpwCj36VJ8E9SdsJXKGgrm6Fmb/s/ngSQ87rV0kQhdey+I218X8IgJb3Vi Bthds8Y3ilY0vjJ74ziAw== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.12 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:104576 Archived-At: Hello, when I write an "Emacs script", a file starting with "#!/usr/bin/emacs --script" or similar, is there any way to force a quick start (as -Q would do for a regular Emacs invocation) when the script will be executed? I mean, apart from using something hackish like --8<---------------cut here---------------start------------->8--- #!/bin/sh ":"; exec emacs --quick --script "$0" "$@" # -*- mode: emacs-lisp -*- --8<---------------cut here---------------end--------------->8--- as first file lines instead. Thanks, Michael.