[climacs-devel] indent-line and left-sticky-marks

Robert Strandh strandh at labri.fr
Mon Feb 7 05:07:26 UTC 2005


Aleksandar Bakic writes:
 > Hi,
 > 
 > If the mark passed to indent-line is a left-sticky-mark, indent-line will fill
 > tabs-then-spaces from right to left. For example, if tab-width is 4 and
 > indentation is 5, the result of calling indent-line with a left-sticky-mark
 > starts with a space followed by a tab. Is this OK, or should it rather work
 > like tabify-region, which replaces right-side spaces with tabs?

The latter, I would say.  The thing would be to pas a type argument to
clone-mark so that it is clear that it will be a right-sticky mark.

-- 
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