help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run a program


From: Roland Thiers
Subject: Re: Run a program
Date: Wed, 28 Sep 2011 20:15:59 +1100

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 read carefully the thread : buffer-local variables seem to remember values (explanations of Drew Adams and others). Not obvious, and my poor english
does not help me !
Roland
Le 28 sept. 11 à 12:43, Le Wang a écrit :

On Tue, Sep 27, 2011 at 1:28 PM, Roland Thiers <address@hidden> 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.

--
Le




reply via email to

[Prev in Thread] Current Thread [Next in Thread]