From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id rVDOKdAAg1/bMwAA0tVLHw (envelope-from ) for ; Sun, 11 Oct 2020 12:55:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eVPoJNAAg18ORQAAbx9fmQ (envelope-from ) for ; Sun, 11 Oct 2020 12:55:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4507A9401E3 for ; Sun, 11 Oct 2020 12:55:44 +0000 (UTC) Received: from localhost ([::1]:37242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRat5-00084b-4v for larch@yhetil.org; Sun, 11 Oct 2020 08:55:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRash-00084H-Gt for emacs-orgmode@gnu.org; Sun, 11 Oct 2020 08:55:19 -0400 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:46596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRase-0003pi-Kx for emacs-orgmode@gnu.org; Sun, 11 Oct 2020 08:55:18 -0400 Received: by mail-qt1-x82d.google.com with SMTP id r8so11581328qtp.13 for ; Sun, 11 Oct 2020 05:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2MCn4pxzNas5NFS6/zxkUEBDpgS045RqVuRCktyhy9E=; b=Yr4V5B6HADIGdEk6/6GPoh6nX1y+slrcDkG6cr837EjJ+O9dxIqDxwCRA+R31ir+zx 91q3/qnANc4kuo+FwREZUzucsIkfSgyaOJ3eiFMjAD5EAoBUErvZeqtCt0k95fBfS6VN IyUMt0IWbHydZJUfpOFWhJmVAUd0jUpfU1CLAKok3UnJWtmkHOpf4+yuo2ya+cnmLhr3 LRt+SMY/yv55UYlO+8yUKZ/E+YS9v6Lr2P9kEczzk1IG2lJscuJr4X+YRPw3Xhqma3hD VlV2wY0DkrlcP37VxopRTUJZ/cGxG9PB7xN3qzLjQp8sw0QfzuZRzQFFsnd8qCIAzzDi OdFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2MCn4pxzNas5NFS6/zxkUEBDpgS045RqVuRCktyhy9E=; b=c8ARA8d2mjIbEvlQqilzSlx3yk/ada0nBHQ+TT9bGitq0R7UlErT421Pr5yZFfhrIk ttndOTgsvVPnbeCX5tNv3/SYGDrbjWfjwXLZmHZRxBKhB1BEA3xM7FtAWUy2lridPUvZ 2r0hxnKbniTAnWUXN9Yi7tgYFJaelzvUeCzzb2wOKaKkEDkZOjQqovQYKKQ/YD1cVhss EhjvnesyP1NLXksqneqGCXIf9NxX4JaGujKQ8h5ZVit6AkkP6KXV//oRBFftpC+3CQlw r8EFlZv+H157y78qeTSVZBhDFPElDK+AeokwEwa5NFJ/ZEZVjZc+jddSEMzoY6BxC5QO jMUw== X-Gm-Message-State: AOAM533vtvOUke/QOxnBWgt+Xd0rMxRP2T3bauDmdpinkfm2D/VwwfNZ cqi/r5iwnOvYiJhtIH32DHb6FbPzXiDAcDNS4554RpR2 X-Google-Smtp-Source: ABdhPJyS9EG3TY7GXtGK3Dv5xO6lwczzJFq6X5jV2tfj84/I9cA9jOgLVR320MTkNda9WSccmwsUH4m9MKAGAIfVsto= X-Received: by 2002:ac8:fd3:: with SMTP id f19mr6160318qtk.225.1602420915712; Sun, 11 Oct 2020 05:55:15 -0700 (PDT) MIME-Version: 1.0 References: <87k0w0wyx0.fsf@gmail.com> <87y2kglopk.fsf@ucl.ac.uk> <87a6wvhbke.fsf@gmail.com> In-Reply-To: <87a6wvhbke.fsf@gmail.com> From: Budiman Snowman Date: Sun, 11 Oct 2020 19:55:04 +0700 Message-ID: Subject: Re: Annoyance when resolving clock idle time with emacsclient To: Samuel Loury Content-Type: multipart/alternative; boundary="0000000000007639d905b164b112" Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=budimansnowman@gmail.com; helo=mail-qt1-x82d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Yr4V5B6H; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: YtVYcUve1ZEY --0000000000007639d905b164b112 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Oct 9, 2020 at 6:40 PM Samuel Loury wrote: > > I almost always choose 'k' (keep) and it is often not responding after > the > > first or several presses. But as Samuel Loury pointed out, I'll try > > pressing ten times at least, the next time it happens. > > IIRC, pressing 'k', even a lot, did not work. I realized that i might be > linked to the fact that 'k' asks for some minibuffer input and this > input is waited in the other frame. And when emacs is waiting for some > minibuffer input in one frame, there is nothing I could do to get the > control on the other frame.=C2=B9 > > What I am suggesting is to press a lot 'i', until org-mode releases its > grasp on the other frame. You notice that it is so when the letter 'i' > gets written in front of you :-). Then, when org-mode let you go, you > can run M-x org-resolve-clocks and you will be able to press 'k' this > time. > > I hope this is clearer this time. > > Good luck :-). > > =C2=B9 Actually, there is one way. Send the SIGUSR2 signal to emacs (pkil= l > -SIGUSR2 emacs) so that it starts the debugger (in your current focused > frame), then close the debugger and re run manually M-x > org-resolve-clocks. SIGUSR2 would have enabled the debug-on-quit, so > disable it with M-x toggle-debug-on-quit > > Ah, got it. Will also try the SIGUSR2 trick, thanks. Regards, --0000000000007639d905b164b112 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Oct 9, 2020 at 6:40 PM Samuel Loury <konubinix@gmail.com> wrote:
> I= almost always choose 'k' (keep) and it is often not responding aft= er the
> first or several presses. But as Samuel Loury pointed out, I'll tr= y
> pressing ten times at least, the next time it happens.

IIRC, pressing 'k', even a lot, did not work. I realized that i mig= ht be
linked to the fact that 'k' asks for some minibuffer input and this=
input is waited in the other frame. And when emacs is waiting for some
minibuffer input in one frame, there is nothing I could do to get the
control on the other frame.=C2=B9

What I am suggesting is to press a lot 'i', until org-mode releases= its
grasp on the other frame. You notice that it is so when the letter 'i&#= 39;
gets written in front of you :-). Then, when org-mode let you go, you
can run M-x org-resolve-clocks and you will be able to press 'k' th= is
time.

I hope this is clearer this time.

Good luck :-).

=C2=B9 Actually, there is one way. Send the SIGUSR2 signal to emacs (pkill<= br> =C2=A0 -SIGUSR2 emacs) so that it starts the debugger (in your current focu= sed
=C2=A0 frame), then close the debugger and re run manually M-x
=C2=A0 org-resolve-clocks. SIGUSR2 would have enabled the debug-on-quit, so=
=C2=A0 disable it with M-x toggle-debug-on-quit

Ah, got it. Will also try the SIGUSR2 trick, thanks.

Regards,
--0000000000007639d905b164b112--