Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fwilliams/pov-mode
Povray Major mode for emacs
https://github.com/fwilliams/pov-mode
Last synced: 24 days ago
JSON representation
Povray Major mode for emacs
- Host: GitHub
- URL: https://github.com/fwilliams/pov-mode
- Owner: fwilliams
- Created: 2015-10-28T03:16:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T03:19:39.000Z (about 9 years ago)
- Last Synced: 2024-10-15T01:24:48.530Z (2 months ago)
- Language: Emacs Lisp
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pov-Mode
This major mode for GNU Emacs provides support for editing Povray
scene files, rendering and viewing them. It automatically indents
blocks, both {} and #if #end. It also provides context-sensitive
keyword completion and font-lock highlighting, as well as the
ability to look up those keywords in the povray documentation.## Installation
Add the following code to your emacs init file.
```elisp
(add-to-list 'load-path "~/john/pov-mode-3.x")
(autoload 'pov-mode "pov-mode" "PoVray scene file mode" t)
(add-to-list 'auto-mode-alist '("\\.pov\\'" . pov-mode))
(add-to-list 'auto-mode-alist '("\\.inc\\'" . pov-mode))
```The "~/john/pov-mode-3.x" should be the path to the file pov-mode.el .
Once installed, you may need to set pov-include-dir and
pov-documentation-directory. You can set these by using M-x
set-variable or M-x customize-group RET pov RET.Byte compile the pov-mode.el to make it load faster.
Type M-x byte-compile-file.To read pov-mode documentation, type M-x pov-mode then C-h m.
To access the pov-mode info file type C-u C-h i RET. This will
prompt you for a file: give the pov-mode.info file that you can
find in the pov-mode.el directory. Or install somewhere in your
INFOPATH and run install-info pov-mode.info dir.Download and install somewhere the InsertMenu directory, if you
want this nice feature. I'd recommend you to unpack it in the same
directory of pov-mode.el and check via M-x customize-group that the
variable pov-insertmenu-location has the correct value. It is
possible that has a fresher version of
this package.