From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Cycle Auto-Fill Date: Sun, 06 Dec 2020 05:23:01 +0000 Message-ID: <87y2ib33uy.fsf@robertthorpeconsulting.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18545"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 06 06:24:21 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1klmWy-0004kB-Sh for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 06:24:20 +0100 Original-Received: from localhost ([::1]:49232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klmWx-00079q-UK for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 00:24:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmWF-000798-5s for help-gnu-emacs@gnu.org; Sun, 06 Dec 2020 00:23:35 -0500 Original-Received: from outbound-smtp07.blacknight.com ([46.22.139.12]:54447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmWA-0006Ou-5H for help-gnu-emacs@gnu.org; Sun, 06 Dec 2020 00:23:34 -0500 Original-Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp07.blacknight.com (Postfix) with ESMTPS id C4FA71C53D9 for ; Sun, 6 Dec 2020 05:23:25 +0000 (GMT) Original-Received: (qmail 13561 invoked from network); 6 Dec 2020 05:23:25 -0000 Original-Received: from unknown (HELO rt-inspiron-3480) (rt@robertthorpeconsulting.com@[109.76.74.4]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 6 Dec 2020 05:23:25 -0000 In-Reply-To: (message from Christopher Dimech on Sun, 6 Dec 2020 04:35:10 +0100) Received-SPF: pass client-ip=46.22.139.12; envelope-from=rt@robertthorpeconsulting.com; helo=outbound-smtp07.blacknight.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126082 Archived-At: Christopher Dimech 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