From: wilnerthomas--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Changing value for fill-column
Date: Sun, 28 Aug 2022 16:20:14 +0200 (CEST) [thread overview]
Message-ID: <NAZolAR--3-2@tutanota.com> (raw)
In-Reply-To: <83r110xxt5.fsf@gnu.org>
Aug 28, 2022, 14:11 by eliz@gnu.org:
>> Date: Sun, 28 Aug 2022 14:17:08 +0200 (CEST)
>> From: wilnerthomas--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
>>
>>
>> How can I change fill-column. Have changed it in my init file using (setq fill-column 65)
>> but it not taking effect in major modes.
>>
>
> The doc string says:
>
> Automatically becomes buffer-local when set.
>
> So you either need to set it in a mode-hook of each mode where you
> want to change the default value, or you should use setq-default to
> change the default value in all buffers.
>
I know how to add hook to major mode with a function but not using a variable.
(add-hook 'prog-mode-hook #'display-fill-column-indicator-mode)
next prev parent reply other threads:[~2022-08-28 14:20 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 [this message]
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
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=NAZolAR--3-2@tutanota.com \
--to=help-gnu-emacs@gnu.org \
--cc=eliz@gnu.org \
--cc=wilnerthomas@tutanota.com \
/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).