From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: delete-region - is their a way to get the deleted text?
Date: Thu, 13 Jun 2013 14:51:15 -0400 [thread overview]
Message-ID: <barmar-7F857C.14511513062013@news.eternal-september.org> (raw)
In-Reply-To: mailman.1597.1371148312.22516.help-gnu-emacs@gnu.org
In article <mailman.1597.1371148312.22516.help-gnu-emacs@gnu.org>,
Peter Dyballa <Peter_Dyballa@Web.DE> 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 ***
next prev parent reply other threads:[~2013-06-13 18:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 8:49 delete-region - is their a way to get the deleted text? Thorsten Jolitz
2013-06-13 8:56 ` Peter Dyballa
2013-06-13 9:25 ` Eric Abrahamsen
2013-06-13 10:00 ` Peter Dyballa
2013-06-13 10:20 ` Thorsten Jolitz
2013-06-13 10:23 ` Eric Abrahamsen
[not found] ` <mailman.1532.1371117614.22516.help-gnu-emacs@gnu.org>
2013-06-13 13:33 ` Barry Margolin
2013-06-13 18:31 ` Peter Dyballa
[not found] ` <mailman.1597.1371148312.22516.help-gnu-emacs@gnu.org>
2013-06-13 18:51 ` Barry Margolin [this message]
2013-06-13 19:41 ` Peter Dyballa
[not found] ` <mailman.1599.1371152513.22516.help-gnu-emacs@gnu.org>
2013-06-13 21:08 ` Barry Margolin
2013-06-13 23:00 ` Peter Dyballa
2013-06-14 8:15 ` Thorsten Jolitz
2013-06-14 8:37 ` Peter Dyballa
2013-06-13 16:16 ` David Engster
2013-06-14 8:20 ` Thorsten Jolitz
[not found] <mailman.1524.1371113397.22516.help-gnu-emacs@gnu.org>
2013-06-13 15:11 ` Stefan Monnier
2013-06-14 8:18 ` Thorsten Jolitz
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=barmar-7F857C.14511513062013@news.eternal-september.org \
--to=barmar@alum.mit.edu \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).