← Back to team overview

nxhtml team mailing list archive

[Question #85493]: Byte compiled nXhtml breaks Tidy and long underlines

 

New question #85493 on nXhtml:
https://answers.launchpad.net/nxhtml/+question/85493

Let me start by saying that I have just used nXhtml to rebuild a small graphic design agency website for a relative. Even as a emacs/html beginner I have found this software very effective & I am keen to continue using it in future projects . However, this recent work has raised a couple of problems which I hope can be solved here:

System Details: 
Debian - Testing (squeeze),
Emacs - 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.6)
nXhtml - 1.95

* Tidy & Byte compile
On occasions nXhtml can become sluggish so I have byte compiled nXhtml to improve its performance. I have done this on versions; 1.93 & 1.95 as far as I can tell the compiles seems to go well nXhtml launches & is noticeably faster & more responsive. But, unfortunately when I request Tidy to 'tidy' a buffer it clashes? with the following error message:

Debugger entered--Lisp error: (void-function buffer-narrowed-p)
  buffer-narrowed-p()
  tidy-buffer()
  call-interactively(tidy-buffer nil nil)

I have googled this error message & what little I can find seems not to relate to Tidy or nXhtml. Any suggestions on what can be done to make Tidy work with a byte compile nXhtml would be most welcome.

*Long underlines
If an underlined html/CSS items is immediately followed by a line break/return the underline continues across the page & goes on to the next line to finish @ the next block of text. If I use C-c C-w to remove underlines (as suggested on http://ourcomments.org/Emacs/nXhtml/doc/nxhtml-changes.html) I get the following error message:

C-c C-w is undefined

Is there any way to stop the incorrect display of the underlines or simply remove them all together?

Any useful suggestions on how to solve these problems would be much appreciated.

Thanks in advance

-- 
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.