-;;; allout.el --- Extensive outline mode for use alone and with other modes.
+;;; allout.el --- extensive outline mode for use alone and with other modes
;; Copyright (C) 1992, 1993, 1994, 2001 Free Software Foundation, Inc.
;; Author: Ken Manheimer <klm@python.org>
;; Maintainer: Ken Manheimer <klm@python.org>
;; Created: Dec 1991 - first release to usenet
-;; Version: $Id: allout.el,v 1.27 2001/02/26 12:07:48 gerd Exp $||
+;; Version: $Id: allout.el,v 1.28 2001/07/02 10:45:54 eliz Exp $||
;; Keywords: outline mode wp languages
;; This file is part of GNU Emacs.
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
-;;;_* Commentary:
+;;; Commentary:
;; Allout outline mode provides extensive outline formatting and
;; and manipulation beyond standard emacs outline mode. It provides
;; Ken Manheimer klm@python.org
+;;; Code:
+
;;;_* Provide
(provide 'outline)
(provide 'allout)
;;;_ : Version
;;;_ = outline-version
(defvar outline-version
- (let ((rcs-rev "$Revision: 1.27 $"))
+ (let ((rcs-rev "$Revision: 1.28 $"))
(condition-case err
(save-match-data
(string-match "Revision: \\([0-9]+\\.[0-9]+\\)" rcs-rev)
(progn (goto-char last-good)
(if (interactive-p) (outline-end-of-prefix))
(if (not dont-complain)
- (error "Can't ascend past outermost level.")
+ (error "Can't ascend past outermost level")
(if (interactive-p) (outline-end-of-prefix))
nil))
(if (interactive-p) (outline-end-of-prefix))
(if (not (interactive-p))
nil
(outline-end-of-prefix)
- (error "Hit %s level %d topic, traversed %d of %d requested."
+ (error "Hit %s level %d topic, traversed %d of %d requested"
(if backward "first" "last")
(outline-recent-depth)
(- (abs start-arg) arg)
(and on-starting-call
moving-outwards
(> 0 (+ starting-depth relative-depth))
- (error "Attempt to shift topic out beyond level 1.")) ;;; ====>
+ (error "Attempt to shift topic out beyond level 1")) ;;; ====>
(cond ((= starting-depth new-depth)
;; We're at depth to work on this one:
(if (<= (outline-current-depth) 0)
;; Outside any topics - try to get to the first:
(if (not (outline-next-heading))
- (error "No topics.")
+ (error "No topics")
;; got to first, outermost topic - set to expose it and siblings:
(message "Above outermost topic - exposing all.")
(outline-flag-region (point-min)(point-max) ?\n))
(let ((from (point))
(orig-eol (progn (end-of-line)
(if (not (outline-goto-prefix))
- (error "No topics found.")
+ (error "No topics found")
(end-of-line)(point)))))
(outline-flag-current-subtree ?\r)
(goto-char from)
(list 'save-excursion
'(if (not (or (outline-goto-prefix)
(outline-next-heading)))
- (error "outline-new-exposure: Can't find any outline topics."))
+ (error "outline-new-exposure: Can't find any outline topics"))
(list 'outline-expose-topic (list 'quote spec))))
;;;_ > outline-exposure '()
(defmacro outline-exposure (&rest spec)
(list 'save-excursion
'(if (not (or (outline-goto-prefix)
(outline-next-heading)))
- (error "Can't find any outline topics."))
+ (error "Can't find any outline topics"))
(cons 'outline-old-expose-topic
(mapcar (function (lambda (x) (list 'quote x))) spec))))
;;;outline-layout: (0 : -1 -1 0)
;;;End:
-;; allout.el ends here
+;;; allout.el ends here