From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Everaert Subject: Re: bug#35419: [Proposal] Buffer Lenses and the Case of Org-Mode (also, Jupyter) Date: Fri, 26 Apr 2019 14:05:03 +0200 Message-ID: <877ebhnf9s.fsf@gmail.com> References: <87sgu6rhkt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJzbO-0001jD-MW for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 08:05:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJzbN-0000ZU-Du for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 08:05:14 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:55772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJzbN-0000VE-6q for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 08:05:13 -0400 Received: by mail-wm1-x32a.google.com with SMTP id o25so3489778wmf.5 for ; Fri, 26 Apr 2019 05:05:11 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Cc: Noam Postavsky , 35419@debbugs.gnu.org I see lens to be useful for the eev mode, too. Roland. Dmitrii Korobeinikov writes: >> Have you looked at Phil Lord's lentic package? I think it implements a >> lot of what you're talking about. > >> https://github.com/phillord/lentic > > This is nice to see! > Indeed, except for embedding, there is a large overlap with what I > described as buffer lenses. > > BTW, judging by this description: "changes percolation now happens > incrementally, so only those parts of the buffer are updated. As a result, > lentic now cope with long files with little noticable delay", the buffers > don't share any data and need to sync with the master [linked] buffer. > Is this the best solution? I have imagined that at the low level there is > an actual data structure that keeps the raw textual data and it could be > directly shared by multiple buffers. I mean, when a buffer is saved to a > file, the text doesn't need to be stripped of properties beforehand, righ= t? > > =D1=87=D1=82, 25 =D0=B0=D0=BF=D1=80. 2019 =D0=B3. =D0=B2 07:37, Noam Post= avsky : > >> Dmitrii Korobeinikov writes: >> >> > * Implementation >> > >> > I am not familiar with Emacs internals to say what's feasible of the >> > proposed structure. >> >> Have you looked at Phil Lord's lentic package? I think it implements a >> lot of what you're talking about. >> >> https://github.com/phillord/lentic >> --=20 Luke, use the FOSS Sent from Emacs