[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "word processor" text files

From: Kevin Rodgers
Subject: Re: "word processor" text files
Date: Mon, 31 Jul 2006 09:04:03 -0600
User-agent: Thunderbird (Windows/20060516)

Paul Rubin wrote:
I wish there were a way to edit "word processor"-format text files in
Emacs.  I don't mean .doc or anything like that, just .txt files with
no newlines except between paragraphs.  The idea is the text flows
automatically as you add stuff, or if you insert in the middle.
Newline ends a paragraph.

The actual goal is to AVOID using a word processor (right now I use
OpenOffice for this type of file, but I'd rather use Emacs).  The
usual reason is that I want to write some text to paste into a web
browser form.  The browser wants to fill text itself, and any newlines
in the input turn into incorrectly placed line breaks.

Am I missing something?

,----[ C-h f longlines-mode RET ]
| longlines-mode is an interactive autoloaded Lisp function in `longlines'.
| (longlines-mode &optional arg)
| Toggle Long Lines mode.
| In Long Lines mode, long lines are wrapped if they extend beyond
| `fill-column'.  The soft newlines used for line wrapping will not
| show up when the text is yanked or saved to disk.
| If the variable `longlines-auto-wrap' is non-nil, lines are automatically
| wrapped whenever the buffer is changed.  You can always call
| `fill-paragraph' to fill individual paragraphs.
| If the variable `longlines-show-hard-newlines' is non-nil, hard newlines
| are indicated with a symbol.
| [back]


(add-hook 'text-mode-hook (lambda () (longlines-mode 1)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]