From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Something similar to write-file-functions for copy & cut?
Date: Wed, 06 Jun 2007 16:20:05 +0200 [thread overview]
Message-ID: <4666C295.4080006@gmail.com> (raw)
In-Reply-To: <f7ccd24b0706060711r5c9f6079h88e2e6384ade35e@mail.gmail.com>
Juanma Barranquero wrote:
> On 6/6/07, Lennart Borgman (gmail) <lennart.borgman@gmail.com> wrote:
>
>> I guess you mean that copy and cut to clipboard call these?
>
> They use filter-buffer-substring.
>
>> I could try, but would not that affect many other operations too?
>
> There aren't many operations that use filter-buffer-substring. And if
> really needed I suppose you can hack a way to know what command is
> being executed.
Ok, thanks. I will just use them as the hook I asked for now.
prev parent reply other threads:[~2007-06-06 14:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 13:27 Something similar to write-file-functions for copy & cut? Lennart Borgman (gmail)
2007-06-06 13:52 ` Juanma Barranquero
2007-06-06 13:59 ` Lennart Borgman (gmail)
2007-06-06 14:11 ` Juanma Barranquero
2007-06-06 14:20 ` Lennart Borgman (gmail) [this message]
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=4666C295.4080006@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).