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: Question about copy-region-as-kill Date: Sun, 7 Apr 2002 12:50:47 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204071850.g37Iol319907@aztec.santafe.edu> References: <87ofh09xjq.fsf@alice.dynodns.net> <200204050602.g3562Dl18586@aztec.santafe.edu> <87bscx7rlf.fsf@alice.dynodns.net> <3791-Sat06Apr2002101927+0300-eliz@is.elta.co.il> <873cy9nsom.fsf@alice.dynodns.net> <87zo0gu2hr.fsf@emacswiki.org> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1018207708 20878 127.0.0.1 (7 Apr 2002 19:28:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 7 Apr 2002 19:28:28 +0000 (UTC) Cc: Kai.Grossjohann@cs.uni-dortmund.de, keichwa@gmx.net, johnw@gnu.org, emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16uIKx-0005Qd-00 for ; Sun, 07 Apr 2002 21:28:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16uIZ0-0005Xx-00 for ; Sun, 07 Apr 2002 21:42:58 +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 16uHo4-0002T0-00; Sun, 07 Apr 2002 14:54:28 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16uHkX-0002Lq-00; Sun, 07 Apr 2002 14:50:49 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g37Iola29399; Sun, 7 Apr 2002 12:50:47 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g37Iol319907; Sun, 7 Apr 2002 12:50:47 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: alex@emacswiki.org In-Reply-To: <87zo0gu2hr.fsf@emacswiki.org> (message from Alex Schroeder on Sat, 06 Apr 2002 20:05:20 +0200) 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:2453 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2453 > I guess that properties added by font-lock are different. To me, that sounds about right: If a text property was added by Emacs, ie. font-lock, then chances are high that in another buffer the text properties will be lost anyway (after saving and reloading, or when the font-lock for the new buffer kicks in). In this case, we might as well remove the text-properties anyway. That is a good point. Perhaps therefore font-lock should create overlays rather than text properties. Overlays are not part of the text, and won't be copied when the text is copied.