From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: Auto Fill Comments Date: Fri, 27 Nov 2020 07:35:04 +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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26691"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org, Jean Louis To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 07:35:54 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 1kiXMI-0006oR-Lc for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 07:35:54 +0100 Original-Received: from localhost ([::1]:51178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiXMH-0002wt-N1 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 01:35:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiXLb-0002wM-R1 for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 01:35:11 -0500 Original-Received: from mail-vi1eur06olkn2061.outbound.protection.outlook.com ([40.92.17.61]:64841 helo=EUR06-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiXLZ-0000D1-3s for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 01:35:11 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GIyH+aA3t8/KM1Uw/3QfENFrwlYWP/hgQOhQMgVSiUq91uLAYjDdg/rTkEGR/at9kCXDiRPQqojYxAArenvKW/R2/2VQVkp4qBacyaNn8qZFp0iVDWJZgrV4aOu+A4LEqiwpqsHveQfjz0fT9AlOStBSDcy8+h0HVmAhfBeD8sTUNipvQiPDpfAMkUSkJ4nxtxmA2MwqsIm8qtjlLpns2KZRWjwDZ+oun/VI1tLNg+pZqpiqu71wUwBtzIrlpVgg1AjRN6Xn7GdTg3cUuZeIr7Ku0rHuNl9DvDjHlI3xtWrgxmbVGbsLOpX3esSJbtbfbMQc2pmYV8cFmiLm+9NFOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mT9pZAUlB9KDeuwxQzHyFtbXJqMKdsaVRSpudyf390k=; b=L+0a70lWqbKj8qtETP3wSn1UUPbgtHTdoUxw76lfbBSmaARWoP0o9GEDPCrp5auzijtwHZVHO793V9MXN1xnLiZUj/D8BehnwOs01oiLIEjfa7oRRTFdMtE2QxJ7PDxY3xJbbkoLSTIVYYWLzL24zXr64Dt9w+EH3I0KofzqWUrXP+2Y0YXNJki5iG2RsgBDkB3CR5x6xLNE0MNwMXbTj6Evdpm/hU+dVP6tn/8eMzL4Nm3Pnl4Nz0F2kKHBx6IKDaRbSgHC8FL8Sx/pS2+0BxMlPRkPZT2i6HyWwlpRiST8dwuYs36mtwBmjJ68NU2vSaHrby/yCKt0uWfvoDyKCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mT9pZAUlB9KDeuwxQzHyFtbXJqMKdsaVRSpudyf390k=; b=OuqiJ3GrF0QR+W56kmJX4YdlNJe7pj3dv2kkUx5/QiyxSFgyFe/PQwc3k3TUkTKVAEKdxoyWzxt9OTmZ2fnidyravbsLGhWZLjtCDpDsyyHqOFxCQ/hRm98Qtjwul4yz8bDp9jsXh13RCI1e0MqNrIecER9IbXlJkkOxOcXeLUnT68kc0qd+qH3Y7U+zs2wXd9uG5ODeulXpMWsxzdH0eb4GYhgc/pBH+Ve1ToUobsQbrBNNbbzb+/Q83tR/jMW4EYfzFANYA1C7JDavy3QhIZGoSP0UR7hctsL/DsfRCDYLwvkM5BqWsvBxnS69wEAe5qXUluhXAx1iUN/F+obpOA== Original-Received: from DB8EUR06FT047.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::48) by DB8EUR06HT084.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::459) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23; Fri, 27 Nov 2020 06:35:05 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:fc35::53) by DB8EUR06FT047.mail.protection.outlook.com (2a01:111:e400:fc35::77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23 via Frontend Transport; Fri, 27 Nov 2020 06:35:05 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:E7CB85143349CBAF50B085AD0F75E0FBF0254EF27BFFDA5D471B9BCE95139952; UpperCasedChecksum:40B74BE3683B67BE22A986A5959B8A8EEC30005E9D26115F3BFA2A944471642D; SizeAsReceived:8176; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3611.025; Fri, 27 Nov 2020 06:35:05 +0000 In-Reply-To: (Christopher Dimech's message of "Fri, 27 Nov 2020 07:27:53 +0100") X-TMN: [rnc04XJiu2+12g/JYt4N2mHADN267i55] X-ClientProxiedBy: AM6PR08CA0018.eurprd08.prod.outlook.com (2603:10a6:20b:b2::30) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87r1of489z.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6PR08CA0018.eurprd08.prod.outlook.com (2603:10a6:20b:b2::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.22 via Frontend Transport; Fri, 27 Nov 2020 06:35:05 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1bc1557a-6d7d-4f28-fcaf-08d8929e938b X-MS-TrafficTypeDiagnostic: DB8EUR06HT084: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f+NlEK+gTgr9MCgDPgiVAAZINHbmMkxJrVfe3hedqmmGxJVkawT6TPZnbKXDCvAmeSX8l9wlb7LczFFf1YOSVg6Kz97ntZsulhPZacdbSX1jfieUJYVb/1j6B5kwpsfIoMdwHEpFox+RdYt38NJHtcqeJoSKXAWOVLfToWLOth5SGQX48qgA6Nhi+MMI0Du5JU4a1dDhPyRGO+LQ8RtuWA== X-MS-Exchange-AntiSpam-MessageData: aLqlDKnN1GJPVphHN5CETBn9a3mZ1bChRTwhVe7E9ELltaJYGo8aL/ggeyMDo7/GkBevfhaAaBuizyOEVHXjFYBbiRcMl/rbtCGutsP5RbPPZa5cXPPJQw+uY6+/Q+zyjdQrco9Q71qDtT7z/y6JMQ== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1bc1557a-6d7d-4f28-fcaf-08d8929e938b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2020 06:35:05.4123 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT047.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR06HT084 Received-SPF: pass client-ip=40.92.17.61; envelope-from=arthur.miller@live.com; helo=EUR06-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:125631 Archived-At: Christopher Dimech writes: >> 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. Not that is my business; but I think you can always hire a professional programmer to clear the swamp for you .... ;-) :-)