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 14:51:15 -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 1371150318 32669 80.91.229.3 (13 Jun 2013 19:05:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2013 19:05:18 +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 21:05:19 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 1UnCph-0004oB-Qo for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 21:05:17 +0200 Original-Received: from localhost ([::1]:34774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnCph-0006Y9-Dw for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 15:05:17 -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: 31 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="4345"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hkQ5xppWS2KWTuojpPsmf" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:Cfz9o2qckslUOFKwhQZx4y47MFc= Original-Xref: usenet.stanford.edu gnu.emacs.help:199262 X-Mailman-Approved-At: Thu, 13 Jun 2013 15:04:59 -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:91526 Archived-At: In article , Peter Dyballa wrote: > Am 13.06.2013 um 15:33 schrieb Barry Margolin: > > > Why is that needed? > > Because delete-region is an interactive command. I naturally assumed that a > substitute should a few features of the original command. Or it wouldn't be a > substitute. He didn't ask for a complete substitute, just something that provides access to the deleted region for the caller. > > > The OP said that he needed access to the deleted region within the function > > that calls it. > > That's not true. Or my English is too bad. 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". -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***