unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Changing value for fill-column
Date: Sun, 28 Aug 2022 18:32:55 +0300	[thread overview]
Message-ID: <83h71wxu1k.fsf@gnu.org> (raw)
In-Reply-To: <NA_09Ux--7-2@tutanota.com> (wilnerthomas@tutanota.com)

> Date: Sun, 28 Aug 2022 17:14:25 +0200 (CEST)
> From: wilnerthomas@tutanota.com
> Cc: help-gnu-emacs@gnu.org
> 
> 
> Aug 28, 2022, 15:07 by eliz@gnu.org:
> 
> >> But I want to change the value even if buffer has its own value for fill-column
> >>
> > If you do that in your init file, no buffer will have a local value
> > yet.
> >
> How do these local values get set when users do not perform setq-default in their init file?
> Some modes set them up if there is no mode-hook for it already?

Modes don't set these variables; users do.

setq-default sets the default value, and that default value will be in
effect in every new buffer, unless someone -- you -- changes the value
in that buffer.  Since you want the same different value in all
buffers, you will probably not set the value in individual buffers,
and thus the default which you changed with setq-default will stay in
effect.



  reply	other threads:[~2022-08-28 15:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-28 12:17 Changing value for fill-column wilnerthomas--- via Users list for the GNU Emacs text editor
2022-08-28 14:11 ` Eli Zaretskii
2022-08-28 14:20   ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-08-28 14:33     ` Eli Zaretskii
2022-08-28 14:51       ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-08-28 15:07         ` Eli Zaretskii
2022-08-28 15:14           ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-08-28 15:32             ` Eli Zaretskii [this message]
2022-08-29  8:39               ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-08-29 11:32                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h71wxu1k.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).