all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thibaut Verron <thibaut.verron@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: yes-or-no-p and dialogs
Date: Tue, 27 Dec 2022 18:37:19 +0100	[thread overview]
Message-ID: <CAFsi02TaStjbsrCZHu4a1AopJ8ApbEYkPEow9kA5N0C1CRz5WQ@mail.gmail.com> (raw)
In-Reply-To: <83bkno22t5.fsf@gnu.org>

Le mar. 27 déc. 2022 à 18:07, Eli Zaretskii <eliz@gnu.org> a écrit :

> > From: Petteri Hintsanen <petterih@iki.fi>
> > 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


  reply	other threads:[~2022-12-27 17:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 16:06 yes-or-no-p and dialogs Petteri Hintsanen
2022-12-27 17:07 ` Eli Zaretskii
2022-12-27 17:37   ` Thibaut Verron [this message]
2022-12-27 18:13     ` Eli Zaretskii
2022-12-27 19:09       ` Thibaut Verron
2022-12-27 18:23   ` Petteri Hintsanen
2022-12-27 18:56     ` Eli Zaretskii
2022-12-27 19:38       ` Petteri Hintsanen
2022-12-27 17:28 ` Jean Louis

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=CAFsi02TaStjbsrCZHu4a1AopJ8ApbEYkPEow9kA5N0C1CRz5WQ@mail.gmail.com \
    --to=thibaut.verron@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.