[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: copy visible text with some lines hidden with hide-lines
From: |
Rupert Swarbrick |
Subject: |
Re: copy visible text with some lines hidden with hide-lines |
Date: |
Tue, 26 Feb 2008 18:05:36 -0600 |
User-agent: |
Pan/0.132 (Waxed in Black) |
On Mon, 25 Feb 2008 21:22:14 -0700, Kevin Rodgers wrote:
>> One thing I've done in the past was to use C-M-! and run a grep command
>> which will give me the lines I want (and not too much cruft). Then you
>> get a temporary buffer, with which you can't accidentally blat your log
>> file by saving (so you needn't be scared of deleting lots more stuff)
>> and which is hopefully small enough the Emacs won't get upset about
>> buffer size.
>
> I think you meant `M-!'. Have you tried `M-x occur'?
>
Oops you're right. And no I hadn't tried M-x occur, but I have now thanks!
Rupert