From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: keymap in yank-excluded-properties Date: Tue, 03 Sep 2002 09:26:46 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <20020822.173129.01368056.Takaaki.Ota@am.sony.com> <200208250525.g7P5PfH11882@wijiji.santafe.edu> <5x3ct2y2nr.fsf@kfs2.cua.dk> <20020830.124308.81460907.Takaaki.Ota@am.sony.com> <5xelcc3054.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031059744 8382 127.0.0.1 (3 Sep 2002 13:29:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 13:29:04 +0000 (UTC) Cc: Takaaki.Ota@am.sony.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mDjp-0002B5-00 for ; Tue, 03 Sep 2002 15:29:01 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17mEIY-0007Kh-00 for ; Tue, 03 Sep 2002 16:04:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mDlN-0004j6-00; Tue, 03 Sep 2002 09:30:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17mDhh-00044V-00 for emacs-devel@gnu.org; Tue, 03 Sep 2002 09:26:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17mDhf-000445-00 for emacs-devel@gnu.org; Tue, 03 Sep 2002 09:26:48 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mDhe-00043z-00 for emacs-devel@gnu.org; Tue, 03 Sep 2002 09:26:46 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17mDhe-0002Mh-00; Tue, 03 Sep 2002 09:26:46 -0400 Original-To: storm@cua.dk In-Reply-To: <5xelcc3054.fsf@kfs2.cua.dk> (storm@cua.dk) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7375 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7375 The decision what to do must be taken when doing the yank (or yank-rectangle), rather than the kill or copy, as there just too many ways to get the (partial) table into the kill-ring, so the only place where it makes sense to determine whether "the thing" is really a table is when we yank it. That seems plausible. I still think that my proposal for a yank-function text property (set on the original table text, and used by yank and yank-rectangle to do the yank) would do be a simple, yet powerful approach, as it would use automatically copy that property to the kill-ring, so there is nothing we need to add to basic functionality to achieve this. How about if the two of you together try implementing the yank-function feature and a suitable function to handle yanking of tables? That way, we will see if the feature really can do the job at hand.