[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get skills in elisp ?
From: |
Tassilo Horn |
Subject: |
Re: How to get skills in elisp ? |
Date: |
Mon, 25 May 2009 12:04:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
Francis Moreau <francis.moro@gmail.com> writes:
Hi Francis,
> But now I got the main picture of the language but I would need some
> practice since the reference manual lack of examples before I feel
> confortable enough to start writing my own elisp scripts.
>
> Could anybody give me some direction at that point ?
As always in learning (programming) languages. Pick some elisp lib that
you use and try to understand how it works by looking at its code. Then
try to extend it if a functionality you'd love to have is not included.
> Also I would like to know how people debug their scripts? Are there
> any tricks?
For debugging the edebug facility is what you're looking for.
,----[ (info "(elisp)Edebug") ]
| Edebug is a source-level debugger for Emacs Lisp programs with which
| you can:
|
| * Step through evaluation, stopping before and after each expression.
|
| * Set conditional or unconditional breakpoints.
| [...]
`----
> For now I just write some forms and evaluate them with 'C-j'.
That's one possibility. Another good way is using a REPL. Have a look
at IELM (M-x ielm RET).
Bye,
Tassilo
- Re: How to get skills in elisp ?, (continued)
- Message not available
- Re: How to get skills in elisp ?, Francis Moreau, 2009/05/25
- Re: How to get skills in elisp ?, Pascal J. Bourguignon, 2009/05/25
- Re: How to get skills in elisp ?, Andreas Röhler, 2009/05/25
- Re: How to get skills in elisp ?, Richard Riley, 2009/05/25
- Re: How to get skills in elisp ?, Pascal J. Bourguignon, 2009/05/25
- Re: How to get skills in elisp ?, Richard Riley, 2009/05/25
- Re: How to get skills in elisp ?, Francis Moreau, 2009/05/26
- RE: How to get skills in elisp ?, Drew Adams, 2009/05/25
- Message not available
- Re: How to get skills in elisp ?, Francis Moreau, 2009/05/25
- RE: How to get skills in elisp ?, Drew Adams, 2009/05/25
Re: How to get skills in elisp ?,
Tassilo Horn <=
Re: How to get skills in elisp ?, Pascal J. Bourguignon, 2009/05/25
RE: How to get skills in elisp ?, Benjamin Badgley, 2009/05/28