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: Auto Fill Comments Date: Thu, 26 Nov 2020 18:22:26 +0100 Message-ID: References: <87pn419aha.fsf@robertthorpeconsulting.com> <20201126160013.GD28931@tuxteam.de> 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="23117"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 26 18:25:27 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 1kiL1L-0005wC-M0 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 18:25:27 +0100 Original-Received: from localhost ([::1]:48934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiL1K-0006eo-B7 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 12:25:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiKyb-0006eW-5V for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 12:22:37 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:45863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiKyZ-0004G0-8u for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 12:22:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606411346; bh=Fog6kzfWze9yx5xIysX6epLaEBoP/YHX7nSZKCe3ImU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=AhjyWkikRqnDVaaRscXGymXFHEFKUVe8Pkx0uBwUjb/iNAav8qz0pQ4HldJvVWnqo xf3AIZg0B/7GJnGhfpLLV8u9PZ9EZ9ai4YbutyxG9QLJn9iUuIqjNTJNEcU6VHISzO aMr+62VIf6aklwwGNkhRfVY+JyVlyMIoiZ3rb4dk= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Thu, 26 Nov 2020 18:22:26 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <20201126160013.GD28931@tuxteam.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:u8ETJTz+3+2aCJP+B/HcKhpQnUK+osJlt2e+bQ3hlBRXeJb4svK6DRQdy+AYV59oMu/5o pxXRm7wUcN+vqmmrN4l2guAA3JbFlKmI6c4qfk4cAab0ikrtwCEUqT01VwirQ1ZcXLhV2FoKdum4 UhA1Nez2L/8Xx6jO+0p3YE7+EZY1jsw8RrONsT3ZzDPixzqiWRKDph2FeTFRMA+ZlglgTp7bBl7K DaYFmVfW7qdZKR2EK/5dwKyDAV5xUlHyt1X6W2F3BPlXMYta+3NkS3lk/hojK4RQ9JM80CIXBf6a yM= X-UI-Out-Filterresults: notjunk:1;V03:K0:tJ6CWX1kx/Q=:1aXI8kaqtr/Fv6uv9seH0c mJ7X1ae39JwF1Iws+/ESOmlDf9le//LgGukUSf/QTcMsnPIhDOP0O5jnUZmqueLx8gnNfQl5e Qhyqz9D4TSKgh7ZPuQJ8ldSO8Bey+MxOhSyakhxS54aU7K6yYt3gQuDNghzFhjEyNS/33cWqq NAoF9mnZStyto1Fp0Qn7rLnxrPP5ok1w2Vqloyzg38ui9yz1ZZHLi5VxjTUg8ze0UWjk3WaGi l4ZvUlN3kuto2DArFPyTklWtV2sPxE2stxL2yBJYP8lYSKpdI3Y0XDqFDFC4LfHlOqrN7iSf5 jT/VsQJBj8waYACFcEQsm3ibKSEYIuWZ4bLLWcq7VV0YcF7mQ1uwjylSu2e5zBKfq88nbEE5e SvVdmQVBQYQQh4pl6c2Jy0X+9cnAv2COjkDVnA2h7AXIi4lqURLQiyu8VpRZv5R9hyB1fkz+B aHMd8tEY7H41wYaKDvAH6/+nVkecFDXuUcUFaq4wKcn4b7VJ0sLG2ij7os8lTG5kPxGveIqOJ mroIk99IM/tiiIdzVFO5WsB8TLAnXAVedBc/CEywK0B386WBwjQVcUbEL/W4d17N8AySvshRK e0PDFNKMcUZmk= Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:125571 Archived-At: > Sent: Thursday, November 26, 2020 at 5:00 PM > From: tomas@tuxteam.de > To: "Christopher Dimech" > Cc: daniela-spit@gmx.it, help-gnu-emacs@gnu.org > Subject: Re: Auto Fill Comments > > On Thu, Nov 26, 2020 at 04:23:07PM +0100, Christopher Dimech wrote: > > I am getting somewhat confused because I have also seen > > people using set-fill-column and setq-default. > > > > Is doing fill-column and set-fill-column the same thing? > > It should. Do C-h f set-fill-column to get the details (if everything > else fails, read the instructions :) > > I think set-fill-column is a wrapper around (setq fill-column ) > (which will set it buffer-local, see C-h v fill-column) to conveniently > bind it, as an interactive functn to C-x f. > > The setq-default does something subtly different: it sets the variable's > default value, so its effect won't be buffer-local but global (for all > new buffers, which haven't a buffer local value set). > > So if you want /all/ your buffers to have your value 72 (unless stated > otherwise specifically for your buffer), setq-default is your friend. Does that mean that setq-default also enables automatic filling? I need some explanation about setq, setq-default, and set-local. > If you are targeting a specific buffer, use set-fill-column, or > do (setq fill-column ), as you prefer. > > Cheers > - t >