From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Limiting init loading when running --batch Date: Wed, 04 Mar 2015 22:33:55 -0500 Message-ID: <87pp8okti4.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425526465 17851 80.91.229.3 (5 Mar 2015 03:34:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 03:34:25 +0000 (UTC) To: Emacs Help List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 05 04:34:25 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 1YTMY8-000255-Jt for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 04:34:14 +0100 Original-Received: from localhost ([::1]:47960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTMY7-0006n6-SQ for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 22:34:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTMXw-0006n0-NU for help-gnu-emacs@gnu.org; Wed, 04 Mar 2015 22:34:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTMXv-0006RD-QZ for help-gnu-emacs@gnu.org; Wed, 04 Mar 2015 22:34:00 -0500 Original-Received: from mail-qa0-x236.google.com ([2607:f8b0:400d:c00::236]:37659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTMXv-0006R0-LJ for help-gnu-emacs@gnu.org; Wed, 04 Mar 2015 22:33:59 -0500 Original-Received: by mail-qa0-f54.google.com with SMTP id v8so8881805qal.13 for ; Wed, 04 Mar 2015 19:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=LNcRHuMU4SCdaRqYrUIjcnZR+hGzeP5nWeEojcPQnFI=; b=vEysWbPVYTakJbArVORi8Vi5oyR/TO7KxgcO/XnhWNdEFk/CKGY6G4wCsJKQOeLmYy g9oBjIVw1WmaT3umnmzEa1KTmHqCg96NLhNqogsjks4ClcD22sK+LZiKZVRTt4QKp6ii xTsRCeMRONv3U0OMjx4P3RKJ0BwVS4WdYcjkkQshIgGOXCwS4nAjtKyeQev9L3viIdTh f5xZlxvl+CyDA+IR5+VDwruC/xChpQGYcnEs5JbDkYNomF246ht1wwCftY/+6PB/xyCd FEFAmm+FHZouaTlZeOMsVbMpo7WNMl7/CxEtMtyunZGY4jL/gsW7DjVIe6r7+LfUyM32 9CSw== X-Received: by 10.140.34.36 with SMTP id k33mr9793871qgk.66.1425526438608; Wed, 04 Mar 2015 19:33:58 -0800 (PST) Original-Received: from localhost.localdomain ([2601:0:a602:8412:ee55:f9ff:feb5:5589]) by mx.google.com with ESMTPSA id t9sm2445916qar.21.2015.03.04.19.33.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 19:33:57 -0800 (PST) User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::236 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:103026 Archived-At: I use --batch as part of a shell script to export my orgmode agenda as an ICS file and upload it to a server where it is read by Google Calendar. But when I run batch, it loads my entire emacs (most of which is not necessary for this operation) and sometimes chokes on lines that are apparently incompatible. Is there a way to avoid loading the whole init file, or to prepend lines with something that would except them from batch runs?