[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Emacs - formatting and dating files.



"Stephen J. Turnbull" wrote:
>
> Given the format eg you showed, you probably use tab a lot, and in
> fact you probably use it more for SQL than for Tcl.  You could do the
> following in .emacs:
> 
> (if t                   ; change `t' to `nil' to turn this off
>     (progn
>      (require 'tcl)
>      (define-key tcl-mode-map [(tab)]       'self-insert-command)
>      (define-key tcl-mode-map [(shift tab)] 'tcl-indent-command)))
> 
> Swapping that so that TAB does a Tcl indent and Shift-TAB inserts a
> literal TAB character is harder.  (C-TAB and M-TAB usually have
> commands bound to them already, so I don't want to use them.)

OK, I've entered this code into my .emacs file, however on startup Emacs
complains:

Error in init file: File error: "Cannot open load file", "tcl"

 Lisp isn't something I know anything about (except the fact it uses
more brackets than most languages :-)...

 Baz.
--
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.