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 06:47:47 +0100 Message-ID: References: <42c4e309-9a38-23bf-2091-86ed76097c21@lambda.cx> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31313"; 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, Dante Catalfamo To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 06:48:16 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 1kiWcC-00083z-AM for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 06:48:16 +0100 Original-Received: from localhost ([::1]:59368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiWcB-0007mI-D4 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 00:48:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiWbp-0007mA-Ky for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 00:47:53 -0500 Original-Received: from mail-oln040092075012.outbound.protection.outlook.com ([40.92.75.12]:16868 helo=EUR04-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 1kiWbn-0008MF-MZ for help-gnu-emacs@gnu.org; Fri, 27 Nov 2020 00:47:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iip6/oWQMxWZVhPHKflkonswPQHgugLVhP490D5SIi/7iGR95tK3A0yBMHoUy5oLIZifoPYLfKqxWagYJNU2oNWQdfiyvS73eV/U4FkPrSphGxEHgsD5h7Hub0K58gbz4plfQblRK6nJGE5BUAU1o6hFnn5TJsn7zP+bnfcrgaE/laOypeyncfueEHHhAQhMczqbbBKyjMKl1wTrVLNNEWfDiFCpmF8MBgOZzDAPvdZiqEglk2uy1fsxw5WEl0N5jdmepeFf56522Yym+7vk5KwWi1RAYC8AO4+EAWw4QtvRf8g8KaJ0sbibbk8hfUcug5W5Y8SCBsRZGvWIEcvaww== 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=5MDKFS+sDrNdZYQ8AlvMg0dH3tIU4ul2dCkzIsCUPQI=; b=mXxgYAHiry1QS2jo/VAtMWYrxERU7AXBYTLUe/3ZBBs6ZwKjb96hoSEs4uJwoebsBxVt3iaCNvSg4dAmZfTuWpE5D9RkgYrG1PQo3PP6rbSv2hhUur9yLT7E/qkngTH6UEla3yk1JsHY3GdnVxUbD9Lj1OQTsfdilbc9wmnQZmfjRSQ9cM/pc4k3ruUyglU743k8Gcu7jvoBCtmMKr7kz48O19HNhMEx2upfzI/CTJamtzFcZMCfC+Lig5/fphiBSggc8tlD5wmQ00oNjUrA0NWv44EQXMXa1An2U+pyd6Gw5e0jdG7PwnX8m65Hg9sP3ZtAOLCHcD2hYUzRdIkqPQ== 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=5MDKFS+sDrNdZYQ8AlvMg0dH3tIU4ul2dCkzIsCUPQI=; b=fSYyamaxJLmICjZSgt2Ri2UkRziUwHSkUzFpOwdsO+U/nekKZbayJWBHsAmIyMSQvu0u19KaKrmpbuFWY4YB5itLIyDy2O42y4nk4I0cNSqKcKsGdjhyoGtauTK+nt7s8VS29VYTxX+5+jVADbLY5GbGW9sRtztrP/uzS3zemKezY4UEgNXkvySKCMB2IoOvjrQhvwqkVHOnPfjhgpxojE7ppE4PjdwfC62k1i/Hkg6hkmB7COYuV9+FpAjKsAtZk5yLmSnwDxEYW2fCyAUN8TfPsYmoREGUQjfWfhcR+kZV/k8t2Qpp8TndZ/8uWoiAEwn1aSxhYAgnewl08knX3w== Original-Received: from VI1EUR04FT037.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::42) by VI1EUR04HT155.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::451) 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 05:47:48 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e0e::48) by VI1EUR04FT037.mail.protection.outlook.com (2a01:111:e400:7e0e::438) 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 05:47:48 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:27953AC56F7AEFA8884845019DD16EE2998F96EBABA11DFF63D621AE9FD169FE; UpperCasedChecksum:7C1919E69577F243129D7DFDF3B3B2714D4DDE968412C9A50644A3515C49175F; SizeAsReceived:7725; 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 05:47:48 +0000 In-Reply-To: (Christopher Dimech's message of "Fri, 27 Nov 2020 05:56:54 +0100") X-TMN: [G+MNI0AsQSAOLHtpqnlIkttLJfg+P0OQ] X-ClientProxiedBy: AM6PR04CA0021.eurprd04.prod.outlook.com (2603:10a6:20b:92::34) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87zh334ags.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6PR04CA0021.eurprd04.prod.outlook.com (2603:10a6:20b:92::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Fri, 27 Nov 2020 05:47:47 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 8e27daad-c647-4432-1fea-08d89297f883 X-MS-TrafficTypeDiagnostic: VI1EUR04HT155: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OKGf3/V9qQW1qCEEcjUWYfiLAmPPhjx+NEBv0pRKeVVcgj6Vg2h+waLjfSSPx8xI50rfxoZc8Uijs7Meti+TawAkx0tTSoIG7YLhijZrjjFh0zYwYp10/rHu14bV+Y4W44d9yRdnk0D5O7+UXoPOzKJomHziFdatBnfM9/xbPBuolEN8x6wra0FUlMxH8RpGJhrf6WnljQoVEbR96Kqc3TNnPlHZxfDKV5wpSOH2clRKmHpPbKEZCS/8xkRnEVsm X-MS-Exchange-AntiSpam-MessageData: 9jKL0dLb1+rmcsmANs9N3851e1f0BW+y0mOzFyFktO2Zmo7HeIsbqAExyT91VyRKgGiylVttf4jHoJs5+68Y4gMVXtcXLLrYVjbvtFe3KHM2PxzaVR2rnubIhG5pWJS3TV81BCvFD8qvlV7//weFvw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e27daad-c647-4432-1fea-08d89297f883 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2020 05:47:48.3151 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR04FT037.eop-eur04.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: VI1EUR04HT155 Received-SPF: pass client-ip=40.92.75.12; envelope-from=arthur.miller@live.com; helo=EUR04-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:125620 Archived-At: Christopher Dimech writes: > Because I thought that I can have a keybinding that cycles > auto-fill. What exactly are your trying to cycle? Autofill breaks lines. Works fine here, I have it always on. I am intrigating by the discussion, I wonder what is your use case? > It could be long and hard to do that for every > major mode. Aren't minor modes for that use-case. > There are times when I need to also have the code use auto-fill, > but not always. A keybinding cycle could be a solution for every > major mode. What exactly are you trying to do? Maybe it is already done; maybe there is something similar; maybe you are asking something impossible or very hard. What exactly are you trying to achieve? A minor mode sounds like something you are looking for. Have you checked fill commands? https://www.gnu.org/software/emacs/manual/html_node/emacs/Fill-Commands.html#Fill-Commands Maybe you need to puzzle together your own funcionallity for your own particular workflow.