help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Searching for lines longer than x characters possible?


From: Bingham, Jay
Subject: RE: Searching for lines longer than x characters possible?
Date: Fri, 8 Nov 2002 12:50:00 -0600

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:
 <<find-long-line.el>> 

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 <h8ngqa.ppu.ln@davidlist.dk>,
David List  <david@davidlist.dk> 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

Attachment: find-long-line.el
Description: find-long-line.el


reply via email to

[Prev in Thread] Current Thread [Next in Thread]