[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Emacs - formatting and dating files.
"Stephen J. Turnbull" wrote:
>
> >>>>> "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.
Guess what. It failled - with the longest error message I've yet seen
from Emacs.
Something along the lines of Error in init file: wrong type of argument,
symbolp [most of the code above]
It doesn't stay on the screen long enough for me to get a good look at
it. :-(
>
> 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.
I'm easy, although Emacs is what I'm used to. You might have guessed by
now that I'm not exactly a power user tho :-)
Swapping over should hopefully be relatively easy I guess.
What is the situation between GNU Emacs and XEmacs then? I thought they
were just part of the same group...*shows his ignorance*
My main concern at the moment is getting the tcl mode set to my liking
and having a white-on-black XEmacs window. I'm very fussy about the
colours of things - especially when I'm working on code.
I've just fired up XEmacs - it's got all sorts of interesting Tcl
options.... *dribble*
Baz.
Is there a way to port across my .emacs file to (I guess) a workable
.xemacs file - save all this pissing about with Emacs
--
Barrie J. Bremner
TheEnglishman [at] ecosse.net | OpenPGP public key ID: 5164F553
http://www.geocities.com/thefatenglishman
[Contact information available at website]
"Linux? Is that some kind of MacOS?"
-- BT technical support
---------------------------------------------------------------------
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.