From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MON KEY Newsgroups: gmane.emacs.devel Subject: Re: M-w, then C-y. C-y inserts text properties that aren't on original. Date: Mon, 22 Feb 2010 15:30:35 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1266870653 10594 80.91.229.12 (22 Feb 2010 20:30:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 20:30:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: acm@muc.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 21:30:49 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NjevY-0000Oz-Qz for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2010 21:30:49 +0100 Original-Received: from localhost ([127.0.0.1]:46298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjevY-00054n-CX for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2010 15:30:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjevS-00054Y-Rc for emacs-devel@gnu.org; Mon, 22 Feb 2010 15:30:42 -0500 Original-Received: from [140.186.70.92] (port=58153 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjevQ-00054Q-Rh for emacs-devel@gnu.org; Mon, 22 Feb 2010 15:30:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjevQ-0005nZ-46 for emacs-devel@gnu.org; Mon, 22 Feb 2010 15:30:40 -0500 Original-Received: from mail-yw0-f172.google.com ([209.85.211.172]:48438) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjevP-0005nO-Ie for emacs-devel@gnu.org; Mon, 22 Feb 2010 15:30:40 -0500 Original-Received: by ywh2 with SMTP id 2so1572036ywh.24 for ; Mon, 22 Feb 2010 12:30:36 -0800 (PST) Original-Received: by 10.150.120.35 with SMTP id s35mr5460112ybc.257.1266870635575; Mon, 22 Feb 2010 12:30:35 -0800 (PST) X-Google-Sender-Auth: b7b810f612aa524b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121283 Archived-At: ,---- | The root cause of this mess is the confusion in text properties. | Text properties (as opposed to overlays) become part of the text | they're applied to, yet they're mostly used (e.g. for font locking) | in situations where they're not intrinsically part of the text. `---- The ``moslty'' generalization is far too broad a stroke. You seem to be reducing this to a matter of presentation. ,---- | It would be better if these uses could use overlays, then copying | the string would ignore the overlay. `---- No, it would not. There are a good many uses (some as yet poorly explored) where text properties are the more suitable ``container'' than the equivalent approach with overlays. If anything it would be better if overlays were further deprecated. /s_P\