LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   emacs: continuous newline (minor mode?) (https://www.linuxquestions.org/questions/linux-software-2/emacs-continuous-newline-minor-mode-216314/)

tek1024 08-11-2004 01:56 PM

emacs: continuous newline (minor mode?)
 
Using the latest text-based emacs (should work on any, though) from a remote terminal OR from locally, how do I enable a continuous-newline word wrapping?

Those familiar with emacs and emacs-style wrapping will know it just wraps character-wise, using a '\' at the end of the line just before it sends it around. I'd like to use it remotely to make some personal notes in plain text and the like, but having to piece together words is a little bit distracting. Any ideas?

Thanks for your time.

- Michael

Dark_Helmet 08-11-2004 02:09 PM

You can turn word-wrap on for a specific buffer with:
Esc-x auto-fill-mode

To do it automatically (for text mode), add this to your .emacs file:
(add-hook 'text-mode-hook 'turn-on-auto-fill)


All times are GMT -5. The time now is 06:21 PM.