Re: Clipboard hang on w32

2006-08-31 Thread Richard Stallman
When trying this, I found that the debugger window in (a second) Emacs was hanging after about every page of output until I pressed the mouse button. I had to do this many times, as garbage collection was in progress at the time I stopped Emacs so the stack trace was almost

Re: Clipboard hang on w32

2006-08-31 Thread Richard Stallman
My interpretation of the problem is that the call to sit_for in read_char is allowing the idle timers to run.These idle timers (semantic-idle-core-handler) are doing a lot of work, and using input-pending-p to allow user input to interrupt them. Why is that a problem? The

Re: Emacs crashes when displaying the Euro character

2006-08-31 Thread Richard Stallman
With the X protocol, errors are reported asynchronously, so an error caused by one X operation is detected by a later operation. The error has nothing to do with the X operation in which it is detected. If you can reproducibly cause an X protocol error, try doing (x-synchronize t) and then make

Re: Emacs crashes when displaying the Euro character

2006-08-31 Thread Richard Stallman
The X error seems to be coming from the call to XPending. The X libraries manual does not state that XPending can signal an X error, but maybe this is a documentation flaw in the X manual. In any case, try this patch; it should eliminate this particular crash. That patch would

Re: comment region in fortran mode

2006-08-31 Thread Glenn Morris
I've discovered that removing the line in mouse-set-region-1 that turns on transient-mark-mode makes the problem go away, but I'm just flailing around... ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org

Re: comment region in fortran mode

2006-08-31 Thread Hezi Gildor
hi, emacs -Q file.f I drag the mouse to highlight a region Can you show us the file, and tell us which region? as example see attached 4 lines Fortran code. if i now highlight one of the line y dragging the mouse while pressing the left button, and then choose from the menu

Re: Clipboard hang on w32

2006-08-31 Thread Chong Yidong
Richard Stallman [EMAIL PROTECTED] writes: The problem seems to be that process-output and clipboard requests are not being handled while Emacs is inside that sit_for, Do you know that, or is that a guess? If that is true, it is a bug already. Process output should be

font-lock-syntactic-face-function isn't easy to find

2006-08-31 Thread Bielawski, Richard
I'd like to suggest a change. In lispref/modes.text Syntactic fontification uses the syntax table to find comments and - string constants (@pxref{Syntax Tables}). It highlights them using + string constants (@pxref{Syntax Tables}). It highlights them based - @code{font-lock-comment-face}

Re: Clipboard hang on w32

2006-08-31 Thread Richard Stallman
The pause is caused by Emacs not processing the output. The debugger just outputs to stdout continuously. I don't entirely understand that. How is Emacs processing the debugger output? Are you running the debugger under Emacs? If so, you can probably reprogram that Emacs to do

Re: Clipboard hang on w32

2006-08-31 Thread Richard Stallman
It's in two packages (cedet and jdee) distributed outside of Emacs. Those timers should probably call accept-process-output. If you call accept-process-output with a timeout of 0, will it receive the output but not wait? If so, that is the right way. If not, then maybe we need to fix