buffer anomolies - emacs X11-21.12 vs. cvs

Doug Maxey capnmaxey@netscape.net
Sun Feb 2 02:21:00 GMT 2003


Howdy,

Background on the issue -
I use X11 emacs in conjunction with cvs to keep my work project files 
synchronized between my w2k laptop and my aix cvs server and aix build 
machines,  This was working just peachy, much more lightweight  than 
cmvc.  Discovered pcl-cvs, and am using to keep the entire tree in sync. 
 As they say in these parts, that dog would hunt.

The problem -
Somewhere between 21.x, where x was the version available around 
November 2002, and the latest emacs, including 21.9 and 21.12, files 
that were updated or committed suddenly started getting extraneous data 
inserted in the buffer when the commit was done.  Here is tiny ascii 
graphic I hope will tickle someone's knowledge of the emacs internals

buffer before commit:
+--------
|abcd
|efghi
|
|klmn<---- point is here
+--------

after the commit:
+--------
|abcd
|efghi
|
|klmn<---- point is still here
|klmn
+--------

Note the extra chars inserted after point when the buffer is refreshed 
after the commit.  The file on the disk itself is still correct, that 
is, if the file length was 13 before the commit, it was 13 after.  The 
buffer on the other hand  was also 13 before the commit, but after has 
the number of chars inserted that corresponds to the number of lines in 
the file.  

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck-03-02-01.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030202/a8ff5173/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4423 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030202/a8ff5173/attachment.bin>


More information about the Cygwin mailing list