From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: using setq to create lists based on other lists... Date: Wed, 05 Dec 2018 11:47:11 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 X-Trace: blaine.gmane.org 1544028530 18682 195.159.176.226 (5 Dec 2018 16:48:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2018 16:48:50 +0000 (UTC) User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 05 17:48:46 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUaLt-0004mT-KU for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2018 17:48:45 +0100 Original-Received: from localhost ([::1]:35578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUaO0-0005nQ-7z for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2018 11:50:56 -0500 X-Received: by 2002:a1c:28c4:: with SMTP id o187mr925938wmo.7.1544028436354; Wed, 05 Dec 2018 08:47:16 -0800 (PST) X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63 Original-Path: usenet.stanford.edu!n204no1394027wmd.0!news-out.google.com!p18ni4436wmc.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!nntpfeed.proxad.net!news.muarf.org!news.uzoreto.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-Injection-Info: barmar.motzarella.org; posting-host="742e6ad88036f24b0ef038e615c3f32b"; logging-data="25562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IJzr2dfy6coO2403wd/Gq" Cancel-Lock: sha1:tUT9Eb3hQZhwR7Yx52/2rzyvC+U= Original-Xref: usenet.stanford.edu gnu.emacs.help:224737 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118866 Archived-At: In article , Stefan Monnier wrote: > > There's nothing wrong with it in Emacs Lisp > > Actually, there is in the sense that these are global variables and so > can interfere with other Elisp packages. Declaring the variable with defvar won't change that. Anyway, the code we're talking about is just example snippets, not a full program. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***