Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richmond <dnomhcir@gmx.com>
To: info-gnus-english@gnu.org
Subject: Problem with sit-for and alt-tab in emacs 27
Date: Tue, 18 Feb 2020 19:35:17 +0000	[thread overview]
Message-ID: <31936.9972030231$1582054539@news.gmane.org> (raw)

I have found a problem in sit-for in that it seems to be cancelled by
alt-tab i.e. switch kde windows. This didn't happen in 26.3. I think alt
tab should not get to emacs and I am not sure how it has.

(defun test-sit-for ()
  (interactive)
  (setq quit-for t)
  (while (eq quit-for t)
    (setq nnnn 0)
    (while (and (< nnnn 100) (eq t quit-for))
      (setq quit-for (sit-for 1))
      (message "count %s" nnnn)
      (setq nnnn (+ 1 nnnn))
      )
    )
)

Test with this function, it displays a counter in the message buffer,
but alt-tab away and back and it stops running.

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

             reply	other threads:[~2020-02-18 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 19:35 Richmond [this message]
     [not found] <82y2szpu2y.fsf@>
2020-02-19 13:44 ` Richmond

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='31936.9972030231$1582054539@news.gmane.org' \
    --to=dnomhcir@gmx.com \
    --cc=info-gnus-english@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.
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 NNTP newsgroup(s).