🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99678

Cursor positioning bug

#99678
From: "Stone,John David"
Date: Mon, 02 Jul 1990 21:20
59 lines
2897 bytes
This problem involves version 18.55 of GNU Emacs, running on a Sun-3/50
under SunOS 4.1.  It first appeared after we upgraded from SunOS 4.0.3 to
SunOS 4.1.

We start up an emacstool window, specifying a smaller-than-normal font:

    bourbaki% /usr/local/bin/emacstool -q \
        -Wt /usr/lib/fonts/fixedwidthfonts/screen.r.7

The problem occurs whether a file is specified or not, so let's consider
the case in which we just work in the scratch buffer.  We type a few lines
of text into the emacstool window:

    This
    is
    the
    forest
    primeval.
    The
    murmuring
    pines . . .

Now we move the SunView mouse pointer so that it points to the 'e' in
'primeval' and press the left mouse button, hoping to move the editing
cursor (black rectangle) to that point.  The cursor jumps instead to the
last position on the third line, after the word 'the'.  We move the SunView
mouse pointer to the 's' in 'pines' and press the left mouse button.  The
cursor jumps to the 'm' in 'primeval'.

The problem is general:  Whenever we place the SunView mouse pointer on a
character and click the left mouse button, the cursor winds up somewhere
in the rectangle whose lower right corner is the selected position, but
often in the wrong place.

We get the same effect both in Lisp Interactive mode and in Fundamental
mode; we haven't tested other modes.  We get the same effect whether the -q
option is used on the command line or not.

Our compilation of version 18.55 used the following lines in the config.h
file:

    #include "s-sunos4.h"
    #define HAVE_SUN_WINDOWS
    #include "m-sun3.h"

We compiled with GNU CC, but we get the same effect from an 18.55 emacstool
compiled with Sun cc.

We have no site-init.el file and have made a deliberate effort to keep
Emacs as vanilla as possible at the system level.

Thanks for any help or suggestions you can give.

                                        John Stone
                                        Manager of MathLAN
                                        Grinnell College
                                        Grinnell, Iowa 50112
                                        stone@grin1.bitnet
Technical Details
Message-ID: <9007022336.AA07476@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!tut.cis.ohio-state.edu!cunyvm.cuny.edu!STONE%GRIN1.BITNET

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,d9c073dade2a4422,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-07-02 19:36:04 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!tut.cis.ohio-state.edu!cunyvm.cuny.edu!STONE%GRIN1.BITNET
From: STONE%GRIN1.BITNET@cunyvm.cuny.edu ("Stone,John David")
Newsgroups: gnu.emacs.bug
Subject: Cursor positioning bug
Message-ID: <9007022336.AA07476@life.ai.mit.edu>
Date: 2 Jul 90 21:20:46 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 59
Posted: Mon Jul  2 22:20:46 1990