From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47691 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Oort: Font-Encoding Problem? Date: Sun, 17 Nov 2002 12:54:54 +0100 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <84of8oh0mp.fsf@lucy.cs.uni-dortmund.de> References: <365601774.20021116203851@gmx.net> <84lm3tb4zj.fsf@lucy.cs.uni-dortmund.de> <1545428605.20021116224532@gmx.net> <4711483502.20021117002627@gmx.net> <19437485731.20021117112550@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037534071 32501 80.91.224.249 (17 Nov 2002 11:54:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2002 11:54:31 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18DO0T-0008S3-00 for ; Sun, 17 Nov 2002 12:54:29 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18DO1I-0005vk-00; Sun, 17 Nov 2002 05:55:20 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 17 Nov 2002 05:56:06 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id FAA21773 for ; Sun, 17 Nov 2002 05:55:50 -0600 (CST) Original-Received: (qmail 22828 invoked by alias); 17 Nov 2002 11:54:58 -0000 Original-Received: (qmail 22823 invoked from network); 17 Nov 2002 11:54:57 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 17 Nov 2002 11:54:57 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18DOCw-0000p8-00 for ; Sun, 17 Nov 2002 13:07:22 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 25 Original-NNTP-Posting-Host: p50877ccb.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1037534842 3165 80.135.124.203 (17 Nov 2002 12:07:22 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 17 Nov 2002 12:07:22 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:YU4mnG1KA4HMv+b0IyvbFCu0MY4= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47691 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47691 Marcus Frings writes: > Are there any (dis)advantages using add-to-list instead of setq? That's impossible to answer. They just do different things. With (setq foo '(a b c)) you set the variable foo to that value. With (add-to-list 'foo 'a) you add an element to the list foo. It depends on the circumstances whether you want to delete the old entries or just add new ones. That said, I find that I usually just add items to alists because usually the alists will do a useful job for most cases, so I just need to modify one case or two. Also, I then profit from new entries into the alist in newer versions of the software. Note that Lisp traverses alists from the beginning and uses the first matching item. And add-to-list adds an item to the beginning. This means that even if there is an item in the alist already, the item you add will take precedence. Does this make sense? kai -- ~/.signature is: umop ap!sdn (Frank Nobis)