emacs-devel
[Top][All Lists]
Advanced

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

Re: Did something change with respect to Emacs idle loop:


From: T. V. Raman
Subject: Re: Did something change with respect to Emacs idle loop:
Date: Wed, 27 Sep 2006 06:09:33 -0700

This does sound like it could be the culprit ---
I'd be happy to test if it were possible to  do a cvs update, and
then undo just this patch and build.

>>>>> "Andreas" == Andreas Seltenreich <address@hidden> writes:
    Andreas> "T. V. Raman" <address@hidden> writes:
    >> Another situation where I've noticed changed behavior is
    >> with emms (2.1) --- if you launch a playlist then playback
    >> stops after each track, and you again need to touch the
    >> keyboard for it to move to the next track.
    Andreas> 
    Andreas> Could this be related to the recently-fixed
    Andreas> fontification loop problem?  When investigating with
    Andreas> gdb, I noticed that Emacs didn't leave the following
    Andreas> loop in wait_reading_process_output() since
    Andreas> timers_run was repeatedly increased during
    Andreas> redisplay, and execution didn't ever reach the
    Andreas> select().
    Andreas> 
    Andreas> --8<---------------cut
    Andreas> here---------------start------------->8--- do { int
    Andreas> old_timers_run = timers_run; struct buffer
    Andreas> *old_buffer = current_buffer;
    Andreas> 
    Andreas>          timer_delay = timer_check (1);
    Andreas> 
    Andreas>          /* If a timer has run, this might have
    Andreas> changed buffers an alike.  Make read_key_sequence
    Andreas> aware of that.  */ if (timers_run != old_timers_run
    Andreas> && old_buffer != current_buffer &&
    Andreas> waiting_for_user_input_p == -1)
    Andreas> record_asynch_buffer_change ();
    Andreas> 
    Andreas>          if (timers_run != old_timers_run &&
    Andreas> do_display) /* We must retry, since a timer may have
    Andreas> requeued itself and that could alter the time_delay.
    Andreas> */ redisplay_preserve_echo_area (9); else break; }
    Andreas> --8<---------------cut
    Andreas> here---------------end--------------->8---
    Andreas> 
    Andreas> HTH Andreas

-- 
Best Regards,
--raman

      
Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




reply via email to

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