all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kgold@watson.ibm.com (kgold)
Subject: Re: Line Copy to Another Buffer
Date: 11 Sep 2002 21:08:27 GMT	[thread overview]
Message-ID: <alobcb$pcq$1@news.btv.ibm.com> (raw)
In-Reply-To: vafr8g18tee.fsf@lucy.cs.uni-dortmund.de


I use keyboard macros for this type of thing, since no elisp
programming knowledge is needed.  I have call-last-kbd-macro
on F2 since I use it so much.

For example, if the two buffers are in the frame, the keyboard macro
might be:

beginning-of-line
set-mark-command
end-of-line
copy-region-as-kill
other-window
yank
other-window

If you use it often, you can name and save the macro.

googleartist@yahoo.com (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 have
> seen the solution involving region, but that would be too much.

-- 
-- 
Ken Goldman   kgold@watson.ibm.com   914-784-7646

      parent reply	other threads:[~2002-09-11 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-10 18:44 Line Copy to Another Buffer Artist
2002-09-10 20:46 ` Kai Großjohann
2002-09-11 17:56   ` Joe Casadonte
2002-09-11 23:23     ` Kevin Rodgers
2002-09-12  2:04       ` Joe Casadonte
2002-09-11 21:08   ` kgold [this message]

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

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

  git send-email \
    --in-reply-to='alobcb$pcq$1@news.btv.ibm.com' \
    --to=kgold@watson.ibm.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.