🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Konstantin Laufer Wed, 04 Mar 1992 22:15
undo and mouse operations in 4.0beta
#1580
Author: Konstantin Laufer
Date: Wed, 04 Mar 1992 22:15
23 lines
1388 bytes
I get the impression that undo still behaves very strangely in
connection with mouse operations.  Naturally, I would like ctrl-middle
to work the same way as in emacs, i.e. cut the region from cursor to
mouse pointer.  I defined:

(defun mouse::cut-region (arg)
  (select-screen (nth 3 arg))
  (select-window (nth 2 arg))
  (extend-mouse-drag arg)
  (kill-region))

(global-set-mouse mouse-middle	mouse-control		'mouse::cut-region)

If I use this function consecutively in two different places in my
buffer and then press undo, both operations are undone.  The behavior
gets more complicated when I use it in more places.

Thank you,
-- 
-Konstantin L"aufer [laufer@cs.nyu.edu] 

        "Kein Atommuell auf den Mars, denn Mars bringt verbrauchte 
        Energie sofort zurueck" -- Herrentoilette, Uni Konstanz
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