[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to use `narrow'?
From: |
Gian Uberto Lauri |
Subject: |
How to use `narrow'? |
Date: |
Tue, 18 Oct 2005 10:13:58 +0200 |
>>>>> "IZ" == Ilya Zakharevich <nospam-abuse@ilyaz.org> writes:
IZ> My idea how *I* would use `narrow' is like this:
IZ> Suppose I have a file which is "in multiple modes".
...
IZ> So I would like to narrow to the region "inside the
IZ> HERE-document", and switch the mode to "other mode" (above, from
IZ> CPerl mode to JavaScript mode).
...
IZ> However, I looked, and `font-lock' does `widen' before it starts
IZ> up; so all the effect of narrowing is gone... Is there any *use*
IZ> of narrowing?
font-lock widens then narrows, afaik.
So what's narrowed stays narrowed at least for what concerns the user.
--
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico
\/ e allevatore di bug da competizione
Re: How to use `narrow'?, Anselm Helbig, 2005/10/18