From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephan Stahl" Newsgroups: gmane.emacs.devel Subject: Re: defconst in lao.el Date: Wed, 17 Nov 2004 07:39:26 +0100 (CET) Message-ID: <63300.217.194.34.123.1100673566.squirrel@wwws.franken.de> References: <200411141856.iAEIuEM24284@raven.dms.auburn.edu><200411170141.KAA24828 @etlken.m17n.org> <200411170301.iAH31kc20206@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Trace: sea.gmane.org 1100673615 20637 80.91.229.6 (17 Nov 2004 06:40:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2004 06:40:15 +0000 (UTC) Cc: emacs-devel@gnu.org, handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 17 07:40:02 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CUJU2-0003lJ-00 for ; Wed, 17 Nov 2004 07:40:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUJcp-0000LS-2h for ged-emacs-devel@m.gmane.org; Wed, 17 Nov 2004 01:49:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUJci-0000Ko-01 for emacs-devel@gnu.org; Wed, 17 Nov 2004 01:49:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUJch-0000KN-00 for emacs-devel@gnu.org; Wed, 17 Nov 2004 01:48:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUJcg-0000KJ-UK for emacs-devel@gnu.org; Wed, 17 Nov 2004 01:48:58 -0500 Original-Received: from [193.175.24.27] (helo=ilsa.franken.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CUJTV-0004IT-7J for emacs-devel@gnu.org; Wed, 17 Nov 2004 01:39:29 -0500 Original-Received: from wwws.franken.de (mail-n.franken.de [193.175.24.27]) by ilsa.franken.de (Postfix) with SMTP id 9C9EC245C4; Wed, 17 Nov 2004 07:39:25 +0100 (CET) Original-Received: from 217.194.34.123 (SquirrelMail authenticated user eos) by wwws.franken.de with HTTP; Wed, 17 Nov 2004 07:39:26 +0100 (CET) In-Reply-To: <200411170301.iAH31kc20206@raven.dms.auburn.edu> Original-To: "Luc Teirlinck" User-Agent: SquirrelMail/1.4.0 X-Priority: 3 Importance: Normal 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: main.gmane.org gmane.emacs.devel:29964 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29964 Hi Luc. Luc Teirlinck said: > Yes, but the code can be changed so that modifying the value after > lao.el is loaded _does_ work. [....] > ! ;; If you change the value of this variable, be sure to do > ! ;; `(lao-initialize-alists)' afterwards. Otherwise, the related > ! ;; alists will not be properly updated. > ! (defvar lao-key-alist > '(("!" . "1") > ("\"" . "=") > ("#" . "3") [....] Wouldn't it be better to include this comment as lao-key-alist's doc-string or maybe even make it a defcustom with an :set that calls lao-initialize-alists ? I think this would make it harder to miss the fact that lao-initialize-alists has to be called. Stephan -- Stephan Stahl