LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] A question about emacs, king of editors !

[ILUG] A question about emacs, king of editors !

Niall O Broin niall at linux.ie
Sat Apr 28 23:16:58 IST 2001


As we all know, emacs is the king of editors, and the editor of kings . If
it's good enough for Bill Joy (of Sun, who originally wrote vi), it's good
enough for me. However, it is rather a large program, and learning it all
is, shall we say, a bit of a meal. And then you can learn something, think
it's wonderful, and when you go to use it, you've forgotten what iit's
called, or how to invoke it.

Which is where I come in :-) I'm sure I've used a function in the past where
you can narrow to a match (emacs allows you to restrict the part of a file
being edited in various ways, and then you can only see that part of the
file, and global replace operations only affect that part of the file.).
I've RTFM on narrowing and I've googled and I can only find references to
narrowing to a region, or narrowing to a function. What I want to do is
narrow to the subset of lines which match a regex. I'm sure I've done this
in the past, and indeed I think I've even forgotten it before as well :-)



Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell