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: Wed, 10 Apr 2002 08:24:08 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204101424.g3AEO8N20963@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> <87wuvk77mc.fsf@wesley.springies.com> <200204081553.g38FrFM10159@rum.cs.yale.edu> <87zo0dc2em.fsf@alice.dynodns.net> <5x3cy5md5e.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1018448847 24228 127.0.0.1 (10 Apr 2002 14:27:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2002 14:27:27 +0000 (UTC) Cc: johnw@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16vJ4J-0006If-00 for ; Wed, 10 Apr 2002 16:27:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16vJJc-0003SV-00 for ; Wed, 10 Apr 2002 16:43:16 +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 16vJ46-0005YU-00; Wed, 10 Apr 2002 10:27:14 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vJ17-0005IM-00; Wed, 10 Apr 2002 10:24:09 -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 g3AEO8a15376; Wed, 10 Apr 2002 08:24:08 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g3AEO8N20963; Wed, 10 Apr 2002 08:24:08 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: storm@cua.dk In-Reply-To: <5x3cy5md5e.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.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2507 It might be possible to divide all major modes into a few named categories, such that we could design a reasonable plan for what to do with text props on copying of text, given the category of the buffer being copied from and the category of the buffer being copied to. Here is a starting list of categories: A. Buffers where properties are determined from the characters. (E.g., programming language mode using font-lock, Rmail, and Info.) B. Buffers where properties are put on by Lisp code but can't be determined from the characters. (E.g., the minibuffer, the output of list-faces-display, and Shell mode). C. Buffers which should have no text properties. (E.g., programming language mode without font-lock). D. Buffers where properties can be assigned by users. (E.g., Enriched mode, and maybe Fundamental mode). Perhaps all text properties should be discarded when copying into buffers of categories A, B and C. But what should be done with images copied into these buffers? Perhaps certain specific properties should be discarded when copying into category D buffers. Are any more alternative categories or subdivisions of them needed?