[OS X Emacs] turn-on-auto-fill not working
Patrick May
pjm at spe.com
Sat Feb 28 12:38:25 EST 2009
On 28 Feb 2009, at 10:38, Patrick May wrote:
> On 27 Feb 2009, at 20:06, David Reitter wrote:
>> On 27 Feb 2009, at 19:40, Patrick May wrote:
>>> I added the calls to add-hook and set-fill-column to ~/Library/
>>> Preferences/Aquamacs Emacs/Preferences.el and restarted, but they
>>> haven't taken effect. Is there something else I have to set?
>>
>> Hmm, precisely this works for me just fine!
>> Did you check the value of text-mode-hook?
>> Perhaps the auto wrap detection function is coming after your auto-
>> fill-mode call, so it'll override. Just a guess...
>
> text-mode-hook is (turn-on-auto-fill smart-spacing-mode auto-detect-
> wrap).
>
> fill-column is 70, even though I explicitly set it to 72 in
> Preferences.el.
>
> Very confusing.
Adding the call to make the default text mode to Preferences.el seems
to have fixed the issue.
Regards,
Patrick
More information about the MacOSX-Emacs
mailing list