🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by David S. Browning Fri, 22 May 1992 21:40
Don't like cursor-to-screen
#1375
Author: David S. Browning
Date: Fri, 22 May 1992 21:40
32 lines
2264 bytes
[Sorry if this is a duplicate post.
NNTP hiccuped just as this was posted.]

Running Epoch 4.0p1 on Iris 4D w/ Irix 4.0.1.

I think Epoch is overzealous in warping the mouse cursor.  For
example, when I "remove-screen" the current screen, epoch warps the
mouse cursor (and focus) to some other screen on my display.  I don't
want it to!  Nor do I want it to warp the mouse cursor when I create
another screen.  I want complete control over the mouse cursor.

The function "cursor-to-screen" seems to be included in a great many
functions in epoch-lisp/epoch.el.  Perhaps it is mandatory in some of
the screen functions.  (I don't know of any, but I haven't read the
code thoroughly.)  In any case, I want to inhibit the warping behavior
I just described.

I will go through epoch-lisp/epoch.el and remove cursor-to-screen from
places I don't want it, unless someone can suggest a better way.  For
future versions of Epoch (or Emacs v19, if that's to be the next
"version" of Epoch), I strongly recommend that this be something the
user can customize.

-- David

|============================================================================|
| Internet:  browning@willard.nas.nasa.gov          Phone:  (415) 604-4321   |
| UUCP:      uunet!ames!nas.nasa.gov!browning                                |
|----------------------------------------------------------------------------|
|"the nice thing about true hopelessness is that you don't have to try again"|
| -- jules shear                                                             |
|============================================================================|
Re: Don't like cursor-to-screen
#1380
Author: Kevin Humphreys
Date: Mon, 25 May 1992 11:03
20 lines
1537 bytes
In article <1992May22.214026.10347@nas.nasa.gov> browning@willard.nas.nasa.gov (David S. Browning) writes:

> I will go through epoch-lisp/epoch.el and remove cursor-to-screen from
> places I don't want it, unless someone can suggest a better way.

A slightly easier way is to just redefine 'cursor-to-screen' so that
it doesn't do anything significant when it gets called.  From my .emacs:

	; a new cursor-to-screen without yukky mouse warp
	(defun cursor-to-screen (scr)
	  (interactive)
	  (if auto-raise-screen (raise-screen scr)))

(Thanks to Lex Holt for this)


Kevin Humphreys    Phone: +44 31 650 4435       | University of Edinburgh
		   Fax:   +44 31 650 4587	| Centre for Cognitive Science
ARPA:   kwh%cogsci.ed.ac.uk@nsfnet-relay.ac.uk  | 2 Buccleuch Place
JANET:  kwh@uk.ac.ed.cogsci                     | Edinburgh EH8 9LW Scotland
Re: Don't like cursor-to-screen
#1379
Author: Richard Caley
Date: Mon, 25 May 1992 18:55
16 lines
1021 bytes
In article <1992May22.214026.10347@nas.nasa.gov>, David S. Browning (dsb) writes:


dsb> I think Epoch is overzealous in warping the mouse cursor.  

Any warping is overzealous! :-).

I do the following in my .emacs.

	 (defun cursor-to-screen (s) (raise-screen s))

This is much more civilised.

--
rjc@cogsci.ed.ac.uk			_O_
					 |<
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads