You are talking about emacs aren't you? Of course it is possible. :) I looked at the other suggestions and found them lacking. So I wrote a little function that puts the cursor (point) on the desired column of any line longer that the desired maximum column. Here it is: <> Hope you enjoy it. -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software Product Assurance . Austin, TX . Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire. -Dr. George W. Crane- -----Original Message----- From: Barry Margolin [mailto:barmar@genuity.net] Sent: Friday, November 08, 2002 10:53 AM To: help-gnu-emacs@gnu.org Subject: Re: Searching for lines longer than x characters possible? In article , David List wrote: >I would like to go through some program source files before converting them >to ps, to check for lines longer than, for instance, 80 characters, so that >I don't get strange looking ps files. > >Is this possible with emacs? M-x occur RET C-u 81 . RET -- Barry Margolin, barmar@genuity.net Genuity, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group. _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs