[OS X Emacs] Soft word wrap

Nathaniel Cunningham nathaniel.cunningham at gmail.com
Wed Jul 29 11:23:55 EDT 2009


It seems to work fine for me, using just

(add-hook 'LaTeX-mode-hook 'turn-off-word-wrap)

at the end of my Preferences.el.
"Wrap" is now absent from the mode-line of a LaTeX buffer after restarting
Aquamacs, and the soft-wrap menu item is unchecked.

--Nathaniel

On Wed, Jul 29, 2009 at 9:50 AM, Enrico Franconi <franconi at inf.unibz.it>wrote:

> I did put it at top level in my .emacs
> It is still not working.
> Is it working for somebody out there? Is there anybody able to switch off
> (and on again) the soft wrap mode with elisp somehow? How?
> cheers
> --e.
>
>
> On 29 Jul 2009, at 14:45, Jose Figueroa-O'Farrill wrote:
>
>  Enrico> Well, I tried that but, unless there is something I am missing, it
>> Enrico> does not work.
>> Enrico> The "soft word wrap" entry in the menu remains selected and the
>> Enrico> behaviour does not change...
>>
>> Perhaps there is something else which is turning it on after the
>> LaTeX-mode-hook is called???  I'm not sure about the order in which
>> hooks are called: LaTeX-mode is a special kind of text-mode, but I
>> would expect hooks to be called in order of specialisation.
>>
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090729/7980b364/attachment.html>


More information about the MacOSX-Emacs mailing list