It seems to work fine for me, using just<br><br>(add-hook 'LaTeX-mode-hook 'turn-off-word-wrap)<br><br>at the end of my Preferences.el.<br>"Wrap" is now absent from the mode-line of a LaTeX buffer after restarting Aquamacs, and the soft-wrap menu item is unchecked.<br>
<br>--Nathaniel<br><br><div class="gmail_quote">On Wed, Jul 29, 2009 at 9:50 AM, Enrico Franconi <span dir="ltr"><<a href="mailto:franconi@inf.unibz.it">franconi@inf.unibz.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I did put it at top level in my .emacs<br>
It is still not working.<br>
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?<br>
cheers<br><font color="#888888">
--e.</font><div><div></div><div class="h5"><br>
<br>
On 29 Jul 2009, at 14:45, Jose Figueroa-O'Farrill wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Enrico> Well, I tried that but, unless there is something I am missing, it<br>
Enrico> does not work.<br>
Enrico> The "soft word wrap" entry in the menu remains selected and the<br>
Enrico> behaviour does not change...<br>
<br>
Perhaps there is something else which is turning it on after the<br>
LaTeX-mode-hook is called???  I'm not sure about the order in which<br>
hooks are called: LaTeX-mode is a special kind of text-mode, but I<br>
would expect hooks to be called in order of specialisation.<br>
</blockquote>
</div></div><br>_____________________________________________________________<br>
MacOSX-Emacs mailing list<br>
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
<a href="http://email.esm.psu.edu/mailman/listinfo/macosx-emacs" target="_blank">http://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" target="_blank">http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
<br></blockquote></div><br>