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

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

RE: line numbers


From: andrew . maguire
Subject: RE: line numbers
Date: Thu, 16 Jan 2003 12:24:48 -0500

> Lee Sau Dan wrote:
> 
> >>>>>>"Bruce" == Bruce Korb <bkorb@veritas.com> writes:
> >     Bruce> Because sometimes I want to X-clip a block of text with
> >     Bruce> line numbers and email or print it.  In the end, 
> I fire up
> >     Bruce> vi.  Doing this in emacs is too non-obvious.
> > 
> > M-< M->  M-| cat -n RET  and then do  whatever you like in  
> the *Shell
> > Command Output* buffer.
> 
> I find `C-x h' easier than `M-< M->'.  See the "Marking 
> Objects" node in the
> Emacs manual for similar useful commands.

You could use Occur mode with a simple regexp, e.g. ".".

Andrew




reply via email to

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