/[emacs]/emacs/lisp/comint.el
ViewVC logotype

Diff of /emacs/lisp/comint.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.266 by rms, Wed Feb 27 19:31:00 2002 UTC revision 1.267 by walters, Mon Mar 11 21:12:49 2002 UTC
# Line 56  Line 56 
56  ;; For further information on the standard derived modes (shell,  ;; For further information on the standard derived modes (shell,
57  ;; inferior-lisp, inferior-scheme, ...), see the relevant source files.  ;; inferior-lisp, inferior-scheme, ...), see the relevant source files.
58    
   
 ;; To give your mode support for the programmable, dynamic completion  
 ;; facility in "pcomplete.el", you should define two functions in the  
 ;; following form, replacing <MODE> with the prefix of your mode:  
   
 ;; (defvar <MODE>-pcomplete-setup-p nil)  
 ;; (defun <MODE>-pcomplete ()  
 ;;   "Cycle forwards through completions at point, using `pcomplete'.  
 ;; This function merely invokes `pcomplete', after ensuring this buffer  
 ;; is set up for it."  
 ;;   (interactive)  
 ;;   (unless (prog1 <MODE>-pcomplete-setup-p  
 ;;          (setq <MODE>-pcomplete-setup-p t))  
 ;;     (pcomplete-comint-setup '<MODE>-dynamic-complete-functions))  
 ;;   (setq this-command 'pcomplete)  
 ;;   (call-interactively #'pcomplete))  
   
 ;; (defun <MODE>-pcomplete-reverse ()  
 ;;   "Cycle backwards through completions at point, using `pcomplete'.  
 ;; This function merely invokes `pcomplete-reverse', after ensuring this  
 ;; buffer is set up for it."  
 ;;   (interactive)  
 ;;   (unless (prog1 <MODE>-pcomplete-setup-p  
 ;;          (setq <MODE>-pcomplete-setup-p t))  
 ;;     (pcomplete-comint-setup '<MODE>-dynamic-complete-functions))  
 ;;   (setq this-command 'pcomplete-reverse)  
 ;;   (call-interactively #'pcomplete-reverse))  
   
59  ;; For hints on converting existing process modes (e.g., tex-mode,  ;; For hints on converting existing process modes (e.g., tex-mode,
60  ;; background, dbx, gdb, kermit, prolog, telnet) to use comint-mode  ;; background, dbx, gdb, kermit, prolog, telnet) to use comint-mode
61  ;; instead of shell-mode, see the notes at the end of this file.  ;; instead of shell-mode, see the notes at the end of this file.

Legend:
Removed from v.1.266  
changed lines
  Added in v.1.267

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26