unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Cecil Westerhof <Cecil@decebal.nl>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 30080@debbugs.gnu.org
Subject: bug#30080: 24.5; write-region can reset idle time
Date: Fri, 12 Jan 2018 16:11:56 +0100	[thread overview]
Message-ID: <87shbb6rib.fsf@munus.decebal.nl> (raw)
In-Reply-To: <jwva7xjqghd.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 12 Jan 2018 09:56:48 -0500")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>> It is even more funny: when I play a video with mpv, idle time is also
>> reset. And this I find really odd.
>
> Can you try to run Emacs under GDB?
> Then start Emacs to try and reproduce the problem with mpv.
> Once ready to start mpv, hit `C-c C-z` in GDB, then type
>
>     break timer_stop_idle
>     continue
>
> then launch mpv and try to see the backtrace (with command `bt`) when
> the timer_stop_idle breakpoint is triggered.
> [ Then again, maybe this will trigger all the time, but is a false
>   alarm because it would be undone right after by the above code.  ]

And it is funnier still: I found out that this only happens when mpv
is started when clicking on a file in KTorrent. If I click om a file
in Thunar, or start mpv from the command line it does not happen.

I will try to do what you asked this weekend.

-- 
Cecil Westerhof
Senior Software Engineer
M Cecil@Decebal.nl

LinkedIn: http://www.linkedin.com/in/cecilwesterhof





      reply	other threads:[~2018-01-12 15:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11 21:00 bug#30080: 24.5; write-region can reset idle time Cecil Westerhof
2018-01-11 23:49 ` Stefan Monnier
2018-01-12  1:36   ` Cecil Westerhof
2018-01-12  9:11     ` Eli Zaretskii
2018-01-12 10:36       ` Cecil Westerhof
2018-01-12 13:53         ` Eli Zaretskii
2018-01-12 14:37           ` Cecil Westerhof
2018-01-12 16:51             ` Glenn Morris
2018-01-12 17:10               ` Cecil Westerhof
2018-01-12 18:22                 ` Stefan Monnier
2018-01-12 22:59                   ` Cecil Westerhof
2018-01-12 14:56     ` Stefan Monnier
2018-01-12 15:11       ` Cecil Westerhof [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87shbb6rib.fsf@munus.decebal.nl \
    --to=cecil@decebal.nl \
    --cc=30080@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).