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

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

Reading in a variable list of strings


From: Florian von Savigny
Subject: Reading in a variable list of strings
Date: 14 Mar 2005 13:40:22 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2


Hi there,

I am running into problems whatever I try:

I am writing (better, trying to write) a function the core of which is
call-process. The problem is that I would like to be able to supply a
variable number of arguments to the process called, by user
input.

I have no clear idea of how to read in an unknown-length list of
strings. It must be something with (while ...) and (read-string ...),
but (while what?), i. e. how can the user say he's done now?

For the moment, I am reading in just one string and splitting it at
spaces, but this is quick and dirty at best.

Any hints greatly appreciated!


-- 


Florian v. Savigny

If you are going to reply in private, please be patient, as I only
check for mail something like once a week. - Si vous allez répondre
personellement, patientez s.v.p., car je ne lis les courriels
qu'environ une fois par semaine.


reply via email to

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