From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: History for query replace pairs Date: Sun, 5 Oct 2014 08:52:27 +0700 Message-ID: References: <87a97ejxuo.fsf@mail.jurta.org> <87lhovik5c.fsf@lifelogs.com> <87mw9b8l0m.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412473965 31026 80.91.229.3 (5 Oct 2014 01:52:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2014 01:52:45 +0000 (UTC) Cc: Emacs developers To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 05 03:52:38 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xaazy-0006Sd-1y for ged-emacs-devel@m.gmane.org; Sun, 05 Oct 2014 03:52:34 +0200 Original-Received: from localhost ([::1]:45834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xaazx-0005TF-Ia for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2014 21:52:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xaazu-0005Ss-Bb for emacs-devel@gnu.org; Sat, 04 Oct 2014 21:52:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xaazs-0002OT-St for emacs-devel@gnu.org; Sat, 04 Oct 2014 21:52:30 -0400 Original-Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:33682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xaazs-0002OP-Mp for emacs-devel@gnu.org; Sat, 04 Oct 2014 21:52:28 -0400 Original-Received: by mail-ie0-f171.google.com with SMTP id tr6so1655370ieb.16 for ; Sat, 04 Oct 2014 18:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=MYv34QBxrDKlCIfzn1wPdJ0bdhPmsSlhYK4UZ8Qff8g=; b=ow8mwz9NGnT5jVTQrHztfPgQBBDXAOjKXzN+nGkrjwo4FPQX/AKR5CoCqoLHqq5VpT BUIBMuf2+5T4UzLf4HPMnViCxMxuCJ4B0Xa8qzs2B/UPJpEe4cLSz/OUmcdrGHansjHD Qpbb5jDktWuWOQtOLOyv9ngJAH7FCrIdp3OoTO1VlbiPQyYw9WutGBOqFGJYAC2/AjJZ O6lnZm2InkpeyY/4MZCpI8gOaRTNvY8937anzTkqgw/INo1i0urkNPpdxbfGT10LAmQ2 9hLdMNbjJo7+2jlp2R+uY1wfcVt3UfCi7zXjhOP0WcoS/CNfT2y8xvPnHwQWMooUmp7X igFA== X-Received: by 10.50.41.8 with SMTP id b8mr10035958igl.11.1412473947907; Sat, 04 Oct 2014 18:52:27 -0700 (PDT) Original-Received: by 10.107.4.79 with HTTP; Sat, 4 Oct 2014 18:52:27 -0700 (PDT) In-Reply-To: <87mw9b8l0m.fsf@mail.jurta.org> X-Google-Sender-Auth: -UphOGlvT1Z81w2fNw0OW2FQ93w X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174976 Archived-At: On Sun, Oct 5, 2014 at 6:36 AM, Juri Linkov wrote: > I realized right now that the most intuitive and convenient way is > to implement a new general function to read two values in the minibuffer > with two entry fields. Where there is two, there is +infinity. In other words, why stop at two? Let=E2=80=99s have a general function that accepts a description of zero or more parameters (I don=E2=80=99t know, cal= l it a =E2=80=9Cdialog template=E2=80=9D or =E2=80=9Cinteractive specificatio= n=E2=80=9D) and allows the user to enter all of them using Customize-like widgets in the minibuffer. (Though at this point it probably makes sense to maintain both composite histories for each dialog and separate histories for each field.)