unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs, cygwin, and revert-buffer
@ 2004-01-06 22:13 Swenson, Eric
  0 siblings, 0 replies; 4+ messages in thread
From: Swenson, Eric @ 2004-01-06 22:13 UTC (permalink / raw)


Hello,

I've searched the web with google and can't find any discussion of a problem
I'm having with emacs running under cygwin (on Windows) in a window (I
assume this means that this is xemacs rather than emacs).  Perhaps someone
on this list could help, or point me in the right direction (or where I
should go for help).  

The problem is that frequently revert-buffer corrupts the buffer when the
on-disk version of a file has changed.  I've verified that when running
gnu-emacs not under cygwin Xfree86, the buffer corruption doesn't occur.  I
can't quite put my finger on the nature of the corruption, and the simple
cases I've tried to conjur up work fine.  However, with large source files
or text log files, where I invoke revert-buffer when the cursor is sitting
in the middle of the buffer (i.e. not at the end), the resulting buffer is
corrupted near where the cursor is.  It is corrupted in that a portion of
the file appears duplicated (perhaps by the difference in length of the
original buffer and the modified file).  

My emacs version shows:  GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit) of
2003-11-23 on DRACO

I'm running XFree86 version:  4.3.0-1

I'm running cygwin version:  1.5.3-1

I got this version of emacs from the above version cygwin distribution.  

Has anyone seen a problem with revert-buffer similar to that described
above?  Any suggestions as to where I could go for help?  

Thanks much.  

-- Eric

PS:  I'm not on this mailing list, so please reply-all to ensure I receive
your response.  Thanks.

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

* RE: emacs, cygwin, and revert-buffer
@ 2004-01-06 23:02 Swenson, Eric
  0 siblings, 0 replies; 4+ messages in thread
From: Swenson, Eric @ 2004-01-06 23:02 UTC (permalink / raw)


Hello again,

A small amount of additional information related to the problem I reported
in my previous message to this address, and attached following this
message).  

I tried the -nox version (emacs-nox) of emacs (21.2) that comes with cygwin,
and had the same problem.  So I suspect the problem will turn out to be a
cygwin problem.   Still, I've seen no mention of others encountering a
revert-buffer problem and nothing obvious in cygwin discussions.  -- Eric

>  -----Original Message-----
> From: 	Swenson, Eric  
> Sent:	Tuesday, January 06, 2004 2:14 PM
> To:	'help-gnu-emacs@gnu.org'
> Subject:	emacs, cygwin, and revert-buffer
> 
> Hello,
> 
> I've searched the web with google and can't find any 
> discussion of a problem I'm having with emacs running under 
> cygwin (on Windows) in a window (I assume this means that 
> this is xemacs rather than emacs).  Perhaps someone on this 
> list could help, or point me in the right direction (or where 
> I should go for help).  
> 
> The problem is that frequently revert-buffer corrupts the 
> buffer when the on-disk version of a file has changed.  I've 
> verified that when running gnu-emacs not under cygwin 
> Xfree86, the buffer corruption doesn't occur.  I can't quite 
> put my finger on the nature of the corruption, and the simple 
> cases I've tried to conjur up work fine.  However, with large 
> source files or text log files, where I invoke revert-buffer 
> when the cursor is sitting in the middle of the buffer (i.e. 
> not at the end), the resulting buffer is corrupted near where 
> the cursor is.  It is corrupted in that a portion of the file 
> appears duplicated (perhaps by the difference in length of 
> the original buffer and the modified file).  
> 
> My emacs version shows:  GNU Emacs 21.2.1 (i686-pc-cygwin, X 
> toolkit) of 2003-11-23 on DRACO
> 
> I'm running XFree86 version:  4.3.0-1
> 
> I'm running cygwin version:  1.5.3-1
> 
> I got this version of emacs from the above version cygwin 
> distribution.  
> 
> Has anyone seen a problem with revert-buffer similar to that 
> described above?  Any suggestions as to where I could go for help?  
> 
> Thanks much.  
> 
> -- Eric
> 
> PS:  I'm not on this mailing list, so please reply-all to 
> ensure I receive your response.  Thanks.

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

* Re: emacs, cygwin, and revert-buffer
       [not found] <mailman.58.1073431254.928.help-gnu-emacs@gnu.org>
@ 2004-01-06 23:58 ` Jason Rumney
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Rumney @ 2004-01-06 23:58 UTC (permalink / raw)


"Swenson, Eric" <Eric.Swenson@am.sony.com> writes:

> I've searched the web with google and can't find any discussion of a problem
> I'm having with emacs running under cygwin (on Windows) in a window (I
> assume this means that this is xemacs rather than emacs).

> My emacs version shows:  GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit) of
> 2003-11-23 on DRACO

That is not XEmacs.

Does your buffer still appear corrupted if you press Ctrl-L? ie is
the buffer really corrupted, or is it a temporary display problem?

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

* Re: emacs, cygwin, and revert-buffer
       [not found] <mailman.69.1073434848.928.help-gnu-emacs@gnu.org>
@ 2004-01-07 18:05 ` Greg Fenton
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Fenton @ 2004-01-07 18:05 UTC (permalink / raw)


Swenson, Eric wrote:
> 
> I tried the -nox version (emacs-nox) of emacs (21.2) that comes with cygwin,
> and had the same problem.  So I suspect the problem will turn out to be a
> cygwin problem.   Still, I've seen no mention of others encountering a
> revert-buffer problem and nothing obvious in cygwin discussions.  -- Eric
> 

FYI, I run into various problems when using Cygwin's rxvt (not under X) 
as my shell window (as opposed to just running BASH inside of a "DOS" 
console).  Sometimes I can clear up the problem by forcing a refresh of 
the window (minimize and restore or push to the back of another window 
or press Ctrl-L), but quite often I have to kill the window and open a 
new one.

One of these days I'll whip up a bug report...

greg.fenton
-- 
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/

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

end of thread, other threads:[~2004-01-07 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.69.1073434848.928.help-gnu-emacs@gnu.org>
2004-01-07 18:05 ` emacs, cygwin, and revert-buffer Greg Fenton
     [not found] <mailman.58.1073431254.928.help-gnu-emacs@gnu.org>
2004-01-06 23:58 ` Jason Rumney
2004-01-06 23:02 Swenson, Eric
  -- strict thread matches above, loose matches on Subject: below --
2004-01-06 22:13 Swenson, Eric

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).