all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Yiyi Hu" <yiyihu@gmail.com>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: 940@emacsbugs.donarmstrong.com
Subject: bug#940: Is there a way to quit loading of ~/.emacs please?
Date: Wed, 10 Sep 2008 07:45:30 +0800	[thread overview]
Message-ID: <f469f8de0809091645r44123db6pc78680f75504fa22@mail.gmail.com> (raw)
In-Reply-To: <48C6F44D.2050407@gmail.com>

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)
<lennart.borgman@gmail.com> 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.
>






  reply	other threads:[~2008-09-09 23:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09  6:50 bug#940: Is there a way to quit loading of ~/.emacs please? Yiyi Hu
2008-09-09 13:52 ` Juanma Barranquero
2008-09-09 14:19 ` Lennart Borgman (gmail)
2008-09-09 18:24   ` Yiyi Hu
2008-09-09 22:10     ` Lennart Borgman (gmail)
2008-09-09 23:45       ` Yiyi Hu [this message]
     [not found]     ` <18631.27735.100063.263157@kahikatea.snap.net.nz>
2008-09-10  7:53       ` Yiyi Hu
2008-09-09 14:52 ` Stefan Monnier
2011-10-04 19:31 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f469f8de0809091645r44123db6pc78680f75504fa22@mail.gmail.com \
    --to=yiyihu@gmail.com \
    --cc=940@emacsbugs.donarmstrong.com \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.