[Top][All Lists]

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

RE: kill-region must change value of (point)?

From: Bingham, Jay
Subject: RE: kill-region must change value of (point)?
Date: Wed, 20 Nov 2002 18:00:31 -0600


You are correct.  If point is somewhere within the region it is "moved" to be 
between the last character before the region that was not deleted, and the 
first character after the region that was not deleted.  If it follows the 
region, its value is changed (reduced) by the amount of text removed.  If it is 
before the region it remains unchanged.
You can read all about this in the emacs lisp reference manual.

.    HP - NonStop Austin Software & Services - Software Quality Assurance
.    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: [] 
Sent:   Wednesday, November 20, 2002 4:22 PM
Subject:        kill-region must change value of (point)?

If I kill-region to delete some portion of
buffer that includes where I'm at right
now ( denoted by (point) right? ) then
there is no way to avoid changing value
of (point) because I must be moved somewhere
else after the deletion right?


Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147

Phone: (619) 553-7940
Fax:   (619) 553-1269

Help-gnu-emacs mailing list

reply via email to

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