Search the web
Sign In
New User? Sign Up
emacs-nxml-mode · New XML Mode for Emacs
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1049 - 1078 of 1979   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1049
Hi I just had the following message from nXML: Internal error in rng-validate-mode triggered at buffer position 148. Invalid regexp: "Range striding over...
drkm
darkman_spam
Offline Send Email
Oct 4, 2005
8:38 am
1050
... no. version 20041004 here. tom...
Thomas Haselberger
tomhasel
Offline Send Email
Oct 5, 2005
7:04 am
1051
... Here too. But I didn't explain the whole thing, sorry. After pasting the text above in a fresh buffer, you have to be in validation mode ('C-c C-v' if...
drkm
darkman_spam
Offline Send Email
Oct 5, 2005
9:35 am
1052
Hi, I have a schema locating file schemas.xml. I am getting the following error when that file is being loaded. 'File mode specification error: (error "XML ...
sunil bhushan
ysunilraja
Offline Send Email
Oct 11, 2005
5:45 am
1053
... No, comments should not be ignored, but processed as comments. It is an error to have a comment before the XML declaration: the XML declaration must always...
Vincent Lefevre
vinc17fr
Offline Send Email
Oct 11, 2005
11:29 am
1054
... Even before white spaces. I think it's a common mistake. --drkm...
drkm
darkman_spam
Offline Send Email
Oct 11, 2005
11:23 pm
1055
... We have our own xml document format. And we use Perl CPAN's XML::Parser module with a wrapper around it to parse files. That module parses even if we have...
Sunil Raja Bhushan
ysunilraja
Offline Send Email
Oct 19, 2005
5:22 am
1056
Hi all, Is there a way to have our own custom key combinations for nxml-mode. I want to have TAB for completion instead of C-<RET>. Is there any hook which...
Sunil Raja Bhushan
ysunilraja
Offline Send Email
Oct 19, 2005
5:25 am
1057
... This should help (in your ~/.emacs.el): (add-hook 'nxml-mode-hook (lambda () (interactive) (local-set-key (kbd "<TAB>") 'nxml-complete))) You can see (info...
drkm
darkman_spam
Offline Send Email
Oct 19, 2005
8:06 am
1058
... Is there any reason not to use `nxml-mode-map' to bind the keys?...
Lennart Borgman
nlborgman
Offline Send Email
Oct 19, 2005
8:25 am
1059
... Then you can't call it XML, since it's no longer XML. ... If the comments are followed by an XML declaration, then this module is buggy. For instance,...
Vincent Lefevre
vinc17fr
Offline Send Email
Oct 19, 2005
8:27 am
1060
... I've not tried, but the standard way to do is to add a hook and change the bindings: (defun my-nxml-mode-keys () (local-set-key [tab] 'nxml-complete) ...
Vincent Lefevre
vinc17fr
Offline Send Email
Oct 19, 2005
8:34 am
1061
... Yes. Comments or even white spaces. If you have an XML declaration (BTW it's NOT a processing instruction), the five first characters of the document...
drkm
darkman_spam
Offline Send Email
Oct 19, 2005
9:57 pm
1062
... There's no need for 'interactive': (add-hook 'nxml-mode-hook (lambda () (local-set-key (kbd "<TAB>") 'nxml-complete))) Sorry for the misinformation, --drkm...
drkm
darkman_spam
Offline Send Email
Oct 19, 2005
10:07 pm
1063
... If you use `nxml-mode-map' you do not have to bother about this keybinding if you change mode: (add-hook 'nxml-mode-hook (lambda () (define-key...
Lennart Borgman
nlborgman
Offline Send Email
Oct 19, 2005
10:35 pm
1064
... Eh, rule of thumb: test everything before mailing. This seems to work at least with the CVS version of Emacs: (add-hook 'nxml-mode-hook (lambda () ...
Lennart Borgman
nlborgman
Offline Send Email
Oct 19, 2005
10:55 pm
1065
... Almost. In UTF-16 (at least), a BOM can come first. -- Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/> 100% accessible validated...
Vincent Lefevre
vinc17fr
Offline Send Email
Oct 19, 2005
11:31 pm
1066
Hi all, Thanks for the help. This one is working. Our files are source controlled too. This may be the reason why other methods are not working. ... Also just...
Sunil Raja Bhushan
ysunilraja
Offline Send Email
Oct 20, 2005
5:00 am
1067
... May be so. Thanks for the clarification on comments. ... Actually, we don't have any problem with our xml format in nxml-mode. I was talking about...
Sunil Raja Bhushan
ysunilraja
Offline Send Email
Oct 20, 2005
5:07 am
1068
... No. You can use this if you want: (eval-after-load "nxml-mode" '(define-key nxml-mode-map (kbd "<TAB>") 'nxml-complete)) --drkm ...
drkm
darkman_spam
Offline Send Email
Oct 20, 2005
7:52 am
1069
... I don't understand what you mean by "if you change mode". ... If you want to modify directly the map, don't use the mode hook. Use instead...
drkm
darkman_spam
Offline Send Email
Oct 20, 2005
7:54 am
1070
From: drkm <darkman_spam@...> ... I meant that maybe you would want to switch to some other xml editing mode than nxml-mode in Emacs....
LENNART BORGMAN
nlborgman
Offline Send Email
Oct 20, 2005
8:04 am
1071
... Yes. But in this case, is the BOM considered being part of the document, is the BOM or the '<' the first character of the document? --drkm ...
drkm
darkman_spam
Offline Send Email
Oct 20, 2005
8:09 am
1072
... Ok. But what's the problem with 'local-set-key' in this case? What gain from directly modifying 'nxml-mode-map' instead? --drkm ...
drkm
darkman_spam
Offline Send Email
Oct 20, 2005
8:33 am
1073
... I see. Parsing conditions are different, and since it is incorrect, an error is reported anyway. BTW, if nxml-mode doesn't report an error when there are...
Vincent Lefevre
vinc17fr
Offline Send Email
Oct 20, 2005
9:00 am
1074
From: drkm <darkman_spam@...> ... Thanks, I see what you mean now. I read the docstring about `local-set-key' (C-h f local-set-key) and it says: "The...
LENNART BORGMAN
nlborgman
Offline Send Email
Oct 20, 2005
9:41 am
1075
... But our format is different. Our format does'nt require <?xml version= line. As as discussed earlier, it may not be proper to call it xml. So I don't think...
Sunil Raja Bhushan
ysunilraja
Offline Send Email
Oct 20, 2005
9:58 am
1076
... Technically, it is part of the entity, but "not part of either the markup or the character data of the XML document", i.e. only the parser will see it. -- ...
Vincent Lefevre
vinc17fr
Offline Send Email
Oct 21, 2005
2:17 am
1077
... In this case (without the <?xml ...>), this is OK. -- Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/> 100% accessible validated...
Vincent Lefevre
vinc17fr
Offline Send Email
Oct 21, 2005
2:19 am
1078
... The point is XML documents don't require XML declaration (if the default values, for example for 'encoding', are right). So you have the choice. Put your...
drkm
darkman_spam
Offline Send Email
Oct 21, 2005
8:30 am
Messages 1049 - 1078 of 1979   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help