[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sh mode for region only ?
From: |
XeCycle |
Subject: |
Re: sh mode for region only ? |
Date: |
Thu, 10 May 2012 11:44:06 +0800 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) |
Alexandre Oberlin <please@nospam.com> writes:
> 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.
Apart from multiple modes, you can try working with Org mode,
which gives a nice way of embedding source code in documents.
--
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
pgp75yWBvAmr9.pgp
Description: PGP signature
- Re: sh mode for region only ?, (continued)
Message not available
Message not available
Re: sh mode for region only ?, Pascal J. Bourguignon, 2012/05/09