all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@users.sf.net>
To: help-gnu-emacs@gnu.org
Subject: mmm-mode/html-mode/php-mode issues
Date: Thu, 21 May 2009 11:58:31 +0200	[thread overview]
Message-ID: <20090521115831.7fb1d235@abz8111lx.eurac.edu> (raw)

Hi everyone. I'm having some problems when using php-mode as a submode
of html-mode.

I'm using emacs 23.1, and this is my relevant config:

(mmm-add-group
  'mmm-html
  '( (html-php-embedded
       :submode php-mode
       :face mmm-code-submode-face
       :front "<[\?]"
       :back "[\?]>") ))

(add-to-list 'mmm-mode-ext-classes-alist
  '(html-mode nil mmm-html))

I use html-mode on php files. mmm-mode correctly switches
the relevant parts to php, but when I type [tab] I get:

Wrong type argument: stringp, nil

A file as short as

<?php
test
?>

will trigger the error. Is php-mode not playing nice with mmm-mode?
How this can be fixed?

I don't really want to use mumamo/nX*.

Thanks






             reply	other threads:[~2009-05-21  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21  9:58 Yuri D'Elia [this message]
2009-05-22 23:05 ` mmm-mode/html-mode/php-mode issues Lennart Borgman
2009-05-23  7:52   ` Yuri D'Elia
2009-05-23  8:47     ` Lennart Borgman
2009-05-23 11:34       ` Yuri D'Elia
2009-05-23 13:12         ` Lennart Borgman
     [not found] ` <mailman.7653.1243033551.31690.help-gnu-emacs@gnu.org>
2009-05-24 13:05   ` Richard Riley
2009-05-24 13:12     ` Richard Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090521115831.7fb1d235@abz8111lx.eurac.edu \
    --to=wavexx@users.sf.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.