From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Going through a list using the minibuffer Date: Sun, 13 Jun 2021 23:31:21 +0700 Message-ID: References: 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="18594"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs , Emanuel Berg To: arvid-harnack@lavache.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 13 18:31:58 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 1lsT1i-0004Qa-Nz for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Jun 2021 18:31:58 +0200 Original-Received: from localhost ([::1]:35522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsT1h-0005ao-2b for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Jun 2021 12:31:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsT1M-0005ad-21 for help-gnu-emacs@gnu.org; Sun, 13 Jun 2021 12:31:36 -0400 Original-Received: from mail-ua1-x932.google.com ([2607:f8b0:4864:20::932]:34384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsT1K-000676-Gg for help-gnu-emacs@gnu.org; Sun, 13 Jun 2021 12:31:35 -0400 Original-Received: by mail-ua1-x932.google.com with SMTP id c17so4568313uao.1 for ; Sun, 13 Jun 2021 09:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jSbL+5WvjEYB8gUqHDdulCOK2K+3BdZtHn37oKH68mg=; b=f6mxt0mu8SIhK+DfPJhjm2FHOLLnmyYA/Sm20/Dc3Xvf/pg0zbcdhYZCNLe4M6z1f4 VBHDxhZR0o5sKVYBXPudCkyL+11DF7gogACWi4X+5d1jvHCseBgRnDF52c3B1fZgOlQG iVYlfyxSZfPMMlNFZS2r+jmhcOmdplxnpm8AYSIlfy1I1Zvk696zxmN4rd1LPn8DWH+X fjBo90TIyyvH7MzsStKHDq+7nmR0+ms/tqqwgLTRi7Ea0zO/enaiwpvN4JMWRDeB/dpv B1tElfhUX7V+3JJNT1ayqC6Ue/TtK4Z4dBy92Agb8qXc9TZlnIszIfaC3mv956MpC1Kw Xwnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jSbL+5WvjEYB8gUqHDdulCOK2K+3BdZtHn37oKH68mg=; b=css4/uQvchiGM96PBygMp626N0A19nH/zge9koH/uKav35DeAJAVyH0mux5gtXvdgx up6F4LGYbli9FDRQNpibqdF7ICo/SVikRKbrtqz6h9E2CggqVvtgo9e+LGyFw2+ON8U/ 4fk6SQ8udJcefIvkRmEzEHF4b660+pUCN6srWYG0nVVlCW8Rwq3tLYijBnioDGJ+Xpw1 eT38+TyK6op/sI2E/bRqYjIpWcD2XO8Ell4nGkzjkKUYsFbsrbE9/LzX5CBN3b9KNvGx /0XS8DNR9XOjPnDqi+AbXWSEbrItL0nIbmdwJQovbdmPIUnCxaDDKt062GAlKmUH48u9 kxqw== X-Gm-Message-State: AOAM530hKS/dhRNZhzm2JKEYpbRwH3tREE54BfeUiTWP5qXCkj5DIRgm kvpWoDFAKbg4GcMYNM0RrkNtQA1MBK2udZC6iSw= X-Google-Smtp-Source: ABdhPJwPAfznEttmB4QJIwpQiSnahqoVYkbgF6HjUg+nFlBy2+D8ppkBn/e6EC94PMKXVzBE/duPLF2DbfQ955qtrWI= X-Received: by 2002:ab0:6cf2:: with SMTP id l18mr9525416uai.86.1623601893261; Sun, 13 Jun 2021 09:31:33 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::932; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x932.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:130796 Archived-At: On Sun, 13 Jun 2021 at 23:02, wrote: > > Using the command you described, how can I get tho selection into a variable > named "sel" ? > > (completing-read "Choose a Greek letter: " '("alpha" "beta" "gamma") nil t) > > Is like this good? > > (let* ((gkser '("alpha" "beta" "gamma")) > (gksel (completing-read > "Choose a Greek letter: " gkser nil t))) > (message "gksel %s" gksel)) Have you tried it? Does it work the way you want? If you have and it does, why are you asking me?