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

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

Re: Can Emacs pipe a buffer through another one?


From: Kevin Rodgers
Subject: Re: Can Emacs pipe a buffer through another one?
Date: Mon, 21 Jun 2004 14:19:58 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Kevin Rodgers wrote:
> Here's what I did:
>
> 1. Create buffer A with `C-x b A', and put some text in it:
> one
> two
> three

Actually, I used:
one
two three
four five six

> 2. Create buffer B with `C-x b B', and put a simple script in it:
> cd ~; pwd
> wc
> cd /tmp; pwd
>
> 3. Create buffer C with `C-x b C'.  This step could be avoided by using
>    (get-buffer-create "C") instead of (get-buffer "C").
>
> 4. Copy-and-paste the above form in the *scratch* buffer, and type `C-x
>    C-e' or `C-j' (see the "Lisp Interaction" and "Lisp Eval" nodes in
>    the Emacs manual).
>
> 5. Buffer C now contains:
> /home/kevinr
>        3       6      28
> /tmp

Hope the mismatch between (1) and (5) didn't confuse you.

--
Kevin Rodgers



reply via email to

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