From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: A question about overlays and performance. Date: Tue, 28 Jul 2020 12:58:02 -0400 Message-ID: <6B777B7E-1584-4E8D-A0A7-594E46C8687A@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_F46251CA-EAC7-4B12-BB94-7985D41BB853" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3940"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org, Ihor Radchenko , monnier@iro.umontreal.ca To: Jeff Norden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 28 18:58:41 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0Sw5-0000tA-O8 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jul 2020 18:58:41 +0200 Original-Received: from localhost ([::1]:49970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0Sw4-0008Jt-Ob for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jul 2020 12:58:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0SvX-0007qr-LT for emacs-devel@gnu.org; Tue, 28 Jul 2020 12:58:07 -0400 Original-Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:44193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0SvW-00085U-5Z; Tue, 28 Jul 2020 12:58:07 -0400 Original-Received: by mail-qt1-x835.google.com with SMTP id h21so8961012qtp.11; Tue, 28 Jul 2020 09:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=CEVNdNdliwyv8y2NJasetqxfoTesH4+5RuCEeQYBvfk=; b=dwvI722BgEDnnfI9evpfAsMsZL9qbqcZOOhgUv1YyU/LVczLGgLovnM0gbnUhzr5Jm g69YtRani2gYwgc4CTTVTnNdYmYRechNy6hKetfwl/1fZKLebNtlbFvUIqOQFxGr1WWW FIseA3mwBOngzcAgdzW698qh4mCopA0jA2zFcuKRvIEL+Nr6DNC8/76fMkERyk4QYINL 1ckM1BJVpAgdfQecnB62kUHLV4tcltvSK3QWlFQTB0Eee2jZsJ7dLD7XCtVC/7iM2urp z1+a/5mEwIcUQ2cFItjg5Qh0K7wO82pD3RsxmHsJXYPfATgnozW4iApLgdbuzgDMVPHY VExA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=CEVNdNdliwyv8y2NJasetqxfoTesH4+5RuCEeQYBvfk=; b=k84svgsO18QWxkdeoKyD0IhUvEOmzWX7dy9slYD3yn/LpdsN/p+9v14j41pWTtUbhf LzFLPvDQ02rKSHjkuxnfgxw7h8pGC87tRoPPEzaSwZxCM3tIIycVTrgpjt4kWkM4XWUn jo6pwjrpboqldTECbtOObGkcfNLE73fHx5sLjEt8YSG7jEHtXEJw6OLJsf1EwPxZRq8x 2TDOLvfSd5uVDkcaTEd7upm9cbMiA/MfPA7SuU8edrYk3yqRe/K0XaCMv377ZmYWNTV8 MHO/u9V77CzeL28II+N5rto7bzC+2MfPSbjBAOeVuItGqNYOqtPZFjADO4g1I8oVYy+r S4Kg== X-Gm-Message-State: AOAM5327L02X8p05DvNMQJid11XrdbrhcyOchKkQ7uWHEivF917lSEd9 Ij7nDWibUQH2XGpno8ZYBng= X-Google-Smtp-Source: ABdhPJxYSIKm0lYsHQ1i81F0YjFxAR+1q9fr4vKr9DBqRX2fZuojWhH7ZY0Vb82se4bSmYxpCWoNeg== X-Received: by 2002:ac8:6a07:: with SMTP id t7mr12387696qtr.1.1595955484708; Tue, 28 Jul 2020 09:58:04 -0700 (PDT) Original-Received: from ?IPv6:2601:98a:4200:9210:fd6c:17ba:2f50:d08a? ([2601:98a:4200:9210:fd6c:17ba:2f50:d08a]) by smtp.gmail.com with ESMTPSA id p12sm21493099qkk.118.2020.07.28.09.58.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2020 09:58:03 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=casouri@gmail.com; helo=mail-qt1-x835.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253310 Archived-At: --Apple-Mail=_F46251CA-EAC7-4B12-BB94-7985D41BB853 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jul 28, 2020, at 12:43 PM, Jeff Norden wrote: >=20 > =46rom what little I've seen of them, I'm quite inclined to agree with > Stefan's opinion about indirect buffers. Is their main use in org to > provide multiple views of a buffer with different foldings? AFAIK org-sidebar relies on that: the sidebar showing headings is an = indirect buffer. Yuan= --Apple-Mail=_F46251CA-EAC7-4B12-BB94-7985D41BB853 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Jul 28, 2020, at 12:43 PM, Jeff Norden <jnorden@tntech.edu> = wrote:

=46rom what = little I've seen of them, I'm quite inclined to agree with
Stefan's opinion about indirect buffers.  Is their main = use in org to
provide multiple views of a buffer with different = foldings?

AFAIK org-sidebar relies on that: the sidebar = showing headings is an indirect buffer.

Yuan
= --Apple-Mail=_F46251CA-EAC7-4B12-BB94-7985D41BB853--