Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsb!liberte
From: liberte@uiucdcsb.UUCP
Newsgroups: comp.emacs
Subject: holophrasting
Message-ID: <165400004@uiucdcsb>
Date: Fri, 12-Dec-86 00:12:00 EST
Article-I.D.: uiucdcsb.165400004
Posted: Fri Dec 12 00:12:00 1986
Date-Received: Mon, 15-Dec-86 06:50:47 EST
Lines: 21
Nf-ID: #N:uiucdcsb:165400004:000:586
Nf-From: uiucdcsb.cs.uiuc.edu!liberte    Dec 11 23:12:00 1986


Set-selective-display does not leave point alone, but seems to reset it so
that you remain at the same relative position on the screen.  So I
sometimes end up in some strange part of my program.  Is this a bug?
Here is my workaround - which provides a handy way to bob around programs:

dan


(defun
  holophrast (arg)
  "Set selective display using arg or prefix arg.
Go to the same point we start with."
  (interactive "p")
  (let ((save-point (point))
	)
    (set-selective-display arg)
    (sit-for 0)    ; this is necessary, but should it be?
    (goto-char save-point)
    )
  )