From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: eval-after-load as a macro (and eval-next-after-load) Date: Mon, 07 Apr 2003 21:43:25 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <843cku855u.fsf@lucy.is.informatik.uni-duisburg.de> References: <200304042030.h34KUEQL008262@rum.cs.yale.edu> <200304062105.h36L55Jn019873@rum.cs.yale.edu> <84y92mslqe.fsf@lucy.is.informatik.uni-duisburg.de> <200304071250.h37CoUh16788@eel.dms.auburn.edu> <84brziwhsi.fsf@lucy.is.informatik.uni-duisburg.de> <200304071905.h37J5NG17030@eel.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049744923 5084 80.91.224.249 (7 Apr 2003 19:48:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2003 19:48:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 07 21:48:42 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192cbi-0001Jr-00 for ; Mon, 07 Apr 2003 21:48:42 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 192cfM-00047X-00 for ; Mon, 07 Apr 2003 21:52:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192cbl-0005n6-01 for emacs-devel@quimby.gnus.org; Mon, 07 Apr 2003 15:48:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192cbR-0005lp-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 15:48:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192cbE-0005h0-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 15:48:13 -0400 Original-Received: from mailout03.sul.t-online.com ([194.25.134.81]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192cYi-0004yK-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 15:45:36 -0400 Original-Received: from fwd11.sul.t-online.de by mailout03.sul.t-online.com with smtp id 192cYf-0005jS-03; Mon, 07 Apr 2003 21:45:33 +0200 Original-Received: from lucy (520080024987-0001@[80.135.121.173]) by fmrl11.sul.t-online.com with esmtp id 192cYU-0TAYfAC; Mon, 7 Apr 2003 21:45:22 +0200 Original-Received: by lucy (Postfix, from userid 1003) id 47C9628859; Mon, 7 Apr 2003 21:43:26 +0200 (CEST) Original-To: Luc Teirlinck In-Reply-To: <200304071905.h37J5NG17030@eel.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 7 Apr 2003 14:05:23 -0500 (CDT)") User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux) X-Sender: 520080024987-0001@t-dialin.net X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12992 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12992 Luc Teirlinck writes: > Kai Grossjohann wrote: > > It also doesn't work to just frob cua-movement-commands, since > adding to a list can only be done after the defvar. > > So you defvar it to the same value cua would defvar it to and then add > the two entries. What is the need for eval-after-load in this situaton? (1) The user might have modified the default value before loading crisp. (2) With this strategy, the default value for many variables would be copied all around the place. A nightmare if you ever want to change the default value. Or am I misunderstanding something? -- A preposition is not a good thing to end a sentence with.