* Problem with sit-for and alt-tab in emacs 27
@ 2020-02-18 19:35 Richmond
0 siblings, 0 replies; 2+ messages in thread
From: Richmond @ 2020-02-18 19:35 UTC (permalink / raw)
To: info-gnus-english
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with sit-for and alt-tab in emacs 27
[not found] <82y2szpu2y.fsf@>
@ 2020-02-19 13:44 ` Richmond
0 siblings, 0 replies; 2+ messages in thread
From: Richmond @ 2020-02-19 13:44 UTC (permalink / raw)
To: info-gnus-english
I have found a work around for this (in case anybody cares). Well, two
work arounds actually. The first is to run emacs from within
'screen'. The second is to use lxterminal.
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-19 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 19:35 Problem with sit-for and alt-tab in emacs 27 Richmond
[not found] <82y2szpu2y.fsf@>
2020-02-19 13:44 ` Richmond
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).