Ken,

Thanks for the quick reply.  I agree with your assessment.  I have even created 
a script that runs emacs in a pseudo-daemon mode under windows making this 
question obsolete once I have started emacs.

However, I am running emacs on a USB drive.  If I change computers regularly, I 
have to start and stop emacs frequently.  Therefore, a long startup time can be 
quite a drag. Dumping is supposed to fix that drag so that emacs starts in less 
than a second.  See:

http://www.emacswiki.org/emacs/DumpingEmacs

However, I’m having problems in this arena.  Maybe I’ll have to recompile from 
source.

Matt.


From: Kenneth Goldman [mailto:[email protected]]
Sent: Tuesday, March 01, 2011 8:17 AM
To: Fidler,Matt,FORT WORTH,R&D
Subject: Re: [h-e-w] Speeding up Emacs

I don't know if you have some special setup, but the generic answer to "how do 
I start up emacs faster" is

Start it once a boot time (as a server) and leave it running forever.  Use 
emacsclient or gnuclient to quickly
attach to the running server.

My emacs runs for months at a time, through suspends and hibernates, so I don't 
really care whether it takes
one second or one minute to start.  It's lost in the boot time.

--
Ken Goldman   [email protected]
914-784-7646 (863-7646)




From:        "Fidler,Matt,FORT WORTH,R&D" <[email protected]>
To:        "[email protected]" <[email protected]>
Date:        03/01/2011 12:53 AM
Subject:        [h-e-w] Speeding up Emacs
Sent by:        [email protected]
________________________________



Hi,

I run emacs on a USB stick and am trying to figure out ways to speed up my 
startup.  I have autoloaded many functions, and it still takes up to 30 to 60 
seconds to load Emacs.  I have tried  “dumping” my emacs configuration and 
receive the following message with the dumped binary:

The instruction at “0x01197720b” referenced memory at “0x01b8a220”.  The memory 
could not be “written”.

Click on OK to terminate the program.
Click on CANCEL to debug the program.

Am I doing something wrong?

I currently run

emacs.exe –batch –execute “(dump-emacs \”fast-emacs.exe\” \”emacs.exe\”)” and 
it produces the appropriate binary.

Matt.

________________________________
This e-mail (including any attachments) is confidential and may be legally 
privileged. If you are not an intended recipient or an authorized 
representative of an intended recipient, you are prohibited from using, copying 
or distributing the information in this e-mail or its attachments. If you have 
received this e-mail in error, please notify the sender immediately by return 
e-mail and delete all copies of this message and any attachments.

Thank you.

Reply via email to