Variable: erc-fill-function

erc-fill-function is a customizable variable defined in erc-fill.el.gz.

Value

erc-fill-variable

Documentation

Function to use for filling messages.

Variable Filling with an erc-fill-prefix of nil:

<shortnick> this is a very very very long message with no
meaning at all

Variable Filling with an erc-fill-prefix of four spaces:

<shortnick> this is a very very very long message with no
    meaning at all

Static Filling with erc-fill-static-center of 27:

<shortnick> foo bar baz
<a-very-long-nick> foo bar baz quuuuux
<shortnick> this is a very very very long message with no
meaning at all

These two styles are implemented using erc-fill-variable and erc-fill-static. You can, of course, define your own filling function. Narrowing to the region in question is in effect while your function is called.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-fill.el.gz
(defcustom erc-fill-function 'erc-fill-variable
  "Function to use for filling messages.

Variable Filling with an `erc-fill-prefix' of nil:

<shortnick> this is a very very very long message with no
	    meaning at all

Variable Filling with an `erc-fill-prefix' of four spaces:

<shortnick> this is a very very very long message with no
    meaning at all

Static Filling with `erc-fill-static-center' of 27:

		<shortnick> foo bar baz
	 <a-very-long-nick> foo bar baz quuuuux
		<shortnick> this is a very very very long message with no
			    meaning at all

These two styles are implemented using `erc-fill-variable' and
`erc-fill-static'.  You can, of course, define your own filling
function.  Narrowing to the region in question is in effect while your
function is called."
  :type '(choice (const :tag "Variable Filling" erc-fill-variable)
                 (const :tag "Static Filling" erc-fill-static)
                 function))