emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac too [was Re: Loop in x-file-dialog under MS Windows]


From: Jason Rumney
Subject: Mac too [was Re: Loop in x-file-dialog under MS Windows]
Date: Sat, 11 Jun 2005 00:18:57 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

address@hidden writes:

> Quoting Ralf Angeli <address@hidden>:
>
>> AUCTeX calls `read-file-name' (and consequently `x-file-dialog') with
>> the string "<default>" as argument for the default file name.  We have
>> various reports where this call, when invoked from a menu, led to a
>> loop which made Emacs unresponsive until `C-g' was typed.  This
>> happens only under MS Windows.

I have checked in a fix for this now. I also checked in a change for
the Mac code, which had the same bug (completing_read called within a
BLOCK_INPUT block), but I do not have access to a Mac to test it. I'm
not even sure that a test case exists to trigger that code on Mac,
since it only triggered on Windows because the system dialog rejected
the < and > in "<default>" and refused to display.

I checked the GTK and Motif implementations of the function too, but
they do not have this fallback (presumably their file dialogs do not
fail frequently like the Windows one does).








reply via email to

[Prev in Thread] Current Thread [Next in Thread]