unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Gramiak <agrambot@gmail.com>
To: Keith David Bershatsky <esq@lawlist.com>
Cc: emacs-devel@gnu.org
Subject: Re: Universal functions to manage multiple window caches.
Date: Sat, 20 Apr 2019 11:17:01 -0600	[thread overview]
Message-ID: <87h8as7g1e.fsf@gmail.com> (raw)
In-Reply-To: <m2d0lh6u3w.wl%esq@lawlist.com> (Keith David Bershatsky's message of "Fri, 19 Apr 2019 23:58:27 -0700")

Keith David Bershatsky <esq@lawlist.com> writes:

> Thank you, Alex, for helping me to better understand how best to organize the cache structures.
>
> Attached is another attempt by me at implementing your suggestions (as I
> understand them). [The need for a temporary cache has been eliminated in the
> most recent working draft of multiple fake cursors, so there are only three
> flavors of caches now: mc, ch and fc.]
>
> Does the attached patch accurately reflect your suggested approach?

Looks about what I expected, yeah (you could also have the enum be an
element of each cache type instead of it being global, but it's up to
preference). Though is it your intention to be using w->mc_elts in the
CH_CACHE case instead of w->ch_elts?



  reply	other threads:[~2019-04-20 17:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-20  6:58 Universal functions to manage multiple window caches Keith David Bershatsky
2019-04-20 17:17 ` Alex Gramiak [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-04-20 20:29 Keith David Bershatsky
2019-04-19  1:44 Keith David Bershatsky
2019-04-19 13:59 ` Alex Gramiak
2019-04-18  3:17 Keith David Bershatsky
2019-04-17 20:03 Keith David Bershatsky
2019-04-18 21:02 ` Alex Gramiak

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87h8as7g1e.fsf@gmail.com \
    --to=agrambot@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=esq@lawlist.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).