🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #821

selective display bug

#821
From: Francesco Potorti`
Date: Mon, 05 Oct 1992 20:14
26 lines
1639 bytes
   C-x $ with no argument, disabling selective display, should not
   move the cursor.  For example, with selective display enabled,
   putting the cursor at an interesting question in the Emacs FAQ
   (etc/FAQ) and hitting C-x $ should display the answer along with
   the question.  Instead, as it stands, both go way, way, off the
   screen.

I find this diff makes set-selective-display both more useful (I
perfectly agree with Paul Rubin) and aesthetically pleasant (try M-2
C-x $ in the FAQ while you are in the middle of an answer).

--- /local/lib/emacs/lisp/simple.el	Sun Dec  1 04:50:54 1991
+++ /tmp/simple.el	Mon Oct  5 19:04:46 1992
@@ -1242,7 +1242,7 @@
       (error "selective-display already in use for marked lines"))
   (setq selective-display
 	(and arg (prefix-numeric-value arg)))
-  (set-window-start (selected-window) (window-start (selected-window)))
+  (recenter '(nil))
   (princ "selective-display set to " t)
   (prin1 selective-display t)
   (princ "." t))

		    Francesco Potorti`	| pot@cnuce.cnr.IT (Internet)
				 	| 39369::pot       (DECnet)
					| (39)(50)593203   (voice)
Technical Details
Message-ID: <m0mbwx5-0001DfC@fly.cnuce.cnr.IT>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!fly.cnuce.cnr.it!pot
References: <9210020112.AA28170@napa.TELEBIT.COM>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!fly.cnuce.cnr.it!pot
From: pot@fly.cnuce.cnr.it (Francesco Potorti`)
Subject: selective display bug
Message-ID: <m0mbwx5-0001DfC@fly.cnuce.cnr.IT>
Sender: gnulists@ai.mit.edu
Reply-To: pot@cnuce.cnr.it
Organization: GNUs Not Usenet
References: <9210020112.AA28170@napa.TELEBIT.COM>
Distribution: gnu
Date: Mon, 5 Oct 1992 20:14:00 GMT
Approved: bug-gnu-emacs@prep.ai.mit.edu
Lines: 27