Richard Riley writes: > XeCycle writes: > >> Alexandre Oberlin 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. > > How does that address the question? Is there some way to then have it > auto mode to the correct syntax hiliting in the narrowed region? Of course you can do something to narrow functions, but running them manually is not very hard. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591