all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roland Thiers <roland.thiers@canl.nc>
To: help-gnu-emacs@gnu.org
Subject: Re: Run a program
Date: Wed, 28 Sep 2011 20:15:59 +1100	[thread overview]
Message-ID: <B1380275-25EE-4A7D-B821-B587A4148532@canl.nc> (raw)
In-Reply-To: <CAM=K+irn5BVig63u+xe1AAhHsLUqUnd4Qfo=wQqnZTGw0a-vhw@mail.gmail.com>

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  
> <roland.thiers@canl.nc> 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	other threads:[~2011-09-28  9:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27  5:28 Run a program Roland Thiers
2011-09-27 21:06 ` Deniz Dogan
2011-09-28  1:43 ` Le Wang
2011-09-28  9:15   ` Roland Thiers [this message]
2011-09-28 13:44     ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2011-09-27 22:01 Buchs, Kevin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B1380275-25EE-4A7D-B821-B587A4148532@canl.nc \
    --to=roland.thiers@canl.nc \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.