File: longlines.el.html

Some text editors save text files with long lines, and they automatically break these lines at whitespace, without actually inserting any newline characters. When doing M-q in Emacs, you are inserting newline characters. Longlines mode provides a file format which wraps the long lines when reading a file and unwraps the lines when saving the file. It can also wrap and unwrap automatically as editing takes place.

Special thanks to Rod Smith for many useful bug reports.

Defined variables (7)

longlines-auto-wrapNon-nil means long lines are automatically wrapped after each command.
longlines-break-charsA bag of separator chars for longlines.
longlines-modeNon-nil if Longlines mode is enabled.
longlines-mode-hookHook run after entering or leaving ‘longlines-mode’.
longlines-show-effectA string to display when showing hard newlines.
longlines-show-hard-newlinesNon-nil means each hard newline is marked on the screen.
longlines-wrap-follows-window-sizeNon-nil means wrapping and filling happen at the edge of the window.

Defined functions (23)

longlines-after-change-function(BEG END LEN)
longlines-auto-wrap(&optional ARG)
longlines-decode-buffer()
longlines-decode-region(&optional BEG END)
longlines-encode-region(BEG END &optional BUFFER)
longlines-encode-string(STRING)
longlines-find-break-backward()
longlines-find-break-forward()
longlines-merge-lines-p()
longlines-mode(&optional ARG)
longlines-mode-off()
longlines-post-command-function()
longlines-re-search-forward(STRING &optional BOUND NOERROR COUNT)
longlines-search-backward(STRING &optional BOUND NOERROR COUNT)
longlines-search-forward(STRING &optional BOUND NOERROR COUNT)
longlines-set-breakpoint(TARGET-COLUMN)
longlines-show-hard-newlines(&optional ARG)
longlines-show-region(BEG END)
longlines-unload-function()
longlines-unshow-hard-newlines()
longlines-window-change-function()
longlines-wrap-line()
longlines-wrap-region(BEG END)

Defined faces (0)