[Bug: 21.5-b28] auto-fill doesn't work in gnuclient started buffer/frame

FKtPp m_pupil at yahoo.com.cn
Tue Nov 6 07:13:38 EST 2007


On Tue, Nov 06, 2007 at 01:02:34PM +0100, Aidan Kehoe wrote:
> 
>  Ar an cúigiú lá de mí na Samhain, scríobh It's me FKtPp ;): 
> 
>  > ================================================================
>  > Dear Bug Team!
>  > 
>  > This is very strange. I use Mutt as my mail user agent and set editor
>  > to gnuclient so that I can use XEmacs as my message editor.
>  > 
>  > After compose several mail messages I noticed that, the auto-fill is
>  > actually did not functional in the newly created XEmacs frame. I have
>  > to refill every long line by hand even if the mode-line indicator
>  > showing the buffer is in auto-fill-mode.
> 
> It sounds to me like XEmacs isn't aware that the mail message to be composed
> should be in text mode, and opened the file in fundamental mode. Then you
> entered your text, it didn't auto fill, and when you turned on auto-fill
> mode the entered text wasn't refilled. What does f1 v major-mode RET give
> you in the newly created gnuclient frame?

Yes. But I have this in my init.el, so that it can initialized in gnus-message-mode.

--8<---------------cut here---------------start------------->8---

;; for mutt
(add-to-list 'auto-mode-alist '("mutt-" . message-mode))
(add-hook 'mail-mode-hook 'turn-on-auto-fill)
(add-hook 'message-mode-hook 'turn-on-auto-fill)
--8<---------------cut here---------------start------------->8---

-- 
ENCODING



More information about the XEmacs-Beta mailing list