[OS X Emacs] Soft word wrap

Enrico Franconi franconi at inf.unibz.it
Wed Jul 29 11:34:41 EDT 2009


I am trying arbitrary combinations of the following, in various  
customisation files, but none of these work (not even in the text  
modes):

   (add-hook 'text-mode-hook (lambda nil (setq word-wrap nil)))
   (set-default 'word-wrap nil)
   (setq word-wrap nil)

Any clue?
--e.


On 29 Jul 2009, at 15:50, Enrico Franconi 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




More information about the MacOSX-Emacs mailing list