From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonatan Andersson Newsgroups: gmane.emacs.help Subject: Re: How to speed up emacs start time? Date: Fri, 31 Jul 2009 10:11:21 +0200 Message-ID: <3A796C77-CC3F-4103-8C74-CA824999BB70@jonix.org> References: <87ljm5669a.fsfhello@somewhere.com> <3b9893450907310051t51c94ac6h9e6b907eb3bf9dfd@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249050316 27582 80.91.229.12 (31 Jul 2009 14:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 14:25:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 16:25:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWt2i-0002Xi-QQ for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 16:25:09 +0200 Original-Received: from localhost ([127.0.0.1]:58367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWt2h-0002Qb-QQ for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 10:25:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWnDC-0006bY-3l for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:11:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWnD7-0006bF-7j for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:11:33 -0400 Original-Received: from [199.232.76.173] (port=57477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWnD7-0006bC-3D for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:11:29 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:33605) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWnD6-0006Uz-Qe for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:11:28 -0400 Original-Received: from ey-out-1920.google.com ([74.125.78.144]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWnD2-0003w4-Q7 for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 04:11:24 -0400 Original-Received: by ey-out-1920.google.com with SMTP id 5so491312eyb.24 for ; Fri, 31 Jul 2009 01:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=/rNtx4an27p5VGBo6AilOkjhy1BcEUapSrpVJ2OkvQs=; b=OjVc2Rgu+bx/LEocwET2xpkwDSGK1AXULUueMKdV/79eLp/aR8iGRDZVhVgo+szRdu ptN2P0F4FTVi1UzJb/lnj4uLsCRCxzbajR5Owq+HBO8SiB0EWCzZgCppSpx/vQ+qVBcy dAAaH9lCHZ03H31MIx6ZbIj6Q4sVxWSE1VDJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=A0TtDaXYzd4cVks6r5sbc9BIJZ5FLumI85R4Na6ULVuwys2BdZRJyestfevVxrcauc xa+762K8d76KcbOirDOMgsWKpmnwFODuR1rEAcqSdyT2ilbhRue4bA8eFvoGzkjeTK0E wTbxmi6G7zbxFY+5/B/SCxT8zD8TPLodK+5f8= Original-Received: by 10.211.194.9 with SMTP id w9mr2714602ebp.57.1249027882968; Fri, 31 Jul 2009 01:11:22 -0700 (PDT) Original-Received: from JonixMB.local (h222n1fls32o1122.telia.com [212.181.143.222]) by mx.google.com with ESMTPS id 28sm956876eyg.50.2009.07.31.01.11.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Jul 2009 01:11:22 -0700 (PDT) In-Reply-To: <3b9893450907310051t51c94ac6h9e6b907eb3bf9dfd@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 31 Jul 2009 10:24:28 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66572 Archived-At: Hi, Having two different version of any program installed is a sure way to go mad. I would suggest that you remove /usr/bin/emacs from the system (and emacslient et al) , and add the path to the Emacs 23.1 binary. I have first in my PATH variable the /Applications/Emacs.app/Contents/MacOS/:/ usr/bin: in my With kindest regards Jonatan Andersson On Jul 31, 2009, at 9:51 AM, n179911 wrote: > Thank you. Emacs 23.1 on Mac OSX works. > But when I start emacs at terminal (instead of running Emacs.app), > emacs (in /usr/bin/emacs version 22) complains that the .elc are > compiled for version 23. > > Can you please tell me what can I do to fix this? > > Thank you. > > On Thu, Jul 30, 2009 at 5:33 PM, Rafael wrote: >> n179911 writes: >> >>> And in my ~/bin/emacslib, I have >>> >>> $ ls >>> icicles-chg.el icicles-doc1.el icicles-fn.el icicles- >>> mode.el icicles.el >>> icicles-cmd1.el icicles-doc2.el icicles-mac.el icicles-opt.el >>> icicles-cmd2.el icicles-face.el icicles-mcmd.el icicles-var.el >>> >>> Can you please tell me how can I speed up emacs startup time? Is >>> there >>> anyway to compile the .el. files so that emacs can come up faster? >> >> This is what I would do: In a dired buffer of the ~/bin/emacslib >> directory, mark the .el files with 'M' and then byte-compile them >> with >> 'B'. >> > >