Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fc68affa
Commit
fc68affa
authored
Jul 16, 1992
by
Eric S. Raymond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
282d89c0
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
84 additions
and
46 deletions
+84
-46
lisp/calendar/holidays.el
lisp/calendar/holidays.el
+8
-0
lisp/comint.el
lisp/comint.el
+1
-1
lisp/dabbrev.el
lisp/dabbrev.el
+1
-1
lisp/emulation/edt.el
lisp/emulation/edt.el
+4
-4
lisp/flow-ctrl.el
lisp/flow-ctrl.el
+10
-3
lisp/frame.el
lisp/frame.el
+5
-0
lisp/ftp.el
lisp/ftp.el
+3
-1
lisp/play/hanoi.el
lisp/play/hanoi.el
+8
-0
lisp/progmodes/hideif.el
lisp/progmodes/hideif.el
+44
-36
No files found.
lisp/calendar/holidays.el
View file @
fc68affa
;;; holidays.el --- holiday functions for the calendar package
;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
;; Last-Modified: 14 Jul 1992
;;; Copyright (C) 1989, 1990 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
...
...
@@ -18,6 +22,8 @@
;; file named COPYING. Among other things, the copyright notice
;; and this notice must be preserved on all copies.
;;; Commentary:
;; This collection of functions implements the holiday features as described
;; in calendar.el.
...
...
@@ -32,6 +38,8 @@
;; Software--Practice and Experience, Volume 20, Number 9 (September, 1990),
;; pages 899-928.
;;; Code:
(
require
'calendar
)
;;;###autoload
...
...
lisp/comint.el
View file @
fc68affa
...
...
@@ -351,7 +351,7 @@ buffer. The hook comint-exec-hook is run after each exec."
;; This is just (append new old-env) that compresses out shadowed entries.
;; It's also pretty ugly, mostly due to
e
lisp's horrible iteration structures.
;; It's also pretty ugly, mostly due to lisp's horrible iteration structures.
(
defun
comint-update-env
(
old-env
new
)
(
let
((
ans
(
reverse
new
))
(
vars
(
mapcar
(
function
(
lambda
(
vv
)
...
...
lisp/dabbrev.el
View file @
fc68affa
...
...
@@ -25,7 +25,7 @@
; size limit variable. Bugs fixed from the Twenex version are flagged by
; comments starting with ;;; .
;
; converted to
el
isp by Spencer Thomas.
; converted to
Emacs L
isp by Spencer Thomas.
; Thoroughly cleaned up by Richard Stallman.
;
; If anyone feels like hacking at it, Bob Keller (Keller@Utah-20) first
...
...
lisp/emulation/edt.el
View file @
fc68affa
...
...
@@ -40,10 +40,10 @@
;; lot during debugging.
;;
;; I will gladly take all criticisms and complaints to heart, and will fix what
;; bugs I can find. As this is my first
el
isp hack, you may have to root
out a
;; few nasties hidden in the code. Please let me know if you find any
(sorry,
;; no rewards :-). I would also be interested if there are better,
cleaner,
;; faster ways of doing some of the things that I have done.
;; bugs I can find. As this is my first
Emacs L
isp hack, you may have to root
;;
out a
few nasties hidden in the code. Please let me know if you find any
;;
(sorry,
no rewards :-). I would also be interested if there are better,
;;
cleaner,
faster ways of doing some of the things that I have done.
;;
;; You must understand some design considerations that I had in mind.
;; The intention was not really to "emulate" EDT, but rather to take advantage
...
...
lisp/flow-ctrl.el
View file @
fc68affa
;;; flow-ctrl.el --- help for lusers on cu(1) or terminals with wired-in ^S/^Q flow control
;;; flow-ctrl.el --- help for lusers on cu(1) or ttys with wired-in ^S/^Q flow control
;; Author Kevin Gallagher
;; Maintainer: FSF
;; Last-Modified: 03 Jun 1992
;; Adapted-By: ESR
;;; Copyright (C) 1990 Free Software Foundation, Inc.
;;; Copyright (C) 1991 Kevin Gallagher
;;; Adapted for Emacs 19 by Eric S. Raymond <eric@snark.thyrsus.com>
;;;
;;; GNU Emacs is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY. No author or distributor accepts
...
...
@@ -18,7 +22,8 @@
;;; your rights and responsibilities. It should be in a file named
;;; COPYING. Among other things, the Copyright notice and this notice
;;; must be preserved on all copies.
;;;
;;; Commentary:
;;;; Terminals that use XON/XOFF flow control can cause problems with
;;;; GNU Emacs users. This file contains Emacs Lisp code that makes it
...
...
@@ -36,6 +41,8 @@
;;; Portability note: This uses (getenv "TERM"), and therefore probably
;;; won't work outside of UNIX-like environments.
;;; Code:
(
defun
evade-flow-control
()
"Enable use of flow control; let user type C-s as C-\ and C-q as C-^."
(
interactive
)
...
...
lisp/frame.el
View file @
fc68affa
;;; frame.el --- multi-frame management independent of window systems.
;; Maintainer: FSF
;; Last-Modified: 09 Jul 92
;;;; Copyright (C) 1990, 1992 Free Software Foundation, Inc.
;;; This file is part of GNU Emacs.
...
...
@@ -18,6 +21,8 @@
;;; along with GNU Emacs; see the file COPYING. If not, write to
;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
;;; Code:
(
defvar
frame-creation-function
nil
"Window-system dependent function to call to create a new frame.
The window system startup file should set this to its frame creation
...
...
lisp/ftp.el
View file @
fc68affa
;;; ftp.el --- file input and output over Internet using FTP
;; Author: Richard Mlynarik <mly@prep.ai.mit.edu>
;; Last-Modified: 05 May 1992
;; Copyright (C) 1987 Free Software Foundation, Inc.
;; Author mly@prep.ai.mit.edu.
;; This file is part of GNU Emacs.
...
...
lisp/play/hanoi.el
View file @
fc68affa
;;; hanoi.el --- towers of hanoi in GNUmacs
;; Author: Damon Anton Permezel
;; Maintainer: FSF
;; Last-Modified: 09 May 1991
;; Keywords: games
; Author (a) 1985, Damon Anton Permezel
; This is in the public domain
; since he distributed it without copyright notice in 1985.
;;; Code:
;;;
;;; hanoi-topos - direct cursor addressing
;;;
...
...
@@ -191,3 +198,4 @@
(
backward-char
(
/
(
+
len
1
)
2
))
(
delete-char
1
)
(
insert
?\|
))))))
;;; hanoi.el
\ No newline at end of file
lisp/progmodes/hideif.el
View file @
fc68affa
;;; hide-ifdef-mode.el --- ides selected code within ifdef.
;;; hide-ifdef-mode.el --- hides selected code within ifdef.
;;; Author: Dan LaLiberte <liberte@a.cs.uiuc.edu>
;;; Last-Modified: 06 Mar 1991
;;; $Header: hide-ifdef-mode.el,v 1.7 88/02/16 03:12:58 liberte Exp $
;;; Copyright (C) 1988 Brian Marick and Daniel LaLiberte
;;; Commentary:
;;; Written by Brian Marick, at Gould, Computer Systems Division, Urbana IL.
;;; Extensively modified by Daniel LaLiberte (while at Gould).
;;;
...
...
@@ -8,41 +16,8 @@
;;; of modifications and send comments to:
;;; liberte@a.cs.uiuc.edu or ihnp4!uiucdcs!liberte
;;; I will continue to upgrade hide-ifdef-mode
;;; with your contributions and will eventually offer it to FSF.
;;;
;;; $Header: hide-ifdef-mode.el,v 1.7 88/02/16 03:12:58 liberte Exp $
;;;
;;; $Log: hide-ifdef-mode.el,v $
;;; Revision 1.7 88/02/16 03:12:58 liberte
;;; Fixed comments and doc strings.
;;; Added optional prefix arg for ifdef motion commands.
;;;
;;; Revision 1.6 88/02/05 00:36:18 liberte
;;; Bug fixes.
;;; 1. A multi-line comment that starts on an #ifdef line
;;; now ends on that line.
;;; 2. Fix bad function name: hide-hif-ifdef-toggle-read-only
;;; 3. Make ifdef-block hiding work outside of ifdefs.
;;;
;;; Revision 1.5 88/01/31 23:19:31 liberte
;;; Major clean up.
;;; Prefix internal names with "hif-".
;;;
;;; Revision 1.4 88/01/30 14:09:38 liberte
;;; Add hide-ifdef-hiding and hide-ifdef-mode to minor-mode-alist.
;;;
;;; Revision 1.3 88/01/29 00:38:19 liberte
;;; Fix three bugs.
;;; 1. Function "defined" is just like lookup.
;;; 2. Skip to newline or cr in case text is hidden.
;;; 3. Use car of token list if just one symbol.
;;;
;;; Revision 1.2 88/01/28 23:32:46 liberte
;;; Use hide-ifdef-mode-prefix-key.
;;; Copy current-local-map so other buffers do not get
;;; hide-ifdef-mode bindings.
;;;
;;;--------------------------------------------------------------
;;; with your contributions.
;;; To initialize, toggle the hide-ifdef minor mode with
;;;
;;; M-x hide-ifdef-mode
...
...
@@ -117,7 +92,40 @@
;;; may appear. "Ifdef" will appear when hide-ifdef-mode is active. "Hiding"
;;; will appear when text may be hidden ("hide-ifdef-hiding" is non-nil).
;;; Change Log:
;;;
;;; $Log: hide-ifdef-mode.el,v $
;;; Revision 1.7 88/02/16 03:12:58 liberte
;;; Fixed comments and doc strings.
;;; Added optional prefix arg for ifdef motion commands.
;;;
;;; Revision 1.6 88/02/05 00:36:18 liberte
;;; Bug fixes.
;;; 1. A multi-line comment that starts on an #ifdef line
;;; now ends on that line.
;;; 2. Fix bad function name: hide-hif-ifdef-toggle-read-only
;;; 3. Make ifdef-block hiding work outside of ifdefs.
;;;
;;; Revision 1.5 88/01/31 23:19:31 liberte
;;; Major clean up.
;;; Prefix internal names with "hif-".
;;;
;;; Revision 1.4 88/01/30 14:09:38 liberte
;;; Add hide-ifdef-hiding and hide-ifdef-mode to minor-mode-alist.
;;;
;;; Revision 1.3 88/01/29 00:38:19 liberte
;;; Fix three bugs.
;;; 1. Function "defined" is just like lookup.
;;; 2. Skip to newline or cr in case text is hidden.
;;; 3. Use car of token list if just one symbol.
;;;
;;; Revision 1.2 88/01/28 23:32:46 liberte
;;; Use hide-ifdef-mode-prefix-key.
;;; Copy current-local-map so other buffers do not get
;;; hide-ifdef-mode bindings.
;;;
;;; Code:
(
defvar
hide-ifdef-mode-map
nil
"Keymap used with Hide-Ifdef mode"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment