unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Searching for lines longer than x characters possible?
Date: 08 Nov 2002 12:12:46 -0500	[thread overview]
Message-ID: <5lwunougs1.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: h8ngqa.ppu.ln@davidlist.dk

>>>>> "David" == David List <david@davidlist.dk> writes:
> 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.

If you really mean 80chars, then C-u C-s ^.\{81\} should do the trick.
If you mean 80columns, it's trickier (unless you have no TABs or things
like that, such that it reduces to the 80chars problem).


        Stefan

  parent reply	other threads:[~2002-11-08 17:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-08 16:03 Searching for lines longer than x characters possible? David List
2002-11-08 16:52 ` Barry Margolin
2002-11-08 17:12 ` Stefan Monnier <foo@acm.com> [this message]
2002-11-08 17:28 ` Alex Schroeder
2002-11-09 10:20 ` David List
2002-11-11 11:47 ` Phillip Lord
2002-11-12 16:44   ` Lee Sau Dan
  -- strict thread matches above, loose matches on Subject: below --
2002-11-08 18:50 Bingham, Jay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5lwunougs1.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).