unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Richard Riley <rileyrgdev@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: nxhtml and emacs 23
Date: Wed, 1 Apr 2009 22:54:13 +0200	[thread overview]
Message-ID: <e01d8a50904011354r23e2ec2dsad8c5e1c7bd54eb9@mail.gmail.com> (raw)
In-Reply-To: <gqv53d$br7$1@news.motzarella.org>

On Wed, Apr 1, 2009 at 9:28 AM, Richard Riley <rileyrgdev@gmail.com> wrote:
>
> I would be interested to hear from anyone using nxhtml with windows 23.
>
> I have a couple of issues cropping up and would be interested in seeing
> if other people have them.
>
> 1) First mixed mode .php file I open is in mixed mode fine.
> 2) Second is in php-mode with no mumamo mode.

This is because php-mode.el associate .php-files with php-mode. This
association happens when you load php-mode.el. (Sigh!)

I have tried to find a way to work around this problem. If you look in
the "nXhtml" submenu under "Tools" there is an entry called "Major
Mode Priorities" that does this. You have to turn it on however since
I didn't dare to do that by default.

I have taken up this problem on Emacs Devel, but have not had time to
explain it sufficiently yet. I think it will be much more easy to do
that once I have got nXhtml working the way it should.


> If I call (majmodpri-sort-lists) this then works "ok" in that I can open more
> php files and  they are correctly in nxhtmlk-mumamo-mode and not just
> php-mode.

Ah, yes. That is in principle what I pointed to above.


> The problem I then have is if I try to edit a php chunk. The
> first key press in the chunk gives something along the lines of
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>  rng-after-change-function(529 530 0)

I will try to look into this. Have you reported this as a bug and
attached a backtrace?


> I would be willing to put some/a lot of time into providing more info to
> anyone that can help sort this out as I used to rely on nxhtml a lot. As
> it is I'm not sure if its an emacs 23 thing only so any one else using
> it, I would love to hear from you.

Sorry for the trouble. I have been to engaged in other trouble to be
able to work on nXhtml at the moment. I am however working on it, but
slowly.


> CVS emacs 23 (emacs snapshot from debian doesnt work either), nxhtml
> from 20090226.
>
> regards
>
> r.
>




  parent reply	other threads:[~2009-04-01 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01  7:28 nxhtml and emacs 23 Richard Riley
2009-04-01 20:00 ` Rémi Letot
2009-04-01 20:54 ` Lennart Borgman [this message]
     [not found] ` <mailman.4405.1238619263.31690.help-gnu-emacs@gnu.org>
2009-04-02 18:19   ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=e01d8a50904011354r23e2ec2dsad8c5e1c7bd54eb9@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rileyrgdev@gmail.com \
    /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.
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).