[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto Fill Comments
From: |
Christopher Dimech |
Subject: |
Re: Auto Fill Comments |
Date: |
Thu, 26 Nov 2020 18:22:26 +0100 |
> Sent: Thursday, November 26, 2020 at 5:00 PM
> From: tomas@tuxteam.de
> To: "Christopher Dimech" <dimech@gmx.com>
> 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 <value>)
> (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 <foo>), as you prefer.
>
> Cheers
> - t
>
- Re: Auto Fill Comments, (continued)
Re: Auto Fill Comments, Robert Thorpe, 2020/11/25
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/25
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/25
- Re: Auto Fill Comments, daniela-spit, 2020/11/26
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/26
- Re: Auto Fill Comments, tomas, 2020/11/26
- Re: Auto Fill Comments,
Christopher Dimech <=
- Re: Auto Fill Comments, daniela-spit, 2020/11/26
- Re: Auto Fill Comments, tomas, 2020/11/26
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/26
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/26
- Re: Auto Fill Comments, tomas, 2020/11/26
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/26
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/26
- Re: Auto Fill Comments, Christopher Dimech, 2020/11/26
- RE: Auto Fill Comments, Drew Adams, 2020/11/26
- Re: RE: Auto Fill Comments, Christopher Dimech, 2020/11/26