|
From: | bar tomas |
Subject: | Re: How to set wrap line at window edge |
Date: | Tue, 8 Sep 2009 09:30:12 +0100 |
At Mon, 07 Sep 2009 18:05:03 +0200 bar tomas <bartomas@gmail.com> wrote:Here are three ways (with minor variations).
> Yes! It does say 'Fill' on the mode line ('Org Fill' in fact because I'm
> working with the org mode).
> How do I correct this?
1. Right click on the word fill and then uncheck the "auto fill"
option (only affects this buffer).
2A. Type "M-x auto-fill-mode" (toggles auto-fill for this buffer)
2B. Type "C-u 0 M-x auto-fill-mode" (turns off, not toggle, auto
fill for this buffer).
3A. Add this to .emacs (untested), repeating the last line
for each major mode that should not be auto-filled
(defun ken-no-auto-fill ()
"Turn off auto filling"
(auto-fill-mode 0))
(add-hook 'foo-mode-hook 'ken-no-auto-fill)
3B. If you have only one major mode of interest, the following is shorter
(add-hook 'foo-mode-hook (lambda () (auto-fill-mode 0)))
allan
[Prev in Thread] | Current Thread | [Next in Thread] |