From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: delete-region - is their a way to get the deleted text? Date: Thu, 13 Jun 2013 17:08:38 -0400 Organization: A noiseless patient Spider Message-ID: References: <87wqpys8d8.fsf@gmail.com> <874nd2bbwc.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1371160118 6274 80.91.229.3 (13 Jun 2013 21:48:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2013 21:48:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 13 23:48:39 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UnFNl-0006GC-IY for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 23:48:37 +0200 Original-Received: from localhost ([::1]:50029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnFNl-0003dq-7t for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 17:48:37 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="27762"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wCt2ov27W+zcJ7u7ESaCi" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:RpX9ffgCmYKT+4BaQvdB6KLqJFE= Original-Xref: usenet.stanford.edu gnu.emacs.help:199266 X-Mailman-Approved-At: Thu, 13 Jun 2013 17:48:23 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91531 Archived-At: In article , Peter Dyballa wrote: > Am 13.06.2013 um 20:51 schrieb Barry Margolin: > > > He wrote "if only I would have access to the region deleted with > > 'delete-region' inside that function." > > > > It's confusing because there's no antecedent to "that function". But the > > only possibility that makes sense to me is "the function that calls > > delete-region". > > "That function" is clearly 'delete-region' ­ or why would Thorsten have asked > for a function that is used in a function that returns the deleted text? > (Commas are missing.) I can't figure out what this interpretation means. Are "deleted with" and "inside that function" both saying the same thing? Where do the missing commas go? For the interpretation you have, isn't that what wipe-region does? It deletes the region, and puts it on the kill ring, which gives you access to the region that was deleted. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***