[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: optional packages on startup?

From: Perry Smith
Subject: Re: optional packages on startup?
Date: Fri, 29 Jul 2011 11:54:43 -0500


I don't use CEDET.  If you do connect more than once to the same emacs server and it continues to pull in cedet, I would look at your mode hooks first to see what they are doing.  Usually it should use "require /  provide" rather than "load".

Hopefully a more cedet savvy person will reply too.

Good luck,

On Jul 29, 2011, at 11:46 AM, Jai Dayal wrote:

Basically, it's still loading CEDET.  Any idea why?

---------- Forwarded message ----------
From: Jai Dayal <address@hidden>
Date: Fri, Jul 29, 2011 at 10:46 AM
Subject: Re: optional packages on startup?
To: Perry Smith <address@hidden>

On Wed, Jul 27, 2011 at 2:59 PM, Jai Dayal <address@hidden> wrote:
I've done this, but it still pulls things like cedet...

Here's the messages buffer.

("emacs" "-l" ".simple.el")
Loading /ascldap/users/jdayal/cedet-1.0/common/cedet.el (source)...
Setting up CEDET packages...
Cannot open load file: cogre-loaddefs
Cannot open load file: contrib-loaddefs
Setting up CEDET packages...done
Loading /ascldap/users/jdayal/cedet-1.0/common/cedet.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.

here's .simple.el

;; .emacs                                                                                                                                                                                                                                   
(global-set-key "\C-xg" 'goto-line)

;; turn on font-lock mode                                                                                                                                                                                                                   
(when (fboundp 'global-font-lock-mode)                                                                                                                                                                                                      
  (global-font-lock-mode t))

(setq c-default-style "stroustrup"                                                                                                                                                                                                          
      c-basic-offset 4)

;; enable visual feedback on selections                                                                                                                                                                                                     
;(setq transient-mark-mode t)                                                                                                                                                                                                               

;; default to better frame titles                                                                                                                                                                                                           
(setq frame-title-format                                                                                                                                                                                                                    
      (concat  "%b - emacs@" (system-name)))

;; default to unified diffs                                                                                                                                                                                                                 
(setq diff-switches "-u")

On Tue, Jul 26, 2011 at 6:13 AM, Perry Smith <address@hidden> wrote:

On Jul 26, 2011, at 3:33 AM, Peter Dyballa wrote:

Am 26.07.2011 um 08:42 schrieb Jai Dayal:

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.

Create a SIMPLE (or basic) init file and launch GNU Emacs as 'emacs -l SIMPLE.el'. A shell alias can help to reduce typing.

My suggestion is to leave a "server" emacs running and then just attach to it when you ssh over.  See emacsclient for more details (or ask this list).

Basic, n.:
A programming language. Related to certain social diseases in that those who have it will not admit it in polite company.

Java, n.:
  The new Basic

reply via email to

[Prev in Thread] Current Thread [Next in Thread]