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

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

Re: start-process and set-process-filter sequence


From: Thierry Volpiatto
Subject: Re: start-process and set-process-filter sequence
Date: Thu, 14 Apr 2011 16:02:41 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.3.50 (gnu/linux)

William Xu <william.xwl@gmail.com> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>    something like this:
>
>    (prog1
>        (start-process "ls" "ls" "ls")
>      (set-process-filter (get-process "ls") 'foo)
>      (setq a nil)
>      ;(read-string "Mood: ")
>      )
>
> It doesn't seem to really fix the problem.  You moved read-string to the
> end, if you try:
>
>    (prog1
>        (start-process "ls" "ls" "ls")
>      (read-string "Mood: ")
>      (set-process-filter (get-process "ls") 'foo)
>      (setq a nil))
>
> There will still be a similar problem.  
The real problem is: 
why do you want to setq a to nil at this time?

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




reply via email to

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