From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roland Thiers Newsgroups: gmane.emacs.help Subject: Re: Run a program Date: Wed, 28 Sep 2011 20:15:59 +1100 Message-ID: References: <4BB5BAB3-2D48-402A-85EF-070EEC256DB3@canl.nc> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1317201514 22779 80.91.229.12 (28 Sep 2011 09:18:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 09:18:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 28 11:18:30 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8qHd-0002aX-5o for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Sep 2011 11:18:29 +0200 Original-Received: from localhost ([::1]:55772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8qHc-0004KN-Ho for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Sep 2011 05:18:28 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8qHU-0004K5-RZ for help-gnu-emacs@gnu.org; Wed, 28 Sep 2011 05:18:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8qHP-0000dU-1j for help-gnu-emacs@gnu.org; Wed, 28 Sep 2011 05:18:20 -0400 Original-Received: from gw-smtp-5.canl.nc ([202.87.159.14]:38597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8qHO-0000D5-ET for help-gnu-emacs@gnu.org; Wed, 28 Sep 2011 05:18:15 -0400 Original-Received: from smtp2.canl.nc ([202.171.64.15] helo=mail2.canl.nc) by gw-smtp-5.canl.nc ([202.171.64.13]:10025) with esmtp id 1R8qFK-0005LG-2u (Exim 4.74) for help-gnu-emacs@gnu.org (return-path ); Wed, 28 Sep 2011 20:16:06 +1100 Original-Received: from host-203-147-87-84.h40.canl.nc ([203.147.87.84] helo=[192.168.2.2]) by mail2.canl.nc ([202.171.64.2]:587) with esmtpa (plain:roland.thiers@canl.nc) id 1R8qFF-0002Pm-GS (Exim 4.74) for help-gnu-emacs@gnu.org (return-path ); Wed, 28 Sep 2011 20:16:05 +1100 X-ACL: Processed by Anti-SPAM ACL on gw-smtp-5.canl.nc X-Weight: 0 X-AVE-Signature: 7a0c96715c4b033bffe193698e615e98 X-AVE-Status: No virus found X-AVE-Scanned: by AVE Virus Scanner X-ACL: Processed by Anti-SPAM ACL on mail2.canl.nc In-Reply-To: X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 202.87.159.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82362 Archived-At: Thank very much Deniz, Kevin and Le for your replies and advices. (vector 0 0 0) and (make-vector 3 0) work well. I understood that my problem was connected with quoting, now I have to =20= read carefully the thread : buffer-local variables seem to remember values =20 (explanations of Drew Adams and others). Not obvious, and my poor =20 english does not help me ! Roland Le 28 sept. 11 =E0 12:43, Le Wang a =E9crit : > On Tue, Sep 27, 2011 at 1:28 PM, Roland Thiers =20 > wrote: >> Hi all, >> I am a novice programming in Emacs Lisp. >> My question : > > This is a quoting issue. It got me a short while ago. Read the whole > thread, especially when I reach enlightenment later on. > http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-09/msg00457.html > > TLDR; instead of using [x y z] use (vector x y z). Never modify > things you quote or you will be confused. Only quote constants. > > --=20 > Le