[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Mouse moves past end of file--BAD!!!-how prevent this?!?!?!

From: Bingham, Jay
Subject: RE: Mouse moves past end of file--BAD!!!-how prevent this?!?!?!
Date: Tue, 4 Dec 2001 14:02:47 -0600

I think that what you want is the following in your .emacs

(setq next-line-add-newlines nil)

I tried pointing past the end of the text with the mouse when this was
set to true but nothing happened, so I am not sure what else you might
have set.  What this does is stops new lines from being added when you
hit the end of the buffer with cursor movement commands, specifically
the down arrow.  I am not sure but there might a variable that allows
the mouse to emulate down arrows when it is clicked beyond the end of
the buffer.

.    COMPAQ NonStop Integrity Systems
.    Austin, TX
. Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire. -Dr. George W. Crane-

 -----Original Message-----
From:   Chris Seberino [] 
Sent:   Tuesday, 04 December, 2001 1:26 p
Subject:        Mouse moves past end of file--BAD!!!-how prevent

There is nothing stopping you from moving your mouse
past the end of your file.  This sounds harmless
but the problem is that you innocently keep adding
all these hard returns to the end of your file!!!!
When I cat an Emacs edited file I don't want to see
3 inches of vertical blank space at the bottom!!!!

Is there anyway to prevent mouse from freely doing
this in Emacs??? I think M$-Terd/Word had this feature.


| Dr. Christian Seberino  || (619) 553-7940 (office1) |
| SPAWARSYSCEN 2733       || (619) 553-2564 (office2) |
| 53560 HULL ST           || (619) 553-6307 (fax)     |
| SAN DIEGO CA 92152-5001 || |

Help-gnu-emacs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]