Article View: news.software.readers
Article #35041Re: interpretation of control-l in text
From: Hrvoje Niksic
Date: Fri, 11 Jul 1997 00:00
Date: Fri, 11 Jul 1997 00:00
31 lines
2595 bytes
2595 bytes
guckes@math.fu-berlin.de (Sven Guckes) writes: > > It means that the editing buffer is restricted to the current region. > > The commands that would normally bring you to the beginning/end of > > buffer will now bring you to the beginning/end of narrowed part; > > line-numbers are recomputed; scrollbars reflect this, etc. > > Here is how the manual describes the concept of narrowing: > > Sounds like the often requested "outlining" to me. Outlining in Emacs is something completely different -- it hides parts of the text, based on its logical structure (which is, more often than not, determined by indentation). Narrowing, on the other hand, simply makes the current editing buffer pertain to a smaller part of the whole buffer (i.e. the editing buffer is "narrowed"). Both concepts are quite useful, but not trivial to implement. For instance, line numbers should work correctly in a narrowed environment -- for instance, `M-15 M-g' (`1 5 G' in vi command mode) should bring you to line 15, counting from the start of the narrowed part (if any), not the beginning of buffer. This means that lots of primitive commands must be narrow-aware. Also, line numbers in the modeline should display correctly, etc. -- Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- I'm sure they'll listen to reason! -- Neal Stevenson, _Snow Crash_
Technical Details
Message-ID:
<kig90zem9fs.fsf@jagor.srce.hr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mailReferences:
<slrn5s08vh.tdl.asfast@ljz.asfast.net> <slrn5s1li3.65m.guckes@banach.math.fu-berlin.de> <kig4ta635iq.fsf@jagor.srce.hr> <slrn5s4mle.ac0.guckes@banach.math.fu-berlin.de> <kig2059k1ic.fsf@jagor.srce.hr> <slrn5s9qu5.f9v.guckes@banach.math.fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <kig90zem9fs.fsf@jagor.srce.hr>
Subject: Re: interpretation of control-l in text
Date: Fri, 11 Jul 1997 00:00:00 +0000
From: Hrvoje Niksic <hniksic@srce.hr>
References: <slrn5s08vh.tdl.asfast@ljz.asfast.net> <slrn5s1li3.65m.guckes@banach.math.fu-berlin.de> <kig4ta635iq.fsf@jagor.srce.hr> <slrn5s4mle.ac0.guckes@banach.math.fu-berlin.de> <kig2059k1ic.fsf@jagor.srce.hr> <slrn5s9qu5.f9v.guckes@banach.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mail
X-Deja-AN: 256127822
Distribution: world
Sender: hniksic@jagor.srce.hr
Mail-Copies-To: never
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
Organization: SRCE Zagreb, Croatia
X-Attribution: Hrv
Newsgroups: news.software.readers,alt.lang.s-lang,comp.editors,comp.emacs