Oblivion
0 of 0

File information

Last updated

Original upload

Created by

TesaPlus

Uploaded by

TesaPlus

Virus scan

Safe to use

About this mod

GNU Emacs major mode for editing CSE Coda source code. Features include auto-completion, indentation, syntax-highlighting, documentation in help-buffer.

Permissions and credits
GNU Emacs major mode for editing CSE Coda source code.

It is now part of "Little Coda Toolbox" https://www.nexusmods.com/oblivion/mods/47461 link.

-----------------------------------------------------------

^_^ This upload is causing severe head-scratching, sorry for the inconvenience ... If you don't know what Emacs and / or Coda are, this probably isn't for you. But read on, if you like.

Have a look at the Construction Set Extender's menu bar. The thing between "Gameplay" and "Tools", that's "Coda". ;-)

From the Coda Documentation: "Coda, simply put, is a powerful scripting language that all Bethesda Game Studios Editor Extender plugins implement. It’s primarily used to automate operations inside an editor environment. Tedious and monotonous tasks like renaming objects, renumbering form IDs, batch editing object attributes, etc, can be completed with just a few lines of code."

And Emacs is an editor, especially useful for editing source code (screenshot). This file makes it so that one can write Coda scripts in Emacs more easily. I mean, look at all the nice colours!

-----------------------------------------------------------


GNU Emacs major mode for editing CSE Coda source code.

= T.o.C.
    * Installation
    * Features
    * Missing Features
    * License

= Installation:
    Drop the contents of the archive into your load-path, and add the following to your .emacs or init.el:
    ---- 8< ---- 8< ---- 8< ---- 8< ----
    (require 'coda-mode)
    (add-hook 'coda-mode-hook 'glasses-mode)
    (add-to-list 'auto-mode-alist '("\\.coda\\'" . coda-mode))
    ;; GlassesModeIsNotOnlyRecommendedButStrictlyRequired.
    ;; -- "What did you say, dear?"
    ;; Glasses_Mode_Is_Not_Strictly_Required_But_Highly_Recommended.
    ;; -- "I thought you did."
    ---- >8 ---- >8 ---- >8 ---- >8 ----

= Features:
  • Indentation: Line indentation according to syntax.
  • Auto-completion of all built-ins, keyword, and Little Coda Toolbox functions
  • Help: With the cursor over a Coda function, type "C-c h". Or type "C-c d" to enter a function name.
  • Customize: Group Coda (not much there).
  • Coda source templates ("M-x coda-skeleton", "C-c s"). The function queries the user about stuff, and then accordingly opens a fresh buffer with a Coda source template, be it a background script or function.
  • Embed Texinfo in Coda source.

= Missing features:
  • I would like to support imenu (therefore Speedbar, ECB).

= License
  • This software is in the Public Domain.
  • The Coda's core function documentation we use in the *Help* buffer has been extracted from coda-commands.html. ShadeMe granted allowance for it being included in this software.
= Thank you.
    Thank you, shadeMe!
    Thank you, www.emacswiki.org
    Thank you, www.wikemacs.org
    Thank you, Internet.

Happy coding! ^_^