all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Re: elisp test-and-set?
Date: Sat, 26 May 2018 02:53:52 -0500	[thread overview]
Message-ID: <86k1rqvomn.fsf@stephe-leake.org> (raw)
In-Reply-To: <834liuao88.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 May 2018 10:08:07 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stephen Leake <stephen_leake@stephe-leake.org>
>> Date: Fri, 25 May 2018 16:00:04 -0500
>>
>> In ada-mode, I'm using a parser running in an external process to
>> compute faces and indentation.
>>
>> Since faces are computed by font-lock, which runs on a timer in the
>> background, it can try to run when indent is running in the foreground.
>
> Do you have evidence of this?

I thought I did, but it turned out there was a different problem.

> Emacs is single-threaded, so only one Lisp function can run at any
> given time.

Ok, I'll add a comment to this effect in the code.

Thanks.

--
-- Stephe



  reply	other threads:[~2018-05-26  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-25 21:00 elisp test-and-set? Stephen Leake
2018-05-26  0:38 ` Noam Postavsky
2018-05-26  7:08 ` Eli Zaretskii
2018-05-26  7:53   ` Stephen Leake [this message]
2018-05-26 21:14   ` 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

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

  git send-email \
    --in-reply-to=86k1rqvomn.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.org \
    --cc=emacs-devel@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.