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: [External] : Re: Operating the HIST feature of completing-read Date: Wed, 13 Jul 2022 13:52:49 +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="12323"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Drew Adams , Jean Louis , Help Gnu Emacs To: carlmarcos@tutanota.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 13 08:54:20 2022 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 1oBWGK-00030b-6U for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 08:54:20 +0200 Original-Received: from localhost ([::1]:35278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBWGG-0004Bi-Tz for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 02:54:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBWF7-0004BI-1L for help-gnu-emacs@gnu.org; Wed, 13 Jul 2022 02:53:07 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:44648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBWF5-00043R-Ga for help-gnu-emacs@gnu.org; Wed, 13 Jul 2022 02:53:04 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id bk26so14088535wrb.11 for ; Tue, 12 Jul 2022 23:53:02 -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 :cc; bh=YZg2CYhsstVw3CKDDlONcpiL2vTTrtYMAzyyevOn7vU=; b=Kcw0R2lcrZpZJue9488ED51+x4URfbHZ0kn0N+MzBMaVH9zuRo3Pl9Aep1rxosojL+ P9pDCMf9HPRMsoz2oOovAeR1ExEGcyEZKbiwwBHXdFfgfkqb2nfiYP/UYLWXvW/yCiKW t6e+2CFkHUAG4bpSGzx71lvtr5qdSA7udnUZgcHBRlTNCFN4yXY6l2joJXK6BEh63A9z +2sNXiwEl275JEtroFk6/O23ROj19bucJ50JjjdDkB1kfC2lX1QxJdXEURXThveXYtog U2gRi0Ik787cx0TIpAcValscBcY5BDv186l1fPIFiz3a0/wjXbwuNMo2So3MlhNeTktA COcg== 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:cc; bh=YZg2CYhsstVw3CKDDlONcpiL2vTTrtYMAzyyevOn7vU=; b=QdJffXBXG0WZfgLM3vdG9djP7YzFlLhMdbFg/n3rxQQyO+FH/LQwPE8zTDnb7KX+Rj OV7fDPXkqctjmCIRKLYmtCfNsXy7UOPyKmuaofCBNL2EQ8ivL0eMMlZ0DL/ldvVc6Er5 x0NqNQJ6apNYojvGRbae9TZQMTOTHs4VMMnGT6oRboKYEY8TIZzXc4gtNi/m18Xxt4H/ nMKM7tuMjvBcASpTtbfzY2kHOpbfwj2XLRF+QVhfvfqin+dBFzovZu8bA+Y+zjVeFH/v 1PZDyZQ0l8vX4C1I1thS513BgDhDlborDVWCsNEWSctms/cb60D1XLRAJVMqlf4gN3yf wgPw== X-Gm-Message-State: AJIora+3iH3KGm3wy1bAENbam6sKiyN7htaO3k58Rf/9MU6Wukw0WVWl LP2ivPtrHPa7xJ1LHYo79hkK3QcnunNTrTm2riI= X-Google-Smtp-Source: AGRyM1tmpvwPdw2lBbH1/s04e3XaEdrXoB3ceINz5OMcqgIyAIigPEs7IWkCPKhGYQKx/2yKRAC7Pz2j5RYnxw/WpxE= X-Received: by 2002:adf:e104:0:b0:21b:9938:b07a with SMTP id t4-20020adfe104000000b0021b9938b07amr1666796wrz.682.1657695181081; Tue, 12 Jul 2022 23:53:01 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x430.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:138453 Archived-At: On Wed, 13 Jul 2022 at 08:16, carlmarcos--- via Users list for the GNU Emacs text editor wrote: > Have done as suggested > > (defvar myhist nil > "Stores previous minibuffer inputs so the user can reuse them.") > > (let* ( (cseq '("bracemk" "expression" "extended" "mixed" "hlsexp" "disable")) > (csel (completing-read "Glowvis: " cseq nil t "mixed" myhist "extended")) You should pass the symbol of the variable ('myhist), not the value (myhist).