Learning eLisp
learn-elisp-for-emacs.uses.hn
learn-elisp-for-emacs.uses.hn
I also need to write a set of documentation for another project that couldn't be evaluated in place as a commented lisp buffer and this is kind of a practice for that, so...
I can open it but I don't know how the navigation works.
You have typed M-x h e l p, the help character. Type a Help option:
(Use SPC or DEL to scroll through this text. Type q to exit the Help command.)
a command-apropos. Give a substring, and see a list of commands
(functions interactively callable) that contain
that substring. See also the apropos command.
f describe-function. Type a function name and get documentation of it.
i info. The info documentation reader.
k describe-key. Type a command key sequence;
it displays the full documentation.
m describe-mode. Print documentation of current minor modes,
and the current major mode, including their special commands.
t help-with-tutorial. Select the Emacs learn-by-doing tutorial.
v describe-variable. Type name of a variable;
it displays the variable's documentation and value.
w where-is. Type command name; it prints which keystrokes
invoke that command.
For example, type C-h a (command-apropos) and then type "compile". That brings up a list of commands with "compile" in their name. Each is also a hyperlink; moving the cursor to them and pressing Enter brings you to their documentation, which also usually includes a link to their definition in elisp."apropos" is a good example of using an idiosyncratic term used by the help system. Also: kill-ring, "window" vs. "frame", "point". You just need to learn these, but you can pick them up from the tutorial and Emacs docs in the info pages. (Most of the terms come out of old Lisp culture, AFAICT.)
Waiting for a rainy evening with nothing on the telly :(
The book will be fixed, the submission not so...
On a related note, here is an interesting article from Steve Yegge on elisp (useful for folks like me who just want a quick primer)
http://steve-yegge.blogspot.com/2008/01/emergency-elisp.html
And if that's not enough, it comes with nearly a million lines of example code, that you can get at with three keystrokes; describe-function / describe-key (etc.), TAB (to select the link to the source code), ENT (to follow the link). From there, you can edit the code, press C-M-x, and immediately play with your changes. Emacs is written in Emacs Lisp, and you can view the code and edit it at runtime. This makes Emacs Lisp significantly easier to learn than pretty much anything else, where all you have books with snippets of code that nobody ever used or ever will use.
Emacs does not lack resources for learning Emacs Lisp.
I want to write a book that will get you to where you can profitably read the manuals.
The scrollbars disappear if you remove this attribute:
.hn-wc-body { overflow: auto; }
It does not look like that for me on Firefox on Linux. The author probably just missed it because of different font availability/preferences.
On windows with Firefox 3.6.13 I get: http://imgur.com/G4yl8
On Linux with Firefox 3.6.13 I get: http://imgur.com/x5WRt
It might be a font issue. We are finalising some layout features at Hypernumbers - this side project website is layout in a spreadsheet (I know, I know) so there are going to be some glitches. I suspect it is might be font related.
I'm mostly a vim user, but everytime I dabble in emacs (usually to play with org-mode :-)), it seems to have just about everything covered... Just curious.
If that is really the end, it could use some padding.
Clever.