Re: how to disable XEmacs font-lock-mode?

2007-05-18 Thread Kushal Kumaran
On 5/17/07, Ismael Valladolid Torres [EMAIL PROTECTED] wrote: Kushal Kumaran escribe: The easy way: M-x customize-groupReturnfont-lockReturn See Font Lock Global Modes in that customization group. Use it to turn off font-lock for perl-mode. Note: I've checked this out in emacs only.

Re: how to disable XEmacs font-lock-mode?

2007-05-18 Thread Ismael Valladolid Torres
Ismael Valladolid Torres escribe: (add-hook 'text-mode-hook I meant perl-mode-hook signature.asc Description: Digital signature

Re: how to disable XEmacs font-lock-mode?

2007-05-18 Thread Ismael Valladolid Torres
Kushal Kumaran escribe: I'm lost. Why should text-mode-hook affect what happens when you edit perl scripts? Why should you need to frob global-font-lock-mode when all you need is to toggle it for just one buffer? You're right, I mistyped, it's perl-mode-hook. signature.asc Description:

Re: how to disable XEmacs font-lock-mode?

2007-05-17 Thread Kushal Kumaran
On 5/16/07, Russell L. Harris [EMAIL PROTECTED] wrote: How can I disable font-lock-mode in Emacs (actually XEmacs)? It appears that, upon seeing the first line of a Perl script: #!/usr/bin/perl Emacs sets font-lock-mode. But I do not wish to use font-lock mode when working with Perl

Re: how to disable XEmacs font-lock-mode?

2007-05-17 Thread Ismael Valladolid Torres
Kushal Kumaran escribe: The easy way: M-x customize-groupReturnfont-lockReturn See Font Lock Global Modes in that customization group. Use it to turn off font-lock for perl-mode. Note: I've checked this out in emacs only. Probably is the same way in XEmacs too. Putting this in

how to disable XEmacs font-lock-mode?

2007-05-16 Thread Russell L. Harris
How can I disable font-lock-mode in Emacs (actually XEmacs)? It appears that, upon seeing the first line of a Perl script: #!/usr/bin/perl Emacs sets font-lock-mode. But I do not wish to use font-lock mode when working with Perl scripts. I am editing a number of short Perl scripts, and I