Frank,
On Mar 18, 2016, at 7:54 PM, Frank Ritter <
frank....@psu.edu> wrote:
> I am editing the newsletter with aquamacs.
>
> Aquamacs 3.0 GNU Emacs 24.3.50.2
> (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00)
> of 2014-01-19 (Aquamacs-3.0) on watson
>
> M-Q is not filling cleanly.
>
> Going to fundamental mode fixes the problem. (text spc wordWrap) is
> the mode for the .txt file, and it behaves oddly. M-Q comes back
> with 'fill-prefix cancelled'. I'd suggest that this is not what I
> want, and when we have time you might explain why it is correct,
> because I'm willing to believe that it is....
M-q, in Aquamacs, has a context-dependent function that respects the choice the user made for “word-wrap”. This applies when auto-fill-mode is not enabled, but word-wrap is used so that paragraphs fill the full width of the window, and change if the window is made wider (see Options -> Line Wrapping). In that case, we’re actually “un-filling” the paragraph.
Aquamacs automatically chooses what it thinks is the right formatting. When long lines (without explicit line endings) are present in a file, then word-wrapping as opposed to auto-fill-mode is chosen. Going to fundamental-mode will disable word wrap. In your case, you may or may not want to disable word wrapping anyway.
The reason for this is that Aquamacs is made for an era where people use screens of different sizes, including mobile devices, and display windows next to each other with unpredictable widths. Emacs was conceived when terminals where generally 60 or 80 characters wide so that hard-formatting text made sense. Modern text should not be formatted this way, in my opinion, for maximum responsiveness of the resulting documents. This e-mail should be an example (widen the window to test).
The “prefix cancelled” message refers to Emacs trying to be smart about indentations of paragraphs (e.g., starting with a dash for a bullet point). This message is incomprehensible unless the underlying Emacs function `set-fill-prefix’ is called directly. Thus, future versions of Aquamacs will no longer show that message. Thanks for your comment.
--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!