[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user-controlled load-path extension: load-dir
From: |
Mike Mattie |
Subject: |
Re: user-controlled load-path extension: load-dir |
Date: |
Tue, 8 Mar 2011 22:26:01 -0800 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Mar 08, 2011 at 04:37:37AM -0600, Ted Zlatanov wrote:
> On Mon, 7 Mar 2011 16:47:27 -0800 Mike Mattie <address@hidden> wrote:
>
> MM> As far as error-handling goes grail does shine a bit in that errors within
> MM> a file are trapped, meaning that mistakes in one file does not cause the
> MM> entire configuration to abort leading to a --debug-init situtation. In
> this
> MM> regard Grail is extremely robust.
>
> That sounds useful indeed.
>
> MM> I am seriously considering how to add the kind of functionality you want
> to
> MM> Grail. I would like to add it to broaden the usefullness of Grail. I do
> not
> MM> like the idea of hacking another load-path 'ish variable into Emacs when
> simply
> MM> adding elisp to manage load-path is an option. Two similar variables is
> simply
> MM> bad design.
>
> Maybe you could provide separate packages: grail-loader, grail-load-dir
> (the snippets directory), and grail-modules (the current Grail modules
> like keys.el). Then users can choose which layout they prefer and still
> get the benefit of a safe loader. Or perhaps grail-load-dir can simply
> be part of grail-loader.
I have been reading this thread very carefully and have given the
snippets proposal alot of thought. I am willing to add a snippets
directory like functionality. I would require the user to execute a
command to signal to grail that the user has placed a new file in the
snippets directory.
BTW, Grail does allow you to change the layout, by creating a
grail-cfg.el file in USER_ELISP (see the Grail page for the meaning of
that variable). grail-cfg.el is loaded if it exists right after the
default tree is defined in defvar's and before the heavy lifting is done
in terms of loading.
>
> Ted
>
>
pgpVTlNdb4D4x.pgp
Description: PGP signature
- Re: user-controlled load-path extension: load-dir, (continued)
- Re: user-controlled load-path extension: load-dir, Mike Mattie, 2011/03/09
- Re: user-controlled load-path extension: load-dir, Jan Djärv, 2011/03/10
- Re: user-controlled load-path extension: load-dir, Mike Mattie, 2011/03/09
- Re: user-controlled load-path extension: load-dir, Jan D., 2011/03/09
- Re: user-controlled load-path extension: load-dir, Mike Mattie, 2011/03/09
- Re: user-controlled load-path extension: load-dir, Mike Mattie, 2011/03/07
- Re: user-controlled load-path extension: load-dir, Ted Zlatanov, 2011/03/08
- Re: user-controlled load-path extension: load-dir,
Mike Mattie <=
- Re: user-controlled load-path extension: load-dir, Ted Zlatanov, 2011/03/09
Re: user-controlled load-path extension: load-dir, Ben Key, 2011/03/08
RE: user-controlled load-path extension: load-dir, Ben Key, 2011/03/08