When using Emacs (version 24.1 if that makes any difference), I would like to have a way to remove all the automatic line breaking inserted by the
auto-fill minor mode.
auto-fill-mode is enough to avoid inserting new automatic line breaks, but does nothing about cancelling the existing ones.
I found a way to do what I want, but I wonder if it's the best way to go about it. I'm describing it here with the hope that it'll help explain my issue better:
C-u 1000 C-x f: Set the
current-fill-columnto an arbitrary large value.
C-x h: Select all text in buffer
M-q: Re-arrange line breaks according to the new
current-fill-columnvalue. If the value is large enough, this will emulate the behavior I'm looking for.
M-x auto-fill-mode: Disable Auto Fill mode.
I'm relatively new to emacs, and I seriously wonder if this is a good way to go about it or whether there's a better way.