From: Chris Hanson Date: Tue, 10 Aug 1993 06:50:48 +0000 (+0000) Subject: Fix pagination. X-Git-Tag: 20090517-FFI~8102 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=72483958e66337b0e0b754c7b4df3c36ae500c9c;p=mit-scheme.git Fix pagination. --- diff --git a/v7/src/edwin/dosshell.scm b/v7/src/edwin/dosshell.scm index d7dced687..b250c0290 100644 --- a/v7/src/edwin/dosshell.scm +++ b/v7/src/edwin/dosshell.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: dosshell.scm,v 1.2 1993/02/25 02:56:29 gjr Exp $ +$Id: dosshell.scm,v 1.3 1993/08/10 06:38:22 cph Exp $ Copyright (c) 1992-1993 Massachusetts Institute of Technology @@ -94,7 +94,7 @@ Customization: Entry to this mode runs the hook pseudo-shell-mode-hook." ;; (define-key 'pseudo-shell #\tab 'comint-dynamic-complete) ;; (define-key 'pseudo-shell #\M-? 'comint-dynamic-list-completions) - + (define-command shell "Run an inferior pseudo shell, with I/O through buffer *shell*. With prefix argument, unconditionally create a new buffer. diff --git a/v7/src/edwin/edtstr.scm b/v7/src/edwin/edtstr.scm index 406bb7a9d..d30bedd39 100644 --- a/v7/src/edwin/edtstr.scm +++ b/v7/src/edwin/edtstr.scm @@ -1,8 +1,8 @@ ;;; -*-Scheme-*- ;;; -;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/edtstr.scm,v 1.21 1992/02/13 23:35:07 cph Exp $ +;;; $Id: edtstr.scm,v 1.22 1993/08/10 06:39:51 cph Exp $ ;;; -;;; Copyright (c) 1989-92 Massachusetts Institute of Technology +;;; Copyright (c) 1989-93 Massachusetts Institute of Technology ;;; ;;; This material was developed by the Scheme project at the ;;; Massachusetts Institute of Technology, Department of @@ -104,6 +104,8 @@ (set-editor-select-time! current-editor (1+ time)) time)) +;;;; Buttons + (define-structure (button-event (conc-name button-event/)) (window false read-only true) (x false read-only true) @@ -132,7 +134,7 @@ (define button-record-type (make-record-type 'BUTTON '(NUMBER DOWN?))) - + (define make-down-button) (define make-up-button) (let ((%make-button diff --git a/v7/src/edwin/filcom.scm b/v7/src/edwin/filcom.scm index 86a54c042..726e2d109 100644 --- a/v7/src/edwin/filcom.scm +++ b/v7/src/edwin/filcom.scm @@ -1,8 +1,8 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: filcom.scm,v 1.174 1993/01/12 10:45:46 cph Exp $ +;;; $Id: filcom.scm,v 1.175 1993/08/10 06:40:36 cph Exp $ ;;; -;;; Copyright (c) 1986, 1989-92 Massachusetts Institute of Technology +;;; Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology ;;; ;;; This material was developed by the Scheme project at the ;;; Massachusetts Institute of Technology, Department of @@ -734,5 +734,4 @@ If a file with the new name already exists, confirmation is requested first." (sort filenames stringscheme-name name) (symbol-append 'EDWIN-COMMAND$ name)) - + (let ((variable-definition (lambda (buffer-local?) (lambda (name description #!optional value test) @@ -227,25 +227,4 @@ (define (canonicalize-name name) (cond ((symbol? name) name) ((string? name) (intern (string-replace name #\Space #\-))) - (else (error "illegal name" name)))) - -(syntax-table-define edwin-syntax-table 'VALUES-LET - (lambda (bindings . forms) - - (define (transform/binding binding forms) - (if (or (not (pair? binding)) - (not (pair? (cdr binding)))) - (error "values-let: bad binding clause" binding)) - `(WITH-VALUES (LAMBDA () ,(cadr binding)) - (LAMBDA (,@(car binding)) ,@forms))) - - (define (transform/values-let bindings forms) - (transform/binding - (car bindings) - (if (null? (cdr bindings)) - forms - (list (transform/values-let (cdr bindings) forms))))) - - (if (not (pair? bindings)) - (error "values-let: missing bindings" (cons bindings forms)) - (transform/values-let bindings forms)))) \ No newline at end of file + (else (error "illegal name" name)))) \ No newline at end of file diff --git a/v7/src/edwin/modlin.scm b/v7/src/edwin/modlin.scm index b4cc3563f..53c38b3a3 100644 --- a/v7/src/edwin/modlin.scm +++ b/v7/src/edwin/modlin.scm @@ -1,8 +1,8 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: modlin.scm,v 1.15 1992/11/12 18:00:37 cph Exp $ +;;; $Id: modlin.scm,v 1.16 1993/08/10 06:48:48 cph Exp $ ;;; -;;; Copyright (c) 1989-92 Massachusetts Institute of Technology +;;; Copyright (c) 1989-93 Massachusetts Institute of Technology ;;; ;;; This material was developed by the Scheme project at the ;;; Massachusetts Institute of Technology, Department of @@ -291,7 +291,8 @@ If #F, the normal method is used." (min (let ((start (group-display-start-index group))) (integer-round - (* 100 (- (mark-index (window-start-mark window)) start)) + (* 100 + (- (mark-index (window-start-mark window)) start)) (- (group-display-end-index group) start))) 99)) 2) diff --git a/v7/src/edwin/motcom.scm b/v7/src/edwin/motcom.scm index 3436d0ced..f80861e9a 100644 --- a/v7/src/edwin/motcom.scm +++ b/v7/src/edwin/motcom.scm @@ -1,8 +1,8 @@ ;;; -*-Scheme-*- ;;; -;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/motcom.scm,v 1.45 1991/11/21 10:37:39 cph Exp $ +;;; $Id: motcom.scm,v 1.46 1993/08/10 06:49:52 cph Exp $ ;;; -;;; Copyright (c) 1985, 1989-91 Massachusetts Institute of Technology +;;; Copyright (c) 1985, 1989-93 Massachusetts Institute of Technology ;;; ;;; This material was developed by the Scheme project at the ;;; Massachusetts Institute of Technology, Department of @@ -173,8 +173,8 @@ Continuation lines are skipped." (move-to-column (line-start (current-point) (- argument) 'FAILURE) column))) (set-command-message! temporary-goal-column-tag column)))) - -;;; Jokes + +;;;; Jokes (define-command hyper-space "Engage warp drive." diff --git a/v7/src/edwin/notify.scm b/v7/src/edwin/notify.scm index 7530a9112..5dbaabb03 100644 --- a/v7/src/edwin/notify.scm +++ b/v7/src/edwin/notify.scm @@ -1,8 +1,8 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: notify.scm,v 1.10 1992/09/17 00:26:15 jinx Exp $ +;;; $Id: notify.scm,v 1.11 1993/08/10 06:50:48 cph Exp $ ;;; -;;; Copyright (c) 1992 Massachusetts Institute of Technology +;;; Copyright (c) 1992-93 Massachusetts Institute of Technology ;;; ;;; This material was developed by the Scheme project at the ;;; Massachusetts Institute of Technology, Department of @@ -98,7 +98,7 @@ ""))) (kill-buffer temporary-buffer) result)))) - + (define-variable notify-show-mail "If true, the notifier displays your mail status." true