From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.help Subject: Re: yes-or-no-p and dialogs Date: Tue, 27 Dec 2022 18:37:19 +0100 Message-ID: References: <83bkno22t5.fsf@gnu.org> Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17201"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 27 18:37:53 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pADtg-0004HT-PD for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Dec 2022 18:37:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pADtU-00025T-F7; Tue, 27 Dec 2022 12:37:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pADtP-0001xu-3P for help-gnu-emacs@gnu.org; Tue, 27 Dec 2022 12:37:37 -0500 Original-Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pADtN-0000wH-EM; Tue, 27 Dec 2022 12:37:34 -0500 Original-Received: by mail-pj1-x1033.google.com with SMTP id j8-20020a17090a3e0800b00225fdd5007fso4173499pjc.2; Tue, 27 Dec 2022 09:37:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4swBKkknvASVpO24eQB/MXe+2/slEVaW37WudpjttCQ=; b=FEekxp74Ct0melfJovE35I2+8mnasL+bNjGwCLaXPpcZ+G36GyMV2ytG/El66r+NSq a+be99dtJgkJJpVfTQbXe9R7soUCnRHp699/34iK0py/cehK0/iLG1I5KYYHb+cxUQr3 BmcaFH3MWqQL/Ev5hYoAO8HBgn2Z4aLqZqXyqcYorp3NfLSLjCQWxVATwT96yl9OFqK4 TdjYY1kfO8iWvCun+5r5o3yQPVadIBR/UiLf+9Fq6sFmFRdiTjloC+eIUu59SDfCAUFo HlLSZM0AhTs4wyg9tuxbhpTaAQfxLkFYFP87+e0kslZKdPjaJO5pcbBsQ8u4q/T5hKwD OGiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4swBKkknvASVpO24eQB/MXe+2/slEVaW37WudpjttCQ=; b=qfHzMjEKnneSrsLDMTXp37HfQLcJcMrhAcNmjajxHkkq5wS8mdeW4rznAWzTLNJBNi SmJPrpo67QCZvclAe21mlaC8BTi99IoSwaresVmLOS7hzVNtyFozDuyHbNpSk83kqwTI isId1jnvU62W4vL+rYwAVLElp3wysfNF/qVRlXf/4i8Dmkk7SlfqHR+0Hf0PMeBJSIZR w1an//0TKIoNtFEYgr6zLjNi5cTAx8ArCjMKEd42dtVE8Km8L+oQZNLNRDC9s5I2zFuv Ma1QP+/D+pyX+iDlIsaPNQmdVmf30zh6Tn/7vt617pZBOixT3OcbCJk4x9/ZyLa7PNVR IeVQ== X-Gm-Message-State: AFqh2ko40JUr+YtEtXFixGxCl+h9ymkFRiMwIHROpeKQKDpmYp+1DKsj V4AscqGVcc3lx3uXI4bTILn48qNxHbtz+Y3M3zAfyOGC X-Google-Smtp-Source: AMrXdXvxyu/HL1GpK63yzWsSIvVoEjmdWHQFEYkpywPLvjYrw8wgE92Kzzbzkg1gYrCxNZwwWjReL7T0MHKYH3fh+7c= X-Received: by 2002:a17:902:f143:b0:192:81c8:6a65 with SMTP id d3-20020a170902f14300b0019281c86a65mr458560plb.0.1672162650580; Tue, 27 Dec 2022 09:37:30 -0800 (PST) In-Reply-To: <83bkno22t5.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=thibaut.verron@gmail.com; helo=mail-pj1-x1033.google.com 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-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141969 Archived-At: Le mar. 27 d=C3=A9c. 2022 =C3=A0 18:07, Eli Zaretskii a =C3= =A9crit : > > From: Petteri Hintsanen > > Date: Tue, 27 Dec 2022 18:06:19 +0200 > > > > Is there any way to "quit" yes-or-no-p queries with MS Windows dialogs? > > I mean in the same way C-g would do in the minibuffer? > > > > Case in point: I am visiting an Org file with an active (running) clock= . > > The file has no unsaved changes. > > What is "an active (running) clock"? Can you show simple instructions > to reproduce this, for someone who doesn't use Org every hour of every > day? > Hi, I'm not the original poster, but I can reproduce it by: 1. Opening a .org file 2. Creating a headline 3. Calling org-clock-in 4. Saving the buffer 5. Clicking the X to close the window By the way, the clock is not required, the same happens with an unsaved buffer: first there is a right-click style menu asking what to do, then at the end, the "modified buffers exist, quit anyway?" dialog only has "yes" and "no", no "cancel". I agree with Petteri, imo those dialogs should have a "cancel" button. Best wishes, Thibaut