all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Fishman <barry@ecubist.org>
To: emacs-tangents@gnu.org
Subject: Re: A simple(perhaps dumb) idea for a more responsive emacs
Date: Thu, 05 Oct 2023 17:34:01 -0400	[thread overview]
Message-ID: <7nedi83gae.fsf@ecube.ecubist.org> (raw)
In-Reply-To: 83y1gh2g18.fsf@gnu.org


On 2023-10-05 19:24:51 +03, Eli Zaretskii wrote:
> Making buffers unwritable while the slow operation runs is probably
> problematic, as it doesn't allow the user to keep working on the
> buffer while the operation runs.
...
> Displaying a buffer sometimes modifies the buffer (via font-lock).

Yes.

I was just looking for a simple common interface that would:

 * Encapsulated common code to reduce code duplication.  Avoid platform
   specific handling such as systems without threads.

* Handle simple cases simply.  It may be that the locking buffers is not
  generally helpful.  It probably isn't, but if it were, programmers
  could pass an empty list of buffers, or release the buffers when they
  were ready to update them.

* Provide a common function (grep-able) so that the implementation
   could change with time.

I was just suggesting that rather that waiting for some global solution
to be found, a less complex approach be considered in the mean time.
Where "pain points" could be considered a case by case basis, but still
provide a common mechanism to use.

-- 
Barry Fishman


---
via emacs-tangents mailing list (https://lists.gnu.org/mailman/listinfo/emacs-tangents)

  reply	other threads:[~2023-10-05 21:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-04 16:03 A simple(perhaps dumb) idea for a more responsive emacs joakim
2023-10-04 17:21 ` Emanuel Berg
2023-10-05 12:49   ` Barry Fishman
2023-10-05 16:24     ` Eli Zaretskii
2023-10-05 21:34       ` Barry Fishman [this message]
2023-10-06  4:54         ` Eli Zaretskii
2023-10-06 22:00           ` Barry Fishman

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=7nedi83gae.fsf@ecube.ecubist.org \
    --to=barry@ecubist.org \
    --cc=emacs-tangents@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.