From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Speeding up Emacs load time Date: Tue, 16 Jul 2013 20:54:29 +0300 Message-ID: <83li562xwq.fsf@gnu.org> References: <87r4ezdiiy.fsf@VLAN-3434.student.uu.se> <87r4ez92ry.fsf@VLAN-3434.student.uu.se> <87txjv7gen.fsf@VLAN-3434.student.uu.se> <26142f86-cacf-40a9-a101-fc8a37818347@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1373997549 11620 80.91.229.3 (16 Jul 2013 17:59:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 17:59:09 +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 16 19:59:10 2013 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 1Uz9Wo-0001pZ-0T for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jul 2013 19:59:10 +0200 Original-Received: from localhost ([::1]:41021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9Wn-0008Ux-G0 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jul 2013 13:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9SH-0002AM-Ab for help-gnu-emacs@gnu.org; Tue, 16 Jul 2013 13:54:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz9SF-0000ph-DF for help-gnu-emacs@gnu.org; Tue, 16 Jul 2013 13:54:29 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:44606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9SF-0000oo-5K for help-gnu-emacs@gnu.org; Tue, 16 Jul 2013 13:54:27 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MQ100400IRF7000@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 16 Jul 2013 20:54:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ1004CNJ2O6P20@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 16 Jul 2013 20:54:24 +0300 (IDT) In-reply-to: <26142f86-cacf-40a9-a101-fc8a37818347@googlegroups.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:92160 Archived-At: > Date: Mon, 15 Jul 2013 21:13:03 -0700 (PDT) > From: Rustom Mody > > What does this illustrate? That the right defaults on different systems are different and emacs needs some significant amount of extra logic to get it right. Yes, but all that happens internally and (mostly, as much as is practically possible) transparently to users. > Passive portability (80s C): Avoid troublesome non-portable features > Active portability (post perl): DO what it takes for the system to run on all OSes. > > I hear Eli as saying: Passive portability is provided. Asking for more is outside the domain of emacs' responsibility No, I think I'm saying that Emacs is very much into the active portability business. > 1. Every windows program would print OTB -- except emacs Emacs doesn't print OTB on Unix as well, you need to configure the printing. > 2. Backslash forwardslash in path problems. Yeah at a find-file prompt emacs would be actively portable and understand either. However if I was careless and cut-pasted a path from windows-explorer the registry or some such into elisp... MUCH WOE. If lucky, elisp would give a syntax error. Mostly the paths would just not work. My solution is to use Emacs for almost everything, and use ported GNU software for everything else. Puff! the problem's gone. > 3. The .emacs would simply not be found because $HOME does not have a central existence on windows as it does on unix. That's outdated: there _is_ the equivalent of $HOME on modern Windows systems, has been since Windows 2000. And Emacs uses that if you don't set HOME in the environment. > However the entire experience puts me in Emanuel camp -- making emacs work on windows is much more work than on linux. I never contradicted that. I said that once set up, it works the same, but that's all. > My newest laptop comes with Windows-8. Makes it unusable not just for emacs but for almost everything. I cant even find the control-panel!! Google for it, and you will find it.