Subject: Re: wikipedia-mode hard to fix linebreaks

From: [email-masked]
Date: Mon, 10 May 2010 18:06:43 +0800

Sorry Uwe, I have now fixed my problem. I did it by putting this in
~/.emacs-w3m.el :
(autoload 'wikipedia-mode "wikipedia-mode.el")
(add-hook
 'w3m-form-input-textarea-mode-hook
 (lambda nil
   (turn-off-auto-fill)
   (wikipedia-mode)
   (longlines-mode 0) ;;The Key, DISCOVERED QUITE ON MY OWN
   (define-key wikipedia-mode-map "\C-c\C-c" 'w3m-form-input-textarea-set)
   (define-key wikipedia-mode-map "\M-u" 'upcase-word)
   ))