help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sh mode for region only ?


From: Alexandre Oberlin
Subject: Re: sh mode for region only ?
Date: Wed, 09 May 2012 16:55:55 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

Thanks for your suggestion.

I tried to check if one of those solutions would work at least while editing but none does. Actually in the narrowed region or cloned buffer the syntax highlighting seems to take into account the unseen text to set the highlighting. I need to copy the sh region to a new file to get the correct syntax highlighting.

Alexandre


( On 05/09/2012 03:40 PM, XeCycle wrote:
Alexandre Oberlin<please@nospam.com>  writes:

Hi all,

Is there a possibility to benefit of sh (or whatever) syntax
highlighting on a region only?

This could be useful when editing a list of instructions containing codes.

C-x n n

Or a more complex C-x 4 c.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]