annotate lisp/ilisp/ilxemacs.el @ 185:3d6bfa290dbd r20-3b19

Import from CVS: tag r20-3b19
author cvs
date Mon, 13 Aug 2007 09:55:28 +0200
parents b82b59fe008d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;;; -*- Mode: Emacs-Lisp -*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ;;; illuc19.el --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 ;;; This file is part of ILISP.
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
6 ;;; Version: 5.8
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ;;; Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;;; 1993, 1994 Ivan Vasquez
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
10 ;;; 1994, 1995, 1996 Marco Antoniotti and Rick Busdiecker
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
11 ;;; 1996 Marco Antoniotti and Rick Campbell
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;;; Other authors' names for which this Copyright notice also holds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;;; may appear later in this file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;;;
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
16 ;;; Send mail to 'ilisp-request@naggum.no' to be included in the
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
17 ;;; ILISP mailing list. 'ilisp@naggum.no' is the general ILISP
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ;;; mailing list were bugs and improvements are discussed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;;; ILISP is freely redistributable under the terms found in the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 ;;; COPYING.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 ;;;============================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;;; Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 ;;; XEmacs 19.14 doesn't have comint-input-chunk-size but earlier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 ;;; versions do, so we define here if needed. (toy@rtp.ericsson.se)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 (if (not (boundp 'comint-input-chunk-size))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 (setq comint-input-chunk-size 512))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 ;;;============================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 ;;; Functions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 (defun ilisp-get-input-ring ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 "Use instead of get-input-ring coming-input-ring or input-ring."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 (if (eq +ilisp-emacs-version-id+ 'lucid-19)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (get-input-ring)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 ;; else lucid-19-new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 comint-input-ring))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 (defun ilisp-ring-insert (ring input)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 (if (eq +ilisp-emacs-version-id+ 'lucid-19)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 (ring-insert-new ring input)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 (ring-insert ring input)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 (defun ilisp-temp-buffer-show-function-symbol ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 'temp-buffer-show-function)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 (defun set-ilisp-temp-buffer-show-function (val)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 (setq temp-buffer-show-function val))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 (defun ilisp-temp-buffer-show-function ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 temp-buffer-show-function)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 (defun ilisp-input-ring-index ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 comint-input-ring-index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 input-ring-index))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 (defun set-ilisp-input-ring-index (n)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 (setq comint-input-ring-index n)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 (setq input-ring-index n)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 (defun ilisp-input-ring-size ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 comint-input-ring-size
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 input-ring-size))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (defun set-ilisp-input-ring-size (n)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 (setq comint-input-ring-size n)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 (setq input-ring-size n)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 ;;============================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 ;;; Epilogue
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 (provide 'il-luc19)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 ;;; end of file -- il-luc19.el --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93