unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* error on nxhtml version higher than 1.03
@ 2008-04-24  2:58 Seraphees
  2008-04-24 18:14 ` Lennart Borgman (gmail)
       [not found] ` <mailman.10783.1209060891.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Seraphees @ 2008-04-24  2:58 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I found that there are always error on nxhtml version higher than
1.03, including the latest nxhtml-1.27-080423-00_23_13.

I also have tried many emacs version, including the latest emacs-from-
cvs-080419 and Emacs-23-CvsU080419-EmacsW32-1.57, but the error still
exists

my config only contains one sentence:

(load "~/my-lisp/site-lisp/nxml/autostart.el")

on version nxhtml-1.27-080423-00_23_13, the error is

Assertion failed: (html-site-dir-contains site-root path-in-site), c:/
temp, c:/temp/in/hej.html

on most other version, the error is related to mumamo, for example, in
nxhtml-1.27-080326-14_13_01, error message is :

mumamo-turn-on-actions: Invalid read syntax: "] in a list"
Toggling hs-minor-mode off; better pass an explicit argument.

the complete error message is :
mumamo-turn-on-actions: Invalid read syntax: "] in a list"
** In buffer test.php
  backtrace()
  (let ((standard-output standard-output)) (backtrace))
  (let ((standard-output ...)) (let (...) (backtrace)) (with-current-
buffer standard-output (prog1 ... ...)))
  (with-output-to-string (backtrace))
  (let ((format-string2 ...) (bt ...)) (mumamo-message-with-face
(concat ... "
" ... bt) (quote highlight)) (apply (quote message) format-string2
lwarn-type args) (run-with-idle-timer 1 nil (quote mumamo-show-report-
message)) (when mumamo-display-error-stop (apply ... format-string2
lwarn-type args)))
  mumamo-display-error(mumamo-turn-on-actions "%s" "Invalid read
syntax: \"] in a list\"")
  (condition-case err (progn (m
umamo-msgfntfy "mumamo-turn-on-actions") (unless mumamo-current-chunk-
family ...) (if ... ... ... ... ... ... ... ... ... ... ... ...))
(quit) (error (mumamo-display-error ... "%s" ...)))
  mumamo-turn-on-actions()
  nxhtml-mumamo()
  set-auto-mode-0(nxhtml-mumamo nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer test.php> "c:/wamp/www/php/test.php"
nil nil "c:/wamp/www/php/test.php" ((4608 0 . 37279) 160482204))
  find-file-noselect("c:/wamp/www/php/test.php")
  desktop-restore-file-buffer("c:/wamp/www/php/test.php" "test.php"
nil)
  #[nil "\b	\236A\206\b

only in nxhtml version 1.03, there are no errors, is there anyone can
help me?


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

* Re: error on nxhtml version higher than 1.03
  2008-04-24  2:58 error on nxhtml version higher than 1.03 Seraphees
@ 2008-04-24 18:14 ` Lennart Borgman (gmail)
       [not found] ` <mailman.10783.1209060891.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2008-04-24 18:14 UTC (permalink / raw)
  To: Seraphees; +Cc: help-gnu-emacs

Hi Seraphees,

Thanks for the bug report.

> my config only contains one sentence:
> 
> (load "~/my-lisp/site-lisp/nxml/autostart.el")

That is how it should look.

> on version nxhtml-1.27-080423-00_23_13, the error is
> 
> Assertion failed: (html-site-dir-contains site-root path-in-site), c:/
> temp, c:/temp/in/hej.html

Can you try commenting out that assertion in html-site.el?

What OS are you using?





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

* Re: error on nxhtml version higher than 1.03
       [not found] ` <mailman.10783.1209060891.18990.help-gnu-emacs@gnu.org>
@ 2008-04-25  1:57   ` Seraphees
  2008-04-25  7:09     ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 4+ messages in thread
From: Seraphees @ 2008-04-25  1:57 UTC (permalink / raw)
  To: help-gnu-emacs

Thank you for your reply, my OS is XP Home edition sp2,

I have try to commenting out that assertion, and I can load nxhtml
without error, but when I open a php or html file, I still got the
mumamo error, like the following:

mumamo-turn-on-actions: Invalid read syntax: "] in a list"
** In buffer BuddyController.php
  backtrace()
  (let ((standard-output standard-output)) (backtrace))
  (let ((standard-output ...)) (let (...) (backtrace)) (with-current-
buffer standard-output (prog1 ... ...)))
  (with-output-to-string (backtrace))
  (let ((format-string2 ...) (bt ...)) (mumamo-message-with-face
(concat ... "
" ... bt) (quote highlight)) (apply (quote message) format-string2
lwarn-type args) (run-with-idle-timer 1 nil (quote mumamo-show-report-
message)) (when mumamo-display-error-stop (setq font-lock-mode nil)
(when ... ...) (when ... ...) (apply ... format-string2 lwarn-type
args)))
  mumamo-display-error(mumamo-turn-on-actions "%s" "Invalid read
syntax: \"] in a list\"")
  (condition-case err (progn (mumamo-msgfntfy "mumamo-turn-on-
actions") (unless mumamo-current-chunk-family ...)
(if ... ... ... ... ... ... ... ... ... ... ... ...)) (quit) (error
(mumamo-display-error ... "%s" ...)))
  mumamo-turn-on-actions()
  nxhtml-mumamo()
  set-auto-mode-0(nxhtml-mumamo nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer BuddyController.php> "/
ftp:apache@10.11.24.40:/data/apache/www/vhost/im/app/controllers/
BuddyController.php" nil nil "/ftp:apache@10.11.24.40:/data/apache/www/
vhost/im/app/controllers/BuddyController.php" (3 -1))
  find-file-noselect("/ftp:apache@10.11.24.40:/data/apache/www/vhost/
im/app/controllers/BuddyController.php" nil nil nil)
  find-file("/ftp:apache@10.11.24.40:/data/apache/www/vhost/im/app/
controllers/BuddyController.php")
  (if (or default-dirname (re-search-forward "^  d" eol t)) (let (...)
(find-alternate-file name) (if ... ...)) (find-file name))
  (let ((eol ...)) (beginning-of-line) (if (or default-dirname ...)
(let ... ... ...) (find-file name)))
  (progn (end-of-line) (let (...) (beginning-of-line)
(if ... ... ...)))
  (unwind-protect (progn (end-of-line) (let ... ... ...)) (set-match-
data save-match-data-internal (quote evaporate)))
  (let ((save-match-data-internal ...)) (unwind-protect
(progn ... ...) (set-match-data save-match-data-internal ...)))
  (save-match-data (end-of-line) (let (...) (beginning-of-line)
(if ... ... ...)))
  (save-excursion (save-match-data (end-of-line) (let ... ... ...)))
  (let ((name ...)) (save-excursion (save-match-data ... ...)))
  joc-dired-single-buffer()
  call-interactively(joc-dired-single-buffer nil nil)

It seems like the error is on nxhtml.el, this file has not loaded
correctly, when I use load-file to load nxhtml.el manually, I got the
error message:

load-with-code-conversion: Invalid read syntax: "] in a list"

and I couldn't use functions like nxhtml-version, could you please
solve the problem, big thanks!




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

* Re: error on nxhtml version higher than 1.03
  2008-04-25  1:57   ` Seraphees
@ 2008-04-25  7:09     ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2008-04-25  7:09 UTC (permalink / raw)
  To: Seraphees; +Cc: help-gnu-emacs

Seraphees wrote:
> Thank you for your reply, my OS is XP Home edition sp2,
> 
> I have try to commenting out that assertion, and I can load nxhtml
> without error, but when I open a php or html file, I still got the
> mumamo error, like the following:
> 
> mumamo-turn-on-actions: Invalid read syntax: "] in a list"
> ** In buffer BuddyController.php
>   backtrace()
>   (let ((standard-output standard-output)) (backtrace))


Please download the latest beta from

   http://ourcomments.org/Emacs/DL/elisp/nxhtml/beta/

and try again. If the problem is still there then try starting with

   emacs -Q

and then just load nXhtml as you do now in your .emacs




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

end of thread, other threads:[~2008-04-25  7:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24  2:58 error on nxhtml version higher than 1.03 Seraphees
2008-04-24 18:14 ` Lennart Borgman (gmail)
     [not found] ` <mailman.10783.1209060891.18990.help-gnu-emacs@gnu.org>
2008-04-25  1:57   ` Seraphees
2008-04-25  7:09     ` Lennart Borgman (gmail)

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).