From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: How to populate a property list? Date: Sun, 31 Oct 2004 15:36:28 +0100 Message-ID: <86vfcrkl8z.fsf@ketchup.de.uu.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099229828 842 80.91.229.6 (31 Oct 2004 13:37:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 13:37:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 31 14:37:03 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 1COFtG-0006kJ-00 for ; Sun, 31 Oct 2004 14:37:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COG1D-0000Uw-E7 for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Oct 2004 08:45:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COG12-0000Uo-P8 for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 08:45:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COG12-0000UH-2G for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 08:45:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COG11-0000UB-MC for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 08:45:03 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COFt0-00029a-I8 for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 08:36:46 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1COFsy-0005nF-00 for ; Sun, 31 Oct 2004 14:36:44 +0100 Original-Received: from p5487c5c3.dip.t-dialin.net ([84.135.197.195]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Oct 2004 14:36:44 +0100 Original-Received: from kai by p5487c5c3.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Oct 2004 14:36:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5487c5c3.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:jdFeRX+cpwoOCqgtBMz2fVkKXm4= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21652 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21652 Hattuari writes: > I want to put them in a property list. I can do this: > > (setq type-map '(char c short s int i long l)) > > Which works for this short list. I don't find it particularly > expressive. Well, it is not pretty, but it works. And it is concise, too. If it is only the indentation that's wrong, then perhaps a trick such as the following could be useful: (setq type-map (cdr '(dummy char c short s int i long l))) I'm not convinced of the merits of this approach, though. Kai