Sawfish
Advertisement
Scripts quick access edit this



Synopsis

Provides greater integration with emacs.

Description

This module is designed to allow greater integration between emacs and sawfish. Using emacs-eval you can run emacs lisp, with emacs-edit you can have emacs pop up a frame to edit a file, or (if it's already displayed) pop you to that window. It's meant to be fairly open-ended; have fun.

NOTE: This is designed to work with emacs version 23 (i.e., emacs-snapshot) because it uses the daemon-mode support which is new with emacs 23.

Installation

Just put it in your lisp directory and:

(require 'emacs)

Configuration

You may want to take a look at the emacs-path, emacsclient-path, and the emacs-check variables to see if they should be adjusted. Then you're free to set up whatever keybindings or whatever that you wish. For example:

(define-command 'edit emacs-edit #:spec "FEdit file:")
(define-command 'emacs (lambda () (emacs-run "t" 'frame)))
Advertisement