# [2019.01.12] More Emacs

Until recently I used the `fold` command line utility to wrap
sentences at 69 characters margin (recommended by RFC 1436) after
writing a new log entry. First of all, the default value of the
`fill-column` variable in Emacs (or margin position as I would call
it) is 70 which is nice but not 69:) To set variables one can use
interactive Easy Customization Interface invoked by `M-x
customize-variable RET [variable name]` command. After setting that
one can issue commands `C-x h` (select entire buffer) and then `M-x
fill-region` (wrap lines in a selected region) to have the file
formatted in nearly the same way as after executing `fold -sw 69` at
the command line. Nearly:)

Another thing is that Emacs by default recognises *two* spaces as the
end of sentence sign which was surprising for me. This can be toggled
by customising the value of the `sentence-end-double-space` variable.
After that folding works as I prefer. Folding only the current
paragraph is even easier: `M-q`.

So, more Emacs as a text editor in my life:)