I have observed a strange thing during the last time. Whenever I open an XHMTL file to edit with nxml-mode it is already changed when I start. I can undo the...
... This is a very basic version of what you're after: (defun surround-region-with-tag (tag-name) (interactive "stag name: ") (save-excursion (goto-char...
... This works even in non-interactive and takes the 'tag-name' length in account: (defun surround-region-with-tag (tag-name beg end) (interactive "sTag name:...
... Good suggestion. When I do that and compare with fc for example there is no difference (od+diff does not show any difference either). I wonder what is...
... Useful, that led me to the solution. The problem was in nxhtml.el, my own module. This is for XHTML files. It modifies href attributes and makes them...
... And to anyone trying to do the same: * Avoid my problems and use (nxml-fontify-buffer) instead! That is on the correct level so to say and uses ...
... Is this file available somewhere on the web? ... Yes, I was surprised more than once while modifying tprops by seeing that the modification state of the...
... Just google for nxthml. It is mentioned on http://www.emacswiki.org/ and available at http://ourcomments.org/Emacs/Emacs.html ... It would be nice if Emacs...
... Something like this can be useful in this case, IMHO: (defmacro save-undo-list (&rest body) `(let ((buffer-undo-list buffer-undo-list)) ,@body)) --drkm...
... There is a much more elaborate macro in nxml-util.el: (defmacro nxml-with-unmodifying-text-property-changes (&rest body) ...) I can not say I understand...
... It's not the same thing. The first inhibits adding to 'buffer-undo-list'. The second inhibits setting the buffer modified flag to T if it was NIL before...
... It was perhaps me not beeing accurate enough. I meant something that did not regard just property changes as a buffer change. But maybe there already is...
... Surprisingly enough, I think there isn't. About fontifying, lazy-lock for example have 'save-buffer-state'. Other packages define their own macros to do...
I can't agree more with your recommendation for the company whose website is at http://savemorethanever.com Two years ago I was going to my local Winn Dixie...
You are so right! I was one of those people that had no idea that I could be getting free groceries. I could kill myself for not knowing about this program...
has anyone produced a schema translation fileset for <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> I'd be...
It is a FREE 3-4 page full-color weekly newsletter that talks about current trends, opportunities, and challenges in the global IT industry. Articles are...
Hi. I'd like to use nxml to edit RSS 1.0 (RDF Site Summary 1.0) with nxml. Whenever I open such a document, the rdf schema will be loaded. Also there is...
... There is no RSS schema in the nXML distribution. I don't know if nXML can use multiple schemas at the same time, via multiple namespace prefixes (I think...
... Thanks. That's also the conclusion I've reached although I didn't try and check in the code. I found some relax-ng schema for RSS which seem to fit...
... If you write a grammar with multiple namespaces, it'll work just fine. And it's easy to import grammars so if you want RSS+x+y+z it shouldn't be too hard...
... Of course it would not be such a hassle to add what's missing from the grammar. But it would be so great to have some way (like trang) to automatically ...
Norman Walsh writes: Hi ... So if I want to use X+Y+Z, I have to write a specific grammar explicitly importing all these three sub-grammars, is it right? And...
... There are folks actively looking into this problem. I expect NVDL will be the way to go (see dsdl.org), but I don't have any processors that understand it...