![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Programming Talk This forum is for all programming questions. The questions do not have to be directly related to Ubuntu and any programming language is allowed. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Dipped in Ubuntu
![]() Join Date: Jul 2005
Location: Northern CA
Beans: 565
Ubuntu Jaunty Jackalope (testing)
|
emacs slow startup
I used Options->Customize Emacs to create a ~/.emacs file that provides me a larger font size. When emacs starts, it takes 6 - 7 seconds to resize the window then fill it with the larger text. I'm running this on an amd64 athlon 3200. The same thing in gedit is instantaneous.
__________________
AMD64 3200+; Nvidia Geforce FX5200, 128MB; Abit NF8; 1GB DDR; 64-bit mode. |
|
|
|
|
|
#2 |
|
Spilled the Beans
![]() Join Date: May 2006
Beans: 14
|
Re: emacs slow startup
I have exactly same problem btw. My main programming language is java but i tried to learn a little more lisp (just for fun, not for real coding of course). Installed emacs and slime. Because default emacs is ugly i tried some customizations like changing font and colors, after that emacs startup is terribly slow.
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 5
|
Re: emacs slow startup
Exactly the same problem here.
I used Emacs on Dapper Drake for a few months. I always made the updates and then suddenly the emacs startup became very slow. I think it has something to do with Gnome, because with other window managers like IceWM, Fluxbox or LarsWM there's no problem. I also recognized that the startup is very slow when you have customized emacs, like font size, window size, ... Perhabs someone has a solution to the problem! I think it has something to do with Gnome as I wrote above, but I'm not sure, and especially no expert in this. Please help, Zippo |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2006
Beans: 5
|
Re: emacs slow startup
Try this line in your .emacs file:
Code:
(modify-frame-parameters nil '((wait-for-wm . nil))) Hope this helps, Clint |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2005
Location: Canada
Beans: 134
Ubuntu 6.06
|
Re: emacs slow startup
Awesome! I've been wondering about that! Thanks very much.
__________________
Mobile AMD Athlon 64 4000+; 1024MB DDR; 100GB / 160GB(external); Dual-layer DVD+/-R(W); Radeon X600 |
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2005
Beans: 14
Edgy Eft Testing
|
Re: emacs slow startup
eey.. thanks Harfooz! It's been a while since I used emacs, but I had this problem as well
|
|
|
|
|
|
#7 | |
|
Dipped in Ubuntu
![]() Join Date: Jul 2005
Location: Northern CA
Beans: 565
Ubuntu Jaunty Jackalope (testing)
|
Re: emacs slow startup
Quote:
__________________
AMD64 3200+; Nvidia Geforce FX5200, 128MB; Abit NF8; 1GB DDR; 64-bit mode. |
|
|
|
|
|
|
#9 | |
|
Ubuntu Extra Shot
![]() |
Re: emacs slow startup
Quote:
If you have lots of emacs customisation you can byte compile the el files into elc files to make you custom code run quicker! Luke Code:
(defun lw:byte-compile-directory(directory)
"Byte compile every .el file into a .elc file in the given directory. See
`byte-recompile-directory'."
(interactive
(list
(read-file-name "Lisp directory: ")))
(byte-recompile-directory directory 0 t))
__________________
Registered Linux User #219690 @ Linux Counter, http://counter.li.org. |
|
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2007
Location: Berlin, Germany
Beans: 2
Ubuntu 6.10 Edgy
|
Re: emacs slow startup
Hi all
My experience is somewhat similar to that discussed earlier: - 1 second to load Emacs when connected to university ethernet - 6 seconds to load Emacs without ethernet - 1 second to load Emacs whenever some unknown and evidently insecure WLAN in my apartment block was detected - Gnome also equally slow to start, particularly the first icon on the splashscreen (whatever that is) - emacs -q and/or -nw make no difference to speed - adding the following line to ~/.emacs did nothing (modify-frame-parameters nil '((wait-for-wm . nil))) - instantaneous response : $ hostname takes several seconds : $ hostname --short My fix was to modify /etc/hosts as follows: 127.0.1.1 sojus # was 'robbie-laptop' My domain name is sojus.****.tu-berlin.de. The phrase 'robbie-laptop' arose from the Live Ubuntu DVD install process. At one point I naively entered: computer name = robbie-laptop Later during the install /etc/hostname was modified to achieve ethernet connectivity (but /etc/hosts remained unexamined and untouched): sojus # was 'robbie-laptop It is my belief that the request for a computer name during installation should be more explicit and state that the domainname is sought and not some cute identifier. My system details for the record: - hardware : Toshiba Tecra A2 330 laptop part no : PTA20A - 028002 purchase : 27-Aug-2004 some specs : Celeron mobile 1.4 GHz / 512 MB RAM (originally 256 MB) 10/100 ethernet (Intel 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)) 802.11b/g WLAN (Intel PRO/Wireless 2200BG Network Connection (rev 05)) - distro : Ubuntu 6.10 - kernel : 2.6.17-10-generic - emacs version : 21.4.1 package : emacs 21-0ubuntu2 fonts : default fonts used, no .Xdefaults or elisp modifications Hope this helps. Many thanks, as always, to the Linux community. Robbie Morrison |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|