home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume24
/
mkid2
/
part01
/
gid.el
< prev
next >
Wrap
Lisp/Scheme
|
1991-10-09
|
788b
|
29 lines
;;; put this in your GnuEmacs startup file '~/.emacs' .
;;; or autoload it from some other file. -wsr
(require 'symfunc)
(defun gid (command)
"Run gid, with user-specified args, and collect output in a buffer.
While gid runs asynchronously, you can use the \\[next-error] command
to find the text that gid hits refer to."
(interactive (list (read-input "Run gid (with args): "
(symbol-around-point))))
(require 'compile)
(compile1
(concat "gid " command)
"No more gid hits" "gid"
)
)
(defun aid (command)
"Run aid, with user-specified args, and collect output in a buffer."
(interactive (list (read-input "Run aid (with args): "
(symbol-around-point))))
(require 'compile)
(compile1
(concat "aid -k " command)
"No aid hits" "aid"
)
)