[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: save-excursion and multi-thread?
From: |
Eli Zaretskii |
Subject: |
Re: save-excursion and multi-thread? |
Date: |
Sun, 26 Sep 2021 22:16:35 +0300 |
> From: Qiantan Hong <qhong@mit.edu>
> CC: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> Date: Sun, 26 Sep 2021 19:13:03 +0000
> Accept-Language: en-US
>
> > The Lisp threads in Emacs were not designed to support several threads
> > making changes to the same buffer. On the contrary, the assumption
> > was that each thread will have its own current buffer, which is why
> > the current buffer is thread-local -- it can be different in each
> > thread.
> I see. Can I fake that with indirect-buffer?
For moving point, I think you can. But if you change the text, you
will see the changes in the other threads as well.
- save-excursion and multi-thread?, Qiantan Hong, 2021/09/26
- Re: save-excursion and multi-thread?, Eli Zaretskii, 2021/09/26
- Re: save-excursion and multi-thread?, Qiantan Hong, 2021/09/26
- Re: save-excursion and multi-thread?, Qiantan Hong, 2021/09/26
- Re: save-excursion and multi-thread?,
Eli Zaretskii <=
- Re: save-excursion and multi-thread?, Qiantan Hong, 2021/09/26
- Re: save-excursion and multi-thread?, Eli Zaretskii, 2021/09/26
- Re: save-excursion and multi-thread?, Qiantan Hong, 2021/09/26
- Re: save-excursion and multi-thread?, Qiantan Hong, 2021/09/26
- Re: save-excursion and multi-thread?, Eli Zaretskii, 2021/09/27
- Re: save-excursion and multi-thread?, Richard Stallman, 2021/09/28
- Re: save-excursion and multi-thread?, dick, 2021/09/28
- Re: save-excursion and multi-thread?, Qiantan Hong, 2021/09/28
- Re: save-excursion and multi-thread?, Eli Zaretskii, 2021/09/29
- Re: save-excursion and multi-thread?, Eli Zaretskii, 2021/09/27