To set the word-wrap boundary (in emacs-speak, the fill-column) to column 80:

C-u 80 C-x f

To set the fill-column to wherever the cursor is right now:

C-u C-x f

(This is session-only, not permanent.)