From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: RE: RE: Auto Fill Comments Date: Fri, 27 Nov 2020 07:27:53 +0100 Message-ID: References: <20201126160013.GD28931@tuxteam.de> <20201126182734.GA5175@tuxteam.de> <54331aa0-6a9a-4809-9f2d-88deee31558b@default> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2633"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 07:30:26 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 1kiXH0-0000bP-9i for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 07:30:26 +0100 Original-Received: from localhost ([::1]:48642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiXGz-0001P0-4A for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 01:30:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiXF6-0001OY-Pp for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 01:28:28 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:60923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiXF4-0005yd-Jk for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 01:28:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606458473; bh=tvtyZ5mL+9r/SLlnZXI7F5Yhpd5xFzmrOOFkaObmLLg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=SDG82ks0X1Ja1R5TSnVEIkZdSV05sLwhSWwjIriwP3C0Ug8ZPMH9LUJGmDMVQR8vB VBFcxudOAPMM9J+YuG6ldVcLlHApsdfemHqFKzZzvJeYyN0IZIZww9ng3NweQ3nu4A S9Eta38JF4LuNxP4IKHIPL1NJPKzlShIIFBAoinQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs02.server.lan [172.19.170.129]) (via HTTP); Fri, 27 Nov 2020 07:27:53 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:8ceT6Dkjc4OqJCnFhaoz2R1Gb1cu2k8wi0momgLssMu8gNDR+5UqzTAhAAHnwWQ31+CBo O+QMbPKUEnnSvoUZ7md5OYFL9t3Rr+B2AWWuOg+vd2RRK/2UMv2REKg1VH1gC0mrQVLwBIm5+njr KfaHNzpyeN3ZT0R6Ib5ezZWXw1eb6xbvcKqyepooUWlL7z6QvDnJkG+KtyhwuTLdiG9wcoISAb+e XZq7eIs4YNKTM1ouK60XeiLnkD9/ugKTx8GjEmKrcmsK6W2Ysj+oHLDdCLL24p7f8teLJRwTbzo1 dQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:qmujKvtnBw8=:MuSXE/IwpGScsEr9PQmY38 1SGYMhRiR3lkiM9AeuxwGbTZeXMmO+hJlxzt0ZePxI+FSn19Wcp6RmhJYoLjPHfvqJuoQnND+ g6Vf29XJKcPKIxm2Y0Tvr8CKq2HuqDGNL/mGaIXcbPi5RUq7y9pewm+79/1xrvJZ0K/SlqzR/ gKHJc42NTBtVuqXrwQdekFia7YS+I06Oppi0wIgzw69A0FKWXThx6JQHfej+QcySaQVVmg2e9 YW4qyD+R3wX/BlQZcH6xXglGAU8NKLeDonJBQvi0kzxTz1mED7AFmDJGrNHzun8xHSrPp/uy4 DLyCTqCFfB10Z3a3uHhkoWXGfzDab/LIJhR07pRcm6T+4DoKAWsmBeMtkt9ak7Qj546ADfeaZ YU0isYPMLVbwLBlTzCYpEpqqG7jYCudw9IzB4mq8ZSHQiC2slKc4fI7njl7sc0pSyWW0OqEZ9 38svtDonxXx1/vDwczaObzivQZBpRAcsBxBEHHX44RLUo/yClExq6EaAYoxm2QvFuWm7SOPrC DFujJytbkiMESZ+aZg4lOI7SS6yvk07CpFIzj5uxEzMsA5GgyYpyV1aUCg1WO8vYqrDYKPUD+ QdmWYq0015XuU= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:125629 Archived-At: > Sent: Friday, November 27, 2020 at 7:21 AM > From: "Jean Louis" > To: "Christopher Dimech" > Cc: help-gnu-emacs@gnu.org > Subject: Re: RE: RE: Auto Fill Comments > > * Christopher Dimech [2020-11-27 09:08]: > > Started with Emacs Lisp Manual , then Emacs Lisp Intro. > > But when I got the buffer-local for the sake of auto-fill, > > I was finished, Kaput. > > > > Anyway, we don't want to rant forever. > > I have never used buffer local variables. Recently, developers of > `emacs-libpq' dynamic module for direct access to PostgreSQL mentioned > using buffer local variables to keep note of a variable holding the > database handle. > > That would probably mean it would be opening multiple TCP connections > to the database per each buffer using such handles. > > As I am working with the database being displayed in Emacs I will soon > need to start creating different buffers for different displays of the > database backed reports. And I wonder if I will need to use buffer > local variables for that or I will just need to make buffers by new > names that they reuse the database handle. Probably this way. > > But what about using multiple buffers where one has per buffer marked > items or filtering options. Then such should probably become buffer > local or otherwise such variables global over buffers would influence > display in various buffers. Yes, you would need buffer local. Welcome to the swamp.