[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cycle Auto-Fill
From: |
Robert Thorpe |
Subject: |
Re: Cycle Auto-Fill |
Date: |
Sun, 06 Dec 2020 05:23:01 +0000 |
Christopher Dimech <dimech@gmx.com> writes:
> I have now started to understand buffer local quite well. It has been
> occurring to me that most things really got to be buffer local.
It can be useful to think it terms of object-orientated languages.
An Emacs mode is a lot like a class. A particular Emacs buffer is an
instance of that class. A buffer-local variable is a conventional
object field (also called an instance variable in some languages). A
non-buffer-local variable is a class variable. A variable created by
"let" is a conventional local variable, of course.
Emacs is a bit different to conventional OO languages because the
decision about what-is-what are determined at runtime. It's done by
calling functions, not compile at time through typing and language
features.
BR,
Robert Thorpe
- Re: Cycle Auto-Fill, (continued)
- Re: Cycle Auto-Fill, Ergus, 2020/12/05
- Re: Cycle Auto-Fill, Michael Heerdegen, 2020/12/05
- RE: Cycle Auto-Fill, Drew Adams, 2020/12/05
- Re: Cycle Auto-Fill, Christopher Dimech, 2020/12/05
- Re: Cycle Auto-Fill, Michael Heerdegen, 2020/12/05
- Message not available
- Message not available
- Re: Cycle Auto-Fill, Christopher Dimech, 2020/12/05
- Re: Cycle Auto-Fill, Michael Heerdegen, 2020/12/05
- Re: Cycle Auto-Fill, Christopher Dimech, 2020/12/05
- Re: Cycle Auto-Fill,
Robert Thorpe <=
- Re: Cycle Auto-Fill, Michael Heerdegen, 2020/12/06
- Re: Cycle Auto-Fill, Christopher Dimech, 2020/12/06
- Re: Cycle Auto-Fill, Michael Heerdegen, 2020/12/06