unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Miles Bader <miles@gnu.org>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Making while interruptable
Date: Tue, 7 Jul 2009 02:17:49 +0200	[thread overview]
Message-ID: <e01d8a50907061717o24eeeedbt556fecc5e800f939@mail.gmail.com> (raw)
In-Reply-To: <873a99s6rh.fsf@catnip.gol.com>

On Tue, Jul 7, 2009 at 1:58 AM, Miles Bader<miles@gnu.org> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>> However this mechanism would just be used only for code that you are
>> running in a timer - in cases where the code does not explicitly
>> handle pending input. Of course, changing that code is better, but you
>> can not always do that.
>
> Nonetheless, the cure seems far worse than the disease.

I am just trying to be modern. Modern so called scientific medicin
prefers this type of cure. It is good for the economy and therefore by
definition good.

Sigh. Or maybe I have just got too much bad influences (reading to
much incredibly bad peer reviewed medical articles with good
reputation). Or perhaps I am just looking for an excuse that is not
worse than those I have seen in other places. At least I did not hurt
anyone with my suggestion.

Ok. You convinced me that this is not the road forward.

> People writing
> timers need to be very careful.  If there are important functions timers
> need to call which should be extended to handle user input differently,
> then fix those functions, or file a bug, or whatever.  [An implicit
> mechanism like you suggest might seem "easier" but it would most likely
> not actually work correctly in many cases.]
>
> -Miles
>
> --
> Electricity, n. The cause of all natural phenomena not known to be caused by
> something else.
>




  reply	other threads:[~2009-07-07  0:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06 19:40 Making while interruptable Lennart Borgman
2009-07-06 22:43 ` Miles Bader
2009-07-06 23:02   ` Lennart Borgman
2009-07-06 23:26     ` Miles Bader
2009-07-06 23:46       ` Lennart Borgman
2009-07-06 23:58         ` Miles Bader
2009-07-07  0:17           ` Lennart Borgman [this message]
2009-07-11 19:35 ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50907061717o24eeeedbt556fecc5e800f939@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).