help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: what is the point of point-min?


From: Jesper Harder
Subject: Re: what is the point of point-min?
Date: Thu, 28 Aug 2003 19:05:49 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Kevin Rodgers <address@hidden> writes:

> Besides the point-min confusion, kill-region should be called with
> (region-beginning) and (region-end) which usually -- but not always
> -- correspond to (point) and (mark).

Is this the way they work:

(defun region-beginning ()
  (min (point) (mark)))

(defun region-end ()
  (max (point) (mark)))

or are there other instances where `region-beginning' is different
from `point'?


reply via email to

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