all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David Engster <deng@randomsample.de>
Cc: stefan.hahn@s-hahn.de, 22287@debbugs.gnu.org
Subject: bug#22287: 25.1.50; Sudden jumping point in buffer
Date: Mon, 04 Jan 2016 17:22:10 +0200	[thread overview]
Message-ID: <83fuyd8j4t.fsf@gnu.org> (raw)
In-Reply-To: <87twmumzqm.fsf@engster.org> (message from David Engster on Sun,  03 Jan 2016 16:47:29 +0100)

> From: David Engster <deng@randomsample.de>
> Date: Sun, 03 Jan 2016 16:47:29 +0100
> Cc: 22287@debbugs.gnu.org
> 
> > | *** handle atimers [540 times]
> > | *** sem start: buffer intervals.c 49722
> > | *** sem: buffer intervals.c 49722
> > | *** input: rc=nil 49722 49722
> > | *** out: rc=nil 49722 49722
> > | *** sem: buffer intervals.c 49722
> > | *** input: rc=nil 49722 49722
> > | *** out: rc=nil 49722 49722
> > | *** sem: buffer intervals.c 49722
> > | *** input: rc=nil 49722 49722
> > | *** out: rc=nil 49722 49722
> > | *** sem: buffer intervals.c 49722
> > | *** input: rc=nil 49722 49722
> > | *** out: rc=nil 49722 49722
> > | *** sem: buffer intervals.c 49722
> > | *** input: rc=nil 49722 49722
> > | *** out: rc=nil 49722 49722
> > | *** sem: buffer intervals.c 49722
> > | *** input: rc=nil 49722 49722
> > | *** out: rc=nil 49722 49722
> > | *** handle atimers [10 times]
> 
> That's interesting. Why do timers run here at all?

These are _atimers_, not timers.  An entirely different beast.  See
atimer.c.

Grep the C sources for start_atimer and turn_on_atimers, to see which
code uses atimers.  One such place is the poll timer used to poll for
user input (see keyboard.c), another is the hour-glass mouse pointer
feature shown when Emacs is busy (see xdisp.c).  We also turn them off
while waiting for input in wait_reading_process_output (see
process.c).





      parent reply	other threads:[~2016-01-04 15:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01 11:10 bug#22287: 25.1.50; Sudden jumping point in buffer Stefan-W. Hahn
2016-01-03 11:26 ` David Engster
2016-01-03 13:07   ` Stefan-W. Hahn
2016-01-03 15:47     ` David Engster
2016-01-03 20:51       ` Stefan-W. Hahn
2016-01-04 15:22         ` Eli Zaretskii
2016-01-05 15:01           ` Stefan-W. Hahn
2016-01-05 16:27             ` Eli Zaretskii
2016-01-05 19:51               ` Stefan-W. Hahn
2016-01-05 20:12                 ` Eli Zaretskii
2016-01-05 21:08                   ` Stefan-W. Hahn
2016-01-06 14:13                   ` Stefan-W. Hahn
2016-01-06 21:52                     ` David Engster
2016-02-21 16:29                       ` David Engster
2016-01-04 15:22       ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fuyd8j4t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22287@debbugs.gnu.org \
    --cc=deng@randomsample.de \
    --cc=stefan.hahn@s-hahn.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.