From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Is comment-column more buffer local than comment-start? Date: Tue, 30 Dec 2008 15:05:47 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230667565 3231 80.91.229.12 (30 Dec 2008 20:06:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 20:06:05 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 30 21:07:12 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHkrv-0003vK-Cz for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2008 21:07:11 +0100 Original-Received: from localhost ([127.0.0.1]:55300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHkqh-000639-Ou for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2008 15:05:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHkqc-00062r-4N for emacs-devel@gnu.org; Tue, 30 Dec 2008 15:05:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHkqa-00062f-Nl for emacs-devel@gnu.org; Tue, 30 Dec 2008 15:05:48 -0500 Original-Received: from [199.232.76.173] (port=44434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHkqa-00062c-IC for emacs-devel@gnu.org; Tue, 30 Dec 2008 15:05:48 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:59032) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHkqa-0003E9-BR for emacs-devel@gnu.org; Tue, 30 Dec 2008 15:05:48 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqYEAHQOWklLd+aG/2dsb2JhbACBbMwihkSBZw X-IronPort-AV: E=Sophos;i="4.36,304,1228107600"; d="scan'208";a="31618892" Original-Received: from 75-119-230-134.dsl.teksavvy.com (HELO pastel.home) ([75.119.230.134]) by ironport2-out.teksavvy.com with ESMTP; 30 Dec 2008 15:05:47 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 849908CF4; Tue, 30 Dec 2008 15:05:47 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Fri, 26 Dec 2008 19:06:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107419 Archived-At: > Looking in newcomments.el I see > (make-variable-buffer-local 'comment-column) > but nothing like that for comment-start etc. I beats my why it is this > way. (Or is it perhaps because major mode authors should know what to > do with comment-start?) IIRC it's for hysterical raisins. If you ask me, it should be the other way around: comment-column should not be "make-variable-buffer-local" whereas comment-start should. But it doesn't matter that much. Just always use either `setq-default' or (set (make-loval-variable 'foo) bar) on those vars to be clear. Stefan