From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Embedded list selection with ido-completing-read. Date: Tue, 26 Oct 2021 20:55:05 +0800 Message-ID: References: <87r1cbwnda.fsf@zoho.eu> <87a6iz1at1.fsf@zoho.eu> <87sfwqxuhi.fsf@zoho.eu> <878rygmkhn.fsf@zoho.eu> <87bl3ckp1y.fsf@zoho.eu> <8735ooklhp.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31498"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 26 14:57:08 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfM0q-000807-HM for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 26 Oct 2021 14:57:08 +0200 Original-Received: from localhost ([::1]:37592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfM0o-0001xF-KO for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 26 Oct 2021 08:57:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfLz9-0001ai-Ma for help-gnu-emacs@gnu.org; Tue, 26 Oct 2021 08:55:25 -0400 Original-Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]:40800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfLz7-0006NX-93 for help-gnu-emacs@gnu.org; Tue, 26 Oct 2021 08:55:23 -0400 Original-Received: by mail-ua1-x935.google.com with SMTP id e2so28875253uax.7 for ; Tue, 26 Oct 2021 05:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=CQ3UripBcqOvhl5MFSyfT9D7ZqQ52As8J5sf4Jae128=; b=fLDlfiWJkU6Ko4AfCXr6ntstTNnvqiVlZ0Kmy/UwuPSE8P8+OTiBmuG54Fs5XF37J3 rBBzYwnQfAODkkxOJXGFN2YhJmQ7fEFJAocCHxLWh/Fj0ricUg6JHigHurios2wp/u4N 06TJvYk/nPGf0D2/g1+G+W11dpZKhxcdBT2xk8ulgzPpL/ZTBFfEc+wxPBCM0W4gjFIR 7s9cgpScttlYNDPDfOfjWJtE9Iadvzecwrq7/tI9hnjxvqvNvmv/r+nEo0AAXmUR6whO 7eITDfjw4gnkIMawCSfBcbXFTrCYlw+fPFRAReWZfKr5GPaHFg4skTnqqyEeruCXp0iM 6/Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=CQ3UripBcqOvhl5MFSyfT9D7ZqQ52As8J5sf4Jae128=; b=Z9zi9DiZzKIkG7XksbTul/STcwecE9BD7Mpou29+0xVy6nrLzr824E5koJHAJ1GwY7 xr3jeU0dmvQ2NcJBNz/Z9Gkm9avsKedKmyMFoHtl0ZvE2xOTSR76DjC9jEnT8avQaBiu KfipIZaATfnFQKfCLwJtHBMG6kqAduY9yrQZdDVTkEIe8gAEJQIMXX9DnL5tKxbqnx5X Vqbvmm4HzaBEQ8UDEngwlgzU8CorPTAYGIrYuNE050aZiDcDhpP0JVOx6taoxyMLRmCr hJiV7KeQKlFrFM8CvLIrCgxJkPB26QZJF+83fdHgFZIsaELwwK73yKNubiI63cHMqqLs qXzA== X-Gm-Message-State: AOAM530xJY4+Ids65BsfbGzGn8GqsgF/RJnkKj1kuUqPApv/4my4smNt jRVtNU6Kuk9zZJXZTsl2VJZuyzyC9p3i8gyPTUg= X-Google-Smtp-Source: ABdhPJz9+0xChXoyWiLuHERfZYwCWxw+ZaPjDTJq5xybeXPT9e7gcMHFlCc2CbcEQX4Af7kG5bTsBgxs92v/K5WOSyE= X-Received: by 2002:ab0:6254:: with SMTP id p20mr18768377uao.115.1635252917093; Tue, 26 Oct 2021 05:55:17 -0700 (PDT) In-Reply-To: <8735ooklhp.fsf@zoho.eu> Received-SPF: pass client-ip=2607:f8b0:4864:20::935; envelope-from=hongyi.zhao@gmail.com; helo=mail-ua1-x935.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134208 Archived-At: On Tue, Oct 26, 2021 at 8:41 PM Emanuel Berg via Users list for the GNU Emacs text editor wrote: > > Hongyi Zhao wrote: > > > flag is chosen from: '("alat" "angstrom" "bohr" "crystal" "crystal_sg") > > > > (equal prog "cp") > > > > flag is chosen from: '("alat" "angstrom" "bohr" "crystal") > > Okay, absolutely, you can have two lists as you have above, > but you still only need and want one flag. > > You can see this in the way you put it above BTW! But how to adjust your code to meet my above requirements? I have tried for a while, but still no idea.