[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Emacs - formatting and dating files.
>>>>> "Barrie" == Barrie Bremner <TheEnglishman [at] ecosse.net> writes:
Barrie> However, upon opening a .tcl file, I get the following
Barrie> error:
Barrie> Error in init file: Wrong type argument: keymapp, nil
Grr. Why do they make things so hard? There is _no_ point in not
defining a keymap on loading the file.
Try
(if t ; change `t' to `nil' to turn this off
(add-hook
#'(lambda ()
(progn
(define-key tcl-mode-map [(tab)] 'self-insert-command)
(define-key tcl-mode-map [(shift tab)] 'tcl-indent-command)))
'tcl-mode-hook))
If tcl-mode is set up properly, this should win.
Barrie> [The double pp on keymapp is as it reads - lisp
Barrie> predictate?]
Good guess. That's exactly what it is. Scheme people use `?' (as in
`keymap?'), which tends to cause C/FORTRAN/Basic programmers to piss
their pants. ;-)
Barrie> No joy.
You could always switch to XEmacs, where things are set up to _start
with_[1], and wrestle with figuring out how to configure stuff for
yourself in GNU Emacs later.... ;-)
Footnotes:
[1] Well, at least we try. GNU doesn't -- they have their reasons.
This difference in reasons is one of the _good_ things about the
split. You _can_ have it your way, you don't have to do it our way if
you prefer RMSmacs.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.