[climacs-devel] fill-line questions
Robert Strandh
strandh at labri.fr
Mon Feb 7 05:19:28 UTC 2005
Aleksandar Bakic writes:
> Hi,
>
> Should fill-line remove trailing spaces when wrapping a line?
Probably.
> Or should this
> depend on the syntax, similar to how indentation is handled by calling
> syntax-line-indentation function parameter?
I don't see why that would be necessary.
> fill-line seems to have been designed to support the auto-fill-mode, i.e., it
> wraps a line when point reaches fill-column. If we want to make it usable from
> code, perhaps it should not stop when it reaches its mark parameter, but work
> until the end of line (pointed to by the mark parameter). Do you agree or think
> that there should be another function(s) for off-line reformatting lines
> (paragraphs, blocks of code, etc.)?
I have no personal preference. When in doubt, check what Emacs does.
Gratuitous differences are best avoided.
--
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