From trey@plateau.CS.Berkeley.EDU  Fri Feb 14 17:50:38 1997
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[nil "" "14" "February" "1997" "17:50:24" "-0800" "Trey Jackson" "trey@cs.berkeley.edu" "<t4e7mkakfbz.fsf@beavis.CS.Berkeley.EDU>" "56" "Possible bug: can anyone reproduce this?" "^From:" nil nil "2" nil nil nil nil]
	nil)
Received: from beavis.CS.Berkeley.EDU (beavis.CS.Berkeley.EDU [128.32.32.74]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id RAA18207 for <voelker@cs.washington.edu>; Fri, 14 Feb 1997 17:50:38 -0800
Received: (from trey@localhost) by beavis.CS.Berkeley.EDU (8.8.4/8.6.9) id RAA15324; Fri, 14 Feb 1997 17:50:36 -0800 (PST)
Newsgroups: gnu.emacs.help
Message-ID: <t4e7mkakfbz.fsf@beavis.CS.Berkeley.EDU>
Organization: Bone Heads Inc.
Lines: 53
X-Newsreader: Gnus v5.4.8/Emacs 19.30
Posted-To: gnu.emacs.help
From: Trey Jackson <trey@cs.berkeley.edu>
Sender: trey@plateau.CS.Berkeley.EDU
To: voelker@cs.washington.edu
CC: jamie@rebellion.co.uk
Subject: Possible bug: can anyone reproduce this?
Date: 14 Feb 1997 17:50:24 -0800


***The following has also been posted.***

I'm using Emacs 19.34 on Win95.
Folding mode RCS version: 2.7 
(ftp://ftp.csd.uu.se/pub/users/andersl/beta/folding.el)

I don't know how folding mode actually hides code, so I am unable to
reproduce the problem w/out folding mode.

The problem is (and this does *not* occur on my UNIX 19.34 Emacs).

If I kill a region that contains a fold that is closed (hidden text),
the killed text does *not* contain newlines.  The result is that when
I yank the text back - the text is all on one line.

For example,

If the fold was (actual text prefixed by |):

|{{{ fold
|
|that was the beginning of the fold
|and the end is near
|
|}}}


And I hid the fold, so that it looked like:

|{{{ fold...


If I then killed the line C-k (with the point at col 0)
And immediately pasted C-y, I would get:

|{{{ foldthat was the beginning of the foldand the end is near}}}


I reproduced this by starting 'emacs -q'
and only loading folding.el

The same sequence of keystrokes reproduces the fold as it should
on my Linux system.


any ideas?

TJ

-- 
Trey Jackson
trEy@cs.bErkElEy.Edu

"Move away from the building, it is on fire."
-- Berkeley cop

