unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* anyone using mmm mode sucessfully with latest cvs emacs?
@ 2007-03-15 15:52 joakim
  2007-03-16 11:54 ` Lukasz Stafiniak
       [not found] ` <mailman.1008.1174046139.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: joakim @ 2007-03-15 15:52 UTC (permalink / raw)
  To: help-gnu-emacs

I dont quite get font lock to work properly in my setup.
In particular im trying to get csound-x working.

mmm switches sub-mode correctly, but font locking doesnt work.

-- 
Joakim Verona

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: anyone using mmm mode sucessfully with latest cvs emacs?
  2007-03-15 15:52 anyone using mmm mode sucessfully with latest cvs emacs? joakim
@ 2007-03-16 11:54 ` Lukasz Stafiniak
  2007-03-16 13:57   ` Lukasz Stafiniak
       [not found] ` <mailman.1008.1174046139.7795.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Lukasz Stafiniak @ 2007-03-16 11:54 UTC (permalink / raw)
  To: joakim@verona.se; +Cc: help-gnu-emacs

I'm trying to hack with `mmm-fontify-region' to get it working... It
is definitely not working.


On 3/15/07, joakim@verona.se <joakim@verona.se> wrote:
> I dont quite get font lock to work properly in my setup.
> In particular im trying to get csound-x working.
>
> mmm switches sub-mode correctly, but font locking doesnt work.
>
> --
> Joakim Verona
>
>
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: anyone using mmm mode sucessfully with latest cvs emacs?
  2007-03-16 11:54 ` Lukasz Stafiniak
@ 2007-03-16 13:57   ` Lukasz Stafiniak
  0 siblings, 0 replies; 4+ messages in thread
From: Lukasz Stafiniak @ 2007-03-16 13:57 UTC (permalink / raw)
  To: joakim@verona.se; +Cc: help-gnu-emacs

On 3/16/07, Lukasz Stafiniak <lukstafi@gmail.com> wrote:
> I'm trying to hack with `mmm-fontify-region' to get it working... It
> is definitely not working.
>
I currently replace

                (when (get (car elt) 'mmm-font-lock-mode)

with

		 (when (and (consp elt) (consp (cdr elt))
			     (consp (cadr elt))
			    (number-or-marker-p (caadr elt))
			    (number-or-marker-p (cdadr elt)))

in `mmm-fontify-region', it works. I hope mmm-mode functionality will
be a feature of emacs 23.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: anyone using mmm mode sucessfully with latest cvs emacs?
       [not found] ` <mailman.1008.1174046139.7795.help-gnu-emacs@gnu.org>
@ 2007-03-16 14:00   ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2007-03-16 14:00 UTC (permalink / raw)
  To: help-gnu-emacs

> I'm trying to hack with `mmm-fontify-region' to get it working... It
> is definitely not working.

I'm not sure I understand, but in case you are hacking on the mmm-mode code
to make it work on Emacs-22, then you *really* *should* say something on
emacs-devel (e.g. at least mention the problem, if not ask for help).


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-16 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 15:52 anyone using mmm mode sucessfully with latest cvs emacs? joakim
2007-03-16 11:54 ` Lukasz Stafiniak
2007-03-16 13:57   ` Lukasz Stafiniak
     [not found] ` <mailman.1008.1174046139.7795.help-gnu-emacs@gnu.org>
2007-03-16 14:00   ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).