logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: how to disable rng-validate-mode for all files?: msg#00012

Subject: Re: how to disable rng-validate-mode for all files?
>
>--- Lennart Borgman
<lennart.borgman.073@xxxxxxxxxxxxx> wrote:
>
>
>---------------------------------
>Mike Bolton wrote:
>>> --- Lennart Borgman
>>>     
>> <lennart.borgman.073@xxxxxxxxxxxxx> wrote:
>>   
>>> ---------------------------------
>>> palefacerocker wrote:
>>>     
>>>> can anybody please tell me how to automatically
>>>>       
>> disable rng-validate-mode for any nxml file 
>>   
>>>> I open?  I tried using the following, but it
>>>>       
>> doesn't work:
>>   
>>>> (add-hook 'nxml-mode-hook
>>>>           (lambda ()
>>>>             (rng-nxml-mode-init)
>>>>             ;; disable rng-validation
>>>>             (rng-validate-mode 'nil)
>>>>             (setq rng-validate-mode 'nil)
>>>>             ))
>>>>
>>>> Thanks,
>>>>
>>>> Mike
>>>>   
>>>>       
>>> I do not know if this helps, but have you tried
with
>>>     
>> just
>>   
>>>   nil
>>>
>>> instead of
>>>
>>>  'nil
>>>     
>>
>> thanks for the reply Lennart, but I've tried that
and
>> it makes no difference.
>>
>> Mike
>>   
>Sorry! Looking at the function it looks like
>
>    (rng-validate-mode 0)  ;; turn off validation
>
>should be better.  Hope I am right this time ...


unfortunately it still doesn't work :( 
rng-validate-mode is really quite persistent!

Mike

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> To unsubscribe from this group, send an email to:
    emacs-nxml-mode-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





<Prev in Thread] Current Thread [Next in Thread>