From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 212305182720 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,b742d692b79b2026 X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.181.8.226 with SMTP id dn2mr1328244wid.4.1411319645715; Sun, 21 Sep 2014 10:14:05 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.180.10.131 with SMTP id i3ls258158wib.5.gmail; Sun, 21 Sep 2014 10:14:05 -0700 (PDT) X-Received: by 10.181.25.225 with SMTP id it1mr2293308wid.0.1411319645315; Sun, 21 Sep 2014 10:14:05 -0700 (PDT) Return-Path: Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by gmr-mx.google.com with ESMTPS id fa3si1134791lbc.0.2014.09.21.10.14.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Sep 2014 10:14:04 -0700 (PDT) Received-SPF: none (google.com: eg@gaute.vetsj.com does not designate permitted sender hosts) client-ip=209.85.217.174; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: eg@gaute.vetsj.com does not designate permitted sender hosts) smtp.mail=eg@gaute.vetsj.com Received: by mail-lb0-f174.google.com with SMTP id l4so5517184lbv.19 for ; Sun, 21 Sep 2014 10:14:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:subject:to:references:in-reply-to :user-agent:message-id:mime-version:content-type :content-transfer-encoding; bh=EnxMy8svvpyFPInd6+Ep6tj6TWIaRgiROuvHCRsRvys=; b=U02wnN9k/zNyM+Gnjeuj87K4tLJsK+EnufsVDJuet1gNP7ohnIuFkENeAqxu1M7eGk YtWxA3uz1ZpxK9m9gjPAzKjs2FmQ5NsvATxIDDtJIJKQ+RZ82ZUQPeyUpd5Zcjc7WkDA pWkZXfeMg5JzQwan1FH8Kia4sUelt/cgUWgtp7G/lJy9OgY9+Z+RY855vpzTMF1+oxp+ cpQG48GaFMnvBNpSJ2oyPOnUBylswjxNYa0Bm1oEbzhjv9fLHvanjVsrjmFEuC0cMq31 b/6UR5H+F5WyiZ+HgV+ufscW2bWaX593oCbeuOZ9SlB8XEDBnnO2UwtN6KIFQshAIfXu EVuw== X-Gm-Message-State: ALoCoQkY+NLsYppPyDoN4q07UJ7nzvaqwp5IrBwDwtPt4asOTafolbHfOoqhk7sZ/9c2FfHaZleK X-Received: by 10.152.5.168 with SMTP id t8mr20078919lat.67.1411319644184; Sun, 21 Sep 2014 10:14:04 -0700 (PDT) Return-Path: Received: from localhost (cD572BF51.dhcp.as2116.net. [81.191.114.213]) by mx.google.com with ESMTPSA id f9sm2873536lbh.14.2014.09.21.10.14.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Sep 2014 10:14:03 -0700 (PDT) Date: Sun, 21 Sep 2014 17:14:10 +0000 From: Gaute Hope Subject: Re: [sup] ask_* functions from buffer.rb To: supmua@googlegroups.com References: <1411313665-sup-8457@ruthard-lappi> In-Reply-To: <1411313665-sup-8457@ruthard-lappi> User-Agent: astroid/vb457ef13 (https://github.com/gauteh/astroid) Message-Id: <1411319537-astroid-0-fvayndb6xh-21321@strange> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Excerpts from Ruthard Baudach's message of September 21, 2014 17:34: > The ask* functions in buffer.rb are not commented. As far as I found > out, the arguments are: >=20 > domain: token used as key for @textfields, which seems to be a > dictionary of input field objects > question: string used as prompt > completions: array of possible answers, that can be completed by using > the tab key > default: default value to return >=20 > Is this correct? Most likely. Correct me if I am wrong, but I don't think any of the active sup devs were involved in writing those functions :) I would happily accept a patch with some comments. Cheers, Gaute =