From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Walters Newsgroups: gmane.emacs.devel Subject: Re: Question about copy-region-as-kill Date: 06 Apr 2002 19:12:56 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <1018138376.27236.49.camel@space-ghost> References: <87ofh09xjq.fsf@alice.dynodns.net> <200204050602.g3562Dl18586@aztec.santafe.edu> <87bscx7rlf.fsf@alice.dynodns.net> <200204061732.g36HWSb19584@aztec.santafe.edu> <87k7rkmuk0.fsf@alice.dynodns.net> <87zo0gbfb2.fsf@emacswiki.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1018138884 371 127.0.0.1 (7 Apr 2002 00:21:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 7 Apr 2002 00:21:24 +0000 (UTC) Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16u0Qt-00005s-00 for ; Sun, 07 Apr 2002 02:21:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16u0ea-0003mb-00 for ; Sun, 07 Apr 2002 02:35:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16u0Qb-00035u-00; Sat, 06 Apr 2002 19:21:05 -0500 Original-Received: from monk.debian.net ([216.185.54.61] helo=monk.verbum.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16u0Pv-00034Y-00 for ; Sat, 06 Apr 2002 19:20:23 -0500 Original-Received: from space-ghost.verbum.private (freedom.cis.ohio-state.edu [164.107.60.183]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "space-ghost.verbum.org", Issuer "monk.verbum.org" (verified OK)) by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP id 01878740009E for ; Sat, 6 Apr 2002 19:20:12 -0500 (EST) Original-Received: by space-ghost.verbum.private (Postfix (Debian/GNU), from userid 1000) id 836C7806BC9; Sat, 6 Apr 2002 19:12:57 -0500 (EST) Original-To: emacs-devel@gnu.org In-Reply-To: <87zo0gbfb2.fsf@emacswiki.org> X-Mailer: Evolution/1.0 (Preview Release) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2431 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2431 On Sat, 2002-04-06 at 18:03, Alex Schroeder wrote: > John Wiegley writes: > > > And whether these are stripped at kill or yank, I don't care. I just > > don't want read-only copied around when I kill text from Eshell, and > > then yank it into an e-mail message! > > Right. Another example: When you use Colin's ibuffer.el and copy some > text from there (such as the file name of a buffer), it will have a > local keymap with totally weird mappings (eg. for RET and other common > keys) and it not entirely obvious how to get rid of them. Yes. Richard and I discussed this at length in private email. My feelings on the subject are that the separation of overlays and text properties doesn't make sense. I *always* find myself wanting a text-properties like API, but just sometimes do I want to make the properties specific to the buffer. For example, I very commonly attach a property to text, using `propertize', and do things like search forward in a buffer for the next piece of text which has a specific property (e.g. `next-single-property-change'). I have *never* wanted to know things like where all the "overlays" (i.e. regions of text with buffer-specific properties) in the buffer are (e.g. `overlay-lists'), or where the next overlay is (e.g. `next-overlay-change'). In the interim, I will change ibuffer to use overlays for some properties. But for what it's worth, I think we should move towards an XEmacs-style "extent" mechanism. [ Richard, do you mind if I make our discussion available? ]