From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Changing value for fill-column Date: Sun, 28 Aug 2022 17:11:34 +0300 Message-ID: <83r110xxt5.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8747"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 28 16:12:23 2022 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 1oSJ1S-0002BY-3j for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 28 Aug 2022 16:12:22 +0200 Original-Received: from localhost ([::1]:52618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSJ1R-0002oD-3s for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 28 Aug 2022 10:12:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJ0O-0002Jt-RM for help-gnu-emacs@gnu.org; Sun, 28 Aug 2022 10:11:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJ0O-0001gV-Im for help-gnu-emacs@gnu.org; Sun, 28 Aug 2022 10:11:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=lR3vOLJiWaQON7k7i2WeJHS3KfaxjzGC7mxVRVvcLWg=; b=CxU42T8X5hkMStCKOJSn BQQb9kw8pLi2yMKE/TZATPEkmwWqXZLbYJ3MxGvMvsU9oDgY1Ss+DoRWZktLPw31VLF8EWxJspurD wEoCOUidyskiBxbQaG0BiqcweEvM0Nl8PG9PU9+yBirFAbjFR/xJbFKcDifOJRjwO36MscRIIg8fc pSjWGIzyRiHYyeVLyIqSC7a0AGl7f2puNg7wjdj09St1UMdn7N+GE4DdhYM0i0iup1ooynT5UyIHj 0jKYDHSd7x4yVkahlZ8OjVoZohtudNLjMwLpQWbkNNGkJhMybXG9pw8s+LbsesAFjIQ6iS2nWEh0L ICaQCJ+Wi+fV8w==; Original-Received: from [87.69.77.57] (port=3041 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJ0O-0006it-27 for help-gnu-emacs@gnu.org; Sun, 28 Aug 2022 10:11:16 -0400 In-Reply-To: (message from wilnerthomas--- via Users list for the GNU Emacs text editor on Sun, 28 Aug 2022 14:17:08 +0200 (CEST)) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:139128 Archived-At: > Date: Sun, 28 Aug 2022 14:17:08 +0200 (CEST) > From: wilnerthomas--- via Users list for the GNU Emacs text editor > > > 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.