[Top][All Lists]

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

Re: Line Copy to Another Buffer

From: Kai Großjohann
Subject: Re: Line Copy to Another Buffer
Date: Tue, 10 Sep 2002 22:46:33 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

address@hidden (Artist) writes:

>  I want to copy selective lines from one buffer to another buffer.
>  So I browse one buffer and whenever I come across interesting line, I
> just want to hit some command and copy to another buffer. I hae seen
> the solution involving region, but that would be too much.

Hm?  It's almost impossible to copy the line to another buffer
without using the region (or a region-like feature).

(defun art-copy-line ()
  (append-to-buffer "COPY-BUFFER" (line-beginning-position)

A large number of young women don't trust men with beards.  (BFBS Radio)

reply via email to

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