all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to get skills in elisp ?
@ 2009-05-25  7:30 Francis Moreau
  2009-05-25  8:17 ` Drew Adams
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Francis Moreau @ 2009-05-25  7:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I finally took time to start learning elisp hence nobody can call me
an dumb emacs user ;)

I started by reading the info files containing the Gnu Emacs Lisp
Reference Manual although I haven't read it entirely.

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 ?

Also I would like to know how people debug their scripts ? Are there
any tricks ? For now I just write some forms and evaluate them with 'C-
j'.

Thanks


^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: How to get skills in elisp ?
@ 2009-05-28  7:09 Benjamin Badgley
  2009-05-28 15:55 ` Drew Adams
  0 siblings, 1 reply; 18+ messages in thread
From: Benjamin Badgley @ 2009-05-28  7:09 UTC (permalink / raw)
  To: help-gnu-emacs


Not flaming Drew, only stating fact. I still use a dial up with a serial 
modem. It's okay for our needs presently. Rather, it needs to be.

That aside, I have been delving into the lovely world of load path. 
Seems I've gotten a rather long group listing for a load path. Any ideas 
on how to wrangle it back down to perhaps two or so directories? Not 
sure where to go to set it for Emacs itself. My dot emacs file evaluates 
out the long path listing.

I want to finish hacking the dot emacs and then byte compile it, set a 
new dot emacs up.

;;; Included in the new dot emacs
(require 'emacs-source.elc)

That will cut down load time. If I keep the original dot emacs then, I 
can add / subtract and recompile as needed. Besides that it'll save 
running into evaluation errors when it loads a simple one or two line 
dot emacs file.

However, that darn load path issue bugs me. And I may be taking the long 
way home. Please let me if that's the case, it's how I learn. But no 
need to indulge stupidity either, if you can offer some help, pointers 
please do.

So far my favorite line of code is the one below.

(setq inhibit-startup-message t)

And I also enjoy:

(add-to-list 'load-path 
"/usr/share/emacs/site-lisp/emacs-goodies-el/color-theme.el")
(require 'color-theme)
(eval-after-load "color-theme-wheat"
  (progn (color-theme-hober))

As for finding useful documentation, I find myself doing a  C-h i a lot. 
It helped get me started on hacking the dot emacs file. I stumbled over 
the Emacs FAQ via the C-h i key-chord.  With auto decompress on in Emacs 
you can read compressed info files just swell. I bet it would also work 
on those pesky compressed man pages, too. ;)

Well, I ought to be scooting along. Need to break tomorrow, do some 
writing instead of coding.  Nitol, run it slow.  :)

;;; Ben





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-05-28 15:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25  7:30 How to get skills in elisp ? Francis Moreau
2009-05-25  8:17 ` Drew Adams
     [not found] ` <mailman.7753.1243239425.31690.help-gnu-emacs@gnu.org>
2009-05-25  9:15   ` Francis Moreau
2009-05-25 10:22     ` Pascal J. Bourguignon
2009-05-25 11:50     ` Andreas Röhler
2009-05-25 12:42     ` Richard Riley
2009-05-25 13:51       ` Pascal J. Bourguignon
2009-05-25 14:18         ` Richard Riley
2009-05-26  7:58       ` Francis Moreau
2009-05-25 17:11     ` Drew Adams
     [not found]     ` <mailman.7774.1243271469.31690.help-gnu-emacs@gnu.org>
2009-05-25 19:41       ` Francis Moreau
2009-05-25 20:52         ` Drew Adams
2009-05-25 10:04 ` Tassilo Horn
2009-05-25 11:01 ` Pascal J. Bourguignon
2009-05-25 12:03   ` Andreas Röhler
2009-05-27 13:05   ` Thien-Thi Nguyen
  -- strict thread matches above, loose matches on Subject: below --
2009-05-28  7:09 Benjamin Badgley
2009-05-28 15:55 ` Drew Adams

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.