This is the mail archive of the
mailing list for the Cygwin project.
Re: (call-process ...) hangs in emacs
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin at cygwin dot com
- Date: Tue, 26 Aug 2014 18:12:50 -0400
- Subject: Re: (call-process ...) hangs in emacs
- Authentication-results: sourceware.org; auth=none
- References: <53DB8D23 dot 7060806 at alice dot it> <CAK9Gx1cjj-7cDP7CunD7Bxz35L+SU9+4Ro3HRot5cwjcArudOA at mail dot gmail dot com> <20140801133225 dot GD25860 at calimero dot vinschen dot de> <53DEDBBA dot 20102 at cornell dot edu> <20140804080034 dot GA2578 at calimero dot vinschen dot de> <53DF8BDC dot 8090104 at cornell dot edu> <20140804134526 dot GK2578 at calimero dot vinschen dot de> <53E0CC2D dot 4080305 at cornell dot edu> <20140805135830 dot GA9994 at calimero dot vinschen dot de> <53E11A93 dot 9070800 at cornell dot edu> <20140805184047 dot GC13601 at calimero dot vinschen dot de> <53E3685B dot 8050508 at cornell dot edu> <53E39BAD dot 3010004 at redhat dot com> <53E3CB46 dot 1020909 at cornell dot edu> <53E3F2AE dot 7030608 at redhat dot com> <53E4D01B dot 9010005 at cornell dot edu> <53F1F154 dot 1020702 at cornell dot edu> <53FB87DC dot 2050908 at cornell dot edu> <87wq9v9j2y dot fsf at Rainer dot invalid>
On 8/26/2014 2:55 PM, Achim Gratz wrote:
Ken Brown writes:
It looks like my idea is going to work, but it needs testing to make
sure I've implemented it correctly. If anyone is willing to test it,
you can download emacs-24.3.93-2 from my personal Cygwin repository:
Instructions can be found at that URL.
I've switched to this version today.
I've noticed that two bugs are still present at least in the emacs-w32
1) When showing the Windows desktop with Win-D and then restoring it
(including Emacs) with Win-D again, the cursor becomes a hollow
rectangle that doesn't blink. To get the normal cursor behaviour back
you have to minimize and restore the Emacs window in the "normal" way.
This one has nothing to do with emacs. I see the same thing in mintty,
with just a shell prompt (bash in my case).
2) Files that have no POSIX permissions (filemode 0000) and where access
is granted via ACL only get always opened as "read-only" and you have to
C-x C-q them before saving. It appears that this is Cygwin specific
since on Linux the same version copes with that situation correctly
(however, the mask bits in the ACL get displayed in the group portion of
the file mode, which I've never seen happen on Cygwin, so this may be
something that Cygwin needs to do -- maybe that'd even solve the
problems that Perl has in the same situation).
AFAICT, emacs decides whether the file is writable via the system call
faccessat. (See the function 'check_writable' in src/fileio.c.) This
is not Cygwin specific. So faccessat must be returning failure in the
scenario you described. I don't know if that's a Cygwin bug or not.
BTW, emacs on Cygwin doesn't directly check ACLs, because the relevant
configure test fails. That would explain the ACL display you see on
Linux but not on Cygwin. But I think this is a separate matter, not
related to the bug you're reporting.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple