emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/allout.el


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/allout.el
Date: Mon, 24 Feb 2003 12:23:40 -0500

Index: emacs/lisp/allout.el
diff -c emacs/lisp/allout.el:1.39 emacs/lisp/allout.el:1.40
*** emacs/lisp/allout.el:1.39   Tue Feb  4 06:00:03 2003
--- emacs/lisp/allout.el        Mon Feb 24 12:23:38 2003
***************
*** 5,11 ****
  ;; Author: Ken Manheimer <address@hidden>
  ;; Maintainer: Ken Manheimer <address@hidden>
  ;; Created: Dec 1991 - first release to usenet
! ;; Version: $Id: allout.el,v 1.39 2003/02/04 11:00:03 lektu Exp $||
  ;; Keywords: outlines mode wp languages
  
  ;; This file is part of GNU Emacs.
--- 5,11 ----
  ;; Author: Ken Manheimer <address@hidden>
  ;; Maintainer: Ken Manheimer <address@hidden>
  ;; Created: Dec 1991 - first release to usenet
! ;; Version: $Id: allout.el,v 1.40 2003/02/24 17:23:38 lektu Exp $||
  ;; Keywords: outlines mode wp languages
  
  ;; This file is part of GNU Emacs.
***************
*** 508,514 ****
  ;;;_  : Version
  ;;;_   = allout-version
  (defvar allout-version
!   (let ((rcs-rev "$Revision: 1.39 $"))
      (condition-case err
        (save-match-data
          (string-match "Revision: \\([0-9]+\\.[0-9]+\\)" rcs-rev)
--- 508,514 ----
  ;;;_  : Version
  ;;;_   = allout-version
  (defvar allout-version
!   (let ((rcs-rev "$Revision: 1.40 $"))
      (condition-case err
        (save-match-data
          (string-match "Revision: \\([0-9]+\\.[0-9]+\\)" rcs-rev)
***************
*** 2331,2349 ****
  ;;;_   > allout-pre-command-business ()
  (defun allout-pre-command-business ()
    "Outline `pre-command-hook' function for outline buffers.
! Implements special behavior when cursor is on bullet char.
  
! Self-insert characters are reinterpreted control-character references
! into the `allout-mode-map'.  The `allout-mode' `post-command-hook' will
! position a cursor that has moved as a result of such reinterpretation,
! on the destination topic's bullet, when the cursor wound up in the
  
  The upshot is that you can get easy, single (ie, unmodified) key
  outline maneuvering operations by positioning the cursor on the bullet
! char.  You stay in this mode until you use some regular
! cursor-positioning command to relocate the cursor off of a bullet
! char."
! 
    (if (not (allout-mode-p))
        ;; Shouldn't be invoked if not in allout allout-mode, but just in case:
        nil
--- 2331,2349 ----
  ;;;_   > allout-pre-command-business ()
  (defun allout-pre-command-business ()
    "Outline `pre-command-hook' function for outline buffers.
! Implements special behavior when cursor is on bullet character.
  
! When the cursor is on the bullet character, self-insert characters are
! reinterpreted as the corresponding control-character in the
! `allout-mode-map'.  The `allout-mode' `post-command-hook' insures that
! the cursor which has moved as a result of such reinterpretation is
! positioned on the bullet character of the destination topic.
  
  The upshot is that you can get easy, single (ie, unmodified) key
  outline maneuvering operations by positioning the cursor on the bullet
! char.  When in this mode you can use regular cursor-positioning
! command/keystrokes to relocate the cursor off of a bullet character to
! return to regular interpretation of self-insert characters."
    (if (not (allout-mode-p))
        ;; Shouldn't be invoked if not in allout allout-mode, but just in case:
        nil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]