unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [Q] In emacs, how to copy a region of the buffer to a string to process ? Urgent
@ 2010-12-04 18:31 Fren Zeee
  2010-12-04 20:10 ` Davis Herring
  2010-12-06  2:40 ` Richard Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Fren Zeee @ 2010-12-04 18:31 UTC (permalink / raw)
  To: Emacs Dev [emacs-devel]

This is a newbie question for which I need quick help.

[Q] In emacs, how to copy a region of the buffer to a string to process ?

What are the various available functions and which is the lowest of these ?

copy-region-as-kill
  Command: Save the region as if killed, but don't kill it.
buffer-name
  Function: Return the name of BUFFER, as a string.
copy-to-buffer
  Command: Copy to specified buffer the text of the region.
current-buffer
  Function: Return the current buffer as a Lisp object.
get-buffer
  Function: Return the buffer named NAME (a string).

Thanks
Franz Xe



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

end of thread, other threads:[~2010-12-06  5:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-04 18:31 [Q] In emacs, how to copy a region of the buffer to a string to process ? Urgent Fren Zeee
2010-12-04 20:10 ` Davis Herring
2010-12-06  2:40 ` Richard Stallman
2010-12-06  5:10   ` Fren Zeee

Code repositories for project(s) associated with this public inbox

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

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).