From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Problems with info (emacs version) Date: Tue, 3 Jun 2003 19:26:16 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030603232616.GA8483@gnu.org> References: <200306020333.h523XMC23468@eel.dms.auburn.edu> <200306030522.h535MWh24584@eel.dms.auburn.edu> <20030603192532.GA17902@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054682903 7444 80.91.224.249 (3 Jun 2003 23:28:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 23:28:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 04 01:28:13 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NLCP-0001vY-00 for ; Wed, 04 Jun 2003 01:28:13 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19NLTi-00030i-00 for ; Wed, 04 Jun 2003 01:46:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NLDc-0008Du-5A for emacs-devel@quimby.gnus.org; Tue, 03 Jun 2003 19:29:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19NLCq-0007GI-2d for emacs-devel@gnu.org; Tue, 03 Jun 2003 19:28:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19NLCM-0006e4-Sh for emacs-devel@gnu.org; Tue, 03 Jun 2003 19:28:11 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NLAd-0005N6-Lu for emacs-devel@gnu.org; Tue, 03 Jun 2003 19:26:23 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.20) id 19NLAW-0002a3-TT; Tue, 03 Jun 2003 19:26:16 -0400 Original-To: Simon Josefsson Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop Original-cc: rms@gnu.org Original-cc: Luc Teirlinck X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14661 On Tue, Jun 03, 2003 at 09:46:05PM +0200, Simon Josefsson wrote: > > According to other posts in this thread, I was confused -- emacs _already_ > > strips invisible properties on yank by default (so I guess it's not a > > problem!). > > Hm. I frequently yank text from info, and the invisible property does > not seem to be stripped. That's the _other_ part of my confusion in this thread... :-) Info doesn't use invisibility to hide text, it uses the `display' property to display whitespace instead. I think probably message-mode should specifically add `display' the set of properties stripped by yanking in message-mode buffers -- even less hacky uses of the display property (such as images) are something the user had better be aware of when sending email! Well actually in general, I think it would be nice if message/mail-mode handled pictures automagically by converting them info an appropriate mime attachment, in which case probably the right thing to do would be to some how distinguish betwen the two uses of the display property -- but I think this should be done at _yank time_, not when sending (as I said before, sending is too late); is there a hook that runs when something is yanked...? -Miles -- I have seen the enemy, and he is us. -- Pogo