unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#846: Bug in handling invisible text, and bug in Pmail.
@ 2008-09-01  6:11 Richard M. Stallman
  2008-09-01 20:37 ` Stefan Monnier
  2008-09-03  8:15 ` bug#869: " Paul Michael Reilly
  0 siblings, 2 replies; 10+ messages in thread
From: Richard M. Stallman @ 2008-09-01  6:11 UTC (permalink / raw)
  To: pmr, emacs-pretest-bug

In Pmail I had a message that looked like this
(I changed his host name for privacy's sake):

----------------------------------------------------------------------
To: rms@gnu.org
Subject: sorry that I was distracted with phone calls 
From: Brand@xyzxysxysbb.com
Reply-to: brand@xyzxysxysbb.com
Date: Thu, 21 Aug 2008 18:46:37 -0700
X-BABYL-V6-ATTRIBUTES: A------



Two other ideas to run past you when time permits.

/w

----------------------------------------------------------------------

and I wanted to copy that into an outgoing message.
So I typed C-x h M-w, went to *mail* and inserted it.
What this inserted appears below.  It was quite a surprise.

It seems there is a lot of invisible text at the beginning of
the buffer, and two different values of point display at the same
place on the screen.  These places are 934995 and 9351405.
(point-min) returns 934995, and that's where M-< moves point to.
Typing C-f C-b moves point to 9351405.  I gather that those two
positions surround the invisible text.	

I think this is a bug in the command loop's handling of invisible
text -- it should not be the case that C-f C-b changes point.

I think it is also a bug in Pmail.  Pmail should set the buffer boundaries
after that text, rather than making it invisible.

If Pmail is fixed, then it won't trigger the invisible text bug.
But I think it needs to be fixed anyway.


----------------------------------------------------------------------
From Brand@xyzxysxysbb.com  Fri Aug 22 01:11:22 2008
X-Coding-System: undecided-unix
Return-path: <Brand@xyzxysxysbb.com>
Envelope-to: rms@gnu.org
Delivery-date: Fri, 22 Aug 2008 01:11:22 -0400
Received: from mx10.gnu.org ([199.232.76.166]:43206)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <Brand@xyzxysxysbb.com>)
	id 1KWOvi-0001Cl-Jw
	for rms@gnu.org; Fri, 22 Aug 2008 01:11:22 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <Brand@xyzxysxysbb.com>)
	id 1KWOwz-0000Ti-Nv
	for rms@gnu.org; Fri, 22 Aug 2008 01:12:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,NO_REAL_NAME autolearn=no version=3.1.0
Received: from sh.day.org ([198.102.73.65]:47087)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <Brand@xyzxysxysbb.com>)
	id 1KWOwz-0000T4-E6
	for rms@gnu.org; Fri, 22 Aug 2008 01:12:41 -0400
X-Client-Authorized: MaGic Cook1e
Received: from vree.xyzxysxysbb.com (sh.day.org [198.102.73.65])
	by sh.day.org (Postfix) with ESMTPS id 18A9EC6988A39
	for <rms@gnu.org>; Thu, 21 Aug 2008 22:12:38 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by vree.xyzxysxysbb.com (8.13.7/8.13.7) with ESMTP id m7M1kbEs004491
	for <rms@gnu.org>; Thu, 21 Aug 2008 18:46:46 -0700
Message-Id: <200808220146.m7M1kbEs004491@vree.xyzxysxysbb.com>
To: rms@gnu.org
Subject: sorry that I was distracted with phone calls 
From: Brand@xyzxysxysbb.com
Reply-to: brand@xyzxysxysbb.com
Date: Thu, 21 Aug 2008 18:46:37 -0700
X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized.
X-BABYL-V6-ATTRIBUTES: A------



Two other ideas to run past you when time permits.

/w

----------------------------------------------------------------------






^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-09-23 20:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01  6:11 bug#846: Bug in handling invisible text, and bug in Pmail Richard M. Stallman
2008-09-01 20:37 ` Stefan Monnier
2008-09-02  1:09   ` Richard M. Stallman
2008-09-02  2:36     ` Stefan Monnier
2008-09-23 20:44       ` Reiner Steib
2008-09-03  8:15 ` bug#869: " Paul Michael Reilly
2008-09-03 16:39   ` Stefan Monnier
2008-09-04  0:10     ` Richard M. Stallman
2008-09-04  6:54     ` Paul Michael Reilly
2008-09-04  0:11   ` Richard M. Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).