🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188822

Re: How to yank into a string variable

#188822
From: Mark R. Ludwig
Date: Fri, 14 Jun 1991 18:26
15 lines
1444 bytes
In article <fredb.676836751@uther>, fredb@uther (Fred H. Bremmer) writes:
>mathys@dover.sps.mot.com (Yves Mathys) writes:
>
>>I would like to read a region and save it into a string variable. 
>
>Once you have the region in the kill ring, use the command M-x set-variable,
>tell it which variable you want to set, then use C-y to plug in the value
>that you want the variable to have.

That's right if you want to do it from the keyboard.  If you want to
do it in an ELisp program, the function you want buffer-substring.$$
-- 
INET: mrl@uai.com       UUCP: uunet!uaisun4!mrl       PSTN: +1 213 822 4422
USPS: 7740 West Manchester Boulevard, Suite 208, Playa del Rey, CA  90293
WANT: Succinct, insightful statement to occupy this space.  Inquire within.
Technical Details
Message-ID: <1991Jun14.182614.23627@uai.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!uaisun4!mrl
References: <1031@nddsun1.sps.mot.com> <fredb.676836751@uther>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,b5296808d1547c71
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-06-15 03:32:52 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!uaisun4!mrl
From: mrl@uai.com (Mark R. Ludwig)
Newsgroups: gnu.emacs.help
Subject: Re: How to yank into a string variable
Message-ID: <1991Jun14.182614.23627@uai.com>
Date: 14 Jun 91 18:26:14 GMT
References: <1031@nddsun1.sps.mot.com> <fredb.676836751@uther>
Sender: mrl@uai.com (Mark R. Ludwig)
Reply-To: mrl@uai.com (Mark R. Ludwig)
Organization: Universal Analytics, Inc., Playa del Rey (LA), CA
Lines: 15
In-Reply-To: fredb@uther.calvin.edu (Fred H. Bremmer)