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

Aleksandar Bakic a_bakic at yahoo.com
Sun Feb 6 15:46:02 UTC 2005


Sorry for flooding you with messages. Perhaps writing methods that specialize
on left-sticky-mark and right-sticky-mark might be preferred (like I did with
open-line) for performance reasons. Code common to both methods could be
factored out.

Alex

> I'd rewrite indent-line to first insert spaces only, and then call
> tabify-buffer-region on the inserted space region if tab-width is non-nil. It
> should then render correctly, regardless of the kind of mark used (would be a
> bit slower, though). Please let me know if there is a problem with this
> solution.



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250



More information about the climacs-devel mailing list