From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: delete-region - is their a way to get the deleted text? Date: Fri, 14 Jun 2013 10:15:45 +0200 Message-ID: <87hah1w1ji.fsf@gmail.com> References: <87wqpys8d8.fsf@gmail.com> <874nd2bbwc.fsf@ericabrahamsen.net> <31E46449-9E95-4CCB-91CD-85AD1E731414@Web.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1371197781 21953 80.91.229.3 (14 Jun 2013 08:16:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2013 08:16:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 10:16:21 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 1UnPBE-0004Hw-SN for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 10:16:20 +0200 Original-Received: from localhost ([::1]:37443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnPBE-0000DG-E7 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 04:16:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnPAv-00009W-2c for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 04:16:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnPAt-0003Jq-Aq for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 04:16:01 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:32781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnPAt-0003Jk-1R for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 04:15:59 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UnPAr-000471-Mj for help-gnu-emacs@gnu.org; Fri, 14 Jun 2013 10:15:57 +0200 Original-Received: from e178058056.adsl.alicedsl.de ([85.178.58.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 10:15:57 +0200 Original-Received: from tjolitz by e178058056.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 10:15:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 52 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178058056.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:0no+rXfpfNvwSSaVtb8Ct417bcs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:91544 Archived-At: Peter Dyballa writes: Hi Peter, Hi Barry, > Am 13.06.2013 um 23:08 schrieb Barry Margolin: > >> I can't figure out what this interpretation means. sorry for the confusion my comma-less English caused, you are not the first ones critizising this (it actually started in high-school) and its not restricted to Englisch (the number of commas in some German texts I wrote doubled after a second author/editor had a look at them ;). But in German in actually no problem anymore, since they made so many language reforms in the past decades that we lost track and started to use phonetic spelling again like in Martin Luther's time ... > That's OK! From time to time I am satisfied when I understand what I > said. Or wrote. > >> Are "deleted with" and "inside that function" both saying the same thing? > > Not to me! But I am not an US American. > >> Where do the missing commas go? > > For the German language I would know it by heart, we have (no, we *had*, in > last millennium) clear rules. For English I would wish I would like to know > the exact rules – if there were any. I meant this: - there is a function that does what I want - except it uses delete-region in its implementation - because I need access to the deleted string and my question was, [watch the comma!] if there is a way to resuse the function, [!] and somehow recover the deleted region? It was not about writing my own function with an alternative implementation (e.g. kill-region). >> For the interpretation you have, isn't that what wipe-region does? > > I don't know that function. When was it deleted? I mentioned to Thorsten a > similar function, "kill-region", which, as far as I know, is interactively > putting the wiped out text into the kill-ring. There are some interesting hacks proposed as solutions in the thread, thanks for your interest! -- cheers, Thorsten