On Wed, 11 Mar 2015 15:23:26 -0700 (PDT), in message alpine.LNX.2.11.1503111521470.9435@localhost, Rich Shepard wrote:
> On Wed, 11 Mar 2015, Rich Shepard wrote:
>
> > My emacs wraps lines of .txt files at column 72. However,
> > sometimes (and all too often) it will wrap a line at column 46 or
> > so and there's no way I can fill that line so it remains filled
> > with I re-format the paragraph with M-q.
>
> Looking at the emacs customization I learned that C-x f changes
> the column number beyond which the line wraps. This seems to be
> buffer-specific and would need to be set for each buffer when a .txt
> file is loaded. Is there a way to make the desired line wrap column
> the default?
I have the following in my ~/.emacs.d/init.el file:
(add-hook 'text-mode-hook (lambda () (setq-default fill-column 66)))
This automatically sets the fill column to 66 for any buffer that
uses text-mode. I have a bunch of other things, too. But then,
my init.el file has become rather... eccentric. :-)
Hope this helps.
--Dale
--
"If the primates that we came from had known that someday
politicians would come out of the gene pool, they'd have stayed up
in the trees and written evolution off as a bad idea!"
-- John Sheridan, Babylon 5 episode, "A Distant Star"
pgpu59k9PaElS.pgp
Description: OpenPGP digital signature
_______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
