[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about memory usage
From: |
Eli Zaretskii |
Subject: |
Re: Question about memory usage |
Date: |
Wed, 04 Apr 2018 09:55:48 +0300 |
> From: Michał Kondraciuk <k.michal@zoho.com>
> Date: Tue, 3 Apr 2018 21:16:41 +0200
>
> > To disable undo, you should bind buffer-undo-list to t, not to nil.
> > And with-temp-buffer already does that, because temporary buffers have
> > their undo disabled by default.
>
> I know that, I meant it's common to see code like this in some packages,
> especially when the buffer is actually displayed.
>
> > Did you try not setting buffer-undo-list at all? What did you see
> > then?
>
> Emacs behaves as expected, i.e. memory usage is ~20MB all the time.
OK, so what is your question now? Are you asking, like Stefan, why
setting buffer-undo-list to nil in this case makes a difference, or
are you asking a more general question (and if the latter, what are
you asking)?
- Re: Question about memory usage, (continued)
- Re: Question about memory usage, Eli Zaretskii, 2018/04/03
- Re: Question about memory usage, Eli Zaretskii, 2018/04/03
- Re: Question about memory usage, Stefan Monnier, 2018/04/03
- Re: Question about memory usage, Eli Zaretskii, 2018/04/03
- Re: Question about memory usage, Stefan Monnier, 2018/04/03
- Re: Question about memory usage, Eli Zaretskii, 2018/04/03
- Re: Question about memory usage, Stefan Monnier, 2018/04/03
Re: Question about memory usage, Michał Kondraciuk, 2018/04/03
- Re: Question about memory usage, Eli Zaretskii, 2018/04/03
- Re: Question about memory usage, Michał Kondraciuk, 2018/04/03
- Re: Question about memory usage,
Eli Zaretskii <=
- Re: Question about memory usage, Michał Kondraciuk, 2018/04/05
- Re: Question about memory usage, Eli Zaretskii, 2018/04/05
- Re: Question about memory usage, Stefan Monnier, 2018/04/05
- Re: Question about memory usage, Michał Kondraciuk, 2018/04/07
- Re: Question about memory usage, Eli Zaretskii, 2018/04/07
- Re: Question about memory usage, Stefan Monnier, 2018/04/07
- Re: Question about memory usage, Michał Kondraciuk, 2018/04/07
Re: Question about memory usage, Stefan Monnier, 2018/04/03
Re: Question about memory usage, Eli Zaretskii, 2018/04/04
Re: Question about memory usage, Stefan Monnier, 2018/04/04