Harald Judt | 15 Oct 20:57

Highlight doesn't work after a file has been inserted as MIME

Hi,

After inserting a file as MIME message (by C-c C-x TAB) and pressing
C-l, highlighting does not work anymore. Instead of using colorized
text, the draft is presented as black text only.

If I delete the [[..]] section and hit C-l again, everything works
fine.

Where and/or how can I fix this?

Emacs-22.1, Wanderlust CVS, SEMI-1.14.6, FLIM-1.14.8, APEL-10.7.

Regards,
Harald

--

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Ron Isaacson | 15 Oct 22:02

Re: Highlight doesn't work after a file has been inserted as MIME

Hi Harald --

Harald Judt wrote:
> 
> Hi,
> 
> After inserting a file as MIME message (by C-c C-x TAB) and pressing
> C-l, highlighting does not work anymore. Instead of using colorized
> text, the draft is presented as black text only.
> 
> If I delete the [[..]] section and hit C-l again, everything works
> fine.
> 
> Where and/or how can I fix this?

Check variable font-lock-maximum-size. It probably has to do with the
total size of the buffer, rather than the fact that it contains an
attachment.

--
Ron Isaacson
Morgan Stanley
ron.isaacson <at> morganstanley.com / (212) 276-1144

Harald Judt | 16 Oct 00:15

Re: Highlight doesn't work after a file has been inserted as MIME

At Mon, 15 Oct 2007 16:02:58 -0400,
Ron Isaacson <Ron.Isaacson <at> morganstanley.com> wrote:

> Check variable font-lock-maximum-size. It probably has to do with the
> total size of the buffer, rather than the fact that it contains an
> attachment.

Thanks for your suggestion. Unfortunately, changing the variable to a
higher value (I tried about 10 MiBs) or setting it to nil does not have
any effect.

However, the problem depends on the attachment size. Files smaller
than ~6 KiB do not produce the problem, while anything bigger will.
Could there be another setting limiting font-lock?

I only have (global-font-lock-mode t nil (font-lock)) set in
custom-set-variables in my .emacs.

Regards,
Harald

--

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Mito | 10 Nov 16:55

Re: Highlight doesn't work after a file has been inserted as MIME

At Tue, 16 Oct 2007 00:15:43 +0200,
h.judt <at> gmx.at wrote:

> However, the problem depends on the attachment size. Files smaller
> than ~6 KiB do not produce the problem, while anything bigger will.
> Could there be another setting limiting font-lock?

How about wl-highlight-max-message-size?
---
NEC Soft, Mito

Harald Judt | 11 Nov 17:55

Re: Highlight doesn't work after a file has been inserted as MIME

Hi,

At Sun, 11 Nov 2007 00:55:07 +0900,
Mito <mito <at> mxa.nes.nec.co.jp> wrote:
> 
> At Tue, 16 Oct 2007 00:15:43 +0200,
> h.judt <at> gmx.at wrote:
> 
> > However, the problem depends on the attachment size. Files smaller
> > than ~6 KiB do not produce the problem, while anything bigger will.
> > Could there be another setting limiting font-lock?
> 
> How about wl-highlight-max-message-size?

Yes, that's it. Setting both font-lock-maximum-size and
wl-highlight-max-message-size to a higher value did the trick. Thank
you very much.

Regards,
Harald

--

-- 

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Yoichi NAKAYAMA | 26 Dec 04:59

Re: Highlight doesn't work after a file has been inserted as MIME

At Tue, 16 Oct 2007 00:15:43 +0200,
Harald Judt wrote:
> 
> At Mon, 15 Oct 2007 16:02:58 -0400,
> Ron Isaacson <Ron.Isaacson <at> morganstanley.com> wrote:
> 
> > Check variable font-lock-maximum-size. It probably has to do with the
> > total size of the buffer, rather than the fact that it contains an
> > attachment.
> 
> Thanks for your suggestion. Unfortunately, changing the variable to a
> higher value (I tried about 10 MiBs) or setting it to nil does not have
> any effect.
> 
> However, the problem depends on the attachment size. Files smaller
> than ~6 KiB do not produce the problem, while anything bigger will.
> Could there be another setting limiting font-lock?
> 
> I only have (global-font-lock-mode t nil (font-lock)) set in
> custom-set-variables in my .emacs.

Wanderlust does not use font-lock.
wl-highlight-max-message-size will be used to controll the behaviour.

Regards,
--

-- 
Yoichi NAKAYAMA

Yoichi NAKAYAMA | 29 Dec 04:42

Re: Highlight doesn't work after a file has been inserted as MIME

At Wed, 26 Dec 2007 12:59:47 +0900,
Yoichi NAKAYAMA wrote:
> 
> At Tue, 16 Oct 2007 00:15:43 +0200,
> Harald Judt wrote:
> > 
> > At Mon, 15 Oct 2007 16:02:58 -0400,
> > Ron Isaacson <Ron.Isaacson <at> morganstanley.com> wrote:
> > 
> > > Check variable font-lock-maximum-size. It probably has to do with the
> > > total size of the buffer, rather than the fact that it contains an
> > > attachment.
> > 
> > Thanks for your suggestion. Unfortunately, changing the variable to a
> > higher value (I tried about 10 MiBs) or setting it to nil does not have
> > any effect.
> > 
> > However, the problem depends on the attachment size. Files smaller
> > than ~6 KiB do not produce the problem, while anything bigger will.
> > Could there be another setting limiting font-lock?
> > 
> > I only have (global-font-lock-mode t nil (font-lock)) set in
> > custom-set-variables in my .emacs.
> 
> Wanderlust does not use font-lock.
> wl-highlight-max-message-size will be used to controll the behaviour.

Oops, Mito had already answered it.

Sorry for bothering you,
(Continue reading)


Gmane