all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Colascione <dancol@dancol.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Should timers run in the initial frame?
Date: Sat, 16 Jun 2018 14:07:04 -0700	[thread overview]
Message-ID: <a47f5c88-33d3-01c5-7a59-f5bea336de71@dancol.org> (raw)
In-Reply-To: <jwvpo0xiblo.fsf-monnier+gmane.emacs.devel@gnu.org>

On 06/11/2018 08:42 AM, Stefan Monnier wrote:
>> So, I wonder: would it be good if timers ran in the context of the
>> initially opened Emacs frame, rather than in whichever frame was most
>> recently active?
> 
> Elisp code has a lot of context, and which context needs to be saved
> depends on ...hmm... context.
> 
> I don't think it can break anything to do what you suggest, but it's
> a slippery slope: we could also try and preserve the current buffer,
> selected window, ...
> 
> The specific problem in your case is that the change your package
> imposes on buffer-list is pretty drastic (the original semantics of
> buffer-list is to return *all* buffers)

I suppose we could expose running_asynch_code to lisp so that modes like 
the OP's would know to turn off some of their customization.



      reply	other threads:[~2018-06-16 21:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11 13:40 Should timers run in the initial frame? Adam Porter
2018-06-11 15:42 ` Stefan Monnier
2018-06-16 21:07   ` Daniel Colascione [this message]

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=a47f5c88-33d3-01c5-7a59-f5bea336de71@dancol.org \
    --to=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.