[mew-int 00727] Re: BUG: Problem with mew-smtp-command-done and MIME messages

Brian Wallis Brian.Wallis at example.com
Fri Feb 22 13:52:05 JST 2002


On Fri, 22 Feb 2002 13:13:15 +0900 (JST) "Kazu Yamamoto (**UNKNOWN CHARSET**) <kazu at example.com>" wrote:
> It seems to me that the buffer-file-name() returns nil. This function
> MUST return a string (the path name to the file).

buffer-file-name can return nil if there is no file, but in this case
there always should be one, the file in the draft folder.

> Probably other code would set the buffer-file-name "buffer local
> variable" to nil as side-effect. I would suggest you to give a try
> with other elisp packages removed.
> 
> font-lock-pre-idle-hook smells...

Yep, that seems to be doing it. I've turned off font-lock-mode for
text mode and that seems to have fixed it. In font-lock.el it does set
buffer-file-name to nil as a local variale in the fn
font-lock-default-fontify-region.

Thanks, I'll live without the font-lock (slowed things down anyway)

brian...



More information about the Mew-int mailing list