From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Michael Reilly Newsgroups: gmane.emacs.bugs Subject: bug#869: Bug in handling invisible text, and bug in Pmail. Date: Thu, 04 Sep 2008 02:54:49 -0400 Message-ID: <48BF8639.7070905@pajato.com> References: Reply-To: Paul Michael Reilly , 869@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220512081 347 80.91.229.12 (4 Sep 2008 07:08:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 07:08:01 +0000 (UTC) Cc: 869@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 09:08:55 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kb8xV-0000jy-3W for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 09:08:49 +0200 Original-Received: from localhost ([127.0.0.1]:35908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kb8wV-0002mk-MT for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 03:07:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kb8wR-0002mV-Lk for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 03:07:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kb8wR-0002mF-0Y for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 03:07:43 -0400 Original-Received: from [199.232.76.173] (port=48328 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kb8wQ-0002mC-Tl for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 03:07:42 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:46498) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kb8wQ-00023z-F7 for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 03:07:42 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kb8wP-0005bj-G0 for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 03:07:41 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8477VHN025205; Thu, 4 Sep 2008 00:07:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m84704RK021511; Thu, 4 Sep 2008 00:00:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Paul Michael Reilly Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Sep 2008 07:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 869 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 869-submit@emacsbugs.donarmstrong.com id=B869.122051129419743 (code B ref 869); Thu, 04 Sep 2008 07:00:04 +0000 Original-Received: (at 869) by emacsbugs.donarmstrong.com; 4 Sep 2008 06:54:54 +0000 Original-Received: from copa.pajato.com (mail.pajato.com [68.191.253.210]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m846spCb019737 for <869@emacsbugs.donarmstrong.com>; Wed, 3 Sep 2008 23:54:52 -0700 Original-Received: from [127.0.0.1] (copa.pajato.com [68.191.253.210]) by copa.pajato.com (8.14.1/8.13.8) with ESMTP id m846sopr002653; Thu, 4 Sep 2008 02:54:50 -0400 User-Agent: Thunderbird 2.0.0.16 (X11/20080723) In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (copa.pajato.com [68.191.253.210]); Thu, 04 Sep 2008 02:54:50 -0400 (EDT) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Thu, 04 Sep 2008 03:07:43 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20125 Archived-At: Stefan Monnier wrote: >> I don't think it is that simple because "that text" is simply part of >> the collection of headers, some of which have been specified to be >> invisible as Emacs displays the message, i.e. the X-Coding-System: >> header can, according to rfc2822, precede or follow the Date: header. >> This, if I understand the issue and your desires properly, makes >> setting the buffer boundaries a non-workable solution. I don't know >> what the right solution is yet. Worst case, the issue is an >> indictment of using invisible text to hide the headers. Yuck. > > But is that specific to Pmail? I.e. doesn't Rmail use the same > texhcnique (or even code) to hide the headers? > If Pmail is indeed different, could you explain to me why Pmail had to > change this part of the code? It seems unrelated to babyl-vs-mbox. Apparently, Rmail/babyl rearranges the headers and then sets the buffer boundaries, thus eliminating the problem. Rmail/mbox could have (and probably should have) used the same approach. Now however, it is pretty clear that a presentation buffer is in order to deal with the coding issue, something I ill understand today but I'm gradually picking up. I also think that the coding issue implicitly means better MIME handling within Rmail. Not hardly a bad thing, especially given modern Emacs' improved graphic capabilities. -pmr