From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: optional packages on startup? Date: Tue, 26 Jul 2011 08:52:24 +0200 Message-ID: <4E2E6428.5040101@easy-emacs.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311663161 32485 80.91.229.12 (26 Jul 2011 06:52:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 06:52:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 26 08:52:37 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QlbVM-0008DH-AT for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2011 08:52:36 +0200 Original-Received: from localhost ([::1]:49139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlbVG-0005x7-T4 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2011 02:52:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlbVD-0005wk-4Q for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 02:52:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlbVC-0002g4-Ap for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 02:52:27 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:53779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlbVB-0002fs-Sq for help-gnu-emacs@gnu.org; Tue, 26 Jul 2011 02:52:26 -0400 Original-Received: from [192.168.178.27] (brln-4dbc49d1.pool.mediaWays.net [77.188.73.209]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MNtut-1QnYe32pgp-007UvC; Tue, 26 Jul 2011 08:52:24 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 In-Reply-To: X-Provags-ID: V02:K0:ljhjjY1fbVz38Qu7Z+JhhLYlJl6QRrg/Dowi2ma7rhW nwtvCJ3uAvt2UTalUzJK4kc7+iIVpbXHlXQ8AL4bXovvWQ1RGD 1O1nvPyPpE+vyRRrkoefFuON14L6O581JqZvkX8mVJYWeVCJnN TwbpFVOKftcocKxdigatMdowEpn8b8VaVMz2o7rfb4IXYNWKLY ynYOlQkOW5xOA+AtoCQPh37fdSQBQ+yZcbkPqN5/gY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 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:81774 Archived-At: Am 26.07.2011 08:42, schrieb Jai Dayal: > Hi, > In emacs, I have a lot of things that load up (cscopes, cedet, ecb). > Since I have to ssh into a proxy, and then into the main server, there's a > bit of latency for emacs to start up. > > Is there an easy way to say 'emacs simple filename.cpp' and if simple is > present, it skips over some number of packages? Doing emacs filename.cpp, > however, would load all packages. > > Thanks! > Jai > Hi, what about write into your init-file (if CONDITION load this load that) (file-readable-p) might a suitable condition IIUC Andreas