[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sh mode for region only ?
From: |
rusi |
Subject: |
Re: sh mode for region only ? |
Date: |
Sat, 12 May 2012 20:26:14 -0700 (PDT) |
User-agent: |
G2/1.0 |
On May 10, 8:44 am, XeCycle <XeCy...@Gmail.com> wrote:
> Alexandre Oberlin <ple...@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.
Yes orgmode, specifically babel, is probably the most stable and
sophisticated solution
http://orgmode.org/worg/org-contrib/babel/intro.html
More lightweight is eepitch http://angg.twu.net/eev-current/eepitch.el.html
If you dont mind hackish and not heavily documented
- 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