[climacs-devel] number-of-lines-inregion

Robert Strandh strandh at labri.fr
Mon Jan 24 04:12:21 UTC 2005


Hello, 

Aleksandar Bakic writes:
 > 
 > Should the generic function number-of-lines-in-region be symmetrical wrt. its
 > mark parameters? Recently, delete-region has been changed so that the order of
 > mark offsets does not matter. In general, is there are rule by which one could
 > decide whether an operator on two marks should care about the mark offset order
 > or not?

Since delete-region has changed, it seems reasonable to apply the same
rule everywhere. 

 > If number-of-lines-in-region should be changed as described above, I can do it
 > (together with simplifying its use in pane.lisp). I will upload some more tests
 > soon (I caught some (real) virus a couple of days ago...).

Sounds good to me.

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------



More information about the climacs-devel mailing list