unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* automating inter-buffer copy-paste
@ 2005-03-13 15:36 B.T. Raven
  2005-03-13 21:37 ` B.T. Raven
  0 siblings, 1 reply; 2+ messages in thread
From: B.T. Raven @ 2005-03-13 15:36 UTC (permalink / raw)


Greetings and Salutations:

I would like to accomplish with one keystroke (maybe a function key
bound to some elisp code) what would manually be done by selecting a
region, copying, changing the current buffer, and then pasting at the
end. Its seems that even before copy is invoked via menu edit > copy,
etc. that emacs "knows" the mark and point of the region just selected.
I know about M-x copy-to-buffer, which is pretty close to what I want
but I would like also like to have the target buffer's name hard-code to
something like "dribble.text" for example.

Thanks,

Ed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: automating inter-buffer copy-paste
  2005-03-13 15:36 automating inter-buffer copy-paste B.T. Raven
@ 2005-03-13 21:37 ` B.T. Raven
  0 siblings, 0 replies; 2+ messages in thread
From: B.T. Raven @ 2005-03-13 21:37 UTC (permalink / raw)


Never mind. I figure out how to use 'append-to-buffer, which I hadn't
known about.

"B.T. Raven" <ejmn@cpinternet.com> wrote in message
news:1138nl0isubuabe@corp.supernews.com...
> Greetings and Salutations:
>
> I would like to accomplish with one keystroke (maybe a function key
> bound to some elisp code) what would manually be done by selecting a
> region, copying, changing the current buffer, and then pasting at the
> end. Its seems that even before copy is invoked via menu edit > copy,
> etc. that emacs "knows" the mark and point of the region just
selected.
> I know about M-x copy-to-buffer, which is pretty close to what I want
> but I would like also like to have the target buffer's name hard-code
to
> something like "dribble.text" for example.
>
> Thanks,
>
> Ed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-13 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-13 15:36 automating inter-buffer copy-paste B.T. Raven
2005-03-13 21:37 ` B.T. Raven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).