[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: Nesting Sections in Muse.
From: |
Magnus Henoch |
Subject: |
[emacs-wiki-discuss] Re: Nesting Sections in Muse. |
Date: |
Fri, 28 Oct 2005 18:53:02 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) |
Jim Ottaway <address@hidden> writes:
> What I would really like is a defstruct implemented outside of the cl
> package, so that one could use it freely [the cl package is anathema
> to some]. It would make lots of code like (nth 5 thing-list) and
> (cadddr thing-list) much easier to read.
defstruct is a macro, so byte-compiled code that uses it doesn't
depend on cl at run time. Just use this line:
(eval-when-compile (require 'cl))
and even purists are happy (they have to byte-compile your code, of
course).
Magnus
- Re: [emacs-wiki-discuss] Re: Nesting Sections in Muse., (continued)
- Re: [emacs-wiki-discuss] Re: Nesting Sections in Muse., Trent Buck, 2005/10/28
- Re: [emacs-wiki-discuss] Re: Nesting Sections in Muse., Seth Falcon, 2005/10/28
- [emacs-wiki-discuss] Re: Nesting Sections in Muse., Michael Olson, 2005/10/29
- RE: [emacs-wiki-discuss] Re: Nesting Sections in Muse., Phillip Lord, 2005/10/29
- [emacs-wiki-discuss] Re: Nesting Sections in Muse., Michael Olson, 2005/10/29
- RE: [emacs-wiki-discuss] Re: Nesting Sections in Muse., Phillip Lord, 2005/10/30
- Re: [emacs-wiki-discuss] Re: Nesting Sections in Muse., Jim Ottaway, 2005/10/28
Re: [emacs-wiki-discuss] Nesting Sections in Muse., Jim Ottaway, 2005/10/28
RE: [emacs-wiki-discuss] Nesting Sections in Muse., Phillip Lord, 2005/10/28
RE: [emacs-wiki-discuss] Nesting Sections in Muse., Phillip Lord, 2005/10/28