From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Yiyi Hu" Newsgroups: gmane.emacs.bugs Subject: bug#940: Is there a way to quit loading of ~/.emacs please? Date: Wed, 10 Sep 2008 07:45:30 +0800 Message-ID: References: <48C685F3.60001@gmail.com> <48C6F44D.2050407@gmail.com> Reply-To: Yiyi Hu , 940@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221005268 28590 80.91.229.12 (10 Sep 2008 00:07:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2008 00:07:48 +0000 (UTC) Cc: 940@emacsbugs.donarmstrong.com To: "Lennart Borgman (gmail)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 10 02:08:43 2008 Return-path: Envelope-to: geb-bug-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 1KdDGE-00048d-F1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 02:08:42 +0200 Original-Received: from localhost ([127.0.0.1]:53779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdDFE-0008O1-G6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Sep 2008 20:07:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdDFA-0008KC-95 for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 20:07:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdDF9-0008Iz-8I for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 20:07:35 -0400 Original-Received: from [199.232.76.173] (port=37407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdDF9-0008Iw-4H for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 20:07:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56356) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdDF8-0003AK-DN for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 20:07:34 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8A07Wpu022281; Tue, 9 Sep 2008 17:07:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m89Nt5Ia016875; Tue, 9 Sep 2008 16:55:05 -0700 X-Loop: don@donarmstrong.com Resent-From: "Yiyi Hu" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 09 Sep 2008 23:55:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 940 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: notabug Original-Received: via spool by 940-submit@emacsbugs.donarmstrong.com id=B940.122100393414594 (code B ref 940); Tue, 09 Sep 2008 23:55:05 +0000 Original-Received: (at 940) by emacsbugs.donarmstrong.com; 9 Sep 2008 23:45:34 +0000 Original-Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m89NjU4r014588 for <940@emacsbugs.donarmstrong.com>; Tue, 9 Sep 2008 16:45:31 -0700 Original-Received: by yx-out-2324.google.com with SMTP id 8so1408785yxg.31 for <940@emacsbugs.donarmstrong.com>; Tue, 09 Sep 2008 16:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=i2nrt658E0WKp9t3saWlnl33AdxRrCIFoAv9AU65wk4=; b=qTC14u0N0RUm5q+0Afal9PHd+JifH31/p/RdxEJttn0qKhEPtehXCp7LyvlzHacl1f EaP+k13IliLqj9E2M0A/CTaXWo385z9jWKcw+8fbnKybAD8egRRy4GLocL0nl5C0xQ5R Hhw6SGHmOYrdqEHTMq6jtN9azRnxZ4HaivcoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SeWyC1a1pSziZ71x71sqIdr8mpJ3hUXPHlJuptkOcGXnqemsmo6iZnUqIIuKaqfpbx l9mSYPxHIPykKaPELBcd+NNj8pIuU8GK5NRbKtZDhtN5ai9gv/fRMmR3hpoV2pWkuvGq K0ua2otaZ1XNIv0Vve671mo578d05KxE4fARU= Original-Received: by 10.150.204.12 with SMTP id b12mr864885ybg.160.1221003930086; Tue, 09 Sep 2008 16:45:30 -0700 (PDT) Original-Received: by 10.150.98.15 with HTTP; Tue, 9 Sep 2008 16:45:30 -0700 (PDT) In-Reply-To: <48C6F44D.2050407@gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Tue, 09 Sep 2008 20:07:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20416 Archived-At: The reason I request this feature is just trying to make elisp and emacs more flexible. With this or without this feature won't hurt emacs' perfections in my mind. What I want is, if we can make best get better. Compile ~/.emacs won't take much time, even I do byte-compile-file within emacs, and bind it to a key doesn't spend much. It doesn't hurt either when press this key every time I want to compile ~/.emacs. But this is not the perfect sollution, The perfect sollution should be, let computer do what we want. You still have to specify custom-file within ~/.emacs and split ~/.emacs, don't you? For ~/.emacs, I ever have really big ~/.emacs.d, because of copying every interesting into ~/.emacs.d, and load it within ~/.emacs, As time goes, It grew beyond my control, I can find what I want to change easily. So, I choose to use only one ~/.emacs for better maintainablity, and let ~/.emacs to compile itself on demand. You didn't misunderstand anything, You just don't understand why people sometimes will like to stick in polar direction. :-) On Wed, Sep 10, 2008 at 6:10 AM, Lennart Borgman (gmail) wrote: > Yiyi Hu wrote: >> Why not use 'unless' statement version? >> (unless (byte-compile-file-if-newer "~/.emacs") >> remaining lisp code ...) >> Because, This will confuse M-x customize-* series functions. > > Just set custom-file to store customizations in another file. > >> Why not splitting ~/.emacs? >> I did this, and It's not a happy journey. Eg, when change something, I >> have to think wether I should put here or there, or within ~/.emacs. > > Not if you just put everything there. > > But the main question is: Why do you want to compile absolutely > everything? I feel there must be some misunderstanding somewhere. How > much time to you win? > > How many times do you start Emacs? I think most users just start Emacs > one they boot their computer. >