From: "Davis Herring" <herring@lanl.gov>
To: "Fren Zeee" <frenzeee@gmail.com>
Cc: "Emacs Dev \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: [Q] In emacs, how to copy a region of the buffer to a string to process ? Urgent
Date: Sat, 4 Dec 2010 12:10:57 -0800 (PST) [thread overview]
Message-ID: <49427.130.55.132.39.1291493457.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <AANLkTi=j7QGyaNuYw0uSaZjWe3Ttz_Y86ksMg1CorewY@mail.gmail.com>
> [Q] In emacs, how to copy a region of the buffer to a string to process ?
If you mean "how to send a buffer substring to a subprocess", it's
`process-send-region'. If you mean "how to copy a region for further
processing", it's `buffer-substring' in Lisp and `kill-ring-save' (M-w)
for the user.
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
next prev parent reply other threads:[~2010-12-04 20:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2010-12-06 2:40 ` Richard Stallman
2010-12-06 5:10 ` Fren Zeee
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=49427.130.55.132.39.1291493457.squirrel@webmail.lanl.gov \
--to=herring@lanl.gov \
--cc=emacs-devel@gnu.org \
--cc=frenzeee@gmail.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.