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: default-FOO variables Date: Mon, 05 Oct 2009 09:39:37 -0400 Message-ID: References: <83ljjqnj81.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254750002 29213 80.91.229.12 (5 Oct 2009 13:40:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2009 13:40:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 05 15:39:57 2009 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 1Munn9-0000Wh-Mg for ged-emacs-devel@m.gmane.org; Mon, 05 Oct 2009 15:39:56 +0200 Original-Received: from localhost ([127.0.0.1]:38711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Munn9-0003Vd-Pn for ged-emacs-devel@m.gmane.org; Mon, 05 Oct 2009 09:39:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Munmz-0003Qx-7A for emacs-devel@gnu.org; Mon, 05 Oct 2009 09:39:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Munmu-0003Mb-Nk for emacs-devel@gnu.org; Mon, 05 Oct 2009 09:39:44 -0400 Original-Received: from [199.232.76.173] (port=60555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Munmu-0003MU-CS for emacs-devel@gnu.org; Mon, 05 Oct 2009 09:39:40 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10869 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Munms-0006gz-PN; Mon, 05 Oct 2009 09:39:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAEqUyUrO+IBv/2dsb2JhbACBUtA8hCoEhyg X-IronPort-AV: E=Sophos;i="4.44,505,1249272000"; d="scan'208";a="47103851" Original-Received: from 206-248-128-111.dsl.teksavvy.com (HELO pastel.home) ([206.248.128.111]) by ironport2-out.pppoe.ca with ESMTP; 05 Oct 2009 09:39:37 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 88EBE81F0; Mon, 5 Oct 2009 09:39:37 -0400 (EDT) In-Reply-To: <83ljjqnj81.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Oct 2009 14:00:46 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (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:115912 Archived-At: > What does this entry in NEWS: > ** All the default-FOO variables that hold the default value of the FOO > variable, are now declared obsolete. > mean for variable declaration in C such as this: > DEFVAR_LISP_NOPRO ("default-enable-multibyte-characters", > &buffer_defaults.enable_multibyte_characters, > doc: /* *Default value of `enable-multibyte-characters' for buffers not overriding it. > This is the same as (default-value 'enable-multibyte-characters). */); > Do we need to avoid such declarations? Yes, the aim is to get rid of them at some point. > If so, how to do the equivalent of that for buffer-local variables > defined in C? I don't understand, why you'd need something equivalent. Can you give us some details? Stefan