From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: default-fill-column Date: Mon, 24 Nov 2003 11:23:01 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200311151637.hAFGbtK17946@raven.dms.auburn.edu> <200311222123.hAMLNYW22498@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1069691965 13019 80.91.224.253 (24 Nov 2003 16:39:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2003 16:39:25 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Nov 24 17:39:19 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOJk7-0005Ng-00 for ; Mon, 24 Nov 2003 17:39:19 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOJk6-0004I8-00 for ; Mon, 24 Nov 2003 17:39:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOKdF-0006H8-Js for emacs-devel@quimby.gnus.org; Mon, 24 Nov 2003 12:36:17 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AOKam-0005Wy-RD for emacs-devel@gnu.org; Mon, 24 Nov 2003 12:33:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AOKaF-0005MJ-HK for emacs-devel@gnu.org; Mon, 24 Nov 2003 12:33:42 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOKaF-0005M5-5Q for emacs-devel@gnu.org; Mon, 24 Nov 2003 12:33:11 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AOJUL-0007I9-7M; Mon, 24 Nov 2003 11:23:01 -0500 Original-To: Luc Teirlinck In-reply-to: <200311222123.hAMLNYW22498@raven.dms.auburn.edu> (message from Luc Teirlinck on Sat, 22 Nov 2003 15:23:34 -0600 (CST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18088 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18088 Indeed, the functionality of these variables is not equivalent with `setq-default'. `setq-default' changes the value in all buffers without buffer-local binding, whereas (setq default-fill-column 75) only affects the value in newly created buffers. This is a bug; setting default-fill-column was supposed to be equivalent to using setq-default on fill-column. The doc string of default-fill-column says so explicitly. If one wants to make new defaults for these variables apply only to newly created buffers, We don't want that--that's the bug. I think the correct solution to implement a new kind of internally magic variable which stands for the default value of some other variable. Then default-fill-column can be implemented that way. It would be fairly clean and not that hard.